diff --git a/Dockerfile b/Dockerfile index 48e31fa894f4590754059137bc260680b83c92a8..379e1b3a71fddfcf96f7c06ca00e4fec5f31eff4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,23 +1,34 @@ -FROM python:3.9 +# syntax=docker/dockerfile:1 +FROM python:3.8 -RUN pip install --user --upgrade pip -RUN apt-get update && apt-get install -y ffmpeg +RUN apt-get update && \ + apt-get install -y ffmpeg jq curl && \ + pip install --upgrade pip -COPY . . +WORKDIR /app +COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt -RUN mkdir -p /tmq -RUN chmod 777 /tmp -RUN mkdir -p /.cache -RUN chmod 777 /.cache +COPY scripts/ . +COPY app ./app +copy img ./img + +RUN wget --progress=bar:force:noscroll https://huggingface.co/fabiogra/baseline_vocal_remover/resolve/main/baseline.pth + +RUN mkdir -p /tmp/ /tmp/vocal_remover /.cache /.config && \ + chmod 777 /tmp /tmp/vocal_remover /.cache /.config ENV PYTHONPATH "${PYTHONPATH}:/app" +RUN chmod +x prepare_samples.sh + EXPOSE 7860 HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health -ENTRYPOINT ["streamlit", "run", "app/main.py", "--server.port=7860", "--server.address=0.0.0.0"] \ No newline at end of file +RUN ["./prepare_samples.sh"] + +ENTRYPOINT ["streamlit", "run", "app/header.py", "--server.port=7860", "--server.address=0.0.0.0"] diff --git a/README.md b/README.md index ad33575c99b1fe2ff8872687fba9e34e7684dfaf..1fb233328bf905c41a7e9c0d6047a5a9fe313baa 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,210 @@ --- -title: Music Splitter -emoji: 🎶 -colorFrom: indigo -colorTo: yellow +title: Test Moseca +emoji: 🎤🎸🥁🎹 +colorFrom: yellow +colorTo: purple sdk: docker +app_port: 7860 +models: ["https://huggingface.co/fabiogra/baseline_vocal_remover"] +tags: ["audio", "music", "vocal-removal", "karaoke", "music-separation", "music-source-separation"] pinned: true --- -Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference +

+ logo +

+

Moseca

+

Music Source Separation & Karaoke

-# Music Source Splitter 🎶 -Hugging Face Spaces + + + + + + -This is a streamlit demo of the [Music Source Separation](https://huggingface.co/spaces/fabiogra/st-music-splitter). +--- + +- [Setup](#setup) +- [About](#about) + - [High-Quality Stem Separation](#high-quality-stem-separation) + - [Advanced AI Algorithms](#advanced-ai-algorithms) + - [Karaoke Fun](#karaoke-fun) + - [Easy Deployment](#easy-deployment) + - [Open-Source and Free](#open-source-and-free) + - [Support](#support) +- [FAQs](#faqs) + - [What is Moseca?](#what-is-moseca) + - [Are there any limitations?](#are-there-any-limitations) + - [How does Moseca work?](#how-does-moseca-work) + - [How do I use Moseca?](#how-do-i-use-moseca) + - [Where can I find the code for Moseca?](#where-can-i-find-the-code-for-moseca) + - [How can I get in touch with you?](#how-can-i-get-in-touch-with-you) +- [Disclaimer](#disclaimer) -The model can separate the vocals, drums, bass, and other from a music track. -## Usage +--- -You can use the demo [here](https://huggingface.co/spaces/fabiogra/st-music-splitter), or run it locally with: +## Setup +### Local environment +Create a new environment with Python 3.8 and install the requirements: +```bash +pip install -r requirements.txt +``` +then run the app with: +```bash +streamlit run app/header.py +``` +### Docker +You can also run the app with Docker: ```bash -streamlit run app.py +docker build -t moseca . +docker run -it --rm -p 7860:7860 $(DOCKER_IMAGE_NAME) ``` -> **Note**: In order to run the demo locally, you need to install the dependencies with `pip install -r requirements.txt`. +or pull the image from Hugging Face Spaces: +```bash +docker run -it -p 7860:7860 --platform=linux/amd64 \ + registry.hf.space/fabiogra-moseca:latest +``` + +You can set the following environment variables to limit the resources used by the app: +- ENV_LIMITATION=true +- LIMIT_CPU=true +--- +## About + +Welcome to Moseca, your personal web application designed to redefine your music experience. +Whether you're a musician looking to remix your favorite songs, a karaoke +enthusiast, or a music lover wanting to dive deeper into your favorite tracks, +Moseca is for you. + +
+ +### High-Quality Stem Separation + + + + +
+ +Separate up to 6 stems including 🗣voice, 🥁drums, 🔉bass, 🎸guitar, +🎹piano (beta), and 🎶 others. + +
+ +### Advanced AI Algorithms + + + +
+ +Moseca utilizes state-of-the-art AI technology to extract voice or music from +your original songs accurately. + +
+ +### Karaoke Fun + + + +
+ +Engage with your favorite tunes in a whole new way! + +Moseca offers an immersive online karaoke experience, allowing you to search +for any song on YouTube and remove the vocals online. + +Enjoy singing along with high-quality instrumentals at the comfort of your home. + + +
+ +### Easy Deployment + + +With Moseca, you can deploy your personal Moseca app in the + + or locally with +[![Docker Call](https://img.shields.io/badge/-Docker%20Image-blue?logo=docker&labelColor=white)](https://huggingface.co/spaces/fabiogra/moseca/discussions?docker=true) +in just one click. + +
+ +### Open-Source and Free + +Moseca is the free and open-source alternative to lalal.ai, splitter.ai or media.io vocal remover. + +You can modify, distribute, and use it free of charge. I believe in the power of community +collaboration and encourage users to contribute to our source code, making Moseca better with +each update. + + +
+ +### Support + +- Show your support by giving a star to the GitHub repository [![GitHub stars](https://img.shields.io/github/stars/fabiogra/moseca.svg?style=social&label=Star&maxAge=2592000)](https://github.com/fabiogra/moseca). +- If you have found an issue or have a suggestion to improve Moseca, you can open an [![GitHub issues](https://img.shields.io/github/issues/fabiogra/moseca.svg)](https://github.com/fabiogra/moseca/issues/new) +- Enjoy Moseca? [![Buymeacoffee](https://img.shields.io/badge/Buy%20me%20a%20coffee--yellow.svg?logo=buy-me-a-coffee&logoColor=orange&style=social)](https://www.buymeacoffee.com/fabiogra) + +------ + +## FAQs + +### What is Moseca? + +Moseca is an open-source web app that utilizes advanced AI technology to separate vocals and +instrumentals from music tracks. It also provides an online karaoke experience by allowing you +to search for any song on YouTube and remove the vocals. + +### Are there any limitations? +Yes, in this environment there are some limitations regarding lenght processing +and CPU usage to allow a smooth experience for all users. + +If you want to remove these limitations you can deploy a Moseca app in your personal +environment like in the Hugging Face Spaces or locally with [![Docker Call](https://img.shields.io/badge/-Docker%20Image-blue?logo=docker&labelColor=white)](https://huggingface.co/spaces/fabiogra/moseca/discussions?docker=true) + +### How does Moseca work? +Moseca utilizes the Hybrid Spectrogram and Waveform Source Separation ([DEMUCS](https://github.com/facebookresearch/demucs)) model from Facebook. For fast karaoke vocal removal, Moseca uses the AI vocal remover developed by [tsurumeso](https://github.com/tsurumeso/vocal-remover). + +### How do I use Moseca? +1. Upload your file: choose your song and upload it to Moseca. It supports +a wide range of music formats for your convenience. + +2. Choose separation mode: opt for voice only, 4-stem or 6-stem separation +depending on your requirement. + +3. Let AI do its magic: Moseca’s advanced AI will work to separate vocals +from music in a matter of minutes, giving you high-quality, separated audio tracks. + +4. Download and enjoy: preview and download your separated audio tracks. +Now you can enjoy them anytime, anywhere! + + +### Where can I find the code for Moseca? + +The code for Moseca is readily available on +[GitHub](https://github.com/fabiogra/moseca) and +[Hugging Face](https://huggingface.co/spaces/fabiogra/moseca). -## How it works +### How can I get in touch with you? -The app uses a pretrained model called Hybrid Spectrogram and Waveform Source Separation from facebook/htdemucs. +For any questions or feedback, feel free to contact me on +[![Twitter](https://badgen.net/badge/icon/twitter?icon=twitter&label)](https://twitter.com/grsFabio) +or [LinkedIn](https://www.linkedin.com/in/fabio-grasso/en). +------ +## Disclaimer -## Acknowledgements - - HtDemucs model from facebook/htdemucs - - Streamlit Audio Recorder from stefanrmmr/streamlit_audio_recorder \ No newline at end of file +Moseca is designed to separate vocals and instruments from copyrighted music for +legally permissible purposes, such as learning, practicing, research, or other non-commercial +activities that fall within the scope of fair use or exceptions to copyright. As a user, you are +responsible for ensuring that your use of separated audio tracks complies with the legal +requirements in your jurisdiction. diff --git a/app.py b/app.py deleted file mode 100644 index 3c9e00b1fb3ee4b8d3c2c458cab0470142d81425..0000000000000000000000000000000000000000 --- a/app.py +++ /dev/null @@ -1,3 +0,0 @@ -from app import main - -main.run() \ No newline at end of file diff --git a/app/_fastapi_server.py b/app/_fastapi_server.py new file mode 100644 index 0000000000000000000000000000000000000000..8b8a2ac4bd0acc66393e1282b380f6d8f3b714bb --- /dev/null +++ b/app/_fastapi_server.py @@ -0,0 +1,20 @@ +from fastapi import FastAPI +from fastapi.responses import FileResponse +from urllib.parse import unquote + +import os + +app = FastAPI() + + +@app.get("/streaming/{path:path}") +async def serve_streaming(path: str): + # Decode URL-encoded characters + decoded_path = unquote(path) + return FileResponse(decoded_path, filename=os.path.basename(decoded_path)) + + +if __name__ == "__main__": + import uvicorn + + uvicorn.run(app, host="127.0.0.1", port=8000) diff --git a/app/examples.py b/app/examples.py deleted file mode 100644 index 7f2556bed8ed8aa96afcefd21c15618e05fabfa8..0000000000000000000000000000000000000000 --- a/app/examples.py +++ /dev/null @@ -1,58 +0,0 @@ -import streamlit as st - -from app.helpers import load_audio_segment, plot_audio - -def _load_example(name: str): - st.markdown("

Original

", unsafe_allow_html=True) - - cols = st.columns(2) - with cols[0]: - auseg = load_audio_segment(f"samples/{name}", "mp3") - plot_audio(auseg, step=50) - with cols[1]: - audio_file = open(f"samples/{name}", "rb") - audio_bytes = audio_file.read() - st.audio(audio_bytes) - - for file in ["vocals.mp3", "drums.mp3", "bass.mp3", "other.mp3"]: - st.markdown("
", unsafe_allow_html=True) - label = file.split(".")[0].capitalize() - label = { - "Drums": "🥁", - "Bass": "🎸", - "Other": "🎹", - "Vocals": "🎤", - }.get(label) + " " + label - st.markdown("

" + label + "

", unsafe_allow_html=True) - - cols = st.columns(2) - with cols[0]: - auseg = load_audio_segment(f"samples/{name.split('.mp3')[0]}/{file}", "mp3") - plot_audio(auseg, step=50) - with cols[1]: - audio_file = open(f"samples/{name.split('.mp3')[0]}/{file}", "rb") - audio_bytes = audio_file.read() - st.audio(audio_bytes) - - -def show_examples(): - with st.columns([2, 8, 1])[1]: - selection = st.selectbox("Select an example music to quickly see results", ["Something About You - Marilyn Ford", "Broke Me - FASSounds", "Indie Rock"]) - if selection == "Broke Me - FASSounds": - _load_example("broke-me-fassounds.mp3") - link = "https://pixabay.com/users/fassounds-3433550/" - st.markdown( - f"""Music by FASSounds from Pixabay""", - unsafe_allow_html=True) - elif selection == "Indie Rock": - _load_example("indie-rock.mp3") - link = "https://pixabay.com/music/indie-rock-112771/" - st.markdown( - f"""Music by Music_Unlimited from Pixabay""", - unsafe_allow_html=True) - elif selection == "Something About You - Marilyn Ford": - _load_example("something-about-you-marilyn-ford.mp3") - link = "https://pixabay.com/music/rnb-something-about-you-marilyn-ford-135781/" - st.markdown( - f"""Music by Marilyn Ford from Pixabay""", - unsafe_allow_html=True) diff --git a/app/footer.py b/app/footer.py new file mode 100644 index 0000000000000000000000000000000000000000..c6fb35b749bfd35823a7353747167a303a46f6b9 --- /dev/null +++ b/app/footer.py @@ -0,0 +1,118 @@ +import streamlit as st + +from streamlit.components.v1 import html +from htbuilder import HtmlElement, div, a, p, img, styles +from htbuilder.units import percent, px + + +def image(src_as_string, **style): + return img(src=src_as_string, style=styles(**style)) + + +def link(link, text, **style): + return a(_href=link, _target="_blank", style=styles(**style))(text) + + +def layout(*args): + style = """ + + """ + + style_div = styles( + position="fixed", + left=0, + bottom=0, + margin=px(0, 0, 0, 0), + width=percent(100), + color="black", + text_align="center", + height="auto", + opacity=1, + align_items="center", + flex_direction="column", + display="flex", + ) + body = p( + id="myFooter", + style=styles( + margin=px(0, 0, 0, 0), + padding=px(5), + font_size="0.8rem", + color="rgb(51,51,51)", + font_family="Exo", + ), + ) + foot = div(style=style_div)(body) + + st.markdown(style, unsafe_allow_html=True) + + for arg in args: + if isinstance(arg, str): + body(arg) + + elif isinstance(arg, HtmlElement): + body(arg) + + st.markdown(str(foot), unsafe_allow_html=True) + + js_code = """ + + """ + html(js_code) + + +def footer(): + myargs = [ + "Made in ", + link( + "https://streamlit.io/", + image("https://streamlit.io/images/brand/streamlit-mark-color.png", width="20px"), + ), + " with ❤️ by ", + link("https://twitter.com/grsFabio", "@grsFabio"), + "   ", + link( + "https://www.buymeacoffee.com/fabiogra", + image("https://i.imgur.com/YFu6MMA.png", margin="0em", align="top", width="130px"), + ), + ] + layout(*myargs) diff --git a/app/header.py b/app/header.py new file mode 100644 index 0000000000000000000000000000000000000000..516ac345907d5c18c321d59afe0101b5ba87b854 --- /dev/null +++ b/app/header.py @@ -0,0 +1,68 @@ +import streamlit as st + +from helpers import switch_page +from style import CSS +import logging + +from streamlit_option_menu import option_menu + +logging.basicConfig( + format="%(asctime)s %(levelname)-8s %(message)s", + level=logging.INFO, + datefmt="%Y-%m-%d %H:%M:%S", +) + + +def header(logo_and_title=True): + if "first_run" not in st.session_state: + st.session_state.first_run = True + for key in [ + "search_results", + "selected_value", + "filename", + "executed", + "play_karaoke", + "url", + "random_song", + "last_dir", + ]: + st.session_state[key] = None + st.session_state.video_options = [] + st.session_state.page = "Karaoke" + switch_page(st.session_state.page) + + st.set_page_config( + page_title="Moseca - Music Separation and Karaoke - Free and Open Source alternative to lalal.ai, splitter.ai or media.io vocal remover.", + page_icon="img/logo_moseca.png", + layout="wide", + initial_sidebar_state="collapsed", + ) + st.markdown(CSS, unsafe_allow_html=True) + + options = ["Karaoke", "Separate", "About"] + page = option_menu( + menu_title=None, + options=options, + # bootrap icons + icons=["play-btn-fill", "file-earmark-music", "info-circle"], + default_index=options.index(st.session_state.page), + orientation="horizontal", + styles={"nav-link": {"padding-left": "1.5rem", "padding-right": "1.5rem"}}, + key="", + ) + if page != st.session_state.page: + switch_page(page) + + if logo_and_title: + head = st.columns([5, 1, 3, 5]) + with head[1]: + st.image("img/logo_moseca.png", use_column_width=False, width=80) + with head[2]: + st.markdown( + "

moseca

Music Source Separation & Karaoke

", + unsafe_allow_html=True, + ) + + +if __name__ == "__main__": + header() diff --git a/app/helpers.py b/app/helpers.py index 2a02e10dbc2d825778f40611d8b4c4962243fc63..195d02157cf47e5adb9804afab5e344eb23df057 100644 --- a/app/helpers.py +++ b/app/helpers.py @@ -1,19 +1,160 @@ -from pydub import AudioSegment +import random +from io import BytesIO +import json -import streamlit as st -import plotly.graph_objs as go -import plotly.express as px -import pandas as pd +import matplotlib.pyplot as plt import numpy as np +import requests +import streamlit as st +from PIL import Image +from pydub import AudioSegment +from base64 import b64encode +from pathlib import Path +from streamlit.runtime.scriptrunner import RerunData, RerunException +from streamlit.source_util import get_pages +from streamlit_player import st_player + +extensions = ["mp3", "wav", "ogg", "flac"] # we will look for all those file types. +example_songs = [1, 2, 3] + + +def img_to_bytes(img_path): + img_bytes = Path(img_path).read_bytes() + encoded = b64encode(img_bytes).decode() + return encoded + + +# @st.cache_data(show_spinner=False) +def img_to_html(img_path): + img_html = "
".format( + img_to_bytes(img_path) + ) + return img_html -@st.cache_data + +@st.cache_data(show_spinner=False) +def url_is_valid(url): + if url.startswith("http") is False: + st.error("URL should start with http or https.") + return False + elif url.split(".")[-1] not in extensions: + st.error("Extension not supported.") + return False + try: + r = requests.get(url) + r.raise_for_status() + return True + except Exception: + st.error("URL is not valid.") + return False + + +@st.cache_data(show_spinner=False) def load_audio_segment(path: str, format: str) -> AudioSegment: return AudioSegment.from_file(path, format=format) -def plot_audio(_audio_segment: AudioSegment, title: str = None, step = 20) -> go.Figure: + +@st.cache_data(show_spinner=False) +def plot_audio(_audio_segment: AudioSegment, *args, **kwargs) -> Image.Image: samples = _audio_segment.get_array_of_samples() - arr = np.array(samples[::step]) - df = pd.DataFrame(arr) - fig = px.line(df, y=0, render_mode="webgl", line_shape="linear", width=1000, height=60, title=title) - fig.update_layout(xaxis_fixedrange=True, yaxis_fixedrange=True, yaxis_visible=False, xaxis_visible=False, hovermode=False, margin=dict(l=0, r=0, t=0, b=0)) - st.plotly_chart(fig, use_container_width=True) + arr = np.array(samples) + + fig, ax = plt.subplots(figsize=(10, 2)) + ax.plot(arr, linewidth=0.05) + ax.set_axis_off() + + # Set the background color to transparent + fig.patch.set_alpha(0) + ax.patch.set_alpha(0) + + buf = BytesIO() + plt.savefig(buf, format="png", dpi=100, bbox_inches="tight") + buf.seek(0) + image = Image.open(buf) + + plt.close(fig) + return image + + +def get_random_song(): + sample_songs = json.load(open("sample_songs.json")) + name, url = random.choice(list(sample_songs.items())) + return name, url + + +def streamlit_player( + player, + url, + height, + is_active, + muted, + start, + key, + playback_rate=1, + events=None, + play_inline=False, + light=False, +): + with player: + options = { + "progress_interval": 1000, + "playing": is_active, # st.checkbox("Playing", False), + "muted": muted, + "light": light, + "play_inline": play_inline, + "playback_rate": playback_rate, + "height": height, + "config": {"start": start}, + "events": events, + } + if url != "": + events = st_player(url, **options, key=key) + return events + + +@st.cache_data(show_spinner=False) +def local_audio(path, mime="audio/mp3"): + data = b64encode(Path(path).read_bytes()).decode() + return [{"type": mime, "src": f"data:{mime};base64,{data}"}] + + +def _standardize_name(name: str) -> str: + return name.lower().replace("_", " ").strip() + + +@st.cache_data(show_spinner=False) +def switch_page(page_name: str): + st.session_state.page = page_name + + page_name = _standardize_name(page_name) + + pages = get_pages("header.py") # OR whatever your main page is called + + for page_hash, config in pages.items(): + if _standardize_name(config["page_name"]) == page_name: + raise RerunException( + RerunData( + page_script_hash=page_hash, + page_name=page_name, + ) + ) + + page_names = [_standardize_name(config["page_name"]) for config in pages.values()] + raise ValueError(f"Could not find page {page_name}. Must be one of {page_names}") + + +def st_local_audio(pathname, key): + st_player( + local_audio(pathname), + **{ + "progress_interval": 1000, + "playing": False, + "muted": False, + "light": False, + "play_inline": True, + "playback_rate": 1, + "height": 40, + "config": {"start": 0, "forceAudio": True, "forceHLS": True, "forceSafariHLS": True}, + }, + key=key, + ) diff --git a/app/main.py b/app/main.py deleted file mode 100644 index e1e6be4b6c100fe471e3a5c898e47c44eeb24806..0000000000000000000000000000000000000000 --- a/app/main.py +++ /dev/null @@ -1,155 +0,0 @@ -import logging -import os -from pathlib import Path - -import requests -import streamlit as st -from app.examples import show_examples - -from demucs_runner import separator -from lib.st_custom_components import st_audiorec -from helpers import load_audio_segment, plot_audio -from sidebar import text as text_side - -logging.basicConfig( - format="%(asctime)s %(levelname)-8s %(message)s", - level=logging.DEBUG, - datefmt="%Y-%m-%d %H:%M:%S", -) - -max_duration = 10 # in seconds - -model = "htdemucs" -extensions = ["mp3", "wav", "ogg", "flac"] # we will look for all those file types. -two_stems = None # only separate one stems from the rest, for instance - -# Options for the output audio. -mp3 = True -mp3_rate = 320 -float32 = False # output as float 32 wavs, unsused if 'mp3' is True. -int24 = False # output as int24 wavs, unused if 'mp3' is True. -# You cannot set both `float32 = True` and `int24 = True` !! - - -out_path = Path("/tmp") -in_path = Path("/tmp") - - -def url_is_valid(url): - if url.startswith("http") is False: - st.error("URL should start with http or https.") - return False - elif url.split(".")[-1] not in extensions: - st.error("Extension not supported.") - return False - try: - r = requests.get(url) - r.raise_for_status() - return True - except Exception: - st.error("URL is not valid.") - return False - - -def run(): - st.markdown("

🎶 Music Source Splitter

", unsafe_allow_html=True) - st.markdown("
Hight Quality Audio Source Separation
", unsafe_allow_html=True) - st.sidebar.markdown(text_side, unsafe_allow_html=True) - st.markdown(""" - - """, - unsafe_allow_html=True, - ) - filename = None - choice = st.radio(label=" ", options=["🔗 From URL", "⬆️ Upload File", "🎤 Record Audio"], horizontal=True) - if choice == "🔗 From URL": - url = st.text_input("Paste the URL of the audio file", key="url", help="Supported formats: mp3, wav, ogg, flac.") - if url != "": - # check if the url is valid - if url_is_valid(url): - with st.spinner("Downloading audio..."): - filename = url.split("/")[-1] - os.system(f"wget -O {in_path / filename} {url}") - - elif choice == "⬆️ Upload File": - uploaded_file = st.file_uploader("Choose a file", type=extensions, key="file", help="Supported formats: mp3, wav, ogg, flac.") - if uploaded_file is not None: - with open(in_path / uploaded_file.name, "wb") as f: - f.write(uploaded_file.getbuffer()) - filename = uploaded_file.name - elif choice == "🎤 Record Audio": - wav_audio_data = st_audiorec() - if wav_audio_data is not None: - if wav_audio_data != b'RIFF,\x00\x00\x00WAVEfmt \x10\x00\x00\x00\x01\x00\x02\x00\x80>\x00\x00\x00\xfa\x00\x00\x04\x00\x10\x00data\x00\x00\x00\x00': - filename = "recording.wav" - with open(in_path / filename, "wb") as f: - f.write(wav_audio_data) - - if filename is not None: - song = load_audio_segment(in_path / filename, filename.split(".")[-1]) - - n_secs = round(len(song) / 1000) - audio_file = open(in_path / filename, "rb") - audio_bytes = audio_file.read() - start_time = st.slider("Choose the start time", min_value=0, max_value=n_secs, step=1, value=0, help=f"Maximum duration is {max_duration} seconds.") - _ = st.audio(audio_bytes, start_time=start_time) - end_time = min(start_time + max_duration, n_secs) - song = song[start_time*1000:end_time*1000] - tot_time = end_time - start_time - st.info(f"Audio source will be processed from {start_time} to {end_time} seconds.", icon="⏱") - execute = st.button("Split Music 🎶", type="primary") - if execute: - song.export(in_path / filename, format=filename.split(".")[-1]) - with st.spinner(f"Splitting source audio, it will take almost {round(tot_time*3.6)} seconds..."): - separator( - tracks=[in_path / filename], - out=out_path, - model=model, - device="cpu", - shifts=1, - overlap=0.5, - stem=two_stems, - int24=int24, - float32=float32, - clip_mode="rescale", - mp3=mp3, - mp3_bitrate=mp3_rate, - jobs=os.cpu_count(), - verbose=True, - ) - - last_dir = ".".join(filename.split(".")[:-1]) - for file in ["vocals.mp3", "drums.mp3", "bass.mp3", "other.mp3"]: - file = out_path / Path(model) / last_dir / file - st.markdown("
", unsafe_allow_html=True) - label = file.name.split(".")[0].replace("_", " ").capitalize() - # add emoji to label - label = { - "Drums": "🥁", - "Bass": "🎸", - "Other": "🎹", - "Vocals": "🎤", - }.get(label) + " " + label - st.markdown("

" + label + "

", unsafe_allow_html=True) - - cols = st.columns(2) - with cols[0]: - auseg = load_audio_segment(file, "mp3") - plot_audio(auseg) - with cols[1]: - audio_file = open(file, "rb") - audio_bytes = audio_file.read() - st.audio(audio_bytes) - -if __name__ == "__main__": - run() - st.markdown("

", unsafe_allow_html=True) - with st.expander("Show examples", expanded=False): - show_examples() \ No newline at end of file diff --git a/app/pages/About.py b/app/pages/About.py new file mode 100644 index 0000000000000000000000000000000000000000..d2782023ca04895d5987f787263a5416ea20475b --- /dev/null +++ b/app/pages/About.py @@ -0,0 +1,154 @@ +import streamlit as st + +from header import header +from footer import footer + + +def body(): + with st.columns([2, 3, 2])[1]: + st.markdown( + """ +
+ + ## Welcome to Moseca, your personal web application designed to redefine your music experience. + Whether you're a musician looking to remix your favorite songs, a karaoke + enthusiast, or a music lover wanting to dive deeper into your favorite tracks, + Moseca is for you. + +
+ + ### High-Quality Stem Separation + +
+ + +
+ + Separate up to 6 stems including 🗣voice, 🥁drums, 🔉bass, 🎸guitar, + 🎹piano (beta), and 🎶 others. + +
+ + ### Advanced AI Algorithms + +
+ +
+ + Moseca utilizes state-of-the-art AI technology to extract voice or music from + your original songs accurately. + +
+ + ### Karaoke Fun + +
+ +
+ + Engage with your favorite tunes in a whole new way! + + Moseca offers an immersive online karaoke experience, allowing you to search + for any song on YouTube and remove the vocals online. + + Enjoy singing along with high-quality instrumentals at the comfort of your home. + + +
+ + ### Easy Deployment + + + With Moseca, you can deploy your personal Moseca app in the + + Hugging Face Spaces or locally with + [![Docker Call](https://img.shields.io/badge/-Docker%20Image-blue?logo=docker&labelColor=white)](https://huggingface.co/spaces/fabiogra/moseca/discussions?docker=true) + in just one click. + +
+ + ### Open-Source and Free + + Moseca is the free and open-source alternative to lalal.ai, splitter.ai or media.io vocal remover. + + You can modify, distribute, and use it free of charge. I believe in the power of community + collaboration and encourage users to contribute to our source code, making Moseca better with + each update. + + +
+ + ### Support + + - Show your support by giving a star to the GitHub repository [![GitHub stars](https://img.shields.io/github/stars/fabiogra/moseca.svg?style=social&label=Star&maxAge=2592000)](https://github.com/fabiogra/moseca). + - If you have found an issue or have a suggestion to improve Moseca, you can open an [![GitHub issues](https://img.shields.io/github/issues/fabiogra/moseca.svg)](https://github.com/fabiogra/moseca/issues/new) + - Enjoy Moseca? [![Buymeacoffee](https://img.shields.io/badge/Buy%20me%20a%20coffee--yellow.svg?logo=buy-me-a-coffee&logoColor=orange&style=social)](https://www.buymeacoffee.com/fabiogra) + + ------ + + ## FAQs + + ### What is Moseca? + + Moseca is an open-source web app that utilizes advanced AI technology to separate vocals and + instrumentals from music tracks. It also provides an online karaoke experience by allowing you + to search for any song on YouTube and remove the vocals. + + ### Are there any limitations? + Yes, in this environment there are some limitations regarding lenght processing + and CPU usage to allow a smooth experience for all users. + + If you want to remove these limitations you can deploy a Moseca app in your personal + environment like in the Hugging Face Spaces or locally with [![Docker Call](https://img.shields.io/badge/-Docker%20Image-blue?logo=docker&labelColor=white)](https://huggingface.co/spaces/fabiogra/moseca/discussions?docker=true) + + ### How does Moseca work? + Moseca utilizes the Hybrid Spectrogram and Waveform Source Separation ([DEMUCS](https://github.com/facebookresearch/demucs)) model from Facebook. For fast karaoke vocal removal, Moseca uses the AI vocal remover developed by [tsurumeso](https://github.com/tsurumeso/vocal-remover). + + ### How do I use Moseca? + 1. Upload your file: choose your song and upload it to Moseca. It supports + a wide range of music formats for your convenience. + + 2. Choose separation mode: opt for voice only, 4-stem or 6-stem separation + depending on your requirement. + + 3. Let AI do its magic: Moseca’s advanced AI will work to separate vocals + from music in a matter of minutes, giving you high-quality, separated audio tracks. + + 4. Download and enjoy: preview and download your separated audio tracks. + Now you can enjoy them anytime, anywhere! + + + ### Where can I find the code for Moseca? + + The code for Moseca is readily available on + [GitHub](https://github.com/fabiogra/moseca) and + [Hugging Face](https://huggingface.co/spaces/fabiogra/moseca). + + + ### How can I get in touch with you? + + For any questions or feedback, feel free to contact me on + [![Twitter](https://badgen.net/badge/icon/twitter?icon=twitter&label)](https://twitter.com/grsFabio) + or [LinkedIn](https://www.linkedin.com/in/fabio-grasso/en). + + ------ + ## Disclaimer + + Moseca is designed to separate vocals and instruments from copyrighted music for + legally permissible purposes, such as learning, practicing, research, or other non-commercial + activities that fall within the scope of fair use or exceptions to copyright. As a user, you are + responsible for ensuring that your use of separated audio tracks complies with the legal + requirements in your jurisdiction. + + +
+ """, + unsafe_allow_html=True, + ) + + +if __name__ == "__main__": + header(logo_and_title=False) + body() + footer() diff --git a/app/pages/Karaoke.py b/app/pages/Karaoke.py new file mode 100644 index 0000000000000000000000000000000000000000..9bc77f2dd2af0e2f22cec216c8da8c6fa86e5233 --- /dev/null +++ b/app/pages/Karaoke.py @@ -0,0 +1,176 @@ +from pathlib import Path + +import streamlit as st +from streamlit_player import st_player +from streamlit_searchbox import st_searchbox + +from service.youtube import ( + get_youtube_url, + search_youtube, + download_audio_from_youtube, +) +from helpers import ( + get_random_song, + load_audio_segment, + streamlit_player, + local_audio, +) + +from service.vocal_remover.runner import separate, load_model +from footer import footer +from header import header + + +out_path = Path("/tmp") +in_path = Path("/tmp") + +sess = st.session_state + + +def show_karaoke(pathname, initial_player): + cols = st.columns([1, 1, 3, 1]) + with cols[1]: + sess.delay = st.slider( + label="Start delay in karaoke (seconds)", + key="delay_slider", + value=2, + min_value=0, + max_value=5, + help="Synchronize youtube player with karaoke audio by adding a delay to the youtube player.", + ) + with cols[2]: + events = st_player( + local_audio(pathname), + **{ + "progress_interval": 1000, + "playing": False, + "muted": False, + "light": False, + "play_inline": True, + "playback_rate": 1, + "height": 40, + "config": { + "start": 0, + "forceAudio": True, + }, + "events": ["onProgress", "onPlay"], + }, + key="karaoke_player", + ) + st.markdown( + "
⬆️ Click on the play button to start karaoke
", + unsafe_allow_html=True, + ) + with st.columns([1, 4, 1])[1]: + if events.name == "onProgress" and events.data["playedSeconds"] > 0: + initial_player.empty() + st_player( + sess.url + f"&t={sess.delay}s", + **{ + "progress_interval": 1000, + "playing": True, + "muted": True, + "light": False, + "play_inline": False, + "playback_rate": 1, + "height": 250, + "events": None, + }, + key="yt_muted_player", + ) + + +def body(): + st.markdown("
Search for a song on YouTube
", unsafe_allow_html=True) + yt_cols = st.columns([1, 3, 2, 1]) + with yt_cols[1]: + selected_value = st_searchbox( + search_youtube, + label=None, + placeholder="Search by name...", + clear_on_submit=True, + key="yt_searchbox", + ) + if selected_value is not None and selected_value in sess.video_options: + sess.random_song = None + + if selected_value != sess.selected_value: # New song selected + sess.executed = False + + sess.selected_value = selected_value + sess.url = get_youtube_url(selected_value) + + with yt_cols[2]: + if st.button("🎲 Random song", use_container_width=True): + sess.last_dir, sess.url = get_random_song() + sess.random_song = True + sess.video_options = [] + sess.executed = False + + if sess.url is not None: + player_cols = st.columns([2, 2, 1, 1], gap="medium") + with player_cols[1]: + player = st.empty() + streamlit_player( + player, + sess.url, + height=200, + is_active=False, + muted=False, + start=0, + key="yt_player", + events=["onProgress"], + ) + + # Separate vocals + cols_before_sep = st.columns([2, 4, 2]) + with cols_before_sep[1]: + execute_button = st.empty() + execute = execute_button.button( + "Confirm and remove vocals 🎤 🎶", + type="primary", + use_container_width=True, + ) + if execute or sess.executed: + execute_button.empty() + player.empty() + if execute: + sess.executed = False + if sess.random_song is None: + if not sess.executed: + cols_spinners = st.columns([1, 2, 1]) + with cols_spinners[1]: + with st.spinner( + "Separating vocals from music, it will take a while..." + ): + sess.filename = download_audio_from_youtube(sess.url, in_path) + if sess.filename is None: + st.stop() + sess.url = None + filename = sess.filename + song = load_audio_segment( + in_path / filename, filename.split(".")[-1] + ) + song.export(in_path / filename, format=filename.split(".")[-1]) + model, device = load_model(pretrained_model="baseline.pth") + separate( + input=in_path / filename, + model=model, + device=device, + output_dir=out_path, + only_no_vocals=True, + ) + selected_value = None + sess.last_dir = ".".join(sess.filename.split(".")[:-1]) + sess.executed = True + else: + sess.executed = True + + if sess.executed: + show_karaoke(out_path / "vocal_remover" / sess.last_dir / "no_vocals.mp3", player) + + +if __name__ == "__main__": + header() + body() + footer() diff --git a/app/pages/Separate.py b/app/pages/Separate.py new file mode 100644 index 0000000000000000000000000000000000000000..cbbaf7ad62a89f31f662acf58743c0f6225b6fe6 --- /dev/null +++ b/app/pages/Separate.py @@ -0,0 +1,203 @@ +import os +from pathlib import Path + +import streamlit as st +from streamlit_option_menu import option_menu + +from service.demucs_runner import separator +from helpers import ( + load_audio_segment, + plot_audio, + st_local_audio, + url_is_valid, +) + +from service.vocal_remover.runner import separate, load_model + +from footer import footer +from header import header + +label_sources = { + "no_vocals.mp3": "🎶 Instrumental", + "vocals.mp3": "🎤 Vocals", + "drums.mp3": "🥁 Drums", + "bass.mp3": "🎸 Bass", + "guitar.mp3": "🎸 Guitar", + "piano.mp3": "🎹 Piano", + "other.mp3": "🎶 Other", +} + +extensions = ["mp3", "wav", "ogg", "flac"] + + +out_path = Path("/tmp") +in_path = Path("/tmp") + + +def reset_execution(): + st.session_state.executed = False + + +def body(): + filename = None + cols = st.columns([1, 3, 2, 1]) + with cols[1]: + with st.columns([1, 5, 1])[1]: + option = option_menu( + menu_title=None, + options=["Upload File", "From URL"], + icons=["cloud-upload-fill", "link-45deg"], + orientation="horizontal", + styles={"container": {"width": "100%", "margin": "0px", "padding": "0px"}}, + key="option_separate", + ) + if option == "Upload File": + uploaded_file = st.file_uploader( + "Choose a file", + type=extensions, + key="file", + help="Supported formats: mp3, wav, ogg, flac.", + ) + if uploaded_file is not None: + with open(in_path / uploaded_file.name, "wb") as f: + f.write(uploaded_file.getbuffer()) + filename = uploaded_file.name + st_local_audio(in_path / filename, key="input_upload_file") + + elif option == "From URL": # TODO: show examples + url = st.text_input( + "Paste the URL of the audio file", + key="url_input", + help="Supported formats: mp3, wav, ogg, flac.", + ) + if url != "": + if url_is_valid(url): + with st.spinner("Downloading audio..."): + filename = url.split("/")[-1] + os.system(f"wget -O {in_path / filename} {url}") + st_local_audio(in_path / filename, key="input_from_url") + with cols[2]: + separation_mode = st.selectbox( + "Choose the separation mode", + [ + "Vocals & Instrumental (Faster)", + "Vocals & Instrumental (High Quality, Slower)", + "Vocals, Drums, Bass & Other (Slower)", + "Vocal, Drums, Bass, Guitar, Piano & Other (Slowest)", + ], + on_change=reset_execution(), + key="separation_mode", + ) + if separation_mode == "Vocals & Instrumental (Faster)": + max_duration = 30 + else: + max_duration = 15 + + if filename is not None: + song = load_audio_segment(in_path / filename, filename.split(".")[-1]) + n_secs = round(len(song) / 1000) + if os.environ.get("ENV_LIMITATION", False): + with cols[2]: + start_time = st.number_input( + "Choose the start time", + min_value=0, + max_value=n_secs, + step=1, + value=0, + help=f"Maximum duration is {max_duration} seconds for this separation mode. Duplicate this space to remove any limit.", + format="%d", + ) + st.session_state.start_time = start_time + end_time = min(start_time + max_duration, n_secs) + song = song[start_time * 1000 : end_time * 1000] + st.info( + f"Audio source will be processed from {start_time} to {end_time} seconds. Duplicate this space to remove any limit.", + icon="⏱", + ) + else: + start_time = 0 + end_time = n_secs + with st.columns([1, 3, 1])[1]: + execute = st.button("Split Music 🎶", type="primary", use_container_width=True) + if execute or st.session_state.executed: + if execute: + st.session_state.executed = False + + if not st.session_state.executed: + song.export(in_path / filename, format=filename.split(".")[-1]) + with st.spinner("Separating source audio, it will take a while..."): + if separation_mode == "Vocals & Instrumental (Faster)": + model_name = "vocal_remover" + model, device = load_model(pretrained_model="baseline.pth") + separate( + input=in_path / filename, + model=model, + device=device, + output_dir=out_path, + ) + else: + stem = None + model_name = "htdemucs" + if ( + separation_mode + == "Vocal, Drums, Bass, Guitar, Piano & Other (Slowest)" + ): + model_name = "htdemucs_6s" + elif separation_mode == "Vocals & Instrumental (High Quality, Slower)": + stem = "vocals" + + separator( + tracks=[in_path / filename], + out=out_path, + model=model_name, + shifts=1, + overlap=0.5, + stem=stem, + int24=False, + float32=False, + clip_mode="rescale", + mp3=True, + mp3_bitrate=320, + verbose=True, + start_time=start_time, + end_time=end_time, + ) + last_dir = ".".join(filename.split(".")[:-1]) + filename = None + st.session_state.executed = True + + def get_sources(path): + sources = {} + for file in [ + "no_vocals.mp3", + "vocals.mp3", + "drums.mp3", + "bass.mp3", + "guitar.mp3", + "piano.mp3", + "other.mp3", + ]: + fullpath = path / file + if fullpath.exists(): + sources[file] = fullpath + return sources + + sources = get_sources(out_path / Path(model_name) / last_dir) + tab_sources = st.tabs([f"**{label_sources.get(k)}**" for k in sources.keys()]) + for i, (file, pathname) in enumerate(sources.items()): + with tab_sources[i]: + cols = st.columns(2) + with cols[0]: + auseg = load_audio_segment(pathname, "mp3") + st.image( + plot_audio(auseg, title="", file=file), + use_column_width="always", + ) + with cols[1]: + st_local_audio(pathname, key=f"output_{file}") + + +if __name__ == "__main__": + header() + body() + footer() diff --git a/lib/__init__.py b/app/service/__init__.py similarity index 100% rename from lib/__init__.py rename to app/service/__init__.py diff --git a/app/demucs_runner.py b/app/service/demucs_runner.py similarity index 88% rename from app/demucs_runner.py rename to app/service/demucs_runner.py index 175b35145712c51e4641fe87be1248c4f522cb7c..499ce095543c774e7292a4ba8487507d36d82c14 100644 --- a/app/demucs_runner.py +++ b/app/service/demucs_runner.py @@ -2,7 +2,7 @@ import argparse import sys from pathlib import Path from typing import List - +import os from dora.log import fatal import torch as th @@ -11,12 +11,14 @@ from demucs.audio import save_audio from demucs.pretrained import get_model_from_args, ModelLoadingError from demucs.separate import load_track +import streamlit as st + +@st.cache_data(show_spinner=False) def separator( tracks: List[Path], out: Path, model: str, - device: str, shifts: int, overlap: float, stem: str, @@ -25,27 +27,43 @@ def separator( clip_mode: str, mp3: bool, mp3_bitrate: int, - jobs: int, verbose: bool, + *args, + **kwargs, ): """Separate the sources for the given tracks Args: tracks (Path): Path to tracks - out (Path): Folder where to put extracted tracks. A subfolder with the model name will be created. + out (Path): Folder where to put extracted tracks. A subfolder with the model name will be + created. model (str): Model name - device (str): Device to use, default is cuda if available else cpu - shifts (int): Number of random shifts for equivariant stabilization. Increase separation time but improves quality for Demucs. 10 was used in the original paper. + shifts (int): Number of random shifts for equivariant stabilization. + Increase separation time but improves quality for Demucs. + 10 was used in the original paper. overlap (float): Overlap stem (str): Only separate audio into {STEM} and no_{STEM}. int24 (bool): Save wav output as 24 bits wav. float32 (bool): Save wav output as float32 (2x bigger). - clip_mode (str): Strategy for avoiding clipping: rescaling entire signal if necessary (rescale) or hard clipping (clamp). + clip_mode (str): Strategy for avoiding clipping: rescaling entire signal if necessary + (rescale) or hard clipping (clamp). mp3 (bool): Convert the output wavs to mp3. mp3_bitrate (int): Bitrate of converted mp3. - jobs (int): Number of jobs. This can increase memory usage but will be much faster when multiple cores are available. verbose (bool): Verbose """ + + if os.environ.get("LIMIT_CPU", False): + th.set_num_threads(1) + jobs = 1 + else: + # Number of jobs. This can increase memory usage but will be much faster when + # multiple cores are available. + jobs = os.cpu_count() + + if th.cuda.is_available(): + device = "cuda" + else: + device = "cpu" args = argparse.Namespace() args.tracks = tracks args.out = out diff --git a/app/service/vocal_remover/__init__.py b/app/service/vocal_remover/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/app/service/vocal_remover/layers.py b/app/service/vocal_remover/layers.py new file mode 100644 index 0000000000000000000000000000000000000000..58f43d04d8aa5a76a1c4438f9319c966c971d4cf --- /dev/null +++ b/app/service/vocal_remover/layers.py @@ -0,0 +1,126 @@ +import torch +from torch import nn +import torch.nn.functional as F + + +def crop_center(h1, h2): + h1_shape = h1.size() + h2_shape = h2.size() + + if h1_shape[3] == h2_shape[3]: + return h1 + elif h1_shape[3] < h2_shape[3]: + raise ValueError("h1_shape[3] must be greater than h2_shape[3]") + + s_time = (h1_shape[3] - h2_shape[3]) // 2 + e_time = s_time + h2_shape[3] + h1 = h1[:, :, :, s_time:e_time] + + return h1 + + +class Conv2DBNActiv(nn.Module): + def __init__(self, nin, nout, ksize=3, stride=1, pad=1, dilation=1, activ=nn.ReLU): + super(Conv2DBNActiv, self).__init__() + self.conv = nn.Sequential( + nn.Conv2d( + nin, + nout, + kernel_size=ksize, + stride=stride, + padding=pad, + dilation=dilation, + bias=False, + ), + nn.BatchNorm2d(nout), + activ(), + ) + + def __call__(self, x): + return self.conv(x) + + +class Encoder(nn.Module): + def __init__(self, nin, nout, ksize=3, stride=1, pad=1, activ=nn.LeakyReLU): + super(Encoder, self).__init__() + self.conv1 = Conv2DBNActiv(nin, nout, ksize, stride, pad, activ=activ) + self.conv2 = Conv2DBNActiv(nout, nout, ksize, 1, pad, activ=activ) + + def __call__(self, x): + h = self.conv1(x) + h = self.conv2(h) + + return h + + +class Decoder(nn.Module): + def __init__(self, nin, nout, ksize=3, stride=1, pad=1, activ=nn.ReLU, dropout=False): + super(Decoder, self).__init__() + self.conv1 = Conv2DBNActiv(nin, nout, ksize, 1, pad, activ=activ) + self.dropout = nn.Dropout2d(0.1) if dropout else None + + def __call__(self, x, skip=None): + x = F.interpolate(x, scale_factor=2, mode="bilinear", align_corners=True) + + if skip is not None: + skip = crop_center(skip, x) + x = torch.cat([x, skip], dim=1) + + h = self.conv1(x) + # h = self.conv2(h) + + if self.dropout is not None: + h = self.dropout(h) + + return h + + +class ASPPModule(nn.Module): + def __init__(self, nin, nout, dilations=(4, 8, 12), activ=nn.ReLU, dropout=False): + super(ASPPModule, self).__init__() + self.conv1 = nn.Sequential( + nn.AdaptiveAvgPool2d((1, None)), + Conv2DBNActiv(nin, nout, 1, 1, 0, activ=activ), + ) + self.conv2 = Conv2DBNActiv(nin, nout, 1, 1, 0, activ=activ) + self.conv3 = Conv2DBNActiv(nin, nout, 3, 1, dilations[0], dilations[0], activ=activ) + self.conv4 = Conv2DBNActiv(nin, nout, 3, 1, dilations[1], dilations[1], activ=activ) + self.conv5 = Conv2DBNActiv(nin, nout, 3, 1, dilations[2], dilations[2], activ=activ) + self.bottleneck = Conv2DBNActiv(nout * 5, nout, 1, 1, 0, activ=activ) + self.dropout = nn.Dropout2d(0.1) if dropout else None + + def forward(self, x): + _, _, h, w = x.size() + feat1 = F.interpolate(self.conv1(x), size=(h, w), mode="bilinear", align_corners=True) + feat2 = self.conv2(x) + feat3 = self.conv3(x) + feat4 = self.conv4(x) + feat5 = self.conv5(x) + out = torch.cat((feat1, feat2, feat3, feat4, feat5), dim=1) + out = self.bottleneck(out) + + if self.dropout is not None: + out = self.dropout(out) + + return out + + +class LSTMModule(nn.Module): + def __init__(self, nin_conv, nin_lstm, nout_lstm): + super(LSTMModule, self).__init__() + self.conv = Conv2DBNActiv(nin_conv, 1, 1, 1, 0) + self.lstm = nn.LSTM(input_size=nin_lstm, hidden_size=nout_lstm // 2, bidirectional=True) + self.dense = nn.Sequential( + nn.Linear(nout_lstm, nin_lstm), nn.BatchNorm1d(nin_lstm), nn.ReLU() + ) + + def forward(self, x): + N, _, nbins, nframes = x.size() + h = self.conv(x)[:, 0] # N, nbins, nframes + h = h.permute(2, 0, 1) # nframes, N, nbins + h, _ = self.lstm(h) + h = self.dense(h.reshape(-1, h.size()[-1])) # nframes * N, nbins + h = h.reshape(nframes, N, 1, nbins) + h = h.permute(1, 2, 3, 0) + + return h diff --git a/app/service/vocal_remover/nets.py b/app/service/vocal_remover/nets.py new file mode 100644 index 0000000000000000000000000000000000000000..9154e1818844f12588d388ddf61626487250ccfa --- /dev/null +++ b/app/service/vocal_remover/nets.py @@ -0,0 +1,125 @@ +import torch +from torch import nn +import torch.nn.functional as F + +from app.service.vocal_remover import layers + + +class BaseNet(nn.Module): + def __init__(self, nin, nout, nin_lstm, nout_lstm, dilations=((4, 2), (8, 4), (12, 6))): + super(BaseNet, self).__init__() + self.enc1 = layers.Conv2DBNActiv(nin, nout, 3, 1, 1) + self.enc2 = layers.Encoder(nout, nout * 2, 3, 2, 1) + self.enc3 = layers.Encoder(nout * 2, nout * 4, 3, 2, 1) + self.enc4 = layers.Encoder(nout * 4, nout * 6, 3, 2, 1) + self.enc5 = layers.Encoder(nout * 6, nout * 8, 3, 2, 1) + + self.aspp = layers.ASPPModule(nout * 8, nout * 8, dilations, dropout=True) + + self.dec4 = layers.Decoder(nout * (6 + 8), nout * 6, 3, 1, 1) + self.dec3 = layers.Decoder(nout * (4 + 6), nout * 4, 3, 1, 1) + self.dec2 = layers.Decoder(nout * (2 + 4), nout * 2, 3, 1, 1) + self.lstm_dec2 = layers.LSTMModule(nout * 2, nin_lstm, nout_lstm) + self.dec1 = layers.Decoder(nout * (1 + 2) + 1, nout * 1, 3, 1, 1) + + def __call__(self, x): + e1 = self.enc1(x) + e2 = self.enc2(e1) + e3 = self.enc3(e2) + e4 = self.enc4(e3) + e5 = self.enc5(e4) + + h = self.aspp(e5) + + h = self.dec4(h, e4) + h = self.dec3(h, e3) + h = self.dec2(h, e2) + h = torch.cat([h, self.lstm_dec2(h)], dim=1) + h = self.dec1(h, e1) + + return h + + +class CascadedNet(nn.Module): + def __init__(self, n_fft, nout=32, nout_lstm=128): + super(CascadedNet, self).__init__() + self.max_bin = n_fft // 2 + self.output_bin = n_fft // 2 + 1 + self.nin_lstm = self.max_bin // 2 + self.offset = 64 + + self.stg1_low_band_net = nn.Sequential( + BaseNet(2, nout // 2, self.nin_lstm // 2, nout_lstm), + layers.Conv2DBNActiv(nout // 2, nout // 4, 1, 1, 0), + ) + self.stg1_high_band_net = BaseNet(2, nout // 4, self.nin_lstm // 2, nout_lstm // 2) + + self.stg2_low_band_net = nn.Sequential( + BaseNet(nout // 4 + 2, nout, self.nin_lstm // 2, nout_lstm), + layers.Conv2DBNActiv(nout, nout // 2, 1, 1, 0), + ) + self.stg2_high_band_net = BaseNet( + nout // 4 + 2, nout // 2, self.nin_lstm // 2, nout_lstm // 2 + ) + + self.stg3_full_band_net = BaseNet(3 * nout // 4 + 2, nout, self.nin_lstm, nout_lstm) + + self.out = nn.Conv2d(nout, 2, 1, bias=False) + self.aux_out = nn.Conv2d(3 * nout // 4, 2, 1, bias=False) + + def forward(self, x): + x = x[:, :, : self.max_bin] + + bandw = x.size()[2] // 2 + l1_in = x[:, :, :bandw] + h1_in = x[:, :, bandw:] + l1 = self.stg1_low_band_net(l1_in) + h1 = self.stg1_high_band_net(h1_in) + aux1 = torch.cat([l1, h1], dim=2) + + l2_in = torch.cat([l1_in, l1], dim=1) + h2_in = torch.cat([h1_in, h1], dim=1) + l2 = self.stg2_low_band_net(l2_in) + h2 = self.stg2_high_band_net(h2_in) + aux2 = torch.cat([l2, h2], dim=2) + + f3_in = torch.cat([x, aux1, aux2], dim=1) + f3 = self.stg3_full_band_net(f3_in) + + mask = torch.sigmoid(self.out(f3)) + mask = F.pad( + input=mask, + pad=(0, 0, 0, self.output_bin - mask.size()[2]), + mode="replicate", + ) + + if self.training: + aux = torch.cat([aux1, aux2], dim=1) + aux = torch.sigmoid(self.aux_out(aux)) + aux = F.pad( + input=aux, + pad=(0, 0, 0, self.output_bin - aux.size()[2]), + mode="replicate", + ) + return mask, aux + else: + return mask + + def predict_mask(self, x): + mask = self.forward(x) + + if self.offset > 0: + mask = mask[:, :, :, self.offset : -self.offset] + assert mask.size()[3] > 0 + + return mask + + def predict(self, x): + mask = self.forward(x) + pred_mag = x * mask + + if self.offset > 0: + pred_mag = pred_mag[:, :, :, self.offset : -self.offset] + assert pred_mag.size()[3] > 0 + + return pred_mag diff --git a/app/service/vocal_remover/runner.py b/app/service/vocal_remover/runner.py new file mode 100644 index 0000000000000000000000000000000000000000..1fb681eb8e64884152f5c177448ba5d8e92767d6 --- /dev/null +++ b/app/service/vocal_remover/runner.py @@ -0,0 +1,234 @@ +import os +import logging +import librosa +import numpy as np +import soundfile as sf +import torch +from stqdm import stqdm +import streamlit as st +from pydub import AudioSegment + +from app.service.vocal_remover import nets + + +if os.environ.get("LIMIT_CPU", False): + torch.set_num_threads(1) + + +def merge_artifacts(y_mask, thres=0.05, min_range=64, fade_size=32): + if min_range < fade_size * 2: + raise ValueError("min_range must be >= fade_size * 2") + + idx = np.where(y_mask.min(axis=(0, 1)) > thres)[0] + start_idx = np.insert(idx[np.where(np.diff(idx) != 1)[0] + 1], 0, idx[0]) + end_idx = np.append(idx[np.where(np.diff(idx) != 1)[0]], idx[-1]) + artifact_idx = np.where(end_idx - start_idx > min_range)[0] + weight = np.zeros_like(y_mask) + if len(artifact_idx) > 0: + start_idx = start_idx[artifact_idx] + end_idx = end_idx[artifact_idx] + old_e = None + for s, e in zip(start_idx, end_idx): + if old_e is not None and s - old_e < fade_size: + s = old_e - fade_size * 2 + + if s != 0: + weight[:, :, s : s + fade_size] = np.linspace(0, 1, fade_size) + else: + s -= fade_size + + if e != y_mask.shape[2]: + weight[:, :, e - fade_size : e] = np.linspace(1, 0, fade_size) + else: + e += fade_size + + weight[:, :, s + fade_size : e - fade_size] = 1 + old_e = e + + v_mask = 1 - y_mask + y_mask += weight * v_mask + + return y_mask + + +def make_padding(width, cropsize, offset): + left = offset + roi_size = cropsize - offset * 2 + if roi_size == 0: + roi_size = cropsize + right = roi_size - (width % roi_size) + left + + return left, right, roi_size + + +def wave_to_spectrogram(wave, hop_length, n_fft): + wave_left = np.asfortranarray(wave[0]) + wave_right = np.asfortranarray(wave[1]) + + spec_left = librosa.stft(wave_left, n_fft=n_fft, hop_length=hop_length) + spec_right = librosa.stft(wave_right, n_fft=n_fft, hop_length=hop_length) + spec = np.asfortranarray([spec_left, spec_right]) + + return spec + + +def spectrogram_to_wave(spec, hop_length=1024): + if spec.ndim == 2: + wave = librosa.istft(spec, hop_length=hop_length) + elif spec.ndim == 3: + spec_left = np.asfortranarray(spec[0]) + spec_right = np.asfortranarray(spec[1]) + + wave_left = librosa.istft(spec_left, hop_length=hop_length) + wave_right = librosa.istft(spec_right, hop_length=hop_length) + wave = np.asfortranarray([wave_left, wave_right]) + + return wave + + +class Separator(object): + def __init__(self, model, device, batchsize, cropsize, postprocess=False, progress_bar=None): + self.model = model + self.offset = model.offset + self.device = device + self.batchsize = batchsize + self.cropsize = cropsize + self.postprocess = postprocess + self.progress_bar = progress_bar + + def _separate(self, X_mag_pad, roi_size): + X_dataset = [] + patches = (X_mag_pad.shape[2] - 2 * self.offset) // roi_size + for i in range(patches): + start = i * roi_size + X_mag_crop = X_mag_pad[:, :, start : start + self.cropsize] + X_dataset.append(X_mag_crop) + + X_dataset = np.asarray(X_dataset) + + self.model.eval() + with torch.no_grad(): + mask = [] + # To reduce the overhead, dataloader is not used. + for i in stqdm( + range(0, patches, self.batchsize), + st_container=self.progress_bar, + gui=False, + ): + X_batch = X_dataset[i : i + self.batchsize] + X_batch = torch.from_numpy(X_batch).to(self.device) + + pred = self.model.predict_mask(X_batch) + + pred = pred.detach().cpu().numpy() + pred = np.concatenate(pred, axis=2) + mask.append(pred) + + mask = np.concatenate(mask, axis=2) + + return mask + + def _preprocess(self, X_spec): + X_mag = np.abs(X_spec) + X_phase = np.angle(X_spec) + + return X_mag, X_phase + + def _postprocess(self, mask, X_mag, X_phase): + if self.postprocess: + mask = merge_artifacts(mask) + + y_spec = mask * X_mag * np.exp(1.0j * X_phase) + v_spec = (1 - mask) * X_mag * np.exp(1.0j * X_phase) + + return y_spec, v_spec + + def separate(self, X_spec): + X_mag, X_phase = self._preprocess(X_spec) + + n_frame = X_mag.shape[2] + pad_l, pad_r, roi_size = make_padding(n_frame, self.cropsize, self.offset) + X_mag_pad = np.pad(X_mag, ((0, 0), (0, 0), (pad_l, pad_r)), mode="constant") + X_mag_pad /= X_mag_pad.max() + + mask = self._separate(X_mag_pad, roi_size) + mask = mask[:, :, :n_frame] + + y_spec, v_spec = self._postprocess(mask, X_mag, X_phase) + + return y_spec, v_spec + + +@st.cache_resource(show_spinner=False) +def load_model(pretrained_model, n_fft=2048): + model = nets.CascadedNet(n_fft, 32, 128) + if torch.cuda.is_available(): + device = torch.device("cuda:0") + model.to(device) + # elif torch.backends.mps.is_available() and torch.backends.mps.is_built(): + # device = torch.device("mps") + # model.to(device) + else: + device = torch.device("cpu") + model.load_state_dict(torch.load(pretrained_model, map_location=device)) + return model, device + + +# @st.cache_data(show_spinner=False) +def separate( + input, + model, + device, + output_dir, + batchsize=4, + cropsize=256, + postprocess=False, + hop_length=1024, + n_fft=2048, + sr=44100, + progress_bar=None, + only_no_vocals=False, +): + X, sr = librosa.load(input, sr=sr, mono=False, dtype=np.float32, res_type="kaiser_fast") + basename = os.path.splitext(os.path.basename(input))[0] + + if X.ndim == 1: + # mono to stereo + X = np.asarray([X, X]) + + X_spec = wave_to_spectrogram(X, hop_length, n_fft) + + with torch.no_grad(): + sp = Separator(model, device, batchsize, cropsize, postprocess, progress_bar=progress_bar) + y_spec, v_spec = sp.separate(X_spec) + + base_dir = f"{output_dir}/vocal_remover/{basename}" + os.makedirs(base_dir, exist_ok=True) + + wave = spectrogram_to_wave(y_spec, hop_length=hop_length) + try: + sf.write(f"{base_dir}/no_vocals.mp3", wave.T, sr) + except Exception: + logging.error("Failed to write no_vocals.mp3, trying pydub...") + pydub_write(wave, f"{base_dir}/no_vocals.mp3", sr) + if only_no_vocals: + return + wave = spectrogram_to_wave(v_spec, hop_length=hop_length) + try: + sf.write(f"{base_dir}/vocals.mp3", wave.T, sr) + except Exception: + logging.error("Failed to write vocals.mp3, trying pydub...") + pydub_write(wave, f"{base_dir}/vocals.mp3", sr) + + +def pydub_write(wave, output_path, frame_rate, audio_format="mp3"): + # Ensure the wave data is in the right format for pydub (mono and 16-bit depth) + wave_16bit = (wave * 32767).astype(np.int16) + + audio_segment = AudioSegment( + wave_16bit.tobytes(), + frame_rate=frame_rate, + sample_width=wave_16bit.dtype.itemsize, + channels=1, + ) + audio_segment.export(output_path, format=audio_format) diff --git a/app/service/youtube.py b/app/service/youtube.py new file mode 100644 index 0000000000000000000000000000000000000000..d9b9cda94a4365dedb78c9b9363365ccfe7ecc2c --- /dev/null +++ b/app/service/youtube.py @@ -0,0 +1,72 @@ +import os +from typing import List +import yt_dlp +import string +import time +import re +import streamlit as st +from pytube import Search + + +def _sanitize_filename(filename): + safe_chars = "-_.() %s%s" % ( + re.escape(string.ascii_letters), + re.escape(string.digits), + ) + safe_filename = re.sub(f"[^{safe_chars}]", "_", filename) + return safe_filename.strip() + + +@st.cache_data(show_spinner=False) +def download_audio_from_youtube(url, output_path): + if not os.path.exists(output_path): + os.makedirs(output_path) + + with yt_dlp.YoutubeDL() as ydl: + info_dict = ydl.extract_info(url, download=False) + if info_dict.get("duration") > 360: + st.error("Song is too long. Please use a song no longer than 6 minutes.") + return + video_title = info_dict.get("title", None) + video_title = _sanitize_filename(video_title) + ydl_opts = { + "format": "bestaudio/best", + "postprocessors": [ + { + "key": "FFmpegExtractAudio", + "preferredcodec": "mp3", + "preferredquality": "192", + } + ], + "outtmpl": os.path.join(output_path, video_title), + #'quiet': True, + } + with yt_dlp.YoutubeDL(ydl_opts) as ydl: + ydl.download([url]) + return f"{video_title}.mp3" + + +@st.cache_data(show_spinner=False) +def query_youtube(query: str) -> Search: + return Search(query) + + +def search_youtube(query: str) -> List: + if len(query) > 3: + time.sleep(0.5) + search = query_youtube(query + " lyrics") + st.session_state.search_results = search.results + video_options = [video.title for video in st.session_state.search_results] + st.session_state.video_options = video_options + else: + video_options = [] + return video_options + + +def get_youtube_url(title: str) -> str: + video = st.session_state.search_results[st.session_state.video_options.index(title)] + return video.embed_url + + +def check_if_is_youtube_url(url: str) -> bool: + return url.startswith("http") diff --git a/app/sidebar.py b/app/sidebar.py deleted file mode 100644 index 213a0a49e739d0b27f0d49c14a603291beb888f4..0000000000000000000000000000000000000000 --- a/app/sidebar.py +++ /dev/null @@ -1,12 +0,0 @@ -text = """ -🎶 Music Source Splitter is a web app that allows you to separate the vocals and the instrumental of a song. -
-

How does it work?

-The app uses a pretrained model called Hybrid Spectrogram and Waveform Source Separation from facebook/htdemucs. -

-

Where can I find the code?

-The code for this app is available both on GitHub and HuggingFace. -

-

Contact me

-Contact me on Twitter or on LinkedIn if you have any questions or feedback. -""" \ No newline at end of file diff --git a/app/style.py b/app/style.py new file mode 100644 index 0000000000000000000000000000000000000000..8fccc884ad7d2bbfcfc62a3d524d76bad64a52f9 --- /dev/null +++ b/app/style.py @@ -0,0 +1,131 @@ +_font_title = "Monoton" +_font_subtitle = "Exo" + +CSS = ( + """ + + + + + + +""" +) diff --git a/img/bmc-button.png b/img/bmc-button.png new file mode 100644 index 0000000000000000000000000000000000000000..464bfd969dc1265095cc53628f71f97146d325ed Binary files /dev/null and b/img/bmc-button.png differ diff --git a/img/image_stems.png b/img/image_stems.png new file mode 100644 index 0000000000000000000000000000000000000000..0e23cc999b9a0310afb660f2e23de7c7472ced34 Binary files /dev/null and b/img/image_stems.png differ diff --git a/img/karaoke_fun.png b/img/karaoke_fun.png new file mode 100644 index 0000000000000000000000000000000000000000..d79557bb5cd3d399a99af9362d05297787a6f163 Binary files /dev/null and b/img/karaoke_fun.png differ diff --git a/img/logo_moseca.png b/img/logo_moseca.png new file mode 100644 index 0000000000000000000000000000000000000000..dd39835fae318ad0c1d7223a40bd1525c61594b0 Binary files /dev/null and b/img/logo_moseca.png differ diff --git a/img/state-of-art.png b/img/state-of-art.png new file mode 100644 index 0000000000000000000000000000000000000000..61226ffdddac731e1d297501238189b1223b4d15 Binary files /dev/null and b/img/state-of-art.png differ diff --git a/lib/st_audiorec/.DS_Store b/lib/st_audiorec/.DS_Store deleted file mode 100644 index 67df6069c4b9689ba037c87771cb79dcd7a005db..0000000000000000000000000000000000000000 Binary files a/lib/st_audiorec/.DS_Store and /dev/null differ diff --git a/lib/st_audiorec/__init__.py b/lib/st_audiorec/__init__.py deleted file mode 100644 index 8b137891791fe96927ad78e64b0aad7bded08bdc..0000000000000000000000000000000000000000 --- a/lib/st_audiorec/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/lib/st_audiorec/frontend/.DS_Store b/lib/st_audiorec/frontend/.DS_Store deleted file mode 100644 index b06e3aa419f98aebb7a9a1b1f3018162dbb16ca5..0000000000000000000000000000000000000000 Binary files a/lib/st_audiorec/frontend/.DS_Store and /dev/null differ diff --git a/lib/st_audiorec/frontend/.env b/lib/st_audiorec/frontend/.env deleted file mode 100644 index 1a62b76864a207189c19d1c7fe4ab0cfb301bdc6..0000000000000000000000000000000000000000 --- a/lib/st_audiorec/frontend/.env +++ /dev/null @@ -1,6 +0,0 @@ -# Run the component's dev server on :3001 -# (The Streamlit dev server already runs on :3000) -PORT=3001 - -# Don't automatically open the web browser on `npm run start`. -BROWSER=none diff --git a/lib/st_audiorec/frontend/.prettierrc b/lib/st_audiorec/frontend/.prettierrc deleted file mode 100644 index 0735a4274eaf273500e78da223858daa642ada15..0000000000000000000000000000000000000000 --- a/lib/st_audiorec/frontend/.prettierrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "endOfLine": "lf", - "semi": false, - "trailingComma": "es5" -} diff --git a/lib/st_audiorec/frontend/build/.DS_Store b/lib/st_audiorec/frontend/build/.DS_Store deleted file mode 100644 index 4743311839e94b7013deeecdf6fab147288d00fd..0000000000000000000000000000000000000000 Binary files a/lib/st_audiorec/frontend/build/.DS_Store and /dev/null differ diff --git a/lib/st_audiorec/frontend/build/asset-manifest.json b/lib/st_audiorec/frontend/build/asset-manifest.json deleted file mode 100644 index 386e150e8ff3bc6a2955bad8e8594df65da4cb4b..0000000000000000000000000000000000000000 --- a/lib/st_audiorec/frontend/build/asset-manifest.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "files": { - "main.js": "./static/js/main.833ba252.chunk.js", - "main.js.map": "./static/js/main.833ba252.chunk.js.map", - "runtime-main.js": "./static/js/runtime-main.11ec9aca.js", - "runtime-main.js.map": "./static/js/runtime-main.11ec9aca.js.map", - "static/css/2.bfbf028b.chunk.css": "./static/css/2.bfbf028b.chunk.css", - "static/js/2.270b84d8.chunk.js": "./static/js/2.270b84d8.chunk.js", - "static/js/2.270b84d8.chunk.js.map": "./static/js/2.270b84d8.chunk.js.map", - "index.html": "./index.html", - "precache-manifest.4829c060d313d0b0d13d9af3b0180289.js": "./precache-manifest.4829c060d313d0b0d13d9af3b0180289.js", - "service-worker.js": "./service-worker.js", - "static/css/2.bfbf028b.chunk.css.map": "./static/css/2.bfbf028b.chunk.css.map", - "static/js/2.270b84d8.chunk.js.LICENSE.txt": "./static/js/2.270b84d8.chunk.js.LICENSE.txt" - }, - "entrypoints": [ - "static/js/runtime-main.11ec9aca.js", - "static/css/2.bfbf028b.chunk.css", - "static/js/2.270b84d8.chunk.js", - "static/js/main.833ba252.chunk.js" - ] -} \ No newline at end of file diff --git a/lib/st_audiorec/frontend/build/bootstrap.min.css b/lib/st_audiorec/frontend/build/bootstrap.min.css deleted file mode 100644 index 1c6764763d6649b513364a3cd713d0940029e5d0..0000000000000000000000000000000000000000 --- a/lib/st_audiorec/frontend/build/bootstrap.min.css +++ /dev/null @@ -1,9501 +0,0 @@ -/*! - * Bootstrap v4.5.0 (https://getbootstrap.com/) - * Copyright 2011-2020 The Bootstrap Authors - * Copyright 2011-2020 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ -:root { - --blue: #007bff; - --indigo: #6610f2; - --purple: #6f42c1; - --pink: #e83e8c; - --red: #dc3545; - --orange: #fd7e14; - --yellow: #ffc107; - --green: #28a745; - --teal: #20c997; - --cyan: #17a2b8; - --white: #fff; - --gray: #6c757d; - --gray-dark: #343a40; - --primary: #007bff; - --secondary: #6c757d; - --success: #28a745; - --info: #17a2b8; - --warning: #ffc107; - --danger: #dc3545; - --light: #f8f9fa; - --dark: #343a40; - --breakpoint-xs: 0; - --breakpoint-sm: 576px; - --breakpoint-md: 768px; - --breakpoint-lg: 992px; - --breakpoint-xl: 1200px; - --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", - Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, - "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", - "Noto Color Emoji"; - --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, - "Liberation Mono", "Courier New", monospace; -} -*, -::after, -::before { - box-sizing: border-box; -} -html { - font-family: sans-serif; - line-height: 1.15; - -webkit-text-size-adjust: 100%; - -webkit-tap-highlight-color: transparent; -} -article, -aside, -figcaption, -figure, -footer, -header, -hgroup, -main, -nav, -section { - display: block; -} -body { - margin: 0; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, - "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", - "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; - font-size: 1rem; - font-weight: 400; - line-height: 1.5; - color: #212529; - text-align: left; - background-color: #fff; -} -[tabindex="-1"]:focus:not(:focus-visible) { - outline: 0 !important; -} -hr { - box-sizing: content-box; - height: 0; - overflow: visible; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin-top: 0; - margin-bottom: 0.5rem; -} -p { - margin-top: 0; - margin-bottom: 1rem; -} -abbr[data-original-title], -abbr[title] { - text-decoration: underline; - -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; - cursor: help; - border-bottom: 0; - -webkit-text-decoration-skip-ink: none; - text-decoration-skip-ink: none; -} -address { - margin-bottom: 1rem; - font-style: normal; - line-height: inherit; -} -dl, -ol, -ul { - margin-top: 0; - margin-bottom: 1rem; -} -ol ol, -ol ul, -ul ol, -ul ul { - margin-bottom: 0; -} -dt { - font-weight: 700; -} -dd { - margin-bottom: 0.5rem; - margin-left: 0; -} -blockquote { - margin: 0 0 1rem; -} -b, -strong { - font-weight: bolder; -} -small { - font-size: 80%; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sub { - bottom: -0.25em; -} -sup { - top: -0.5em; -} -a { - color: #007bff; - text-decoration: none; - background-color: transparent; -} -a:hover { - color: #0056b3; - text-decoration: underline; -} -a:not([href]) { - color: inherit; - text-decoration: none; -} -a:not([href]):hover { - color: inherit; - text-decoration: none; -} -code, -kbd, -pre, -samp { - font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", - "Courier New", monospace; - font-size: 1em; -} -pre { - margin-top: 0; - margin-bottom: 1rem; - overflow: auto; - -ms-overflow-style: scrollbar; -} -figure { - margin: 0 0 1rem; -} -img { - vertical-align: middle; - border-style: none; -} -svg { - overflow: hidden; - vertical-align: middle; -} -table { - border-collapse: collapse; -} -caption { - padding-top: 0.75rem; - padding-bottom: 0.75rem; - color: #6c757d; - text-align: left; - caption-side: bottom; -} -th { - text-align: inherit; -} -label { - display: inline-block; - margin-bottom: 0.5rem; -} -button { - border-radius: 0; -} -button:focus { - outline: 1px dotted; - outline: 5px auto -webkit-focus-ring-color; -} -button, -input, -optgroup, -select, -textarea { - margin: 0; - font-family: inherit; - font-size: inherit; - line-height: inherit; -} -button, -input { - overflow: visible; -} -button, -select { - text-transform: none; -} -[role="button"] { - cursor: pointer; -} -select { - word-wrap: normal; -} -[type="button"], -[type="reset"], -[type="submit"], -button { - -webkit-appearance: button; -} -[type="button"]:not(:disabled), -[type="reset"]:not(:disabled), -[type="submit"]:not(:disabled), -button:not(:disabled) { - cursor: pointer; -} -[type="button"]::-moz-focus-inner, -[type="reset"]::-moz-focus-inner, -[type="submit"]::-moz-focus-inner, -button::-moz-focus-inner { - padding: 0; - border-style: none; -} -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; - padding: 0; -} -textarea { - overflow: auto; - resize: vertical; -} -fieldset { - min-width: 0; - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - max-width: 100%; - padding: 0; - margin-bottom: 0.5rem; - font-size: 1.5rem; - line-height: inherit; - color: inherit; - white-space: normal; -} -progress { - vertical-align: baseline; -} -[type="number"]::-webkit-inner-spin-button, -[type="number"]::-webkit-outer-spin-button { - height: auto; -} -[type="search"] { - outline-offset: -2px; - -webkit-appearance: none; -} -[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} -::-webkit-file-upload-button { - font: inherit; - -webkit-appearance: button; -} -output { - display: inline-block; -} -summary { - display: list-item; - cursor: pointer; -} -template { - display: none; -} -[hidden] { - display: none !important; -} -.h1, -.h2, -.h3, -.h4, -.h5, -.h6, -h1, -h2, -h3, -h4, -h5, -h6 { - margin-bottom: 0.5rem; - font-weight: 500; - line-height: 1.2; -} -.h1, -h1 { - font-size: 2.5rem; -} -.h2, -h2 { - font-size: 2rem; -} -.h3, -h3 { - font-size: 1.75rem; -} -.h4, -h4 { - font-size: 1.5rem; -} -.h5, -h5 { - font-size: 1.25rem; -} -.h6, -h6 { - font-size: 1rem; -} -.lead { - font-size: 1.25rem; - font-weight: 300; -} -.display-1 { - font-size: 6rem; - font-weight: 300; - line-height: 1.2; -} -.display-2 { - font-size: 5.5rem; - font-weight: 300; - line-height: 1.2; -} -.display-3 { - font-size: 4.5rem; - font-weight: 300; - line-height: 1.2; -} -.display-4 { - font-size: 3.5rem; - font-weight: 300; - line-height: 1.2; -} -hr { - margin-top: 1rem; - margin-bottom: 1rem; - border: 0; - border-top: 1px solid rgba(0, 0, 0, 0.1); -} -.small, -small { - font-size: 80%; - font-weight: 400; -} -.mark, -mark { - padding: 0.2em; - background-color: #fcf8e3; -} -.list-unstyled { - padding-left: 0; - list-style: none; -} -.list-inline { - padding-left: 0; - list-style: none; -} -.list-inline-item { - display: inline-block; -} -.list-inline-item:not(:last-child) { - margin-right: 0.5rem; -} -.initialism { - font-size: 90%; - text-transform: uppercase; -} -.blockquote { - margin-bottom: 1rem; - font-size: 1.25rem; -} -.blockquote-footer { - display: block; - font-size: 80%; - color: #6c757d; -} -.blockquote-footer::before { - content: "\2014\00A0"; -} -.img-fluid { - max-width: 100%; - height: auto; -} -.img-thumbnail { - padding: 0.25rem; - background-color: #fff; - border: 1px solid #dee2e6; - border-radius: 0.25rem; - max-width: 100%; - height: auto; -} -.figure { - display: inline-block; -} -.figure-img { - margin-bottom: 0.5rem; - line-height: 1; -} -.figure-caption { - font-size: 90%; - color: #6c757d; -} -code { - font-size: 87.5%; - color: #e83e8c; - word-wrap: break-word; -} -a > code { - color: inherit; -} -kbd { - padding: 0.2rem 0.4rem; - font-size: 87.5%; - color: #fff; - background-color: #212529; - border-radius: 0.2rem; -} -kbd kbd { - padding: 0; - font-size: 100%; - font-weight: 700; -} -pre { - display: block; - font-size: 87.5%; - color: #212529; -} -pre code { - font-size: inherit; - color: inherit; - word-break: normal; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -.container { - width: 100%; - padding-right: 15px; - padding-left: 15px; - margin-right: auto; - margin-left: auto; -} -@media (min-width: 576px) { - .container { - max-width: 540px; - } -} -@media (min-width: 768px) { - .container { - max-width: 720px; - } -} -@media (min-width: 992px) { - .container { - max-width: 960px; - } -} -@media (min-width: 1200px) { - .container { - max-width: 1140px; - } -} -.container-fluid, -.container-lg, -.container-md, -.container-sm, -.container-xl { - width: 100%; - padding-right: 15px; - padding-left: 15px; - margin-right: auto; - margin-left: auto; -} -@media (min-width: 576px) { - .container, - .container-sm { - max-width: 540px; - } -} -@media (min-width: 768px) { - .container, - .container-md, - .container-sm { - max-width: 720px; - } -} -@media (min-width: 992px) { - .container, - .container-lg, - .container-md, - .container-sm { - max-width: 960px; - } -} -@media (min-width: 1200px) { - .container, - .container-lg, - .container-md, - .container-sm, - .container-xl { - max-width: 1140px; - } -} -.row { - display: -ms-flexbox; - display: flex; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - margin-right: -15px; - margin-left: -15px; -} -.no-gutters { - margin-right: 0; - margin-left: 0; -} -.no-gutters > .col, -.no-gutters > [class*="col-"] { - padding-right: 0; - padding-left: 0; -} -.col, -.col-1, -.col-10, -.col-11, -.col-12, -.col-2, -.col-3, -.col-4, -.col-5, -.col-6, -.col-7, -.col-8, -.col-9, -.col-auto, -.col-lg, -.col-lg-1, -.col-lg-10, -.col-lg-11, -.col-lg-12, -.col-lg-2, -.col-lg-3, -.col-lg-4, -.col-lg-5, -.col-lg-6, -.col-lg-7, -.col-lg-8, -.col-lg-9, -.col-lg-auto, -.col-md, -.col-md-1, -.col-md-10, -.col-md-11, -.col-md-12, -.col-md-2, -.col-md-3, -.col-md-4, -.col-md-5, -.col-md-6, -.col-md-7, -.col-md-8, -.col-md-9, -.col-md-auto, -.col-sm, -.col-sm-1, -.col-sm-10, -.col-sm-11, -.col-sm-12, -.col-sm-2, -.col-sm-3, -.col-sm-4, -.col-sm-5, -.col-sm-6, -.col-sm-7, -.col-sm-8, -.col-sm-9, -.col-sm-auto, -.col-xl, -.col-xl-1, -.col-xl-10, -.col-xl-11, -.col-xl-12, -.col-xl-2, -.col-xl-3, -.col-xl-4, -.col-xl-5, -.col-xl-6, -.col-xl-7, -.col-xl-8, -.col-xl-9, -.col-xl-auto { - position: relative; - width: 100%; - padding-right: 15px; - padding-left: 15px; -} -.col { - -ms-flex-preferred-size: 0; - flex-basis: 0; - -ms-flex-positive: 1; - flex-grow: 1; - min-width: 0; - max-width: 100%; -} -.row-cols-1 > * { - -ms-flex: 0 0 100%; - flex: 0 0 100%; - max-width: 100%; -} -.row-cols-2 > * { - -ms-flex: 0 0 50%; - flex: 0 0 50%; - max-width: 50%; -} -.row-cols-3 > * { - -ms-flex: 0 0 33.333333%; - flex: 0 0 33.333333%; - max-width: 33.333333%; -} -.row-cols-4 > * { - -ms-flex: 0 0 25%; - flex: 0 0 25%; - max-width: 25%; -} -.row-cols-5 > * { - -ms-flex: 0 0 20%; - flex: 0 0 20%; - max-width: 20%; -} -.row-cols-6 > * { - -ms-flex: 0 0 16.666667%; - flex: 0 0 16.666667%; - max-width: 16.666667%; -} -.col-auto { - -ms-flex: 0 0 auto; - flex: 0 0 auto; - width: auto; - max-width: 100%; -} -.col-1 { - -ms-flex: 0 0 8.333333%; - flex: 0 0 8.333333%; - max-width: 8.333333%; -} -.col-2 { - -ms-flex: 0 0 16.666667%; - flex: 0 0 16.666667%; - max-width: 16.666667%; -} -.col-3 { - -ms-flex: 0 0 25%; - flex: 0 0 25%; - max-width: 25%; -} -.col-4 { - -ms-flex: 0 0 33.333333%; - flex: 0 0 33.333333%; - max-width: 33.333333%; -} -.col-5 { - -ms-flex: 0 0 41.666667%; - flex: 0 0 41.666667%; - max-width: 41.666667%; -} -.col-6 { - -ms-flex: 0 0 50%; - flex: 0 0 50%; - max-width: 50%; -} -.col-7 { - -ms-flex: 0 0 58.333333%; - flex: 0 0 58.333333%; - max-width: 58.333333%; -} -.col-8 { - -ms-flex: 0 0 66.666667%; - flex: 0 0 66.666667%; - max-width: 66.666667%; -} -.col-9 { - -ms-flex: 0 0 75%; - flex: 0 0 75%; - max-width: 75%; -} -.col-10 { - -ms-flex: 0 0 83.333333%; - flex: 0 0 83.333333%; - max-width: 83.333333%; -} -.col-11 { - -ms-flex: 0 0 91.666667%; - flex: 0 0 91.666667%; - max-width: 91.666667%; -} -.col-12 { - -ms-flex: 0 0 100%; - flex: 0 0 100%; - max-width: 100%; -} -.order-first { - -ms-flex-order: -1; - order: -1; -} -.order-last { - -ms-flex-order: 13; - order: 13; -} -.order-0 { - -ms-flex-order: 0; - order: 0; -} -.order-1 { - -ms-flex-order: 1; - order: 1; -} -.order-2 { - -ms-flex-order: 2; - order: 2; -} -.order-3 { - -ms-flex-order: 3; - order: 3; -} -.order-4 { - -ms-flex-order: 4; - order: 4; -} -.order-5 { - -ms-flex-order: 5; - order: 5; -} -.order-6 { - -ms-flex-order: 6; - order: 6; -} -.order-7 { - -ms-flex-order: 7; - order: 7; -} -.order-8 { - -ms-flex-order: 8; - order: 8; -} -.order-9 { - -ms-flex-order: 9; - order: 9; -} -.order-10 { - -ms-flex-order: 10; - order: 10; -} -.order-11 { - -ms-flex-order: 11; - order: 11; -} -.order-12 { - -ms-flex-order: 12; - order: 12; -} -.offset-1 { - margin-left: 8.333333%; -} -.offset-2 { - margin-left: 16.666667%; -} -.offset-3 { - margin-left: 25%; -} -.offset-4 { - margin-left: 33.333333%; -} -.offset-5 { - margin-left: 41.666667%; -} -.offset-6 { - margin-left: 50%; -} -.offset-7 { - margin-left: 58.333333%; -} -.offset-8 { - margin-left: 66.666667%; -} -.offset-9 { - margin-left: 75%; -} -.offset-10 { - margin-left: 83.333333%; -} -.offset-11 { - margin-left: 91.666667%; -} -@media (min-width: 576px) { - .col-sm { - -ms-flex-preferred-size: 0; - flex-basis: 0; - -ms-flex-positive: 1; - flex-grow: 1; - min-width: 0; - max-width: 100%; - } - .row-cols-sm-1 > * { - -ms-flex: 0 0 100%; - flex: 0 0 100%; - max-width: 100%; - } - .row-cols-sm-2 > * { - -ms-flex: 0 0 50%; - flex: 0 0 50%; - max-width: 50%; - } - .row-cols-sm-3 > * { - -ms-flex: 0 0 33.333333%; - flex: 0 0 33.333333%; - max-width: 33.333333%; - } - .row-cols-sm-4 > * { - -ms-flex: 0 0 25%; - flex: 0 0 25%; - max-width: 25%; - } - .row-cols-sm-5 > * { - -ms-flex: 0 0 20%; - flex: 0 0 20%; - max-width: 20%; - } - .row-cols-sm-6 > * { - -ms-flex: 0 0 16.666667%; - flex: 0 0 16.666667%; - max-width: 16.666667%; - } - .col-sm-auto { - -ms-flex: 0 0 auto; - flex: 0 0 auto; - width: auto; - max-width: 100%; - } - .col-sm-1 { - -ms-flex: 0 0 8.333333%; - flex: 0 0 8.333333%; - max-width: 8.333333%; - } - .col-sm-2 { - -ms-flex: 0 0 16.666667%; - flex: 0 0 16.666667%; - max-width: 16.666667%; - } - .col-sm-3 { - -ms-flex: 0 0 25%; - flex: 0 0 25%; - max-width: 25%; - } - .col-sm-4 { - -ms-flex: 0 0 33.333333%; - flex: 0 0 33.333333%; - max-width: 33.333333%; - } - .col-sm-5 { - -ms-flex: 0 0 41.666667%; - flex: 0 0 41.666667%; - max-width: 41.666667%; - } - .col-sm-6 { - -ms-flex: 0 0 50%; - flex: 0 0 50%; - max-width: 50%; - } - .col-sm-7 { - -ms-flex: 0 0 58.333333%; - flex: 0 0 58.333333%; - max-width: 58.333333%; - } - .col-sm-8 { - -ms-flex: 0 0 66.666667%; - flex: 0 0 66.666667%; - max-width: 66.666667%; - } - .col-sm-9 { - -ms-flex: 0 0 75%; - flex: 0 0 75%; - max-width: 75%; - } - .col-sm-10 { - -ms-flex: 0 0 83.333333%; - flex: 0 0 83.333333%; - max-width: 83.333333%; - } - .col-sm-11 { - -ms-flex: 0 0 91.666667%; - flex: 0 0 91.666667%; - max-width: 91.666667%; - } - .col-sm-12 { - -ms-flex: 0 0 100%; - flex: 0 0 100%; - max-width: 100%; - } - .order-sm-first { - -ms-flex-order: -1; - order: -1; - } - .order-sm-last { - -ms-flex-order: 13; - order: 13; - } - .order-sm-0 { - -ms-flex-order: 0; - order: 0; - } - .order-sm-1 { - -ms-flex-order: 1; - order: 1; - } - .order-sm-2 { - -ms-flex-order: 2; - order: 2; - } - .order-sm-3 { - -ms-flex-order: 3; - order: 3; - } - .order-sm-4 { - -ms-flex-order: 4; - order: 4; - } - .order-sm-5 { - -ms-flex-order: 5; - order: 5; - } - .order-sm-6 { - -ms-flex-order: 6; - order: 6; - } - .order-sm-7 { - -ms-flex-order: 7; - order: 7; - } - .order-sm-8 { - -ms-flex-order: 8; - order: 8; - } - .order-sm-9 { - -ms-flex-order: 9; - order: 9; - } - .order-sm-10 { - -ms-flex-order: 10; - order: 10; - } - .order-sm-11 { - -ms-flex-order: 11; - order: 11; - } - .order-sm-12 { - -ms-flex-order: 12; - order: 12; - } - .offset-sm-0 { - margin-left: 0; - } - .offset-sm-1 { - margin-left: 8.333333%; - } - .offset-sm-2 { - margin-left: 16.666667%; - } - .offset-sm-3 { - margin-left: 25%; - } - .offset-sm-4 { - margin-left: 33.333333%; - } - .offset-sm-5 { - margin-left: 41.666667%; - } - .offset-sm-6 { - margin-left: 50%; - } - .offset-sm-7 { - margin-left: 58.333333%; - } - .offset-sm-8 { - margin-left: 66.666667%; - } - .offset-sm-9 { - margin-left: 75%; - } - .offset-sm-10 { - margin-left: 83.333333%; - } - .offset-sm-11 { - margin-left: 91.666667%; - } -} -@media (min-width: 768px) { - .col-md { - -ms-flex-preferred-size: 0; - flex-basis: 0; - -ms-flex-positive: 1; - flex-grow: 1; - min-width: 0; - max-width: 100%; - } - .row-cols-md-1 > * { - -ms-flex: 0 0 100%; - flex: 0 0 100%; - max-width: 100%; - } - .row-cols-md-2 > * { - -ms-flex: 0 0 50%; - flex: 0 0 50%; - max-width: 50%; - } - .row-cols-md-3 > * { - -ms-flex: 0 0 33.333333%; - flex: 0 0 33.333333%; - max-width: 33.333333%; - } - .row-cols-md-4 > * { - -ms-flex: 0 0 25%; - flex: 0 0 25%; - max-width: 25%; - } - .row-cols-md-5 > * { - -ms-flex: 0 0 20%; - flex: 0 0 20%; - max-width: 20%; - } - .row-cols-md-6 > * { - -ms-flex: 0 0 16.666667%; - flex: 0 0 16.666667%; - max-width: 16.666667%; - } - .col-md-auto { - -ms-flex: 0 0 auto; - flex: 0 0 auto; - width: auto; - max-width: 100%; - } - .col-md-1 { - -ms-flex: 0 0 8.333333%; - flex: 0 0 8.333333%; - max-width: 8.333333%; - } - .col-md-2 { - -ms-flex: 0 0 16.666667%; - flex: 0 0 16.666667%; - max-width: 16.666667%; - } - .col-md-3 { - -ms-flex: 0 0 25%; - flex: 0 0 25%; - max-width: 25%; - } - .col-md-4 { - -ms-flex: 0 0 33.333333%; - flex: 0 0 33.333333%; - max-width: 33.333333%; - } - .col-md-5 { - -ms-flex: 0 0 41.666667%; - flex: 0 0 41.666667%; - max-width: 41.666667%; - } - .col-md-6 { - -ms-flex: 0 0 50%; - flex: 0 0 50%; - max-width: 50%; - } - .col-md-7 { - -ms-flex: 0 0 58.333333%; - flex: 0 0 58.333333%; - max-width: 58.333333%; - } - .col-md-8 { - -ms-flex: 0 0 66.666667%; - flex: 0 0 66.666667%; - max-width: 66.666667%; - } - .col-md-9 { - -ms-flex: 0 0 75%; - flex: 0 0 75%; - max-width: 75%; - } - .col-md-10 { - -ms-flex: 0 0 83.333333%; - flex: 0 0 83.333333%; - max-width: 83.333333%; - } - .col-md-11 { - -ms-flex: 0 0 91.666667%; - flex: 0 0 91.666667%; - max-width: 91.666667%; - } - .col-md-12 { - -ms-flex: 0 0 100%; - flex: 0 0 100%; - max-width: 100%; - } - .order-md-first { - -ms-flex-order: -1; - order: -1; - } - .order-md-last { - -ms-flex-order: 13; - order: 13; - } - .order-md-0 { - -ms-flex-order: 0; - order: 0; - } - .order-md-1 { - -ms-flex-order: 1; - order: 1; - } - .order-md-2 { - -ms-flex-order: 2; - order: 2; - } - .order-md-3 { - -ms-flex-order: 3; - order: 3; - } - .order-md-4 { - -ms-flex-order: 4; - order: 4; - } - .order-md-5 { - -ms-flex-order: 5; - order: 5; - } - .order-md-6 { - -ms-flex-order: 6; - order: 6; - } - .order-md-7 { - -ms-flex-order: 7; - order: 7; - } - .order-md-8 { - -ms-flex-order: 8; - order: 8; - } - .order-md-9 { - -ms-flex-order: 9; - order: 9; - } - .order-md-10 { - -ms-flex-order: 10; - order: 10; - } - .order-md-11 { - -ms-flex-order: 11; - order: 11; - } - .order-md-12 { - -ms-flex-order: 12; - order: 12; - } - .offset-md-0 { - margin-left: 0; - } - .offset-md-1 { - margin-left: 8.333333%; - } - .offset-md-2 { - margin-left: 16.666667%; - } - .offset-md-3 { - margin-left: 25%; - } - .offset-md-4 { - margin-left: 33.333333%; - } - .offset-md-5 { - margin-left: 41.666667%; - } - .offset-md-6 { - margin-left: 50%; - } - .offset-md-7 { - margin-left: 58.333333%; - } - .offset-md-8 { - margin-left: 66.666667%; - } - .offset-md-9 { - margin-left: 75%; - } - .offset-md-10 { - margin-left: 83.333333%; - } - .offset-md-11 { - margin-left: 91.666667%; - } -} -@media (min-width: 992px) { - .col-lg { - -ms-flex-preferred-size: 0; - flex-basis: 0; - -ms-flex-positive: 1; - flex-grow: 1; - min-width: 0; - max-width: 100%; - } - .row-cols-lg-1 > * { - -ms-flex: 0 0 100%; - flex: 0 0 100%; - max-width: 100%; - } - .row-cols-lg-2 > * { - -ms-flex: 0 0 50%; - flex: 0 0 50%; - max-width: 50%; - } - .row-cols-lg-3 > * { - -ms-flex: 0 0 33.333333%; - flex: 0 0 33.333333%; - max-width: 33.333333%; - } - .row-cols-lg-4 > * { - -ms-flex: 0 0 25%; - flex: 0 0 25%; - max-width: 25%; - } - .row-cols-lg-5 > * { - -ms-flex: 0 0 20%; - flex: 0 0 20%; - max-width: 20%; - } - .row-cols-lg-6 > * { - -ms-flex: 0 0 16.666667%; - flex: 0 0 16.666667%; - max-width: 16.666667%; - } - .col-lg-auto { - -ms-flex: 0 0 auto; - flex: 0 0 auto; - width: auto; - max-width: 100%; - } - .col-lg-1 { - -ms-flex: 0 0 8.333333%; - flex: 0 0 8.333333%; - max-width: 8.333333%; - } - .col-lg-2 { - -ms-flex: 0 0 16.666667%; - flex: 0 0 16.666667%; - max-width: 16.666667%; - } - .col-lg-3 { - -ms-flex: 0 0 25%; - flex: 0 0 25%; - max-width: 25%; - } - .col-lg-4 { - -ms-flex: 0 0 33.333333%; - flex: 0 0 33.333333%; - max-width: 33.333333%; - } - .col-lg-5 { - -ms-flex: 0 0 41.666667%; - flex: 0 0 41.666667%; - max-width: 41.666667%; - } - .col-lg-6 { - -ms-flex: 0 0 50%; - flex: 0 0 50%; - max-width: 50%; - } - .col-lg-7 { - -ms-flex: 0 0 58.333333%; - flex: 0 0 58.333333%; - max-width: 58.333333%; - } - .col-lg-8 { - -ms-flex: 0 0 66.666667%; - flex: 0 0 66.666667%; - max-width: 66.666667%; - } - .col-lg-9 { - -ms-flex: 0 0 75%; - flex: 0 0 75%; - max-width: 75%; - } - .col-lg-10 { - -ms-flex: 0 0 83.333333%; - flex: 0 0 83.333333%; - max-width: 83.333333%; - } - .col-lg-11 { - -ms-flex: 0 0 91.666667%; - flex: 0 0 91.666667%; - max-width: 91.666667%; - } - .col-lg-12 { - -ms-flex: 0 0 100%; - flex: 0 0 100%; - max-width: 100%; - } - .order-lg-first { - -ms-flex-order: -1; - order: -1; - } - .order-lg-last { - -ms-flex-order: 13; - order: 13; - } - .order-lg-0 { - -ms-flex-order: 0; - order: 0; - } - .order-lg-1 { - -ms-flex-order: 1; - order: 1; - } - .order-lg-2 { - -ms-flex-order: 2; - order: 2; - } - .order-lg-3 { - -ms-flex-order: 3; - order: 3; - } - .order-lg-4 { - -ms-flex-order: 4; - order: 4; - } - .order-lg-5 { - -ms-flex-order: 5; - order: 5; - } - .order-lg-6 { - -ms-flex-order: 6; - order: 6; - } - .order-lg-7 { - -ms-flex-order: 7; - order: 7; - } - .order-lg-8 { - -ms-flex-order: 8; - order: 8; - } - .order-lg-9 { - -ms-flex-order: 9; - order: 9; - } - .order-lg-10 { - -ms-flex-order: 10; - order: 10; - } - .order-lg-11 { - -ms-flex-order: 11; - order: 11; - } - .order-lg-12 { - -ms-flex-order: 12; - order: 12; - } - .offset-lg-0 { - margin-left: 0; - } - .offset-lg-1 { - margin-left: 8.333333%; - } - .offset-lg-2 { - margin-left: 16.666667%; - } - .offset-lg-3 { - margin-left: 25%; - } - .offset-lg-4 { - margin-left: 33.333333%; - } - .offset-lg-5 { - margin-left: 41.666667%; - } - .offset-lg-6 { - margin-left: 50%; - } - .offset-lg-7 { - margin-left: 58.333333%; - } - .offset-lg-8 { - margin-left: 66.666667%; - } - .offset-lg-9 { - margin-left: 75%; - } - .offset-lg-10 { - margin-left: 83.333333%; - } - .offset-lg-11 { - margin-left: 91.666667%; - } -} -@media (min-width: 1200px) { - .col-xl { - -ms-flex-preferred-size: 0; - flex-basis: 0; - -ms-flex-positive: 1; - flex-grow: 1; - min-width: 0; - max-width: 100%; - } - .row-cols-xl-1 > * { - -ms-flex: 0 0 100%; - flex: 0 0 100%; - max-width: 100%; - } - .row-cols-xl-2 > * { - -ms-flex: 0 0 50%; - flex: 0 0 50%; - max-width: 50%; - } - .row-cols-xl-3 > * { - -ms-flex: 0 0 33.333333%; - flex: 0 0 33.333333%; - max-width: 33.333333%; - } - .row-cols-xl-4 > * { - -ms-flex: 0 0 25%; - flex: 0 0 25%; - max-width: 25%; - } - .row-cols-xl-5 > * { - -ms-flex: 0 0 20%; - flex: 0 0 20%; - max-width: 20%; - } - .row-cols-xl-6 > * { - -ms-flex: 0 0 16.666667%; - flex: 0 0 16.666667%; - max-width: 16.666667%; - } - .col-xl-auto { - -ms-flex: 0 0 auto; - flex: 0 0 auto; - width: auto; - max-width: 100%; - } - .col-xl-1 { - -ms-flex: 0 0 8.333333%; - flex: 0 0 8.333333%; - max-width: 8.333333%; - } - .col-xl-2 { - -ms-flex: 0 0 16.666667%; - flex: 0 0 16.666667%; - max-width: 16.666667%; - } - .col-xl-3 { - -ms-flex: 0 0 25%; - flex: 0 0 25%; - max-width: 25%; - } - .col-xl-4 { - -ms-flex: 0 0 33.333333%; - flex: 0 0 33.333333%; - max-width: 33.333333%; - } - .col-xl-5 { - -ms-flex: 0 0 41.666667%; - flex: 0 0 41.666667%; - max-width: 41.666667%; - } - .col-xl-6 { - -ms-flex: 0 0 50%; - flex: 0 0 50%; - max-width: 50%; - } - .col-xl-7 { - -ms-flex: 0 0 58.333333%; - flex: 0 0 58.333333%; - max-width: 58.333333%; - } - .col-xl-8 { - -ms-flex: 0 0 66.666667%; - flex: 0 0 66.666667%; - max-width: 66.666667%; - } - .col-xl-9 { - -ms-flex: 0 0 75%; - flex: 0 0 75%; - max-width: 75%; - } - .col-xl-10 { - -ms-flex: 0 0 83.333333%; - flex: 0 0 83.333333%; - max-width: 83.333333%; - } - .col-xl-11 { - -ms-flex: 0 0 91.666667%; - flex: 0 0 91.666667%; - max-width: 91.666667%; - } - .col-xl-12 { - -ms-flex: 0 0 100%; - flex: 0 0 100%; - max-width: 100%; - } - .order-xl-first { - -ms-flex-order: -1; - order: -1; - } - .order-xl-last { - -ms-flex-order: 13; - order: 13; - } - .order-xl-0 { - -ms-flex-order: 0; - order: 0; - } - .order-xl-1 { - -ms-flex-order: 1; - order: 1; - } - .order-xl-2 { - -ms-flex-order: 2; - order: 2; - } - .order-xl-3 { - -ms-flex-order: 3; - order: 3; - } - .order-xl-4 { - -ms-flex-order: 4; - order: 4; - } - .order-xl-5 { - -ms-flex-order: 5; - order: 5; - } - .order-xl-6 { - -ms-flex-order: 6; - order: 6; - } - .order-xl-7 { - -ms-flex-order: 7; - order: 7; - } - .order-xl-8 { - -ms-flex-order: 8; - order: 8; - } - .order-xl-9 { - -ms-flex-order: 9; - order: 9; - } - .order-xl-10 { - -ms-flex-order: 10; - order: 10; - } - .order-xl-11 { - -ms-flex-order: 11; - order: 11; - } - .order-xl-12 { - -ms-flex-order: 12; - order: 12; - } - .offset-xl-0 { - margin-left: 0; - } - .offset-xl-1 { - margin-left: 8.333333%; - } - .offset-xl-2 { - margin-left: 16.666667%; - } - .offset-xl-3 { - margin-left: 25%; - } - .offset-xl-4 { - margin-left: 33.333333%; - } - .offset-xl-5 { - margin-left: 41.666667%; - } - .offset-xl-6 { - margin-left: 50%; - } - .offset-xl-7 { - margin-left: 58.333333%; - } - .offset-xl-8 { - margin-left: 66.666667%; - } - .offset-xl-9 { - margin-left: 75%; - } - .offset-xl-10 { - margin-left: 83.333333%; - } - .offset-xl-11 { - margin-left: 91.666667%; - } -} -.table { - width: 100%; - margin-bottom: 1rem; - color: #212529; -} -.table td, -.table th { - padding: 0.75rem; - vertical-align: top; - border-top: 1px solid #dee2e6; -} -.table thead th { - vertical-align: bottom; - border-bottom: 2px solid #dee2e6; -} -.table tbody + tbody { - border-top: 2px solid #dee2e6; -} -.table-sm td, -.table-sm th { - padding: 0.3rem; -} -.table-bordered { - border: 1px solid #dee2e6; -} -.table-bordered td, -.table-bordered th { - border: 1px solid #dee2e6; -} -.table-bordered thead td, -.table-bordered thead th { - border-bottom-width: 2px; -} -.table-borderless tbody + tbody, -.table-borderless td, -.table-borderless th, -.table-borderless thead th { - border: 0; -} -.table-striped tbody tr:nth-of-type(odd) { - background-color: rgba(0, 0, 0, 0.05); -} -.table-hover tbody tr:hover { - color: #212529; - background-color: rgba(0, 0, 0, 0.075); -} -.table-primary, -.table-primary > td, -.table-primary > th { - background-color: #b8daff; -} -.table-primary tbody + tbody, -.table-primary td, -.table-primary th, -.table-primary thead th { - border-color: #7abaff; -} -.table-hover .table-primary:hover { - background-color: #9fcdff; -} -.table-hover .table-primary:hover > td, -.table-hover .table-primary:hover > th { - background-color: #9fcdff; -} -.table-secondary, -.table-secondary > td, -.table-secondary > th { - background-color: #d6d8db; -} -.table-secondary tbody + tbody, -.table-secondary td, -.table-secondary th, -.table-secondary thead th { - border-color: #b3b7bb; -} -.table-hover .table-secondary:hover { - background-color: #c8cbcf; -} -.table-hover .table-secondary:hover > td, -.table-hover .table-secondary:hover > th { - background-color: #c8cbcf; -} -.table-success, -.table-success > td, -.table-success > th { - background-color: #c3e6cb; -} -.table-success tbody + tbody, -.table-success td, -.table-success th, -.table-success thead th { - border-color: #8fd19e; -} -.table-hover .table-success:hover { - background-color: #b1dfbb; -} -.table-hover .table-success:hover > td, -.table-hover .table-success:hover > th { - background-color: #b1dfbb; -} -.table-info, -.table-info > td, -.table-info > th { - background-color: #bee5eb; -} -.table-info tbody + tbody, -.table-info td, -.table-info th, -.table-info thead th { - border-color: #86cfda; -} -.table-hover .table-info:hover { - background-color: #abdde5; -} -.table-hover .table-info:hover > td, -.table-hover .table-info:hover > th { - background-color: #abdde5; -} -.table-warning, -.table-warning > td, -.table-warning > th { - background-color: #ffeeba; -} -.table-warning tbody + tbody, -.table-warning td, -.table-warning th, -.table-warning thead th { - border-color: #ffdf7e; -} -.table-hover .table-warning:hover { - background-color: #ffe8a1; -} -.table-hover .table-warning:hover > td, -.table-hover .table-warning:hover > th { - background-color: #ffe8a1; -} -.table-danger, -.table-danger > td, -.table-danger > th { - background-color: #f5c6cb; -} -.table-danger tbody + tbody, -.table-danger td, -.table-danger th, -.table-danger thead th { - border-color: #ed969e; -} -.table-hover .table-danger:hover { - background-color: #f1b0b7; -} -.table-hover .table-danger:hover > td, -.table-hover .table-danger:hover > th { - background-color: #f1b0b7; -} -.table-light, -.table-light > td, -.table-light > th { - background-color: #fdfdfe; -} -.table-light tbody + tbody, -.table-light td, -.table-light th, -.table-light thead th { - border-color: #fbfcfc; -} -.table-hover .table-light:hover { - background-color: #ececf6; -} -.table-hover .table-light:hover > td, -.table-hover .table-light:hover > th { - background-color: #ececf6; -} -.table-dark, -.table-dark > td, -.table-dark > th { - background-color: #c6c8ca; -} -.table-dark tbody + tbody, -.table-dark td, -.table-dark th, -.table-dark thead th { - border-color: #95999c; -} -.table-hover .table-dark:hover { - background-color: #b9bbbe; -} -.table-hover .table-dark:hover > td, -.table-hover .table-dark:hover > th { - background-color: #b9bbbe; -} -.table-active, -.table-active > td, -.table-active > th { - background-color: rgba(0, 0, 0, 0.075); -} -.table-hover .table-active:hover { - background-color: rgba(0, 0, 0, 0.075); -} -.table-hover .table-active:hover > td, -.table-hover .table-active:hover > th { - background-color: rgba(0, 0, 0, 0.075); -} -.table .thead-dark th { - color: #fff; - background-color: #343a40; - border-color: #454d55; -} -.table .thead-light th { - color: #495057; - background-color: #e9ecef; - border-color: #dee2e6; -} -.table-dark { - color: #fff; - background-color: #343a40; -} -.table-dark td, -.table-dark th, -.table-dark thead th { - border-color: #454d55; -} -.table-dark.table-bordered { - border: 0; -} -.table-dark.table-striped tbody tr:nth-of-type(odd) { - background-color: rgba(255, 255, 255, 0.05); -} -.table-dark.table-hover tbody tr:hover { - color: #fff; - background-color: rgba(255, 255, 255, 0.075); -} -@media (max-width: 575.98px) { - .table-responsive-sm { - display: block; - width: 100%; - overflow-x: auto; - -webkit-overflow-scrolling: touch; - } - .table-responsive-sm > .table-bordered { - border: 0; - } -} -@media (max-width: 767.98px) { - .table-responsive-md { - display: block; - width: 100%; - overflow-x: auto; - -webkit-overflow-scrolling: touch; - } - .table-responsive-md > .table-bordered { - border: 0; - } -} -@media (max-width: 991.98px) { - .table-responsive-lg { - display: block; - width: 100%; - overflow-x: auto; - -webkit-overflow-scrolling: touch; - } - .table-responsive-lg > .table-bordered { - border: 0; - } -} -@media (max-width: 1199.98px) { - .table-responsive-xl { - display: block; - width: 100%; - overflow-x: auto; - -webkit-overflow-scrolling: touch; - } - .table-responsive-xl > .table-bordered { - border: 0; - } -} -.table-responsive { - display: block; - width: 100%; - overflow-x: auto; - -webkit-overflow-scrolling: touch; -} -.table-responsive > .table-bordered { - border: 0; -} -.form-control { - display: block; - width: 100%; - height: calc(1.5em + 0.75rem + 2px); - padding: 0.375rem 0.75rem; - font-size: 1rem; - font-weight: 400; - line-height: 1.5; - color: #495057; - background-color: #fff; - background-clip: padding-box; - border: 1px solid #ced4da; - border-radius: 0.25rem; - transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -} -@media (prefers-reduced-motion: reduce) { - .form-control { - transition: none; - } -} -.form-control::-ms-expand { - background-color: transparent; - border: 0; -} -.form-control:-moz-focusring { - color: transparent; - text-shadow: 0 0 0 #495057; -} -.form-control:focus { - color: #495057; - background-color: #fff; - border-color: #80bdff; - outline: 0; - box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); -} -.form-control::-webkit-input-placeholder { - color: #6c757d; - opacity: 1; -} -.form-control::-moz-placeholder { - color: #6c757d; - opacity: 1; -} -.form-control:-ms-input-placeholder { - color: #6c757d; - opacity: 1; -} -.form-control::-ms-input-placeholder { - color: #6c757d; - opacity: 1; -} -.form-control::placeholder { - color: #6c757d; - opacity: 1; -} -.form-control:disabled, -.form-control[readonly] { - background-color: #e9ecef; - opacity: 1; -} -input[type="date"].form-control, -input[type="datetime-local"].form-control, -input[type="month"].form-control, -input[type="time"].form-control { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; -} -select.form-control:focus::-ms-value { - color: #495057; - background-color: #fff; -} -.form-control-file, -.form-control-range { - display: block; - width: 100%; -} -.col-form-label { - padding-top: calc(0.375rem + 1px); - padding-bottom: calc(0.375rem + 1px); - margin-bottom: 0; - font-size: inherit; - line-height: 1.5; -} -.col-form-label-lg { - padding-top: calc(0.5rem + 1px); - padding-bottom: calc(0.5rem + 1px); - font-size: 1.25rem; - line-height: 1.5; -} -.col-form-label-sm { - padding-top: calc(0.25rem + 1px); - padding-bottom: calc(0.25rem + 1px); - font-size: 0.875rem; - line-height: 1.5; -} -.form-control-plaintext { - display: block; - width: 100%; - padding: 0.375rem 0; - margin-bottom: 0; - font-size: 1rem; - line-height: 1.5; - color: #212529; - background-color: transparent; - border: solid transparent; - border-width: 1px 0; -} -.form-control-plaintext.form-control-lg, -.form-control-plaintext.form-control-sm { - padding-right: 0; - padding-left: 0; -} -.form-control-sm { - height: calc(1.5em + 0.5rem + 2px); - padding: 0.25rem 0.5rem; - font-size: 0.875rem; - line-height: 1.5; - border-radius: 0.2rem; -} -.form-control-lg { - height: calc(1.5em + 1rem + 2px); - padding: 0.5rem 1rem; - font-size: 1.25rem; - line-height: 1.5; - border-radius: 0.3rem; -} -select.form-control[multiple], -select.form-control[size] { - height: auto; -} -textarea.form-control { - height: auto; -} -.form-group { - margin-bottom: 1rem; -} -.form-text { - display: block; - margin-top: 0.25rem; -} -.form-row { - display: -ms-flexbox; - display: flex; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - margin-right: -5px; - margin-left: -5px; -} -.form-row > .col, -.form-row > [class*="col-"] { - padding-right: 5px; - padding-left: 5px; -} -.form-check { - position: relative; - display: block; - padding-left: 1.25rem; -} -.form-check-input { - position: absolute; - margin-top: 0.3rem; - margin-left: -1.25rem; -} -.form-check-input:disabled ~ .form-check-label, -.form-check-input[disabled] ~ .form-check-label { - color: #6c757d; -} -.form-check-label { - margin-bottom: 0; -} -.form-check-inline { - display: -ms-inline-flexbox; - display: inline-flex; - -ms-flex-align: center; - align-items: center; - padding-left: 0; - margin-right: 0.75rem; -} -.form-check-inline .form-check-input { - position: static; - margin-top: 0; - margin-right: 0.3125rem; - margin-left: 0; -} -.valid-feedback { - display: none; - width: 100%; - margin-top: 0.25rem; - font-size: 80%; - color: #28a745; -} -.valid-tooltip { - position: absolute; - top: 100%; - z-index: 5; - display: none; - max-width: 100%; - padding: 0.25rem 0.5rem; - margin-top: 0.1rem; - font-size: 0.875rem; - line-height: 1.5; - color: #fff; - background-color: rgba(40, 167, 69, 0.9); - border-radius: 0.25rem; -} -.is-valid ~ .valid-feedback, -.is-valid ~ .valid-tooltip, -.was-validated :valid ~ .valid-feedback, -.was-validated :valid ~ .valid-tooltip { - display: block; -} -.form-control.is-valid, -.was-validated .form-control:valid { - border-color: #28a745; - padding-right: calc(1.5em + 0.75rem); - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); - background-repeat: no-repeat; - background-position: right calc(0.375em + 0.1875rem) center; - background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); -} -.form-control.is-valid:focus, -.was-validated .form-control:valid:focus { - border-color: #28a745; - box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); -} -.was-validated textarea.form-control:valid, -textarea.form-control.is-valid { - padding-right: calc(1.5em + 0.75rem); - background-position: top calc(0.375em + 0.1875rem) right - calc(0.375em + 0.1875rem); -} -.custom-select.is-valid, -.was-validated .custom-select:valid { - border-color: #28a745; - padding-right: calc(0.75em + 2.3125rem); - background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") - no-repeat right 0.75rem center/8px 10px, - url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") - #fff no-repeat center right 1.75rem / calc(0.75em + 0.375rem) - calc(0.75em + 0.375rem); -} -.custom-select.is-valid:focus, -.was-validated .custom-select:valid:focus { - border-color: #28a745; - box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); -} -.form-check-input.is-valid ~ .form-check-label, -.was-validated .form-check-input:valid ~ .form-check-label { - color: #28a745; -} -.form-check-input.is-valid ~ .valid-feedback, -.form-check-input.is-valid ~ .valid-tooltip, -.was-validated .form-check-input:valid ~ .valid-feedback, -.was-validated .form-check-input:valid ~ .valid-tooltip { - display: block; -} -.custom-control-input.is-valid ~ .custom-control-label, -.was-validated .custom-control-input:valid ~ .custom-control-label { - color: #28a745; -} -.custom-control-input.is-valid ~ .custom-control-label::before, -.was-validated .custom-control-input:valid ~ .custom-control-label::before { - border-color: #28a745; -} -.custom-control-input.is-valid:checked ~ .custom-control-label::before, -.was-validated - .custom-control-input:valid:checked - ~ .custom-control-label::before { - border-color: #34ce57; - background-color: #34ce57; -} -.custom-control-input.is-valid:focus ~ .custom-control-label::before, -.was-validated - .custom-control-input:valid:focus - ~ .custom-control-label::before { - box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); -} -.custom-control-input.is-valid:focus:not(:checked) - ~ .custom-control-label::before, -.was-validated - .custom-control-input:valid:focus:not(:checked) - ~ .custom-control-label::before { - border-color: #28a745; -} -.custom-file-input.is-valid ~ .custom-file-label, -.was-validated .custom-file-input:valid ~ .custom-file-label { - border-color: #28a745; -} -.custom-file-input.is-valid:focus ~ .custom-file-label, -.was-validated .custom-file-input:valid:focus ~ .custom-file-label { - border-color: #28a745; - box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); -} -.invalid-feedback { - display: none; - width: 100%; - margin-top: 0.25rem; - font-size: 80%; - color: #dc3545; -} -.invalid-tooltip { - position: absolute; - top: 100%; - z-index: 5; - display: none; - max-width: 100%; - padding: 0.25rem 0.5rem; - margin-top: 0.1rem; - font-size: 0.875rem; - line-height: 1.5; - color: #fff; - background-color: rgba(220, 53, 69, 0.9); - border-radius: 0.25rem; -} -.is-invalid ~ .invalid-feedback, -.is-invalid ~ .invalid-tooltip, -.was-validated :invalid ~ .invalid-feedback, -.was-validated :invalid ~ .invalid-tooltip { - display: block; -} -.form-control.is-invalid, -.was-validated .form-control:invalid { - border-color: #dc3545; - padding-right: calc(1.5em + 0.75rem); - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e"); - background-repeat: no-repeat; - background-position: right calc(0.375em + 0.1875rem) center; - background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); -} -.form-control.is-invalid:focus, -.was-validated .form-control:invalid:focus { - border-color: #dc3545; - box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); -} -.was-validated textarea.form-control:invalid, -textarea.form-control.is-invalid { - padding-right: calc(1.5em + 0.75rem); - background-position: top calc(0.375em + 0.1875rem) right - calc(0.375em + 0.1875rem); -} -.custom-select.is-invalid, -.was-validated .custom-select:invalid { - border-color: #dc3545; - padding-right: calc(0.75em + 2.3125rem); - background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") - no-repeat right 0.75rem center/8px 10px, - url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") - #fff no-repeat center right 1.75rem / calc(0.75em + 0.375rem) - calc(0.75em + 0.375rem); -} -.custom-select.is-invalid:focus, -.was-validated .custom-select:invalid:focus { - border-color: #dc3545; - box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); -} -.form-check-input.is-invalid ~ .form-check-label, -.was-validated .form-check-input:invalid ~ .form-check-label { - color: #dc3545; -} -.form-check-input.is-invalid ~ .invalid-feedback, -.form-check-input.is-invalid ~ .invalid-tooltip, -.was-validated .form-check-input:invalid ~ .invalid-feedback, -.was-validated .form-check-input:invalid ~ .invalid-tooltip { - display: block; -} -.custom-control-input.is-invalid ~ .custom-control-label, -.was-validated .custom-control-input:invalid ~ .custom-control-label { - color: #dc3545; -} -.custom-control-input.is-invalid ~ .custom-control-label::before, -.was-validated .custom-control-input:invalid ~ .custom-control-label::before { - border-color: #dc3545; -} -.custom-control-input.is-invalid:checked ~ .custom-control-label::before, -.was-validated - .custom-control-input:invalid:checked - ~ .custom-control-label::before { - border-color: #e4606d; - background-color: #e4606d; -} -.custom-control-input.is-invalid:focus ~ .custom-control-label::before, -.was-validated - .custom-control-input:invalid:focus - ~ .custom-control-label::before { - box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); -} -.custom-control-input.is-invalid:focus:not(:checked) - ~ .custom-control-label::before, -.was-validated - .custom-control-input:invalid:focus:not(:checked) - ~ .custom-control-label::before { - border-color: #dc3545; -} -.custom-file-input.is-invalid ~ .custom-file-label, -.was-validated .custom-file-input:invalid ~ .custom-file-label { - border-color: #dc3545; -} -.custom-file-input.is-invalid:focus ~ .custom-file-label, -.was-validated .custom-file-input:invalid:focus ~ .custom-file-label { - border-color: #dc3545; - box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); -} -.form-inline { - display: -ms-flexbox; - display: flex; - -ms-flex-flow: row wrap; - flex-flow: row wrap; - -ms-flex-align: center; - align-items: center; -} -.form-inline .form-check { - width: 100%; -} -@media (min-width: 576px) { - .form-inline label { - display: -ms-flexbox; - display: flex; - -ms-flex-align: center; - align-items: center; - -ms-flex-pack: center; - justify-content: center; - margin-bottom: 0; - } - .form-inline .form-group { - display: -ms-flexbox; - display: flex; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - -ms-flex-flow: row wrap; - flex-flow: row wrap; - -ms-flex-align: center; - align-items: center; - margin-bottom: 0; - } - .form-inline .form-control { - display: inline-block; - width: auto; - vertical-align: middle; - } - .form-inline .form-control-plaintext { - display: inline-block; - } - .form-inline .custom-select, - .form-inline .input-group { - width: auto; - } - .form-inline .form-check { - display: -ms-flexbox; - display: flex; - -ms-flex-align: center; - align-items: center; - -ms-flex-pack: center; - justify-content: center; - width: auto; - padding-left: 0; - } - .form-inline .form-check-input { - position: relative; - -ms-flex-negative: 0; - flex-shrink: 0; - margin-top: 0; - margin-right: 0.25rem; - margin-left: 0; - } - .form-inline .custom-control { - -ms-flex-align: center; - align-items: center; - -ms-flex-pack: center; - justify-content: center; - } - .form-inline .custom-control-label { - margin-bottom: 0; - } -} -.btn { - display: inline-block; - font-weight: 400; - color: #212529; - text-align: center; - vertical-align: middle; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - background-color: transparent; - border: 1px solid transparent; - padding: 0.375rem 0.75rem; - font-size: 1rem; - line-height: 1.5; - border-radius: 0.25rem; - transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, - border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -} -@media (prefers-reduced-motion: reduce) { - .btn { - transition: none; - } -} -.btn:hover { - color: #212529; - text-decoration: none; -} -.btn.focus, -.btn:focus { - outline: 0; - box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); -} -.btn.disabled, -.btn:disabled { - opacity: 0.65; -} -.btn:not(:disabled):not(.disabled) { - cursor: pointer; -} -a.btn.disabled, -fieldset:disabled a.btn { - pointer-events: none; -} -.btn-primary { - color: #fff; - background-color: #007bff; - border-color: #007bff; -} -.btn-primary:hover { - color: #fff; - background-color: #0069d9; - border-color: #0062cc; -} -.btn-primary.focus, -.btn-primary:focus { - color: #fff; - background-color: #0069d9; - border-color: #0062cc; - box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5); -} -.btn-primary.disabled, -.btn-primary:disabled { - color: #fff; - background-color: #007bff; - border-color: #007bff; -} -.btn-primary:not(:disabled):not(.disabled).active, -.btn-primary:not(:disabled):not(.disabled):active, -.show > .btn-primary.dropdown-toggle { - color: #fff; - background-color: #0062cc; - border-color: #005cbf; -} -.btn-primary:not(:disabled):not(.disabled).active:focus, -.btn-primary:not(:disabled):not(.disabled):active:focus, -.show > .btn-primary.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5); -} -.btn-secondary { - color: #fff; - background-color: #6c757d; - border-color: #6c757d; -} -.btn-secondary:hover { - color: #fff; - background-color: #5a6268; - border-color: #545b62; -} -.btn-secondary.focus, -.btn-secondary:focus { - color: #fff; - background-color: #5a6268; - border-color: #545b62; - box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5); -} -.btn-secondary.disabled, -.btn-secondary:disabled { - color: #fff; - background-color: #6c757d; - border-color: #6c757d; -} -.btn-secondary:not(:disabled):not(.disabled).active, -.btn-secondary:not(:disabled):not(.disabled):active, -.show > .btn-secondary.dropdown-toggle { - color: #fff; - background-color: #545b62; - border-color: #4e555b; -} -.btn-secondary:not(:disabled):not(.disabled).active:focus, -.btn-secondary:not(:disabled):not(.disabled):active:focus, -.show > .btn-secondary.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5); -} -.btn-success { - color: #fff; - background-color: #28a745; - border-color: #28a745; -} -.btn-success:hover { - color: #fff; - background-color: #218838; - border-color: #1e7e34; -} -.btn-success.focus, -.btn-success:focus { - color: #fff; - background-color: #218838; - border-color: #1e7e34; - box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5); -} -.btn-success.disabled, -.btn-success:disabled { - color: #fff; - background-color: #28a745; - border-color: #28a745; -} -.btn-success:not(:disabled):not(.disabled).active, -.btn-success:not(:disabled):not(.disabled):active, -.show > .btn-success.dropdown-toggle { - color: #fff; - background-color: #1e7e34; - border-color: #1c7430; -} -.btn-success:not(:disabled):not(.disabled).active:focus, -.btn-success:not(:disabled):not(.disabled):active:focus, -.show > .btn-success.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5); -} -.btn-info { - color: #fff; - background-color: #17a2b8; - border-color: #17a2b8; -} -.btn-info:hover { - color: #fff; - background-color: #138496; - border-color: #117a8b; -} -.btn-info.focus, -.btn-info:focus { - color: #fff; - background-color: #138496; - border-color: #117a8b; - box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5); -} -.btn-info.disabled, -.btn-info:disabled { - color: #fff; - background-color: #17a2b8; - border-color: #17a2b8; -} -.btn-info:not(:disabled):not(.disabled).active, -.btn-info:not(:disabled):not(.disabled):active, -.show > .btn-info.dropdown-toggle { - color: #fff; - background-color: #117a8b; - border-color: #10707f; -} -.btn-info:not(:disabled):not(.disabled).active:focus, -.btn-info:not(:disabled):not(.disabled):active:focus, -.show > .btn-info.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5); -} -.btn-warning { - color: #212529; - background-color: #ffc107; - border-color: #ffc107; -} -.btn-warning:hover { - color: #212529; - background-color: #e0a800; - border-color: #d39e00; -} -.btn-warning.focus, -.btn-warning:focus { - color: #212529; - background-color: #e0a800; - border-color: #d39e00; - box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5); -} -.btn-warning.disabled, -.btn-warning:disabled { - color: #212529; - background-color: #ffc107; - border-color: #ffc107; -} -.btn-warning:not(:disabled):not(.disabled).active, -.btn-warning:not(:disabled):not(.disabled):active, -.show > .btn-warning.dropdown-toggle { - color: #212529; - background-color: #d39e00; - border-color: #c69500; -} -.btn-warning:not(:disabled):not(.disabled).active:focus, -.btn-warning:not(:disabled):not(.disabled):active:focus, -.show > .btn-warning.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5); -} -.btn-danger { - color: #fff; - background-color: #dc3545; - border-color: #dc3545; -} -.btn-danger:hover { - color: #fff; - background-color: #c82333; - border-color: #bd2130; -} -.btn-danger.focus, -.btn-danger:focus { - color: #fff; - background-color: #c82333; - border-color: #bd2130; - box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5); -} -.btn-danger.disabled, -.btn-danger:disabled { - color: #fff; - background-color: #dc3545; - border-color: #dc3545; -} -.btn-danger:not(:disabled):not(.disabled).active, -.btn-danger:not(:disabled):not(.disabled):active, -.show > .btn-danger.dropdown-toggle { - color: #fff; - background-color: #bd2130; - border-color: #b21f2d; -} -.btn-danger:not(:disabled):not(.disabled).active:focus, -.btn-danger:not(:disabled):not(.disabled):active:focus, -.show > .btn-danger.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5); -} -.btn-light { - color: #212529; - background-color: #f8f9fa; - border-color: #f8f9fa; -} -.btn-light:hover { - color: #212529; - background-color: #e2e6ea; - border-color: #dae0e5; -} -.btn-light.focus, -.btn-light:focus { - color: #212529; - background-color: #e2e6ea; - border-color: #dae0e5; - box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5); -} -.btn-light.disabled, -.btn-light:disabled { - color: #212529; - background-color: #f8f9fa; - border-color: #f8f9fa; -} -.btn-light:not(:disabled):not(.disabled).active, -.btn-light:not(:disabled):not(.disabled):active, -.show > .btn-light.dropdown-toggle { - color: #212529; - background-color: #dae0e5; - border-color: #d3d9df; -} -.btn-light:not(:disabled):not(.disabled).active:focus, -.btn-light:not(:disabled):not(.disabled):active:focus, -.show > .btn-light.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5); -} -.btn-dark { - color: #fff; - background-color: #343a40; - border-color: #343a40; -} -.btn-dark:hover { - color: #fff; - background-color: #23272b; - border-color: #1d2124; -} -.btn-dark.focus, -.btn-dark:focus { - color: #fff; - background-color: #23272b; - border-color: #1d2124; - box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5); -} -.btn-dark.disabled, -.btn-dark:disabled { - color: #fff; - background-color: #343a40; - border-color: #343a40; -} -.btn-dark:not(:disabled):not(.disabled).active, -.btn-dark:not(:disabled):not(.disabled):active, -.show > .btn-dark.dropdown-toggle { - color: #fff; - background-color: #1d2124; - border-color: #171a1d; -} -.btn-dark:not(:disabled):not(.disabled).active:focus, -.btn-dark:not(:disabled):not(.disabled):active:focus, -.show > .btn-dark.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5); -} -.btn-outline-primary { - color: #007bff; - border-color: #007bff; -} -.btn-outline-primary:hover { - color: #fff; - background-color: #007bff; - border-color: #007bff; -} -.btn-outline-primary.focus, -.btn-outline-primary:focus { - box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); -} -.btn-outline-primary.disabled, -.btn-outline-primary:disabled { - color: #007bff; - background-color: transparent; -} -.btn-outline-primary:not(:disabled):not(.disabled).active, -.btn-outline-primary:not(:disabled):not(.disabled):active, -.show > .btn-outline-primary.dropdown-toggle { - color: #fff; - background-color: #007bff; - border-color: #007bff; -} -.btn-outline-primary:not(:disabled):not(.disabled).active:focus, -.btn-outline-primary:not(:disabled):not(.disabled):active:focus, -.show > .btn-outline-primary.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); -} -.btn-outline-secondary { - color: #6c757d; - border-color: #6c757d; -} -.btn-outline-secondary:hover { - color: #fff; - background-color: #6c757d; - border-color: #6c757d; -} -.btn-outline-secondary.focus, -.btn-outline-secondary:focus { - box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); -} -.btn-outline-secondary.disabled, -.btn-outline-secondary:disabled { - color: #6c757d; - background-color: transparent; -} -.btn-outline-secondary:not(:disabled):not(.disabled).active, -.btn-outline-secondary:not(:disabled):not(.disabled):active, -.show > .btn-outline-secondary.dropdown-toggle { - color: #fff; - background-color: #6c757d; - border-color: #6c757d; -} -.btn-outline-secondary:not(:disabled):not(.disabled).active:focus, -.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, -.show > .btn-outline-secondary.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); -} -.btn-outline-success { - color: #28a745; - border-color: #28a745; -} -.btn-outline-success:hover { - color: #fff; - background-color: #28a745; - border-color: #28a745; -} -.btn-outline-success.focus, -.btn-outline-success:focus { - box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); -} -.btn-outline-success.disabled, -.btn-outline-success:disabled { - color: #28a745; - background-color: transparent; -} -.btn-outline-success:not(:disabled):not(.disabled).active, -.btn-outline-success:not(:disabled):not(.disabled):active, -.show > .btn-outline-success.dropdown-toggle { - color: #fff; - background-color: #28a745; - border-color: #28a745; -} -.btn-outline-success:not(:disabled):not(.disabled).active:focus, -.btn-outline-success:not(:disabled):not(.disabled):active:focus, -.show > .btn-outline-success.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); -} -.btn-outline-info { - color: #17a2b8; - border-color: #17a2b8; -} -.btn-outline-info:hover { - color: #fff; - background-color: #17a2b8; - border-color: #17a2b8; -} -.btn-outline-info.focus, -.btn-outline-info:focus { - box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); -} -.btn-outline-info.disabled, -.btn-outline-info:disabled { - color: #17a2b8; - background-color: transparent; -} -.btn-outline-info:not(:disabled):not(.disabled).active, -.btn-outline-info:not(:disabled):not(.disabled):active, -.show > .btn-outline-info.dropdown-toggle { - color: #fff; - background-color: #17a2b8; - border-color: #17a2b8; -} -.btn-outline-info:not(:disabled):not(.disabled).active:focus, -.btn-outline-info:not(:disabled):not(.disabled):active:focus, -.show > .btn-outline-info.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); -} -.btn-outline-warning { - color: #ffc107; - border-color: #ffc107; -} -.btn-outline-warning:hover { - color: #212529; - background-color: #ffc107; - border-color: #ffc107; -} -.btn-outline-warning.focus, -.btn-outline-warning:focus { - box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); -} -.btn-outline-warning.disabled, -.btn-outline-warning:disabled { - color: #ffc107; - background-color: transparent; -} -.btn-outline-warning:not(:disabled):not(.disabled).active, -.btn-outline-warning:not(:disabled):not(.disabled):active, -.show > .btn-outline-warning.dropdown-toggle { - color: #212529; - background-color: #ffc107; - border-color: #ffc107; -} -.btn-outline-warning:not(:disabled):not(.disabled).active:focus, -.btn-outline-warning:not(:disabled):not(.disabled):active:focus, -.show > .btn-outline-warning.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); -} -.btn-outline-danger { - color: #dc3545; - border-color: #dc3545; -} -.btn-outline-danger:hover { - color: #fff; - background-color: #dc3545; - border-color: #dc3545; -} -.btn-outline-danger.focus, -.btn-outline-danger:focus { - box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); -} -.btn-outline-danger.disabled, -.btn-outline-danger:disabled { - color: #dc3545; - background-color: transparent; -} -.btn-outline-danger:not(:disabled):not(.disabled).active, -.btn-outline-danger:not(:disabled):not(.disabled):active, -.show > .btn-outline-danger.dropdown-toggle { - color: #fff; - background-color: #dc3545; - border-color: #dc3545; -} -.btn-outline-danger:not(:disabled):not(.disabled).active:focus, -.btn-outline-danger:not(:disabled):not(.disabled):active:focus, -.show > .btn-outline-danger.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); -} -.btn-outline-light { - color: #f8f9fa; - border-color: #f8f9fa; -} -.btn-outline-light:hover { - color: #212529; - background-color: #f8f9fa; - border-color: #f8f9fa; -} -.btn-outline-light.focus, -.btn-outline-light:focus { - box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); -} -.btn-outline-light.disabled, -.btn-outline-light:disabled { - color: #f8f9fa; - background-color: transparent; -} -.btn-outline-light:not(:disabled):not(.disabled).active, -.btn-outline-light:not(:disabled):not(.disabled):active, -.show > .btn-outline-light.dropdown-toggle { - color: #212529; - background-color: #f8f9fa; - border-color: #f8f9fa; -} -.btn-outline-light:not(:disabled):not(.disabled).active:focus, -.btn-outline-light:not(:disabled):not(.disabled):active:focus, -.show > .btn-outline-light.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); -} -.btn-outline-dark { - color: #343a40; - border-color: #343a40; -} -.btn-outline-dark:hover { - color: #fff; - background-color: #343a40; - border-color: #343a40; -} -.btn-outline-dark.focus, -.btn-outline-dark:focus { - box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); -} -.btn-outline-dark.disabled, -.btn-outline-dark:disabled { - color: #343a40; - background-color: transparent; -} -.btn-outline-dark:not(:disabled):not(.disabled).active, -.btn-outline-dark:not(:disabled):not(.disabled):active, -.show > .btn-outline-dark.dropdown-toggle { - color: #fff; - background-color: #343a40; - border-color: #343a40; -} -.btn-outline-dark:not(:disabled):not(.disabled).active:focus, -.btn-outline-dark:not(:disabled):not(.disabled):active:focus, -.show > .btn-outline-dark.dropdown-toggle:focus { - box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); -} -.btn-link { - font-weight: 400; - color: #007bff; - text-decoration: none; -} -.btn-link:hover { - color: #0056b3; - text-decoration: underline; -} -.btn-link.focus, -.btn-link:focus { - text-decoration: underline; -} -.btn-link.disabled, -.btn-link:disabled { - color: #6c757d; - pointer-events: none; -} -.btn-group-lg > .btn, -.btn-lg { - padding: 0.5rem 1rem; - font-size: 1.25rem; - line-height: 1.5; - border-radius: 0.3rem; -} -.btn-group-sm > .btn, -.btn-sm { - padding: 0.25rem 0.5rem; - font-size: 0.875rem; - line-height: 1.5; - border-radius: 0.2rem; -} -.btn-block { - display: block; - width: 100%; -} -.btn-block + .btn-block { - margin-top: 0.5rem; -} -input[type="button"].btn-block, -input[type="reset"].btn-block, -input[type="submit"].btn-block { - width: 100%; -} -.fade { - transition: opacity 0.15s linear; -} -@media (prefers-reduced-motion: reduce) { - .fade { - transition: none; - } -} -.fade:not(.show) { - opacity: 0; -} -.collapse:not(.show) { - display: none; -} -.collapsing { - position: relative; - height: 0; - overflow: hidden; - transition: height 0.35s ease; -} -@media (prefers-reduced-motion: reduce) { - .collapsing { - transition: none; - } -} -.dropdown, -.dropleft, -.dropright, -.dropup { - position: relative; -} -.dropdown-toggle { - white-space: nowrap; -} -.dropdown-toggle::after { - display: inline-block; - margin-left: 0.255em; - vertical-align: 0.255em; - content: ""; - border-top: 0.3em solid; - border-right: 0.3em solid transparent; - border-bottom: 0; - border-left: 0.3em solid transparent; -} -.dropdown-toggle:empty::after { - margin-left: 0; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 10rem; - padding: 0.5rem 0; - margin: 0.125rem 0 0; - font-size: 1rem; - color: #212529; - text-align: left; - list-style: none; - background-color: #fff; - background-clip: padding-box; - border: 1px solid rgba(0, 0, 0, 0.15); - border-radius: 0.25rem; -} -.dropdown-menu-left { - right: auto; - left: 0; -} -.dropdown-menu-right { - right: 0; - left: auto; -} -@media (min-width: 576px) { - .dropdown-menu-sm-left { - right: auto; - left: 0; - } - .dropdown-menu-sm-right { - right: 0; - left: auto; - } -} -@media (min-width: 768px) { - .dropdown-menu-md-left { - right: auto; - left: 0; - } - .dropdown-menu-md-right { - right: 0; - left: auto; - } -} -@media (min-width: 992px) { - .dropdown-menu-lg-left { - right: auto; - left: 0; - } - .dropdown-menu-lg-right { - right: 0; - left: auto; - } -} -@media (min-width: 1200px) { - .dropdown-menu-xl-left { - right: auto; - left: 0; - } - .dropdown-menu-xl-right { - right: 0; - left: auto; - } -} -.dropup .dropdown-menu { - top: auto; - bottom: 100%; - margin-top: 0; - margin-bottom: 0.125rem; -} -.dropup .dropdown-toggle::after { - display: inline-block; - margin-left: 0.255em; - vertical-align: 0.255em; - content: ""; - border-top: 0; - border-right: 0.3em solid transparent; - border-bottom: 0.3em solid; - border-left: 0.3em solid transparent; -} -.dropup .dropdown-toggle:empty::after { - margin-left: 0; -} -.dropright .dropdown-menu { - top: 0; - right: auto; - left: 100%; - margin-top: 0; - margin-left: 0.125rem; -} -.dropright .dropdown-toggle::after { - display: inline-block; - margin-left: 0.255em; - vertical-align: 0.255em; - content: ""; - border-top: 0.3em solid transparent; - border-right: 0; - border-bottom: 0.3em solid transparent; - border-left: 0.3em solid; -} -.dropright .dropdown-toggle:empty::after { - margin-left: 0; -} -.dropright .dropdown-toggle::after { - vertical-align: 0; -} -.dropleft .dropdown-menu { - top: 0; - right: 100%; - left: auto; - margin-top: 0; - margin-right: 0.125rem; -} -.dropleft .dropdown-toggle::after { - display: inline-block; - margin-left: 0.255em; - vertical-align: 0.255em; - content: ""; -} -.dropleft .dropdown-toggle::after { - display: none; -} -.dropleft .dropdown-toggle::before { - display: inline-block; - margin-right: 0.255em; - vertical-align: 0.255em; - content: ""; - border-top: 0.3em solid transparent; - border-right: 0.3em solid; - border-bottom: 0.3em solid transparent; -} -.dropleft .dropdown-toggle:empty::after { - margin-left: 0; -} -.dropleft .dropdown-toggle::before { - vertical-align: 0; -} -.dropdown-menu[x-placement^="bottom"], -.dropdown-menu[x-placement^="left"], -.dropdown-menu[x-placement^="right"], -.dropdown-menu[x-placement^="top"] { - right: auto; - bottom: auto; -} -.dropdown-divider { - height: 0; - margin: 0.5rem 0; - overflow: hidden; - border-top: 1px solid #e9ecef; -} -.dropdown-item { - display: block; - width: 100%; - padding: 0.25rem 1.5rem; - clear: both; - font-weight: 400; - color: #212529; - text-align: inherit; - white-space: nowrap; - background-color: transparent; - border: 0; -} -.dropdown-item:focus, -.dropdown-item:hover { - color: #16181b; - text-decoration: none; - background-color: #f8f9fa; -} -.dropdown-item.active, -.dropdown-item:active { - color: #fff; - text-decoration: none; - background-color: #007bff; -} -.dropdown-item.disabled, -.dropdown-item:disabled { - color: #6c757d; - pointer-events: none; - background-color: transparent; -} -.dropdown-menu.show { - display: block; -} -.dropdown-header { - display: block; - padding: 0.5rem 1.5rem; - margin-bottom: 0; - font-size: 0.875rem; - color: #6c757d; - white-space: nowrap; -} -.dropdown-item-text { - display: block; - padding: 0.25rem 1.5rem; - color: #212529; -} -.btn-group, -.btn-group-vertical { - position: relative; - display: -ms-inline-flexbox; - display: inline-flex; - vertical-align: middle; -} -.btn-group-vertical > .btn, -.btn-group > .btn { - position: relative; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -} -.btn-group-vertical > .btn:hover, -.btn-group > .btn:hover { - z-index: 1; -} -.btn-group-vertical > .btn.active, -.btn-group-vertical > .btn:active, -.btn-group-vertical > .btn:focus, -.btn-group > .btn.active, -.btn-group > .btn:active, -.btn-group > .btn:focus { - z-index: 1; -} -.btn-toolbar { - display: -ms-flexbox; - display: flex; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -ms-flex-pack: start; - justify-content: flex-start; -} -.btn-toolbar .input-group { - width: auto; -} -.btn-group > .btn-group:not(:first-child), -.btn-group > .btn:not(:first-child) { - margin-left: -1px; -} -.btn-group > .btn-group:not(:last-child) > .btn, -.btn-group > .btn:not(:last-child):not(.dropdown-toggle) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.btn-group > .btn-group:not(:first-child) > .btn, -.btn-group > .btn:not(:first-child) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.dropdown-toggle-split { - padding-right: 0.5625rem; - padding-left: 0.5625rem; -} -.dropdown-toggle-split::after, -.dropright .dropdown-toggle-split::after, -.dropup .dropdown-toggle-split::after { - margin-left: 0; -} -.dropleft .dropdown-toggle-split::before { - margin-right: 0; -} -.btn-group-sm > .btn + .dropdown-toggle-split, -.btn-sm + .dropdown-toggle-split { - padding-right: 0.375rem; - padding-left: 0.375rem; -} -.btn-group-lg > .btn + .dropdown-toggle-split, -.btn-lg + .dropdown-toggle-split { - padding-right: 0.75rem; - padding-left: 0.75rem; -} -.btn-group-vertical { - -ms-flex-direction: column; - flex-direction: column; - -ms-flex-align: start; - align-items: flex-start; - -ms-flex-pack: center; - justify-content: center; -} -.btn-group-vertical > .btn, -.btn-group-vertical > .btn-group { - width: 100%; -} -.btn-group-vertical > .btn-group:not(:first-child), -.btn-group-vertical > .btn:not(:first-child) { - margin-top: -1px; -} -.btn-group-vertical > .btn-group:not(:last-child) > .btn, -.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle) { - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group-vertical > .btn-group:not(:first-child) > .btn, -.btn-group-vertical > .btn:not(:first-child) { - border-top-left-radius: 0; - border-top-right-radius: 0; -} -.btn-group-toggle > .btn, -.btn-group-toggle > .btn-group > .btn { - margin-bottom: 0; -} -.btn-group-toggle > .btn input[type="checkbox"], -.btn-group-toggle > .btn input[type="radio"], -.btn-group-toggle > .btn-group > .btn input[type="checkbox"], -.btn-group-toggle > .btn-group > .btn input[type="radio"] { - position: absolute; - clip: rect(0, 0, 0, 0); - pointer-events: none; -} -.input-group { - position: relative; - display: -ms-flexbox; - display: flex; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -ms-flex-align: stretch; - align-items: stretch; - width: 100%; -} -.input-group > .custom-file, -.input-group > .custom-select, -.input-group > .form-control, -.input-group > .form-control-plaintext { - position: relative; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - width: 1%; - min-width: 0; - margin-bottom: 0; -} -.input-group > .custom-file + .custom-file, -.input-group > .custom-file + .custom-select, -.input-group > .custom-file + .form-control, -.input-group > .custom-select + .custom-file, -.input-group > .custom-select + .custom-select, -.input-group > .custom-select + .form-control, -.input-group > .form-control + .custom-file, -.input-group > .form-control + .custom-select, -.input-group > .form-control + .form-control, -.input-group > .form-control-plaintext + .custom-file, -.input-group > .form-control-plaintext + .custom-select, -.input-group > .form-control-plaintext + .form-control { - margin-left: -1px; -} -.input-group > .custom-file .custom-file-input:focus ~ .custom-file-label, -.input-group > .custom-select:focus, -.input-group > .form-control:focus { - z-index: 3; -} -.input-group > .custom-file .custom-file-input:focus { - z-index: 4; -} -.input-group > .custom-select:not(:last-child), -.input-group > .form-control:not(:last-child) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.input-group > .custom-select:not(:first-child), -.input-group > .form-control:not(:first-child) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.input-group > .custom-file { - display: -ms-flexbox; - display: flex; - -ms-flex-align: center; - align-items: center; -} -.input-group > .custom-file:not(:last-child) .custom-file-label, -.input-group > .custom-file:not(:last-child) .custom-file-label::after { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.input-group > .custom-file:not(:first-child) .custom-file-label { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.input-group-append, -.input-group-prepend { - display: -ms-flexbox; - display: flex; -} -.input-group-append .btn, -.input-group-prepend .btn { - position: relative; - z-index: 2; -} -.input-group-append .btn:focus, -.input-group-prepend .btn:focus { - z-index: 3; -} -.input-group-append .btn + .btn, -.input-group-append .btn + .input-group-text, -.input-group-append .input-group-text + .btn, -.input-group-append .input-group-text + .input-group-text, -.input-group-prepend .btn + .btn, -.input-group-prepend .btn + .input-group-text, -.input-group-prepend .input-group-text + .btn, -.input-group-prepend .input-group-text + .input-group-text { - margin-left: -1px; -} -.input-group-prepend { - margin-right: -1px; -} -.input-group-append { - margin-left: -1px; -} -.input-group-text { - display: -ms-flexbox; - display: flex; - -ms-flex-align: center; - align-items: center; - padding: 0.375rem 0.75rem; - margin-bottom: 0; - font-size: 1rem; - font-weight: 400; - line-height: 1.5; - color: #495057; - text-align: center; - white-space: nowrap; - background-color: #e9ecef; - border: 1px solid #ced4da; - border-radius: 0.25rem; -} -.input-group-text input[type="checkbox"], -.input-group-text input[type="radio"] { - margin-top: 0; -} -.input-group-lg > .custom-select, -.input-group-lg > .form-control:not(textarea) { - height: calc(1.5em + 1rem + 2px); -} -.input-group-lg > .custom-select, -.input-group-lg > .form-control, -.input-group-lg > .input-group-append > .btn, -.input-group-lg > .input-group-append > .input-group-text, -.input-group-lg > .input-group-prepend > .btn, -.input-group-lg > .input-group-prepend > .input-group-text { - padding: 0.5rem 1rem; - font-size: 1.25rem; - line-height: 1.5; - border-radius: 0.3rem; -} -.input-group-sm > .custom-select, -.input-group-sm > .form-control:not(textarea) { - height: calc(1.5em + 0.5rem + 2px); -} -.input-group-sm > .custom-select, -.input-group-sm > .form-control, -.input-group-sm > .input-group-append > .btn, -.input-group-sm > .input-group-append > .input-group-text, -.input-group-sm > .input-group-prepend > .btn, -.input-group-sm > .input-group-prepend > .input-group-text { - padding: 0.25rem 0.5rem; - font-size: 0.875rem; - line-height: 1.5; - border-radius: 0.2rem; -} -.input-group-lg > .custom-select, -.input-group-sm > .custom-select { - padding-right: 1.75rem; -} -.input-group - > .input-group-append:last-child - > .btn:not(:last-child):not(.dropdown-toggle), -.input-group - > .input-group-append:last-child - > .input-group-text:not(:last-child), -.input-group > .input-group-append:not(:last-child) > .btn, -.input-group > .input-group-append:not(:last-child) > .input-group-text, -.input-group > .input-group-prepend > .btn, -.input-group > .input-group-prepend > .input-group-text { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.input-group > .input-group-append > .btn, -.input-group > .input-group-append > .input-group-text, -.input-group > .input-group-prepend:first-child > .btn:not(:first-child), -.input-group - > .input-group-prepend:first-child - > .input-group-text:not(:first-child), -.input-group > .input-group-prepend:not(:first-child) > .btn, -.input-group > .input-group-prepend:not(:first-child) > .input-group-text { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.custom-control { - position: relative; - display: block; - min-height: 1.5rem; - padding-left: 1.5rem; -} -.custom-control-inline { - display: -ms-inline-flexbox; - display: inline-flex; - margin-right: 1rem; -} -.custom-control-input { - position: absolute; - left: 0; - z-index: -1; - width: 1rem; - height: 1.25rem; - opacity: 0; -} -.custom-control-input:checked ~ .custom-control-label::before { - color: #fff; - border-color: #007bff; - background-color: #007bff; -} -.custom-control-input:focus ~ .custom-control-label::before { - box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); -} -.custom-control-input:focus:not(:checked) ~ .custom-control-label::before { - border-color: #80bdff; -} -.custom-control-input:not(:disabled):active ~ .custom-control-label::before { - color: #fff; - background-color: #b3d7ff; - border-color: #b3d7ff; -} -.custom-control-input:disabled ~ .custom-control-label, -.custom-control-input[disabled] ~ .custom-control-label { - color: #6c757d; -} -.custom-control-input:disabled ~ .custom-control-label::before, -.custom-control-input[disabled] ~ .custom-control-label::before { - background-color: #e9ecef; -} -.custom-control-label { - position: relative; - margin-bottom: 0; - vertical-align: top; -} -.custom-control-label::before { - position: absolute; - top: 0.25rem; - left: -1.5rem; - display: block; - width: 1rem; - height: 1rem; - pointer-events: none; - content: ""; - background-color: #fff; - border: #adb5bd solid 1px; -} -.custom-control-label::after { - position: absolute; - top: 0.25rem; - left: -1.5rem; - display: block; - width: 1rem; - height: 1rem; - content: ""; - background: no-repeat 50%/50% 50%; -} -.custom-checkbox .custom-control-label::before { - border-radius: 0.25rem; -} -.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e"); -} -.custom-checkbox - .custom-control-input:indeterminate - ~ .custom-control-label::before { - border-color: #007bff; - background-color: #007bff; -} -.custom-checkbox - .custom-control-input:indeterminate - ~ .custom-control-label::after { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e"); -} -.custom-checkbox - .custom-control-input:disabled:checked - ~ .custom-control-label::before { - background-color: rgba(0, 123, 255, 0.5); -} -.custom-checkbox - .custom-control-input:disabled:indeterminate - ~ .custom-control-label::before { - background-color: rgba(0, 123, 255, 0.5); -} -.custom-radio .custom-control-label::before { - border-radius: 50%; -} -.custom-radio .custom-control-input:checked ~ .custom-control-label::after { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e"); -} -.custom-radio - .custom-control-input:disabled:checked - ~ .custom-control-label::before { - background-color: rgba(0, 123, 255, 0.5); -} -.custom-switch { - padding-left: 2.25rem; -} -.custom-switch .custom-control-label::before { - left: -2.25rem; - width: 1.75rem; - pointer-events: all; - border-radius: 0.5rem; -} -.custom-switch .custom-control-label::after { - top: calc(0.25rem + 2px); - left: calc(-2.25rem + 2px); - width: calc(1rem - 4px); - height: calc(1rem - 4px); - background-color: #adb5bd; - border-radius: 0.5rem; - transition: background-color 0.15s ease-in-out, - border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, - -webkit-transform 0.15s ease-in-out; - transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, - border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, - border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, - -webkit-transform 0.15s ease-in-out; -} -@media (prefers-reduced-motion: reduce) { - .custom-switch .custom-control-label::after { - transition: none; - } -} -.custom-switch .custom-control-input:checked ~ .custom-control-label::after { - background-color: #fff; - -webkit-transform: translateX(0.75rem); - transform: translateX(0.75rem); -} -.custom-switch - .custom-control-input:disabled:checked - ~ .custom-control-label::before { - background-color: rgba(0, 123, 255, 0.5); -} -.custom-select { - display: inline-block; - width: 100%; - height: calc(1.5em + 0.75rem + 2px); - padding: 0.375rem 1.75rem 0.375rem 0.75rem; - font-size: 1rem; - font-weight: 400; - line-height: 1.5; - color: #495057; - vertical-align: middle; - background: #fff - url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") - no-repeat right 0.75rem center/8px 10px; - border: 1px solid #ced4da; - border-radius: 0.25rem; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; -} -.custom-select:focus { - border-color: #80bdff; - outline: 0; - box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); -} -.custom-select:focus::-ms-value { - color: #495057; - background-color: #fff; -} -.custom-select[multiple], -.custom-select[size]:not([size="1"]) { - height: auto; - padding-right: 0.75rem; - background-image: none; -} -.custom-select:disabled { - color: #6c757d; - background-color: #e9ecef; -} -.custom-select::-ms-expand { - display: none; -} -.custom-select:-moz-focusring { - color: transparent; - text-shadow: 0 0 0 #495057; -} -.custom-select-sm { - height: calc(1.5em + 0.5rem + 2px); - padding-top: 0.25rem; - padding-bottom: 0.25rem; - padding-left: 0.5rem; - font-size: 0.875rem; -} -.custom-select-lg { - height: calc(1.5em + 1rem + 2px); - padding-top: 0.5rem; - padding-bottom: 0.5rem; - padding-left: 1rem; - font-size: 1.25rem; -} -.custom-file { - position: relative; - display: inline-block; - width: 100%; - height: calc(1.5em + 0.75rem + 2px); - margin-bottom: 0; -} -.custom-file-input { - position: relative; - z-index: 2; - width: 100%; - height: calc(1.5em + 0.75rem + 2px); - margin: 0; - opacity: 0; -} -.custom-file-input:focus ~ .custom-file-label { - border-color: #80bdff; - box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); -} -.custom-file-input:disabled ~ .custom-file-label, -.custom-file-input[disabled] ~ .custom-file-label { - background-color: #e9ecef; -} -.custom-file-input:lang(en) ~ .custom-file-label::after { - content: "Browse"; -} -.custom-file-input ~ .custom-file-label[data-browse]::after { - content: attr(data-browse); -} -.custom-file-label { - position: absolute; - top: 0; - right: 0; - left: 0; - z-index: 1; - height: calc(1.5em + 0.75rem + 2px); - padding: 0.375rem 0.75rem; - font-weight: 400; - line-height: 1.5; - color: #495057; - background-color: #fff; - border: 1px solid #ced4da; - border-radius: 0.25rem; -} -.custom-file-label::after { - position: absolute; - top: 0; - right: 0; - bottom: 0; - z-index: 3; - display: block; - height: calc(1.5em + 0.75rem); - padding: 0.375rem 0.75rem; - line-height: 1.5; - color: #495057; - content: "Browse"; - background-color: #e9ecef; - border-left: inherit; - border-radius: 0 0.25rem 0.25rem 0; -} -.custom-range { - width: 100%; - height: 1.4rem; - padding: 0; - background-color: transparent; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; -} -.custom-range:focus { - outline: 0; -} -.custom-range:focus::-webkit-slider-thumb { - box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); -} -.custom-range:focus::-moz-range-thumb { - box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); -} -.custom-range:focus::-ms-thumb { - box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); -} -.custom-range::-moz-focus-outer { - border: 0; -} -.custom-range::-webkit-slider-thumb { - width: 1rem; - height: 1rem; - margin-top: -0.25rem; - background-color: #007bff; - border: 0; - border-radius: 1rem; - -webkit-transition: background-color 0.15s ease-in-out, - border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - transition: background-color 0.15s ease-in-out, - border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - -webkit-appearance: none; - appearance: none; -} -@media (prefers-reduced-motion: reduce) { - .custom-range::-webkit-slider-thumb { - -webkit-transition: none; - transition: none; - } -} -.custom-range::-webkit-slider-thumb:active { - background-color: #b3d7ff; -} -.custom-range::-webkit-slider-runnable-track { - width: 100%; - height: 0.5rem; - color: transparent; - cursor: pointer; - background-color: #dee2e6; - border-color: transparent; - border-radius: 1rem; -} -.custom-range::-moz-range-thumb { - width: 1rem; - height: 1rem; - background-color: #007bff; - border: 0; - border-radius: 1rem; - -moz-transition: background-color 0.15s ease-in-out, - border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - transition: background-color 0.15s ease-in-out, - border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - -moz-appearance: none; - appearance: none; -} -@media (prefers-reduced-motion: reduce) { - .custom-range::-moz-range-thumb { - -moz-transition: none; - transition: none; - } -} -.custom-range::-moz-range-thumb:active { - background-color: #b3d7ff; -} -.custom-range::-moz-range-track { - width: 100%; - height: 0.5rem; - color: transparent; - cursor: pointer; - background-color: #dee2e6; - border-color: transparent; - border-radius: 1rem; -} -.custom-range::-ms-thumb { - width: 1rem; - height: 1rem; - margin-top: 0; - margin-right: 0.2rem; - margin-left: 0.2rem; - background-color: #007bff; - border: 0; - border-radius: 1rem; - -ms-transition: background-color 0.15s ease-in-out, - border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - transition: background-color 0.15s ease-in-out, - border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - appearance: none; -} -@media (prefers-reduced-motion: reduce) { - .custom-range::-ms-thumb { - -ms-transition: none; - transition: none; - } -} -.custom-range::-ms-thumb:active { - background-color: #b3d7ff; -} -.custom-range::-ms-track { - width: 100%; - height: 0.5rem; - color: transparent; - cursor: pointer; - background-color: transparent; - border-color: transparent; - border-width: 0.5rem; -} -.custom-range::-ms-fill-lower { - background-color: #dee2e6; - border-radius: 1rem; -} -.custom-range::-ms-fill-upper { - margin-right: 15px; - background-color: #dee2e6; - border-radius: 1rem; -} -.custom-range:disabled::-webkit-slider-thumb { - background-color: #adb5bd; -} -.custom-range:disabled::-webkit-slider-runnable-track { - cursor: default; -} -.custom-range:disabled::-moz-range-thumb { - background-color: #adb5bd; -} -.custom-range:disabled::-moz-range-track { - cursor: default; -} -.custom-range:disabled::-ms-thumb { - background-color: #adb5bd; -} -.custom-control-label::before, -.custom-file-label, -.custom-select { - transition: background-color 0.15s ease-in-out, - border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -} -@media (prefers-reduced-motion: reduce) { - .custom-control-label::before, - .custom-file-label, - .custom-select { - transition: none; - } -} -.nav { - display: -ms-flexbox; - display: flex; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - padding-left: 0; - margin-bottom: 0; - list-style: none; -} -.nav-link { - display: block; - padding: 0.5rem 1rem; -} -.nav-link:focus, -.nav-link:hover { - text-decoration: none; -} -.nav-link.disabled { - color: #6c757d; - pointer-events: none; - cursor: default; -} -.nav-tabs { - border-bottom: 1px solid #dee2e6; -} -.nav-tabs .nav-item { - margin-bottom: -1px; -} -.nav-tabs .nav-link { - border: 1px solid transparent; - border-top-left-radius: 0.25rem; - border-top-right-radius: 0.25rem; -} -.nav-tabs .nav-link:focus, -.nav-tabs .nav-link:hover { - border-color: #e9ecef #e9ecef #dee2e6; -} -.nav-tabs .nav-link.disabled { - color: #6c757d; - background-color: transparent; - border-color: transparent; -} -.nav-tabs .nav-item.show .nav-link, -.nav-tabs .nav-link.active { - color: #495057; - background-color: #fff; - border-color: #dee2e6 #dee2e6 #fff; -} -.nav-tabs .dropdown-menu { - margin-top: -1px; - border-top-left-radius: 0; - border-top-right-radius: 0; -} -.nav-pills .nav-link { - border-radius: 0.25rem; -} -.nav-pills .nav-link.active, -.nav-pills .show > .nav-link { - color: #fff; - background-color: #007bff; -} -.nav-fill .nav-item { - -ms-flex: 1 1 auto; - flex: 1 1 auto; - text-align: center; -} -.nav-justified .nav-item { - -ms-flex-preferred-size: 0; - flex-basis: 0; - -ms-flex-positive: 1; - flex-grow: 1; - text-align: center; -} -.tab-content > .tab-pane { - display: none; -} -.tab-content > .active { - display: block; -} -.navbar { - position: relative; - display: -ms-flexbox; - display: flex; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -ms-flex-align: center; - align-items: center; - -ms-flex-pack: justify; - justify-content: space-between; - padding: 0.5rem 1rem; -} -.navbar .container, -.navbar .container-fluid, -.navbar .container-lg, -.navbar .container-md, -.navbar .container-sm, -.navbar .container-xl { - display: -ms-flexbox; - display: flex; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -ms-flex-align: center; - align-items: center; - -ms-flex-pack: justify; - justify-content: space-between; -} -.navbar-brand { - display: inline-block; - padding-top: 0.3125rem; - padding-bottom: 0.3125rem; - margin-right: 1rem; - font-size: 1.25rem; - line-height: inherit; - white-space: nowrap; -} -.navbar-brand:focus, -.navbar-brand:hover { - text-decoration: none; -} -.navbar-nav { - display: -ms-flexbox; - display: flex; - -ms-flex-direction: column; - flex-direction: column; - padding-left: 0; - margin-bottom: 0; - list-style: none; -} -.navbar-nav .nav-link { - padding-right: 0; - padding-left: 0; -} -.navbar-nav .dropdown-menu { - position: static; - float: none; -} -.navbar-text { - display: inline-block; - padding-top: 0.5rem; - padding-bottom: 0.5rem; -} -.navbar-collapse { - -ms-flex-preferred-size: 100%; - flex-basis: 100%; - -ms-flex-positive: 1; - flex-grow: 1; - -ms-flex-align: center; - align-items: center; -} -.navbar-toggler { - padding: 0.25rem 0.75rem; - font-size: 1.25rem; - line-height: 1; - background-color: transparent; - border: 1px solid transparent; - border-radius: 0.25rem; -} -.navbar-toggler:focus, -.navbar-toggler:hover { - text-decoration: none; -} -.navbar-toggler-icon { - display: inline-block; - width: 1.5em; - height: 1.5em; - vertical-align: middle; - content: ""; - background: no-repeat center center; - background-size: 100% 100%; -} -@media (max-width: 575.98px) { - .navbar-expand-sm > .container, - .navbar-expand-sm > .container-fluid, - .navbar-expand-sm > .container-lg, - .navbar-expand-sm > .container-md, - .navbar-expand-sm > .container-sm, - .navbar-expand-sm > .container-xl { - padding-right: 0; - padding-left: 0; - } -} -@media (min-width: 576px) { - .navbar-expand-sm { - -ms-flex-flow: row nowrap; - flex-flow: row nowrap; - -ms-flex-pack: start; - justify-content: flex-start; - } - .navbar-expand-sm .navbar-nav { - -ms-flex-direction: row; - flex-direction: row; - } - .navbar-expand-sm .navbar-nav .dropdown-menu { - position: absolute; - } - .navbar-expand-sm .navbar-nav .nav-link { - padding-right: 0.5rem; - padding-left: 0.5rem; - } - .navbar-expand-sm > .container, - .navbar-expand-sm > .container-fluid, - .navbar-expand-sm > .container-lg, - .navbar-expand-sm > .container-md, - .navbar-expand-sm > .container-sm, - .navbar-expand-sm > .container-xl { - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - } - .navbar-expand-sm .navbar-collapse { - display: -ms-flexbox !important; - display: flex !important; - -ms-flex-preferred-size: auto; - flex-basis: auto; - } - .navbar-expand-sm .navbar-toggler { - display: none; - } -} -@media (max-width: 767.98px) { - .navbar-expand-md > .container, - .navbar-expand-md > .container-fluid, - .navbar-expand-md > .container-lg, - .navbar-expand-md > .container-md, - .navbar-expand-md > .container-sm, - .navbar-expand-md > .container-xl { - padding-right: 0; - padding-left: 0; - } -} -@media (min-width: 768px) { - .navbar-expand-md { - -ms-flex-flow: row nowrap; - flex-flow: row nowrap; - -ms-flex-pack: start; - justify-content: flex-start; - } - .navbar-expand-md .navbar-nav { - -ms-flex-direction: row; - flex-direction: row; - } - .navbar-expand-md .navbar-nav .dropdown-menu { - position: absolute; - } - .navbar-expand-md .navbar-nav .nav-link { - padding-right: 0.5rem; - padding-left: 0.5rem; - } - .navbar-expand-md > .container, - .navbar-expand-md > .container-fluid, - .navbar-expand-md > .container-lg, - .navbar-expand-md > .container-md, - .navbar-expand-md > .container-sm, - .navbar-expand-md > .container-xl { - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - } - .navbar-expand-md .navbar-collapse { - display: -ms-flexbox !important; - display: flex !important; - -ms-flex-preferred-size: auto; - flex-basis: auto; - } - .navbar-expand-md .navbar-toggler { - display: none; - } -} -@media (max-width: 991.98px) { - .navbar-expand-lg > .container, - .navbar-expand-lg > .container-fluid, - .navbar-expand-lg > .container-lg, - .navbar-expand-lg > .container-md, - .navbar-expand-lg > .container-sm, - .navbar-expand-lg > .container-xl { - padding-right: 0; - padding-left: 0; - } -} -@media (min-width: 992px) { - .navbar-expand-lg { - -ms-flex-flow: row nowrap; - flex-flow: row nowrap; - -ms-flex-pack: start; - justify-content: flex-start; - } - .navbar-expand-lg .navbar-nav { - -ms-flex-direction: row; - flex-direction: row; - } - .navbar-expand-lg .navbar-nav .dropdown-menu { - position: absolute; - } - .navbar-expand-lg .navbar-nav .nav-link { - padding-right: 0.5rem; - padding-left: 0.5rem; - } - .navbar-expand-lg > .container, - .navbar-expand-lg > .container-fluid, - .navbar-expand-lg > .container-lg, - .navbar-expand-lg > .container-md, - .navbar-expand-lg > .container-sm, - .navbar-expand-lg > .container-xl { - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - } - .navbar-expand-lg .navbar-collapse { - display: -ms-flexbox !important; - display: flex !important; - -ms-flex-preferred-size: auto; - flex-basis: auto; - } - .navbar-expand-lg .navbar-toggler { - display: none; - } -} -@media (max-width: 1199.98px) { - .navbar-expand-xl > .container, - .navbar-expand-xl > .container-fluid, - .navbar-expand-xl > .container-lg, - .navbar-expand-xl > .container-md, - .navbar-expand-xl > .container-sm, - .navbar-expand-xl > .container-xl { - padding-right: 0; - padding-left: 0; - } -} -@media (min-width: 1200px) { - .navbar-expand-xl { - -ms-flex-flow: row nowrap; - flex-flow: row nowrap; - -ms-flex-pack: start; - justify-content: flex-start; - } - .navbar-expand-xl .navbar-nav { - -ms-flex-direction: row; - flex-direction: row; - } - .navbar-expand-xl .navbar-nav .dropdown-menu { - position: absolute; - } - .navbar-expand-xl .navbar-nav .nav-link { - padding-right: 0.5rem; - padding-left: 0.5rem; - } - .navbar-expand-xl > .container, - .navbar-expand-xl > .container-fluid, - .navbar-expand-xl > .container-lg, - .navbar-expand-xl > .container-md, - .navbar-expand-xl > .container-sm, - .navbar-expand-xl > .container-xl { - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - } - .navbar-expand-xl .navbar-collapse { - display: -ms-flexbox !important; - display: flex !important; - -ms-flex-preferred-size: auto; - flex-basis: auto; - } - .navbar-expand-xl .navbar-toggler { - display: none; - } -} -.navbar-expand { - -ms-flex-flow: row nowrap; - flex-flow: row nowrap; - -ms-flex-pack: start; - justify-content: flex-start; -} -.navbar-expand > .container, -.navbar-expand > .container-fluid, -.navbar-expand > .container-lg, -.navbar-expand > .container-md, -.navbar-expand > .container-sm, -.navbar-expand > .container-xl { - padding-right: 0; - padding-left: 0; -} -.navbar-expand .navbar-nav { - -ms-flex-direction: row; - flex-direction: row; -} -.navbar-expand .navbar-nav .dropdown-menu { - position: absolute; -} -.navbar-expand .navbar-nav .nav-link { - padding-right: 0.5rem; - padding-left: 0.5rem; -} -.navbar-expand > .container, -.navbar-expand > .container-fluid, -.navbar-expand > .container-lg, -.navbar-expand > .container-md, -.navbar-expand > .container-sm, -.navbar-expand > .container-xl { - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} -.navbar-expand .navbar-collapse { - display: -ms-flexbox !important; - display: flex !important; - -ms-flex-preferred-size: auto; - flex-basis: auto; -} -.navbar-expand .navbar-toggler { - display: none; -} -.navbar-light .navbar-brand { - color: rgba(0, 0, 0, 0.9); -} -.navbar-light .navbar-brand:focus, -.navbar-light .navbar-brand:hover { - color: rgba(0, 0, 0, 0.9); -} -.navbar-light .navbar-nav .nav-link { - color: rgba(0, 0, 0, 0.5); -} -.navbar-light .navbar-nav .nav-link:focus, -.navbar-light .navbar-nav .nav-link:hover { - color: rgba(0, 0, 0, 0.7); -} -.navbar-light .navbar-nav .nav-link.disabled { - color: rgba(0, 0, 0, 0.3); -} -.navbar-light .navbar-nav .active > .nav-link, -.navbar-light .navbar-nav .nav-link.active, -.navbar-light .navbar-nav .nav-link.show, -.navbar-light .navbar-nav .show > .nav-link { - color: rgba(0, 0, 0, 0.9); -} -.navbar-light .navbar-toggler { - color: rgba(0, 0, 0, 0.5); - border-color: rgba(0, 0, 0, 0.1); -} -.navbar-light .navbar-toggler-icon { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); -} -.navbar-light .navbar-text { - color: rgba(0, 0, 0, 0.5); -} -.navbar-light .navbar-text a { - color: rgba(0, 0, 0, 0.9); -} -.navbar-light .navbar-text a:focus, -.navbar-light .navbar-text a:hover { - color: rgba(0, 0, 0, 0.9); -} -.navbar-dark .navbar-brand { - color: #fff; -} -.navbar-dark .navbar-brand:focus, -.navbar-dark .navbar-brand:hover { - color: #fff; -} -.navbar-dark .navbar-nav .nav-link { - color: rgba(255, 255, 255, 0.5); -} -.navbar-dark .navbar-nav .nav-link:focus, -.navbar-dark .navbar-nav .nav-link:hover { - color: rgba(255, 255, 255, 0.75); -} -.navbar-dark .navbar-nav .nav-link.disabled { - color: rgba(255, 255, 255, 0.25); -} -.navbar-dark .navbar-nav .active > .nav-link, -.navbar-dark .navbar-nav .nav-link.active, -.navbar-dark .navbar-nav .nav-link.show, -.navbar-dark .navbar-nav .show > .nav-link { - color: #fff; -} -.navbar-dark .navbar-toggler { - color: rgba(255, 255, 255, 0.5); - border-color: rgba(255, 255, 255, 0.1); -} -.navbar-dark .navbar-toggler-icon { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); -} -.navbar-dark .navbar-text { - color: rgba(255, 255, 255, 0.5); -} -.navbar-dark .navbar-text a { - color: #fff; -} -.navbar-dark .navbar-text a:focus, -.navbar-dark .navbar-text a:hover { - color: #fff; -} -.card { - position: relative; - display: -ms-flexbox; - display: flex; - -ms-flex-direction: column; - flex-direction: column; - min-width: 0; - word-wrap: break-word; - background-color: #fff; - background-clip: border-box; - border: 1px solid rgba(0, 0, 0, 0.125); - border-radius: 0.25rem; -} -.card > hr { - margin-right: 0; - margin-left: 0; -} -.card > .list-group { - border-top: inherit; - border-bottom: inherit; -} -.card > .list-group:first-child { - border-top-width: 0; - border-top-left-radius: calc(0.25rem - 1px); - border-top-right-radius: calc(0.25rem - 1px); -} -.card > .list-group:last-child { - border-bottom-width: 0; - border-bottom-right-radius: calc(0.25rem - 1px); - border-bottom-left-radius: calc(0.25rem - 1px); -} -.card-body { - -ms-flex: 1 1 auto; - flex: 1 1 auto; - min-height: 1px; - padding: 1.25rem; -} -.card-title { - margin-bottom: 0.75rem; -} -.card-subtitle { - margin-top: -0.375rem; - margin-bottom: 0; -} -.card-text:last-child { - margin-bottom: 0; -} -.card-link:hover { - text-decoration: none; -} -.card-link + .card-link { - margin-left: 1.25rem; -} -.card-header { - padding: 0.75rem 1.25rem; - margin-bottom: 0; - background-color: rgba(0, 0, 0, 0.03); - border-bottom: 1px solid rgba(0, 0, 0, 0.125); -} -.card-header:first-child { - border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0; -} -.card-header + .list-group .list-group-item:first-child { - border-top: 0; -} -.card-footer { - padding: 0.75rem 1.25rem; - background-color: rgba(0, 0, 0, 0.03); - border-top: 1px solid rgba(0, 0, 0, 0.125); -} -.card-footer:last-child { - border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px); -} -.card-header-tabs { - margin-right: -0.625rem; - margin-bottom: -0.75rem; - margin-left: -0.625rem; - border-bottom: 0; -} -.card-header-pills { - margin-right: -0.625rem; - margin-left: -0.625rem; -} -.card-img-overlay { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - padding: 1.25rem; -} -.card-img, -.card-img-bottom, -.card-img-top { - -ms-flex-negative: 0; - flex-shrink: 0; - width: 100%; -} -.card-img, -.card-img-top { - border-top-left-radius: calc(0.25rem - 1px); - border-top-right-radius: calc(0.25rem - 1px); -} -.card-img, -.card-img-bottom { - border-bottom-right-radius: calc(0.25rem - 1px); - border-bottom-left-radius: calc(0.25rem - 1px); -} -.card-deck .card { - margin-bottom: 15px; -} -@media (min-width: 576px) { - .card-deck { - display: -ms-flexbox; - display: flex; - -ms-flex-flow: row wrap; - flex-flow: row wrap; - margin-right: -15px; - margin-left: -15px; - } - .card-deck .card { - -ms-flex: 1 0 0%; - flex: 1 0 0%; - margin-right: 15px; - margin-bottom: 0; - margin-left: 15px; - } -} -.card-group > .card { - margin-bottom: 15px; -} -@media (min-width: 576px) { - .card-group { - display: -ms-flexbox; - display: flex; - -ms-flex-flow: row wrap; - flex-flow: row wrap; - } - .card-group > .card { - -ms-flex: 1 0 0%; - flex: 1 0 0%; - margin-bottom: 0; - } - .card-group > .card + .card { - margin-left: 0; - border-left: 0; - } - .card-group > .card:not(:last-child) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; - } - .card-group > .card:not(:last-child) .card-header, - .card-group > .card:not(:last-child) .card-img-top { - border-top-right-radius: 0; - } - .card-group > .card:not(:last-child) .card-footer, - .card-group > .card:not(:last-child) .card-img-bottom { - border-bottom-right-radius: 0; - } - .card-group > .card:not(:first-child) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; - } - .card-group > .card:not(:first-child) .card-header, - .card-group > .card:not(:first-child) .card-img-top { - border-top-left-radius: 0; - } - .card-group > .card:not(:first-child) .card-footer, - .card-group > .card:not(:first-child) .card-img-bottom { - border-bottom-left-radius: 0; - } -} -.card-columns .card { - margin-bottom: 0.75rem; -} -@media (min-width: 576px) { - .card-columns { - -webkit-column-count: 3; - -moz-column-count: 3; - column-count: 3; - -webkit-column-gap: 1.25rem; - -moz-column-gap: 1.25rem; - column-gap: 1.25rem; - orphans: 1; - widows: 1; - } - .card-columns .card { - display: inline-block; - width: 100%; - } -} -.accordion > .card { - overflow: hidden; -} -.accordion > .card:not(:last-of-type) { - border-bottom: 0; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.accordion > .card:not(:first-of-type) { - border-top-left-radius: 0; - border-top-right-radius: 0; -} -.accordion > .card > .card-header { - border-radius: 0; - margin-bottom: -1px; -} -.breadcrumb { - display: -ms-flexbox; - display: flex; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - padding: 0.75rem 1rem; - margin-bottom: 1rem; - list-style: none; - background-color: #e9ecef; - border-radius: 0.25rem; -} -.breadcrumb-item { - display: -ms-flexbox; - display: flex; -} -.breadcrumb-item + .breadcrumb-item { - padding-left: 0.5rem; -} -.breadcrumb-item + .breadcrumb-item::before { - display: inline-block; - padding-right: 0.5rem; - color: #6c757d; - content: "/"; -} -.breadcrumb-item + .breadcrumb-item:hover::before { - text-decoration: underline; -} -.breadcrumb-item + .breadcrumb-item:hover::before { - text-decoration: none; -} -.breadcrumb-item.active { - color: #6c757d; -} -.pagination { - display: -ms-flexbox; - display: flex; - padding-left: 0; - list-style: none; - border-radius: 0.25rem; -} -.page-link { - position: relative; - display: block; - padding: 0.5rem 0.75rem; - margin-left: -1px; - line-height: 1.25; - color: #007bff; - background-color: #fff; - border: 1px solid #dee2e6; -} -.page-link:hover { - z-index: 2; - color: #0056b3; - text-decoration: none; - background-color: #e9ecef; - border-color: #dee2e6; -} -.page-link:focus { - z-index: 3; - outline: 0; - box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); -} -.page-item:first-child .page-link { - margin-left: 0; - border-top-left-radius: 0.25rem; - border-bottom-left-radius: 0.25rem; -} -.page-item:last-child .page-link { - border-top-right-radius: 0.25rem; - border-bottom-right-radius: 0.25rem; -} -.page-item.active .page-link { - z-index: 3; - color: #fff; - background-color: #007bff; - border-color: #007bff; -} -.page-item.disabled .page-link { - color: #6c757d; - pointer-events: none; - cursor: auto; - background-color: #fff; - border-color: #dee2e6; -} -.pagination-lg .page-link { - padding: 0.75rem 1.5rem; - font-size: 1.25rem; - line-height: 1.5; -} -.pagination-lg .page-item:first-child .page-link { - border-top-left-radius: 0.3rem; - border-bottom-left-radius: 0.3rem; -} -.pagination-lg .page-item:last-child .page-link { - border-top-right-radius: 0.3rem; - border-bottom-right-radius: 0.3rem; -} -.pagination-sm .page-link { - padding: 0.25rem 0.5rem; - font-size: 0.875rem; - line-height: 1.5; -} -.pagination-sm .page-item:first-child .page-link { - border-top-left-radius: 0.2rem; - border-bottom-left-radius: 0.2rem; -} -.pagination-sm .page-item:last-child .page-link { - border-top-right-radius: 0.2rem; - border-bottom-right-radius: 0.2rem; -} -.badge { - display: inline-block; - padding: 0.25em 0.4em; - font-size: 75%; - font-weight: 700; - line-height: 1; - text-align: center; - white-space: nowrap; - vertical-align: baseline; - border-radius: 0.25rem; - transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, - border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -} -@media (prefers-reduced-motion: reduce) { - .badge { - transition: none; - } -} -a.badge:focus, -a.badge:hover { - text-decoration: none; -} -.badge:empty { - display: none; -} -.btn .badge { - position: relative; - top: -1px; -} -.badge-pill { - padding-right: 0.6em; - padding-left: 0.6em; - border-radius: 10rem; -} -.badge-primary { - color: #fff; - background-color: #007bff; -} -a.badge-primary:focus, -a.badge-primary:hover { - color: #fff; - background-color: #0062cc; -} -a.badge-primary.focus, -a.badge-primary:focus { - outline: 0; - box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); -} -.badge-secondary { - color: #fff; - background-color: #6c757d; -} -a.badge-secondary:focus, -a.badge-secondary:hover { - color: #fff; - background-color: #545b62; -} -a.badge-secondary.focus, -a.badge-secondary:focus { - outline: 0; - box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); -} -.badge-success { - color: #fff; - background-color: #28a745; -} -a.badge-success:focus, -a.badge-success:hover { - color: #fff; - background-color: #1e7e34; -} -a.badge-success.focus, -a.badge-success:focus { - outline: 0; - box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); -} -.badge-info { - color: #fff; - background-color: #17a2b8; -} -a.badge-info:focus, -a.badge-info:hover { - color: #fff; - background-color: #117a8b; -} -a.badge-info.focus, -a.badge-info:focus { - outline: 0; - box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); -} -.badge-warning { - color: #212529; - background-color: #ffc107; -} -a.badge-warning:focus, -a.badge-warning:hover { - color: #212529; - background-color: #d39e00; -} -a.badge-warning.focus, -a.badge-warning:focus { - outline: 0; - box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); -} -.badge-danger { - color: #fff; - background-color: #dc3545; -} -a.badge-danger:focus, -a.badge-danger:hover { - color: #fff; - background-color: #bd2130; -} -a.badge-danger.focus, -a.badge-danger:focus { - outline: 0; - box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); -} -.badge-light { - color: #212529; - background-color: #f8f9fa; -} -a.badge-light:focus, -a.badge-light:hover { - color: #212529; - background-color: #dae0e5; -} -a.badge-light.focus, -a.badge-light:focus { - outline: 0; - box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); -} -.badge-dark { - color: #fff; - background-color: #343a40; -} -a.badge-dark:focus, -a.badge-dark:hover { - color: #fff; - background-color: #1d2124; -} -a.badge-dark.focus, -a.badge-dark:focus { - outline: 0; - box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); -} -.jumbotron { - padding: 2rem 1rem; - margin-bottom: 2rem; - background-color: #e9ecef; - border-radius: 0.3rem; -} -@media (min-width: 576px) { - .jumbotron { - padding: 4rem 2rem; - } -} -.jumbotron-fluid { - padding-right: 0; - padding-left: 0; - border-radius: 0; -} -.alert { - position: relative; - padding: 0.75rem 1.25rem; - margin-bottom: 1rem; - border: 1px solid transparent; - border-radius: 0.25rem; -} -.alert-heading { - color: inherit; -} -.alert-link { - font-weight: 700; -} -.alert-dismissible { - padding-right: 4rem; -} -.alert-dismissible .close { - position: absolute; - top: 0; - right: 0; - padding: 0.75rem 1.25rem; - color: inherit; -} -.alert-primary { - color: #004085; - background-color: #cce5ff; - border-color: #b8daff; -} -.alert-primary hr { - border-top-color: #9fcdff; -} -.alert-primary .alert-link { - color: #002752; -} -.alert-secondary { - color: #383d41; - background-color: #e2e3e5; - border-color: #d6d8db; -} -.alert-secondary hr { - border-top-color: #c8cbcf; -} -.alert-secondary .alert-link { - color: #202326; -} -.alert-success { - color: #155724; - background-color: #d4edda; - border-color: #c3e6cb; -} -.alert-success hr { - border-top-color: #b1dfbb; -} -.alert-success .alert-link { - color: #0b2e13; -} -.alert-info { - color: #0c5460; - background-color: #d1ecf1; - border-color: #bee5eb; -} -.alert-info hr { - border-top-color: #abdde5; -} -.alert-info .alert-link { - color: #062c33; -} -.alert-warning { - color: #856404; - background-color: #fff3cd; - border-color: #ffeeba; -} -.alert-warning hr { - border-top-color: #ffe8a1; -} -.alert-warning .alert-link { - color: #533f03; -} -.alert-danger { - color: #721c24; - background-color: #f8d7da; - border-color: #f5c6cb; -} -.alert-danger hr { - border-top-color: #f1b0b7; -} -.alert-danger .alert-link { - color: #491217; -} -.alert-light { - color: #818182; - background-color: #fefefe; - border-color: #fdfdfe; -} -.alert-light hr { - border-top-color: #ececf6; -} -.alert-light .alert-link { - color: #686868; -} -.alert-dark { - color: #1b1e21; - background-color: #d6d8d9; - border-color: #c6c8ca; -} -.alert-dark hr { - border-top-color: #b9bbbe; -} -.alert-dark .alert-link { - color: #040505; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 1rem 0; - } - to { - background-position: 0 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 1rem 0; - } - to { - background-position: 0 0; - } -} -.progress { - display: -ms-flexbox; - display: flex; - height: 1rem; - overflow: hidden; - line-height: 0; - font-size: 0.75rem; - background-color: #e9ecef; - border-radius: 0.25rem; -} -.progress-bar { - display: -ms-flexbox; - display: flex; - -ms-flex-direction: column; - flex-direction: column; - -ms-flex-pack: center; - justify-content: center; - overflow: hidden; - color: #fff; - text-align: center; - white-space: nowrap; - background-color: #007bff; - transition: width 0.6s ease; -} -@media (prefers-reduced-motion: reduce) { - .progress-bar { - transition: none; - } -} -.progress-bar-striped { - background-image: linear-gradient( - 45deg, - rgba(255, 255, 255, 0.15) 25%, - transparent 25%, - transparent 50%, - rgba(255, 255, 255, 0.15) 50%, - rgba(255, 255, 255, 0.15) 75%, - transparent 75%, - transparent - ); - background-size: 1rem 1rem; -} -.progress-bar-animated { - -webkit-animation: progress-bar-stripes 1s linear infinite; - animation: progress-bar-stripes 1s linear infinite; -} -@media (prefers-reduced-motion: reduce) { - .progress-bar-animated { - -webkit-animation: none; - animation: none; - } -} -.media { - display: -ms-flexbox; - display: flex; - -ms-flex-align: start; - align-items: flex-start; -} -.media-body { - -ms-flex: 1; - flex: 1; -} -.list-group { - display: -ms-flexbox; - display: flex; - -ms-flex-direction: column; - flex-direction: column; - padding-left: 0; - margin-bottom: 0; - border-radius: 0.25rem; -} -.list-group-item-action { - width: 100%; - color: #495057; - text-align: inherit; -} -.list-group-item-action:focus, -.list-group-item-action:hover { - z-index: 1; - color: #495057; - text-decoration: none; - background-color: #f8f9fa; -} -.list-group-item-action:active { - color: #212529; - background-color: #e9ecef; -} -.list-group-item { - position: relative; - display: block; - padding: 0.75rem 1.25rem; - background-color: #fff; - border: 1px solid rgba(0, 0, 0, 0.125); -} -.list-group-item:first-child { - border-top-left-radius: inherit; - border-top-right-radius: inherit; -} -.list-group-item:last-child { - border-bottom-right-radius: inherit; - border-bottom-left-radius: inherit; -} -.list-group-item.disabled, -.list-group-item:disabled { - color: #6c757d; - pointer-events: none; - background-color: #fff; -} -.list-group-item.active { - z-index: 2; - color: #fff; - background-color: #007bff; - border-color: #007bff; -} -.list-group-item + .list-group-item { - border-top-width: 0; -} -.list-group-item + .list-group-item.active { - margin-top: -1px; - border-top-width: 1px; -} -.list-group-horizontal { - -ms-flex-direction: row; - flex-direction: row; -} -.list-group-horizontal > .list-group-item:first-child { - border-bottom-left-radius: 0.25rem; - border-top-right-radius: 0; -} -.list-group-horizontal > .list-group-item:last-child { - border-top-right-radius: 0.25rem; - border-bottom-left-radius: 0; -} -.list-group-horizontal > .list-group-item.active { - margin-top: 0; -} -.list-group-horizontal > .list-group-item + .list-group-item { - border-top-width: 1px; - border-left-width: 0; -} -.list-group-horizontal > .list-group-item + .list-group-item.active { - margin-left: -1px; - border-left-width: 1px; -} -@media (min-width: 576px) { - .list-group-horizontal-sm { - -ms-flex-direction: row; - flex-direction: row; - } - .list-group-horizontal-sm > .list-group-item:first-child { - border-bottom-left-radius: 0.25rem; - border-top-right-radius: 0; - } - .list-group-horizontal-sm > .list-group-item:last-child { - border-top-right-radius: 0.25rem; - border-bottom-left-radius: 0; - } - .list-group-horizontal-sm > .list-group-item.active { - margin-top: 0; - } - .list-group-horizontal-sm > .list-group-item + .list-group-item { - border-top-width: 1px; - border-left-width: 0; - } - .list-group-horizontal-sm > .list-group-item + .list-group-item.active { - margin-left: -1px; - border-left-width: 1px; - } -} -@media (min-width: 768px) { - .list-group-horizontal-md { - -ms-flex-direction: row; - flex-direction: row; - } - .list-group-horizontal-md > .list-group-item:first-child { - border-bottom-left-radius: 0.25rem; - border-top-right-radius: 0; - } - .list-group-horizontal-md > .list-group-item:last-child { - border-top-right-radius: 0.25rem; - border-bottom-left-radius: 0; - } - .list-group-horizontal-md > .list-group-item.active { - margin-top: 0; - } - .list-group-horizontal-md > .list-group-item + .list-group-item { - border-top-width: 1px; - border-left-width: 0; - } - .list-group-horizontal-md > .list-group-item + .list-group-item.active { - margin-left: -1px; - border-left-width: 1px; - } -} -@media (min-width: 992px) { - .list-group-horizontal-lg { - -ms-flex-direction: row; - flex-direction: row; - } - .list-group-horizontal-lg > .list-group-item:first-child { - border-bottom-left-radius: 0.25rem; - border-top-right-radius: 0; - } - .list-group-horizontal-lg > .list-group-item:last-child { - border-top-right-radius: 0.25rem; - border-bottom-left-radius: 0; - } - .list-group-horizontal-lg > .list-group-item.active { - margin-top: 0; - } - .list-group-horizontal-lg > .list-group-item + .list-group-item { - border-top-width: 1px; - border-left-width: 0; - } - .list-group-horizontal-lg > .list-group-item + .list-group-item.active { - margin-left: -1px; - border-left-width: 1px; - } -} -@media (min-width: 1200px) { - .list-group-horizontal-xl { - -ms-flex-direction: row; - flex-direction: row; - } - .list-group-horizontal-xl > .list-group-item:first-child { - border-bottom-left-radius: 0.25rem; - border-top-right-radius: 0; - } - .list-group-horizontal-xl > .list-group-item:last-child { - border-top-right-radius: 0.25rem; - border-bottom-left-radius: 0; - } - .list-group-horizontal-xl > .list-group-item.active { - margin-top: 0; - } - .list-group-horizontal-xl > .list-group-item + .list-group-item { - border-top-width: 1px; - border-left-width: 0; - } - .list-group-horizontal-xl > .list-group-item + .list-group-item.active { - margin-left: -1px; - border-left-width: 1px; - } -} -.list-group-flush { - border-radius: 0; -} -.list-group-flush > .list-group-item { - border-width: 0 0 1px; -} -.list-group-flush > .list-group-item:last-child { - border-bottom-width: 0; -} -.list-group-item-primary { - color: #004085; - background-color: #b8daff; -} -.list-group-item-primary.list-group-item-action:focus, -.list-group-item-primary.list-group-item-action:hover { - color: #004085; - background-color: #9fcdff; -} -.list-group-item-primary.list-group-item-action.active { - color: #fff; - background-color: #004085; - border-color: #004085; -} -.list-group-item-secondary { - color: #383d41; - background-color: #d6d8db; -} -.list-group-item-secondary.list-group-item-action:focus, -.list-group-item-secondary.list-group-item-action:hover { - color: #383d41; - background-color: #c8cbcf; -} -.list-group-item-secondary.list-group-item-action.active { - color: #fff; - background-color: #383d41; - border-color: #383d41; -} -.list-group-item-success { - color: #155724; - background-color: #c3e6cb; -} -.list-group-item-success.list-group-item-action:focus, -.list-group-item-success.list-group-item-action:hover { - color: #155724; - background-color: #b1dfbb; -} -.list-group-item-success.list-group-item-action.active { - color: #fff; - background-color: #155724; - border-color: #155724; -} -.list-group-item-info { - color: #0c5460; - background-color: #bee5eb; -} -.list-group-item-info.list-group-item-action:focus, -.list-group-item-info.list-group-item-action:hover { - color: #0c5460; - background-color: #abdde5; -} -.list-group-item-info.list-group-item-action.active { - color: #fff; - background-color: #0c5460; - border-color: #0c5460; -} -.list-group-item-warning { - color: #856404; - background-color: #ffeeba; -} -.list-group-item-warning.list-group-item-action:focus, -.list-group-item-warning.list-group-item-action:hover { - color: #856404; - background-color: #ffe8a1; -} -.list-group-item-warning.list-group-item-action.active { - color: #fff; - background-color: #856404; - border-color: #856404; -} -.list-group-item-danger { - color: #721c24; - background-color: #f5c6cb; -} -.list-group-item-danger.list-group-item-action:focus, -.list-group-item-danger.list-group-item-action:hover { - color: #721c24; - background-color: #f1b0b7; -} -.list-group-item-danger.list-group-item-action.active { - color: #fff; - background-color: #721c24; - border-color: #721c24; -} -.list-group-item-light { - color: #818182; - background-color: #fdfdfe; -} -.list-group-item-light.list-group-item-action:focus, -.list-group-item-light.list-group-item-action:hover { - color: #818182; - background-color: #ececf6; -} -.list-group-item-light.list-group-item-action.active { - color: #fff; - background-color: #818182; - border-color: #818182; -} -.list-group-item-dark { - color: #1b1e21; - background-color: #c6c8ca; -} -.list-group-item-dark.list-group-item-action:focus, -.list-group-item-dark.list-group-item-action:hover { - color: #1b1e21; - background-color: #b9bbbe; -} -.list-group-item-dark.list-group-item-action.active { - color: #fff; - background-color: #1b1e21; - border-color: #1b1e21; -} -.close { - float: right; - font-size: 1.5rem; - font-weight: 700; - line-height: 1; - color: #000; - text-shadow: 0 1px 0 #fff; - opacity: 0.5; -} -.close:hover { - color: #000; - text-decoration: none; -} -.close:not(:disabled):not(.disabled):focus, -.close:not(:disabled):not(.disabled):hover { - opacity: 0.75; -} -button.close { - padding: 0; - background-color: transparent; - border: 0; -} -a.close.disabled { - pointer-events: none; -} -.toast { - max-width: 350px; - overflow: hidden; - font-size: 0.875rem; - background-color: rgba(255, 255, 255, 0.85); - background-clip: padding-box; - border: 1px solid rgba(0, 0, 0, 0.1); - box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1); - -webkit-backdrop-filter: blur(10px); - backdrop-filter: blur(10px); - opacity: 0; - border-radius: 0.25rem; -} -.toast:not(:last-child) { - margin-bottom: 0.75rem; -} -.toast.showing { - opacity: 1; -} -.toast.show { - display: block; - opacity: 1; -} -.toast.hide { - display: none; -} -.toast-header { - display: -ms-flexbox; - display: flex; - -ms-flex-align: center; - align-items: center; - padding: 0.25rem 0.75rem; - color: #6c757d; - background-color: rgba(255, 255, 255, 0.85); - background-clip: padding-box; - border-bottom: 1px solid rgba(0, 0, 0, 0.05); -} -.toast-body { - padding: 0.75rem; -} -.modal-open { - overflow: hidden; -} -.modal-open .modal { - overflow-x: hidden; - overflow-y: auto; -} -.modal { - position: fixed; - top: 0; - left: 0; - z-index: 1050; - display: none; - width: 100%; - height: 100%; - overflow: hidden; - outline: 0; -} -.modal-dialog { - position: relative; - width: auto; - margin: 0.5rem; - pointer-events: none; -} -.modal.fade .modal-dialog { - transition: -webkit-transform 0.3s ease-out; - transition: transform 0.3s ease-out; - transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out; - -webkit-transform: translate(0, -50px); - transform: translate(0, -50px); -} -@media (prefers-reduced-motion: reduce) { - .modal.fade .modal-dialog { - transition: none; - } -} -.modal.show .modal-dialog { - -webkit-transform: none; - transform: none; -} -.modal.modal-static .modal-dialog { - -webkit-transform: scale(1.02); - transform: scale(1.02); -} -.modal-dialog-scrollable { - display: -ms-flexbox; - display: flex; - max-height: calc(100% - 1rem); -} -.modal-dialog-scrollable .modal-content { - max-height: calc(100vh - 1rem); - overflow: hidden; -} -.modal-dialog-scrollable .modal-footer, -.modal-dialog-scrollable .modal-header { - -ms-flex-negative: 0; - flex-shrink: 0; -} -.modal-dialog-scrollable .modal-body { - overflow-y: auto; -} -.modal-dialog-centered { - display: -ms-flexbox; - display: flex; - -ms-flex-align: center; - align-items: center; - min-height: calc(100% - 1rem); -} -.modal-dialog-centered::before { - display: block; - height: calc(100vh - 1rem); - height: -webkit-min-content; - height: -moz-min-content; - height: min-content; - content: ""; -} -.modal-dialog-centered.modal-dialog-scrollable { - -ms-flex-direction: column; - flex-direction: column; - -ms-flex-pack: center; - justify-content: center; - height: 100%; -} -.modal-dialog-centered.modal-dialog-scrollable .modal-content { - max-height: none; -} -.modal-dialog-centered.modal-dialog-scrollable::before { - content: none; -} -.modal-content { - position: relative; - display: -ms-flexbox; - display: flex; - -ms-flex-direction: column; - flex-direction: column; - width: 100%; - pointer-events: auto; - background-color: #fff; - background-clip: padding-box; - border: 1px solid rgba(0, 0, 0, 0.2); - border-radius: 0.3rem; - outline: 0; -} -.modal-backdrop { - position: fixed; - top: 0; - left: 0; - z-index: 1040; - width: 100vw; - height: 100vh; - background-color: #000; -} -.modal-backdrop.fade { - opacity: 0; -} -.modal-backdrop.show { - opacity: 0.5; -} -.modal-header { - display: -ms-flexbox; - display: flex; - -ms-flex-align: start; - align-items: flex-start; - -ms-flex-pack: justify; - justify-content: space-between; - padding: 1rem 1rem; - border-bottom: 1px solid #dee2e6; - border-top-left-radius: calc(0.3rem - 1px); - border-top-right-radius: calc(0.3rem - 1px); -} -.modal-header .close { - padding: 1rem 1rem; - margin: -1rem -1rem -1rem auto; -} -.modal-title { - margin-bottom: 0; - line-height: 1.5; -} -.modal-body { - position: relative; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - padding: 1rem; -} -.modal-footer { - display: -ms-flexbox; - display: flex; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -ms-flex-align: center; - align-items: center; - -ms-flex-pack: end; - justify-content: flex-end; - padding: 0.75rem; - border-top: 1px solid #dee2e6; - border-bottom-right-radius: calc(0.3rem - 1px); - border-bottom-left-radius: calc(0.3rem - 1px); -} -.modal-footer > * { - margin: 0.25rem; -} -.modal-scrollbar-measure { - position: absolute; - top: -9999px; - width: 50px; - height: 50px; - overflow: scroll; -} -@media (min-width: 576px) { - .modal-dialog { - max-width: 500px; - margin: 1.75rem auto; - } - .modal-dialog-scrollable { - max-height: calc(100% - 3.5rem); - } - .modal-dialog-scrollable .modal-content { - max-height: calc(100vh - 3.5rem); - } - .modal-dialog-centered { - min-height: calc(100% - 3.5rem); - } - .modal-dialog-centered::before { - height: calc(100vh - 3.5rem); - height: -webkit-min-content; - height: -moz-min-content; - height: min-content; - } - .modal-sm { - max-width: 300px; - } -} -@media (min-width: 992px) { - .modal-lg, - .modal-xl { - max-width: 800px; - } -} -@media (min-width: 1200px) { - .modal-xl { - max-width: 1140px; - } -} -.tooltip { - position: absolute; - z-index: 1070; - display: block; - margin: 0; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, - "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", - "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; - font-style: normal; - font-weight: 400; - line-height: 1.5; - text-align: left; - text-align: start; - text-decoration: none; - text-shadow: none; - text-transform: none; - letter-spacing: normal; - word-break: normal; - word-spacing: normal; - white-space: normal; - line-break: auto; - font-size: 0.875rem; - word-wrap: break-word; - opacity: 0; -} -.tooltip.show { - opacity: 0.9; -} -.tooltip .arrow { - position: absolute; - display: block; - width: 0.8rem; - height: 0.4rem; -} -.tooltip .arrow::before { - position: absolute; - content: ""; - border-color: transparent; - border-style: solid; -} -.bs-tooltip-auto[x-placement^="top"], -.bs-tooltip-top { - padding: 0.4rem 0; -} -.bs-tooltip-auto[x-placement^="top"] .arrow, -.bs-tooltip-top .arrow { - bottom: 0; -} -.bs-tooltip-auto[x-placement^="top"] .arrow::before, -.bs-tooltip-top .arrow::before { - top: 0; - border-width: 0.4rem 0.4rem 0; - border-top-color: #000; -} -.bs-tooltip-auto[x-placement^="right"], -.bs-tooltip-right { - padding: 0 0.4rem; -} -.bs-tooltip-auto[x-placement^="right"] .arrow, -.bs-tooltip-right .arrow { - left: 0; - width: 0.4rem; - height: 0.8rem; -} -.bs-tooltip-auto[x-placement^="right"] .arrow::before, -.bs-tooltip-right .arrow::before { - right: 0; - border-width: 0.4rem 0.4rem 0.4rem 0; - border-right-color: #000; -} -.bs-tooltip-auto[x-placement^="bottom"], -.bs-tooltip-bottom { - padding: 0.4rem 0; -} -.bs-tooltip-auto[x-placement^="bottom"] .arrow, -.bs-tooltip-bottom .arrow { - top: 0; -} -.bs-tooltip-auto[x-placement^="bottom"] .arrow::before, -.bs-tooltip-bottom .arrow::before { - bottom: 0; - border-width: 0 0.4rem 0.4rem; - border-bottom-color: #000; -} -.bs-tooltip-auto[x-placement^="left"], -.bs-tooltip-left { - padding: 0 0.4rem; -} -.bs-tooltip-auto[x-placement^="left"] .arrow, -.bs-tooltip-left .arrow { - right: 0; - width: 0.4rem; - height: 0.8rem; -} -.bs-tooltip-auto[x-placement^="left"] .arrow::before, -.bs-tooltip-left .arrow::before { - left: 0; - border-width: 0.4rem 0 0.4rem 0.4rem; - border-left-color: #000; -} -.tooltip-inner { - max-width: 200px; - padding: 0.25rem 0.5rem; - color: #fff; - text-align: center; - background-color: #000; - border-radius: 0.25rem; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1060; - display: block; - max-width: 276px; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, - "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", - "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; - font-style: normal; - font-weight: 400; - line-height: 1.5; - text-align: left; - text-align: start; - text-decoration: none; - text-shadow: none; - text-transform: none; - letter-spacing: normal; - word-break: normal; - word-spacing: normal; - white-space: normal; - line-break: auto; - font-size: 0.875rem; - word-wrap: break-word; - background-color: #fff; - background-clip: padding-box; - border: 1px solid rgba(0, 0, 0, 0.2); - border-radius: 0.3rem; -} -.popover .arrow { - position: absolute; - display: block; - width: 1rem; - height: 0.5rem; - margin: 0 0.3rem; -} -.popover .arrow::after, -.popover .arrow::before { - position: absolute; - display: block; - content: ""; - border-color: transparent; - border-style: solid; -} -.bs-popover-auto[x-placement^="top"], -.bs-popover-top { - margin-bottom: 0.5rem; -} -.bs-popover-auto[x-placement^="top"] > .arrow, -.bs-popover-top > .arrow { - bottom: calc(-0.5rem - 1px); -} -.bs-popover-auto[x-placement^="top"] > .arrow::before, -.bs-popover-top > .arrow::before { - bottom: 0; - border-width: 0.5rem 0.5rem 0; - border-top-color: rgba(0, 0, 0, 0.25); -} -.bs-popover-auto[x-placement^="top"] > .arrow::after, -.bs-popover-top > .arrow::after { - bottom: 1px; - border-width: 0.5rem 0.5rem 0; - border-top-color: #fff; -} -.bs-popover-auto[x-placement^="right"], -.bs-popover-right { - margin-left: 0.5rem; -} -.bs-popover-auto[x-placement^="right"] > .arrow, -.bs-popover-right > .arrow { - left: calc(-0.5rem - 1px); - width: 0.5rem; - height: 1rem; - margin: 0.3rem 0; -} -.bs-popover-auto[x-placement^="right"] > .arrow::before, -.bs-popover-right > .arrow::before { - left: 0; - border-width: 0.5rem 0.5rem 0.5rem 0; - border-right-color: rgba(0, 0, 0, 0.25); -} -.bs-popover-auto[x-placement^="right"] > .arrow::after, -.bs-popover-right > .arrow::after { - left: 1px; - border-width: 0.5rem 0.5rem 0.5rem 0; - border-right-color: #fff; -} -.bs-popover-auto[x-placement^="bottom"], -.bs-popover-bottom { - margin-top: 0.5rem; -} -.bs-popover-auto[x-placement^="bottom"] > .arrow, -.bs-popover-bottom > .arrow { - top: calc(-0.5rem - 1px); -} -.bs-popover-auto[x-placement^="bottom"] > .arrow::before, -.bs-popover-bottom > .arrow::before { - top: 0; - border-width: 0 0.5rem 0.5rem 0.5rem; - border-bottom-color: rgba(0, 0, 0, 0.25); -} -.bs-popover-auto[x-placement^="bottom"] > .arrow::after, -.bs-popover-bottom > .arrow::after { - top: 1px; - border-width: 0 0.5rem 0.5rem 0.5rem; - border-bottom-color: #fff; -} -.bs-popover-auto[x-placement^="bottom"] .popover-header::before, -.bs-popover-bottom .popover-header::before { - position: absolute; - top: 0; - left: 50%; - display: block; - width: 1rem; - margin-left: -0.5rem; - content: ""; - border-bottom: 1px solid #f7f7f7; -} -.bs-popover-auto[x-placement^="left"], -.bs-popover-left { - margin-right: 0.5rem; -} -.bs-popover-auto[x-placement^="left"] > .arrow, -.bs-popover-left > .arrow { - right: calc(-0.5rem - 1px); - width: 0.5rem; - height: 1rem; - margin: 0.3rem 0; -} -.bs-popover-auto[x-placement^="left"] > .arrow::before, -.bs-popover-left > .arrow::before { - right: 0; - border-width: 0.5rem 0 0.5rem 0.5rem; - border-left-color: rgba(0, 0, 0, 0.25); -} -.bs-popover-auto[x-placement^="left"] > .arrow::after, -.bs-popover-left > .arrow::after { - right: 1px; - border-width: 0.5rem 0 0.5rem 0.5rem; - border-left-color: #fff; -} -.popover-header { - padding: 0.5rem 0.75rem; - margin-bottom: 0; - font-size: 1rem; - background-color: #f7f7f7; - border-bottom: 1px solid #ebebeb; - border-top-left-radius: calc(0.3rem - 1px); - border-top-right-radius: calc(0.3rem - 1px); -} -.popover-header:empty { - display: none; -} -.popover-body { - padding: 0.5rem 0.75rem; - color: #212529; -} -.carousel { - position: relative; -} -.carousel.pointer-event { - -ms-touch-action: pan-y; - touch-action: pan-y; -} -.carousel-inner { - position: relative; - width: 100%; - overflow: hidden; -} -.carousel-inner::after { - display: block; - clear: both; - content: ""; -} -.carousel-item { - position: relative; - display: none; - float: left; - width: 100%; - margin-right: -100%; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; - transition: -webkit-transform 0.6s ease-in-out; - transition: transform 0.6s ease-in-out; - transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out; -} -@media (prefers-reduced-motion: reduce) { - .carousel-item { - transition: none; - } -} -.carousel-item-next, -.carousel-item-prev, -.carousel-item.active { - display: block; -} -.active.carousel-item-right, -.carousel-item-next:not(.carousel-item-left) { - -webkit-transform: translateX(100%); - transform: translateX(100%); -} -.active.carousel-item-left, -.carousel-item-prev:not(.carousel-item-right) { - -webkit-transform: translateX(-100%); - transform: translateX(-100%); -} -.carousel-fade .carousel-item { - opacity: 0; - transition-property: opacity; - -webkit-transform: none; - transform: none; -} -.carousel-fade .carousel-item-next.carousel-item-left, -.carousel-fade .carousel-item-prev.carousel-item-right, -.carousel-fade .carousel-item.active { - z-index: 1; - opacity: 1; -} -.carousel-fade .active.carousel-item-left, -.carousel-fade .active.carousel-item-right { - z-index: 0; - opacity: 0; - transition: opacity 0s 0.6s; -} -@media (prefers-reduced-motion: reduce) { - .carousel-fade .active.carousel-item-left, - .carousel-fade .active.carousel-item-right { - transition: none; - } -} -.carousel-control-next, -.carousel-control-prev { - position: absolute; - top: 0; - bottom: 0; - z-index: 1; - display: -ms-flexbox; - display: flex; - -ms-flex-align: center; - align-items: center; - -ms-flex-pack: center; - justify-content: center; - width: 15%; - color: #fff; - text-align: center; - opacity: 0.5; - transition: opacity 0.15s ease; -} -@media (prefers-reduced-motion: reduce) { - .carousel-control-next, - .carousel-control-prev { - transition: none; - } -} -.carousel-control-next:focus, -.carousel-control-next:hover, -.carousel-control-prev:focus, -.carousel-control-prev:hover { - color: #fff; - text-decoration: none; - outline: 0; - opacity: 0.9; -} -.carousel-control-prev { - left: 0; -} -.carousel-control-next { - right: 0; -} -.carousel-control-next-icon, -.carousel-control-prev-icon { - display: inline-block; - width: 20px; - height: 20px; - background: no-repeat 50%/100% 100%; -} -.carousel-control-prev-icon { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e"); -} -.carousel-control-next-icon { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e"); -} -.carousel-indicators { - position: absolute; - right: 0; - bottom: 0; - left: 0; - z-index: 15; - display: -ms-flexbox; - display: flex; - -ms-flex-pack: center; - justify-content: center; - padding-left: 0; - margin-right: 15%; - margin-left: 15%; - list-style: none; -} -.carousel-indicators li { - box-sizing: content-box; - -ms-flex: 0 1 auto; - flex: 0 1 auto; - width: 30px; - height: 3px; - margin-right: 3px; - margin-left: 3px; - text-indent: -999px; - cursor: pointer; - background-color: #fff; - background-clip: padding-box; - border-top: 10px solid transparent; - border-bottom: 10px solid transparent; - opacity: 0.5; - transition: opacity 0.6s ease; -} -@media (prefers-reduced-motion: reduce) { - .carousel-indicators li { - transition: none; - } -} -.carousel-indicators .active { - opacity: 1; -} -.carousel-caption { - position: absolute; - right: 15%; - bottom: 20px; - left: 15%; - z-index: 10; - padding-top: 20px; - padding-bottom: 20px; - color: #fff; - text-align: center; -} -@-webkit-keyframes spinner-border { - to { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} -@keyframes spinner-border { - to { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} -.spinner-border { - display: inline-block; - width: 2rem; - height: 2rem; - vertical-align: text-bottom; - border: 0.25em solid currentColor; - border-right-color: transparent; - border-radius: 50%; - -webkit-animation: spinner-border 0.75s linear infinite; - animation: spinner-border 0.75s linear infinite; -} -.spinner-border-sm { - width: 1rem; - height: 1rem; - border-width: 0.2em; -} -@-webkit-keyframes spinner-grow { - 0% { - -webkit-transform: scale(0); - transform: scale(0); - } - 50% { - opacity: 1; - -webkit-transform: none; - transform: none; - } -} -@keyframes spinner-grow { - 0% { - -webkit-transform: scale(0); - transform: scale(0); - } - 50% { - opacity: 1; - -webkit-transform: none; - transform: none; - } -} -.spinner-grow { - display: inline-block; - width: 2rem; - height: 2rem; - vertical-align: text-bottom; - background-color: currentColor; - border-radius: 50%; - opacity: 0; - -webkit-animation: spinner-grow 0.75s linear infinite; - animation: spinner-grow 0.75s linear infinite; -} -.spinner-grow-sm { - width: 1rem; - height: 1rem; -} -.align-baseline { - vertical-align: baseline !important; -} -.align-top { - vertical-align: top !important; -} -.align-middle { - vertical-align: middle !important; -} -.align-bottom { - vertical-align: bottom !important; -} -.align-text-bottom { - vertical-align: text-bottom !important; -} -.align-text-top { - vertical-align: text-top !important; -} -.bg-primary { - background-color: #007bff !important; -} -a.bg-primary:focus, -a.bg-primary:hover, -button.bg-primary:focus, -button.bg-primary:hover { - background-color: #0062cc !important; -} -.bg-secondary { - background-color: #6c757d !important; -} -a.bg-secondary:focus, -a.bg-secondary:hover, -button.bg-secondary:focus, -button.bg-secondary:hover { - background-color: #545b62 !important; -} -.bg-success { - background-color: #28a745 !important; -} -a.bg-success:focus, -a.bg-success:hover, -button.bg-success:focus, -button.bg-success:hover { - background-color: #1e7e34 !important; -} -.bg-info { - background-color: #17a2b8 !important; -} -a.bg-info:focus, -a.bg-info:hover, -button.bg-info:focus, -button.bg-info:hover { - background-color: #117a8b !important; -} -.bg-warning { - background-color: #ffc107 !important; -} -a.bg-warning:focus, -a.bg-warning:hover, -button.bg-warning:focus, -button.bg-warning:hover { - background-color: #d39e00 !important; -} -.bg-danger { - background-color: #dc3545 !important; -} -a.bg-danger:focus, -a.bg-danger:hover, -button.bg-danger:focus, -button.bg-danger:hover { - background-color: #bd2130 !important; -} -.bg-light { - background-color: #f8f9fa !important; -} -a.bg-light:focus, -a.bg-light:hover, -button.bg-light:focus, -button.bg-light:hover { - background-color: #dae0e5 !important; -} -.bg-dark { - background-color: #343a40 !important; -} -a.bg-dark:focus, -a.bg-dark:hover, -button.bg-dark:focus, -button.bg-dark:hover { - background-color: #1d2124 !important; -} -.bg-white { - background-color: #fff !important; -} -.bg-transparent { - background-color: transparent !important; -} -.border { - border: 1px solid #dee2e6 !important; -} -.border-top { - border-top: 1px solid #dee2e6 !important; -} -.border-right { - border-right: 1px solid #dee2e6 !important; -} -.border-bottom { - border-bottom: 1px solid #dee2e6 !important; -} -.border-left { - border-left: 1px solid #dee2e6 !important; -} -.border-0 { - border: 0 !important; -} -.border-top-0 { - border-top: 0 !important; -} -.border-right-0 { - border-right: 0 !important; -} -.border-bottom-0 { - border-bottom: 0 !important; -} -.border-left-0 { - border-left: 0 !important; -} -.border-primary { - border-color: #007bff !important; -} -.border-secondary { - border-color: #6c757d !important; -} -.border-success { - border-color: #28a745 !important; -} -.border-info { - border-color: #17a2b8 !important; -} -.border-warning { - border-color: #ffc107 !important; -} -.border-danger { - border-color: #dc3545 !important; -} -.border-light { - border-color: #f8f9fa !important; -} -.border-dark { - border-color: #343a40 !important; -} -.border-white { - border-color: #fff !important; -} -.rounded-sm { - border-radius: 0.2rem !important; -} -.rounded { - border-radius: 0.25rem !important; -} -.rounded-top { - border-top-left-radius: 0.25rem !important; - border-top-right-radius: 0.25rem !important; -} -.rounded-right { - border-top-right-radius: 0.25rem !important; - border-bottom-right-radius: 0.25rem !important; -} -.rounded-bottom { - border-bottom-right-radius: 0.25rem !important; - border-bottom-left-radius: 0.25rem !important; -} -.rounded-left { - border-top-left-radius: 0.25rem !important; - border-bottom-left-radius: 0.25rem !important; -} -.rounded-lg { - border-radius: 0.3rem !important; -} -.rounded-circle { - border-radius: 50% !important; -} -.rounded-pill { - border-radius: 50rem !important; -} -.rounded-0 { - border-radius: 0 !important; -} -.clearfix::after { - display: block; - clear: both; - content: ""; -} -.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: -ms-flexbox !important; - display: flex !important; -} -.d-inline-flex { - display: -ms-inline-flexbox !important; - display: inline-flex !important; -} -@media (min-width: 576px) { - .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: -ms-flexbox !important; - display: flex !important; - } - .d-sm-inline-flex { - display: -ms-inline-flexbox !important; - display: inline-flex !important; - } -} -@media (min-width: 768px) { - .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: -ms-flexbox !important; - display: flex !important; - } - .d-md-inline-flex { - display: -ms-inline-flexbox !important; - display: inline-flex !important; - } -} -@media (min-width: 992px) { - .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: -ms-flexbox !important; - display: flex !important; - } - .d-lg-inline-flex { - display: -ms-inline-flexbox !important; - display: inline-flex !important; - } -} -@media (min-width: 1200px) { - .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: -ms-flexbox !important; - display: flex !important; - } - .d-xl-inline-flex { - display: -ms-inline-flexbox !important; - display: inline-flex !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: -ms-flexbox !important; - display: flex !important; - } - .d-print-inline-flex { - display: -ms-inline-flexbox !important; - display: inline-flex !important; - } -} -.embed-responsive { - position: relative; - display: block; - width: 100%; - padding: 0; - overflow: hidden; -} -.embed-responsive::before { - display: block; - content: ""; -} -.embed-responsive .embed-responsive-item, -.embed-responsive embed, -.embed-responsive iframe, -.embed-responsive object, -.embed-responsive video { - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - border: 0; -} -.embed-responsive-21by9::before { - padding-top: 42.857143%; -} -.embed-responsive-16by9::before { - padding-top: 56.25%; -} -.embed-responsive-4by3::before { - padding-top: 75%; -} -.embed-responsive-1by1::before { - padding-top: 100%; -} -.flex-row { - -ms-flex-direction: row !important; - flex-direction: row !important; -} -.flex-column { - -ms-flex-direction: column !important; - flex-direction: column !important; -} -.flex-row-reverse { - -ms-flex-direction: row-reverse !important; - flex-direction: row-reverse !important; -} -.flex-column-reverse { - -ms-flex-direction: column-reverse !important; - flex-direction: column-reverse !important; -} -.flex-wrap { - -ms-flex-wrap: wrap !important; - flex-wrap: wrap !important; -} -.flex-nowrap { - -ms-flex-wrap: nowrap !important; - flex-wrap: nowrap !important; -} -.flex-wrap-reverse { - -ms-flex-wrap: wrap-reverse !important; - flex-wrap: wrap-reverse !important; -} -.flex-fill { - -ms-flex: 1 1 auto !important; - flex: 1 1 auto !important; -} -.flex-grow-0 { - -ms-flex-positive: 0 !important; - flex-grow: 0 !important; -} -.flex-grow-1 { - -ms-flex-positive: 1 !important; - flex-grow: 1 !important; -} -.flex-shrink-0 { - -ms-flex-negative: 0 !important; - flex-shrink: 0 !important; -} -.flex-shrink-1 { - -ms-flex-negative: 1 !important; - flex-shrink: 1 !important; -} -.justify-content-start { - -ms-flex-pack: start !important; - justify-content: flex-start !important; -} -.justify-content-end { - -ms-flex-pack: end !important; - justify-content: flex-end !important; -} -.justify-content-center { - -ms-flex-pack: center !important; - justify-content: center !important; -} -.justify-content-between { - -ms-flex-pack: justify !important; - justify-content: space-between !important; -} -.justify-content-around { - -ms-flex-pack: distribute !important; - justify-content: space-around !important; -} -.align-items-start { - -ms-flex-align: start !important; - align-items: flex-start !important; -} -.align-items-end { - -ms-flex-align: end !important; - align-items: flex-end !important; -} -.align-items-center { - -ms-flex-align: center !important; - align-items: center !important; -} -.align-items-baseline { - -ms-flex-align: baseline !important; - align-items: baseline !important; -} -.align-items-stretch { - -ms-flex-align: stretch !important; - align-items: stretch !important; -} -.align-content-start { - -ms-flex-line-pack: start !important; - align-content: flex-start !important; -} -.align-content-end { - -ms-flex-line-pack: end !important; - align-content: flex-end !important; -} -.align-content-center { - -ms-flex-line-pack: center !important; - align-content: center !important; -} -.align-content-between { - -ms-flex-line-pack: justify !important; - align-content: space-between !important; -} -.align-content-around { - -ms-flex-line-pack: distribute !important; - align-content: space-around !important; -} -.align-content-stretch { - -ms-flex-line-pack: stretch !important; - align-content: stretch !important; -} -.align-self-auto { - -ms-flex-item-align: auto !important; - align-self: auto !important; -} -.align-self-start { - -ms-flex-item-align: start !important; - align-self: flex-start !important; -} -.align-self-end { - -ms-flex-item-align: end !important; - align-self: flex-end !important; -} -.align-self-center { - -ms-flex-item-align: center !important; - align-self: center !important; -} -.align-self-baseline { - -ms-flex-item-align: baseline !important; - align-self: baseline !important; -} -.align-self-stretch { - -ms-flex-item-align: stretch !important; - align-self: stretch !important; -} -@media (min-width: 576px) { - .flex-sm-row { - -ms-flex-direction: row !important; - flex-direction: row !important; - } - .flex-sm-column { - -ms-flex-direction: column !important; - flex-direction: column !important; - } - .flex-sm-row-reverse { - -ms-flex-direction: row-reverse !important; - flex-direction: row-reverse !important; - } - .flex-sm-column-reverse { - -ms-flex-direction: column-reverse !important; - flex-direction: column-reverse !important; - } - .flex-sm-wrap { - -ms-flex-wrap: wrap !important; - flex-wrap: wrap !important; - } - .flex-sm-nowrap { - -ms-flex-wrap: nowrap !important; - flex-wrap: nowrap !important; - } - .flex-sm-wrap-reverse { - -ms-flex-wrap: wrap-reverse !important; - flex-wrap: wrap-reverse !important; - } - .flex-sm-fill { - -ms-flex: 1 1 auto !important; - flex: 1 1 auto !important; - } - .flex-sm-grow-0 { - -ms-flex-positive: 0 !important; - flex-grow: 0 !important; - } - .flex-sm-grow-1 { - -ms-flex-positive: 1 !important; - flex-grow: 1 !important; - } - .flex-sm-shrink-0 { - -ms-flex-negative: 0 !important; - flex-shrink: 0 !important; - } - .flex-sm-shrink-1 { - -ms-flex-negative: 1 !important; - flex-shrink: 1 !important; - } - .justify-content-sm-start { - -ms-flex-pack: start !important; - justify-content: flex-start !important; - } - .justify-content-sm-end { - -ms-flex-pack: end !important; - justify-content: flex-end !important; - } - .justify-content-sm-center { - -ms-flex-pack: center !important; - justify-content: center !important; - } - .justify-content-sm-between { - -ms-flex-pack: justify !important; - justify-content: space-between !important; - } - .justify-content-sm-around { - -ms-flex-pack: distribute !important; - justify-content: space-around !important; - } - .align-items-sm-start { - -ms-flex-align: start !important; - align-items: flex-start !important; - } - .align-items-sm-end { - -ms-flex-align: end !important; - align-items: flex-end !important; - } - .align-items-sm-center { - -ms-flex-align: center !important; - align-items: center !important; - } - .align-items-sm-baseline { - -ms-flex-align: baseline !important; - align-items: baseline !important; - } - .align-items-sm-stretch { - -ms-flex-align: stretch !important; - align-items: stretch !important; - } - .align-content-sm-start { - -ms-flex-line-pack: start !important; - align-content: flex-start !important; - } - .align-content-sm-end { - -ms-flex-line-pack: end !important; - align-content: flex-end !important; - } - .align-content-sm-center { - -ms-flex-line-pack: center !important; - align-content: center !important; - } - .align-content-sm-between { - -ms-flex-line-pack: justify !important; - align-content: space-between !important; - } - .align-content-sm-around { - -ms-flex-line-pack: distribute !important; - align-content: space-around !important; - } - .align-content-sm-stretch { - -ms-flex-line-pack: stretch !important; - align-content: stretch !important; - } - .align-self-sm-auto { - -ms-flex-item-align: auto !important; - align-self: auto !important; - } - .align-self-sm-start { - -ms-flex-item-align: start !important; - align-self: flex-start !important; - } - .align-self-sm-end { - -ms-flex-item-align: end !important; - align-self: flex-end !important; - } - .align-self-sm-center { - -ms-flex-item-align: center !important; - align-self: center !important; - } - .align-self-sm-baseline { - -ms-flex-item-align: baseline !important; - align-self: baseline !important; - } - .align-self-sm-stretch { - -ms-flex-item-align: stretch !important; - align-self: stretch !important; - } -} -@media (min-width: 768px) { - .flex-md-row { - -ms-flex-direction: row !important; - flex-direction: row !important; - } - .flex-md-column { - -ms-flex-direction: column !important; - flex-direction: column !important; - } - .flex-md-row-reverse { - -ms-flex-direction: row-reverse !important; - flex-direction: row-reverse !important; - } - .flex-md-column-reverse { - -ms-flex-direction: column-reverse !important; - flex-direction: column-reverse !important; - } - .flex-md-wrap { - -ms-flex-wrap: wrap !important; - flex-wrap: wrap !important; - } - .flex-md-nowrap { - -ms-flex-wrap: nowrap !important; - flex-wrap: nowrap !important; - } - .flex-md-wrap-reverse { - -ms-flex-wrap: wrap-reverse !important; - flex-wrap: wrap-reverse !important; - } - .flex-md-fill { - -ms-flex: 1 1 auto !important; - flex: 1 1 auto !important; - } - .flex-md-grow-0 { - -ms-flex-positive: 0 !important; - flex-grow: 0 !important; - } - .flex-md-grow-1 { - -ms-flex-positive: 1 !important; - flex-grow: 1 !important; - } - .flex-md-shrink-0 { - -ms-flex-negative: 0 !important; - flex-shrink: 0 !important; - } - .flex-md-shrink-1 { - -ms-flex-negative: 1 !important; - flex-shrink: 1 !important; - } - .justify-content-md-start { - -ms-flex-pack: start !important; - justify-content: flex-start !important; - } - .justify-content-md-end { - -ms-flex-pack: end !important; - justify-content: flex-end !important; - } - .justify-content-md-center { - -ms-flex-pack: center !important; - justify-content: center !important; - } - .justify-content-md-between { - -ms-flex-pack: justify !important; - justify-content: space-between !important; - } - .justify-content-md-around { - -ms-flex-pack: distribute !important; - justify-content: space-around !important; - } - .align-items-md-start { - -ms-flex-align: start !important; - align-items: flex-start !important; - } - .align-items-md-end { - -ms-flex-align: end !important; - align-items: flex-end !important; - } - .align-items-md-center { - -ms-flex-align: center !important; - align-items: center !important; - } - .align-items-md-baseline { - -ms-flex-align: baseline !important; - align-items: baseline !important; - } - .align-items-md-stretch { - -ms-flex-align: stretch !important; - align-items: stretch !important; - } - .align-content-md-start { - -ms-flex-line-pack: start !important; - align-content: flex-start !important; - } - .align-content-md-end { - -ms-flex-line-pack: end !important; - align-content: flex-end !important; - } - .align-content-md-center { - -ms-flex-line-pack: center !important; - align-content: center !important; - } - .align-content-md-between { - -ms-flex-line-pack: justify !important; - align-content: space-between !important; - } - .align-content-md-around { - -ms-flex-line-pack: distribute !important; - align-content: space-around !important; - } - .align-content-md-stretch { - -ms-flex-line-pack: stretch !important; - align-content: stretch !important; - } - .align-self-md-auto { - -ms-flex-item-align: auto !important; - align-self: auto !important; - } - .align-self-md-start { - -ms-flex-item-align: start !important; - align-self: flex-start !important; - } - .align-self-md-end { - -ms-flex-item-align: end !important; - align-self: flex-end !important; - } - .align-self-md-center { - -ms-flex-item-align: center !important; - align-self: center !important; - } - .align-self-md-baseline { - -ms-flex-item-align: baseline !important; - align-self: baseline !important; - } - .align-self-md-stretch { - -ms-flex-item-align: stretch !important; - align-self: stretch !important; - } -} -@media (min-width: 992px) { - .flex-lg-row { - -ms-flex-direction: row !important; - flex-direction: row !important; - } - .flex-lg-column { - -ms-flex-direction: column !important; - flex-direction: column !important; - } - .flex-lg-row-reverse { - -ms-flex-direction: row-reverse !important; - flex-direction: row-reverse !important; - } - .flex-lg-column-reverse { - -ms-flex-direction: column-reverse !important; - flex-direction: column-reverse !important; - } - .flex-lg-wrap { - -ms-flex-wrap: wrap !important; - flex-wrap: wrap !important; - } - .flex-lg-nowrap { - -ms-flex-wrap: nowrap !important; - flex-wrap: nowrap !important; - } - .flex-lg-wrap-reverse { - -ms-flex-wrap: wrap-reverse !important; - flex-wrap: wrap-reverse !important; - } - .flex-lg-fill { - -ms-flex: 1 1 auto !important; - flex: 1 1 auto !important; - } - .flex-lg-grow-0 { - -ms-flex-positive: 0 !important; - flex-grow: 0 !important; - } - .flex-lg-grow-1 { - -ms-flex-positive: 1 !important; - flex-grow: 1 !important; - } - .flex-lg-shrink-0 { - -ms-flex-negative: 0 !important; - flex-shrink: 0 !important; - } - .flex-lg-shrink-1 { - -ms-flex-negative: 1 !important; - flex-shrink: 1 !important; - } - .justify-content-lg-start { - -ms-flex-pack: start !important; - justify-content: flex-start !important; - } - .justify-content-lg-end { - -ms-flex-pack: end !important; - justify-content: flex-end !important; - } - .justify-content-lg-center { - -ms-flex-pack: center !important; - justify-content: center !important; - } - .justify-content-lg-between { - -ms-flex-pack: justify !important; - justify-content: space-between !important; - } - .justify-content-lg-around { - -ms-flex-pack: distribute !important; - justify-content: space-around !important; - } - .align-items-lg-start { - -ms-flex-align: start !important; - align-items: flex-start !important; - } - .align-items-lg-end { - -ms-flex-align: end !important; - align-items: flex-end !important; - } - .align-items-lg-center { - -ms-flex-align: center !important; - align-items: center !important; - } - .align-items-lg-baseline { - -ms-flex-align: baseline !important; - align-items: baseline !important; - } - .align-items-lg-stretch { - -ms-flex-align: stretch !important; - align-items: stretch !important; - } - .align-content-lg-start { - -ms-flex-line-pack: start !important; - align-content: flex-start !important; - } - .align-content-lg-end { - -ms-flex-line-pack: end !important; - align-content: flex-end !important; - } - .align-content-lg-center { - -ms-flex-line-pack: center !important; - align-content: center !important; - } - .align-content-lg-between { - -ms-flex-line-pack: justify !important; - align-content: space-between !important; - } - .align-content-lg-around { - -ms-flex-line-pack: distribute !important; - align-content: space-around !important; - } - .align-content-lg-stretch { - -ms-flex-line-pack: stretch !important; - align-content: stretch !important; - } - .align-self-lg-auto { - -ms-flex-item-align: auto !important; - align-self: auto !important; - } - .align-self-lg-start { - -ms-flex-item-align: start !important; - align-self: flex-start !important; - } - .align-self-lg-end { - -ms-flex-item-align: end !important; - align-self: flex-end !important; - } - .align-self-lg-center { - -ms-flex-item-align: center !important; - align-self: center !important; - } - .align-self-lg-baseline { - -ms-flex-item-align: baseline !important; - align-self: baseline !important; - } - .align-self-lg-stretch { - -ms-flex-item-align: stretch !important; - align-self: stretch !important; - } -} -@media (min-width: 1200px) { - .flex-xl-row { - -ms-flex-direction: row !important; - flex-direction: row !important; - } - .flex-xl-column { - -ms-flex-direction: column !important; - flex-direction: column !important; - } - .flex-xl-row-reverse { - -ms-flex-direction: row-reverse !important; - flex-direction: row-reverse !important; - } - .flex-xl-column-reverse { - -ms-flex-direction: column-reverse !important; - flex-direction: column-reverse !important; - } - .flex-xl-wrap { - -ms-flex-wrap: wrap !important; - flex-wrap: wrap !important; - } - .flex-xl-nowrap { - -ms-flex-wrap: nowrap !important; - flex-wrap: nowrap !important; - } - .flex-xl-wrap-reverse { - -ms-flex-wrap: wrap-reverse !important; - flex-wrap: wrap-reverse !important; - } - .flex-xl-fill { - -ms-flex: 1 1 auto !important; - flex: 1 1 auto !important; - } - .flex-xl-grow-0 { - -ms-flex-positive: 0 !important; - flex-grow: 0 !important; - } - .flex-xl-grow-1 { - -ms-flex-positive: 1 !important; - flex-grow: 1 !important; - } - .flex-xl-shrink-0 { - -ms-flex-negative: 0 !important; - flex-shrink: 0 !important; - } - .flex-xl-shrink-1 { - -ms-flex-negative: 1 !important; - flex-shrink: 1 !important; - } - .justify-content-xl-start { - -ms-flex-pack: start !important; - justify-content: flex-start !important; - } - .justify-content-xl-end { - -ms-flex-pack: end !important; - justify-content: flex-end !important; - } - .justify-content-xl-center { - -ms-flex-pack: center !important; - justify-content: center !important; - } - .justify-content-xl-between { - -ms-flex-pack: justify !important; - justify-content: space-between !important; - } - .justify-content-xl-around { - -ms-flex-pack: distribute !important; - justify-content: space-around !important; - } - .align-items-xl-start { - -ms-flex-align: start !important; - align-items: flex-start !important; - } - .align-items-xl-end { - -ms-flex-align: end !important; - align-items: flex-end !important; - } - .align-items-xl-center { - -ms-flex-align: center !important; - align-items: center !important; - } - .align-items-xl-baseline { - -ms-flex-align: baseline !important; - align-items: baseline !important; - } - .align-items-xl-stretch { - -ms-flex-align: stretch !important; - align-items: stretch !important; - } - .align-content-xl-start { - -ms-flex-line-pack: start !important; - align-content: flex-start !important; - } - .align-content-xl-end { - -ms-flex-line-pack: end !important; - align-content: flex-end !important; - } - .align-content-xl-center { - -ms-flex-line-pack: center !important; - align-content: center !important; - } - .align-content-xl-between { - -ms-flex-line-pack: justify !important; - align-content: space-between !important; - } - .align-content-xl-around { - -ms-flex-line-pack: distribute !important; - align-content: space-around !important; - } - .align-content-xl-stretch { - -ms-flex-line-pack: stretch !important; - align-content: stretch !important; - } - .align-self-xl-auto { - -ms-flex-item-align: auto !important; - align-self: auto !important; - } - .align-self-xl-start { - -ms-flex-item-align: start !important; - align-self: flex-start !important; - } - .align-self-xl-end { - -ms-flex-item-align: end !important; - align-self: flex-end !important; - } - .align-self-xl-center { - -ms-flex-item-align: center !important; - align-self: center !important; - } - .align-self-xl-baseline { - -ms-flex-item-align: baseline !important; - align-self: baseline !important; - } - .align-self-xl-stretch { - -ms-flex-item-align: stretch !important; - align-self: stretch !important; - } -} -.float-left { - float: left !important; -} -.float-right { - float: right !important; -} -.float-none { - float: none !important; -} -@media (min-width: 576px) { - .float-sm-left { - float: left !important; - } - .float-sm-right { - float: right !important; - } - .float-sm-none { - float: none !important; - } -} -@media (min-width: 768px) { - .float-md-left { - float: left !important; - } - .float-md-right { - float: right !important; - } - .float-md-none { - float: none !important; - } -} -@media (min-width: 992px) { - .float-lg-left { - float: left !important; - } - .float-lg-right { - float: right !important; - } - .float-lg-none { - float: none !important; - } -} -@media (min-width: 1200px) { - .float-xl-left { - float: left !important; - } - .float-xl-right { - float: right !important; - } - .float-xl-none { - float: none !important; - } -} -.user-select-all { - -webkit-user-select: all !important; - -moz-user-select: all !important; - -ms-user-select: all !important; - user-select: all !important; -} -.user-select-auto { - -webkit-user-select: auto !important; - -moz-user-select: auto !important; - -ms-user-select: auto !important; - user-select: auto !important; -} -.user-select-none { - -webkit-user-select: none !important; - -moz-user-select: none !important; - -ms-user-select: none !important; - user-select: none !important; -} -.overflow-auto { - overflow: auto !important; -} -.overflow-hidden { - overflow: hidden !important; -} -.position-static { - position: static !important; -} -.position-relative { - position: relative !important; -} -.position-absolute { - position: absolute !important; -} -.position-fixed { - position: fixed !important; -} -.position-sticky { - position: -webkit-sticky !important; - position: sticky !important; -} -.fixed-top { - position: fixed; - top: 0; - right: 0; - left: 0; - z-index: 1030; -} -.fixed-bottom { - position: fixed; - right: 0; - bottom: 0; - left: 0; - z-index: 1030; -} -@supports ((position: -webkit-sticky) or (position: sticky)) { - .sticky-top { - position: -webkit-sticky; - position: sticky; - top: 0; - z-index: 1020; - } -} -.sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border: 0; -} -.sr-only-focusable:active, -.sr-only-focusable:focus { - position: static; - width: auto; - height: auto; - overflow: visible; - clip: auto; - white-space: normal; -} -.shadow-sm { - box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; -} -.shadow { - box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; -} -.shadow-lg { - box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; -} -.shadow-none { - box-shadow: none !important; -} -.w-25 { - width: 25% !important; -} -.w-50 { - width: 50% !important; -} -.w-75 { - width: 75% !important; -} -.w-100 { - width: 100% !important; -} -.w-auto { - width: auto !important; -} -.h-25 { - height: 25% !important; -} -.h-50 { - height: 50% !important; -} -.h-75 { - height: 75% !important; -} -.h-100 { - height: 100% !important; -} -.h-auto { - height: auto !important; -} -.mw-100 { - max-width: 100% !important; -} -.mh-100 { - max-height: 100% !important; -} -.min-vw-100 { - min-width: 100vw !important; -} -.min-vh-100 { - min-height: 100vh !important; -} -.vw-100 { - width: 100vw !important; -} -.vh-100 { - height: 100vh !important; -} -.m-0 { - margin: 0 !important; -} -.mt-0, -.my-0 { - margin-top: 0 !important; -} -.mr-0, -.mx-0 { - margin-right: 0 !important; -} -.mb-0, -.my-0 { - margin-bottom: 0 !important; -} -.ml-0, -.mx-0 { - margin-left: 0 !important; -} -.m-1 { - margin: 0.25rem !important; -} -.mt-1, -.my-1 { - margin-top: 0.25rem !important; -} -.mr-1, -.mx-1 { - margin-right: 0.25rem !important; -} -.mb-1, -.my-1 { - margin-bottom: 0.25rem !important; -} -.ml-1, -.mx-1 { - margin-left: 0.25rem !important; -} -.m-2 { - margin: 0.5rem !important; -} -.mt-2, -.my-2 { - margin-top: 0.5rem !important; -} -.mr-2, -.mx-2 { - margin-right: 0.5rem !important; -} -.mb-2, -.my-2 { - margin-bottom: 0.5rem !important; -} -.ml-2, -.mx-2 { - margin-left: 0.5rem !important; -} -.m-3 { - margin: 1rem !important; -} -.mt-3, -.my-3 { - margin-top: 1rem !important; -} -.mr-3, -.mx-3 { - margin-right: 1rem !important; -} -.mb-3, -.my-3 { - margin-bottom: 1rem !important; -} -.ml-3, -.mx-3 { - margin-left: 1rem !important; -} -.m-4 { - margin: 1.5rem !important; -} -.mt-4, -.my-4 { - margin-top: 1.5rem !important; -} -.mr-4, -.mx-4 { - margin-right: 1.5rem !important; -} -.mb-4, -.my-4 { - margin-bottom: 1.5rem !important; -} -.ml-4, -.mx-4 { - margin-left: 1.5rem !important; -} -.m-5 { - margin: 3rem !important; -} -.mt-5, -.my-5 { - margin-top: 3rem !important; -} -.mr-5, -.mx-5 { - margin-right: 3rem !important; -} -.mb-5, -.my-5 { - margin-bottom: 3rem !important; -} -.ml-5, -.mx-5 { - margin-left: 3rem !important; -} -.p-0 { - padding: 0 !important; -} -.pt-0, -.py-0 { - padding-top: 0 !important; -} -.pr-0, -.px-0 { - padding-right: 0 !important; -} -.pb-0, -.py-0 { - padding-bottom: 0 !important; -} -.pl-0, -.px-0 { - padding-left: 0 !important; -} -.p-1 { - padding: 0.25rem !important; -} -.pt-1, -.py-1 { - padding-top: 0.25rem !important; -} -.pr-1, -.px-1 { - padding-right: 0.25rem !important; -} -.pb-1, -.py-1 { - padding-bottom: 0.25rem !important; -} -.pl-1, -.px-1 { - padding-left: 0.25rem !important; -} -.p-2 { - padding: 0.5rem !important; -} -.pt-2, -.py-2 { - padding-top: 0.5rem !important; -} -.pr-2, -.px-2 { - padding-right: 0.5rem !important; -} -.pb-2, -.py-2 { - padding-bottom: 0.5rem !important; -} -.pl-2, -.px-2 { - padding-left: 0.5rem !important; -} -.p-3 { - padding: 1rem !important; -} -.pt-3, -.py-3 { - padding-top: 1rem !important; -} -.pr-3, -.px-3 { - padding-right: 1rem !important; -} -.pb-3, -.py-3 { - padding-bottom: 1rem !important; -} -.pl-3, -.px-3 { - padding-left: 1rem !important; -} -.p-4 { - padding: 1.5rem !important; -} -.pt-4, -.py-4 { - padding-top: 1.5rem !important; -} -.pr-4, -.px-4 { - padding-right: 1.5rem !important; -} -.pb-4, -.py-4 { - padding-bottom: 1.5rem !important; -} -.pl-4, -.px-4 { - padding-left: 1.5rem !important; -} -.p-5 { - padding: 3rem !important; -} -.pt-5, -.py-5 { - padding-top: 3rem !important; -} -.pr-5, -.px-5 { - padding-right: 3rem !important; -} -.pb-5, -.py-5 { - padding-bottom: 3rem !important; -} -.pl-5, -.px-5 { - padding-left: 3rem !important; -} -.m-n1 { - margin: -0.25rem !important; -} -.mt-n1, -.my-n1 { - margin-top: -0.25rem !important; -} -.mr-n1, -.mx-n1 { - margin-right: -0.25rem !important; -} -.mb-n1, -.my-n1 { - margin-bottom: -0.25rem !important; -} -.ml-n1, -.mx-n1 { - margin-left: -0.25rem !important; -} -.m-n2 { - margin: -0.5rem !important; -} -.mt-n2, -.my-n2 { - margin-top: -0.5rem !important; -} -.mr-n2, -.mx-n2 { - margin-right: -0.5rem !important; -} -.mb-n2, -.my-n2 { - margin-bottom: -0.5rem !important; -} -.ml-n2, -.mx-n2 { - margin-left: -0.5rem !important; -} -.m-n3 { - margin: -1rem !important; -} -.mt-n3, -.my-n3 { - margin-top: -1rem !important; -} -.mr-n3, -.mx-n3 { - margin-right: -1rem !important; -} -.mb-n3, -.my-n3 { - margin-bottom: -1rem !important; -} -.ml-n3, -.mx-n3 { - margin-left: -1rem !important; -} -.m-n4 { - margin: -1.5rem !important; -} -.mt-n4, -.my-n4 { - margin-top: -1.5rem !important; -} -.mr-n4, -.mx-n4 { - margin-right: -1.5rem !important; -} -.mb-n4, -.my-n4 { - margin-bottom: -1.5rem !important; -} -.ml-n4, -.mx-n4 { - margin-left: -1.5rem !important; -} -.m-n5 { - margin: -3rem !important; -} -.mt-n5, -.my-n5 { - margin-top: -3rem !important; -} -.mr-n5, -.mx-n5 { - margin-right: -3rem !important; -} -.mb-n5, -.my-n5 { - margin-bottom: -3rem !important; -} -.ml-n5, -.mx-n5 { - margin-left: -3rem !important; -} -.m-auto { - margin: auto !important; -} -.mt-auto, -.my-auto { - margin-top: auto !important; -} -.mr-auto, -.mx-auto { - margin-right: auto !important; -} -.mb-auto, -.my-auto { - margin-bottom: auto !important; -} -.ml-auto, -.mx-auto { - margin-left: auto !important; -} -@media (min-width: 576px) { - .m-sm-0 { - margin: 0 !important; - } - .mt-sm-0, - .my-sm-0 { - margin-top: 0 !important; - } - .mr-sm-0, - .mx-sm-0 { - margin-right: 0 !important; - } - .mb-sm-0, - .my-sm-0 { - margin-bottom: 0 !important; - } - .ml-sm-0, - .mx-sm-0 { - margin-left: 0 !important; - } - .m-sm-1 { - margin: 0.25rem !important; - } - .mt-sm-1, - .my-sm-1 { - margin-top: 0.25rem !important; - } - .mr-sm-1, - .mx-sm-1 { - margin-right: 0.25rem !important; - } - .mb-sm-1, - .my-sm-1 { - margin-bottom: 0.25rem !important; - } - .ml-sm-1, - .mx-sm-1 { - margin-left: 0.25rem !important; - } - .m-sm-2 { - margin: 0.5rem !important; - } - .mt-sm-2, - .my-sm-2 { - margin-top: 0.5rem !important; - } - .mr-sm-2, - .mx-sm-2 { - margin-right: 0.5rem !important; - } - .mb-sm-2, - .my-sm-2 { - margin-bottom: 0.5rem !important; - } - .ml-sm-2, - .mx-sm-2 { - margin-left: 0.5rem !important; - } - .m-sm-3 { - margin: 1rem !important; - } - .mt-sm-3, - .my-sm-3 { - margin-top: 1rem !important; - } - .mr-sm-3, - .mx-sm-3 { - margin-right: 1rem !important; - } - .mb-sm-3, - .my-sm-3 { - margin-bottom: 1rem !important; - } - .ml-sm-3, - .mx-sm-3 { - margin-left: 1rem !important; - } - .m-sm-4 { - margin: 1.5rem !important; - } - .mt-sm-4, - .my-sm-4 { - margin-top: 1.5rem !important; - } - .mr-sm-4, - .mx-sm-4 { - margin-right: 1.5rem !important; - } - .mb-sm-4, - .my-sm-4 { - margin-bottom: 1.5rem !important; - } - .ml-sm-4, - .mx-sm-4 { - margin-left: 1.5rem !important; - } - .m-sm-5 { - margin: 3rem !important; - } - .mt-sm-5, - .my-sm-5 { - margin-top: 3rem !important; - } - .mr-sm-5, - .mx-sm-5 { - margin-right: 3rem !important; - } - .mb-sm-5, - .my-sm-5 { - margin-bottom: 3rem !important; - } - .ml-sm-5, - .mx-sm-5 { - margin-left: 3rem !important; - } - .p-sm-0 { - padding: 0 !important; - } - .pt-sm-0, - .py-sm-0 { - padding-top: 0 !important; - } - .pr-sm-0, - .px-sm-0 { - padding-right: 0 !important; - } - .pb-sm-0, - .py-sm-0 { - padding-bottom: 0 !important; - } - .pl-sm-0, - .px-sm-0 { - padding-left: 0 !important; - } - .p-sm-1 { - padding: 0.25rem !important; - } - .pt-sm-1, - .py-sm-1 { - padding-top: 0.25rem !important; - } - .pr-sm-1, - .px-sm-1 { - padding-right: 0.25rem !important; - } - .pb-sm-1, - .py-sm-1 { - padding-bottom: 0.25rem !important; - } - .pl-sm-1, - .px-sm-1 { - padding-left: 0.25rem !important; - } - .p-sm-2 { - padding: 0.5rem !important; - } - .pt-sm-2, - .py-sm-2 { - padding-top: 0.5rem !important; - } - .pr-sm-2, - .px-sm-2 { - padding-right: 0.5rem !important; - } - .pb-sm-2, - .py-sm-2 { - padding-bottom: 0.5rem !important; - } - .pl-sm-2, - .px-sm-2 { - padding-left: 0.5rem !important; - } - .p-sm-3 { - padding: 1rem !important; - } - .pt-sm-3, - .py-sm-3 { - padding-top: 1rem !important; - } - .pr-sm-3, - .px-sm-3 { - padding-right: 1rem !important; - } - .pb-sm-3, - .py-sm-3 { - padding-bottom: 1rem !important; - } - .pl-sm-3, - .px-sm-3 { - padding-left: 1rem !important; - } - .p-sm-4 { - padding: 1.5rem !important; - } - .pt-sm-4, - .py-sm-4 { - padding-top: 1.5rem !important; - } - .pr-sm-4, - .px-sm-4 { - padding-right: 1.5rem !important; - } - .pb-sm-4, - .py-sm-4 { - padding-bottom: 1.5rem !important; - } - .pl-sm-4, - .px-sm-4 { - padding-left: 1.5rem !important; - } - .p-sm-5 { - padding: 3rem !important; - } - .pt-sm-5, - .py-sm-5 { - padding-top: 3rem !important; - } - .pr-sm-5, - .px-sm-5 { - padding-right: 3rem !important; - } - .pb-sm-5, - .py-sm-5 { - padding-bottom: 3rem !important; - } - .pl-sm-5, - .px-sm-5 { - padding-left: 3rem !important; - } - .m-sm-n1 { - margin: -0.25rem !important; - } - .mt-sm-n1, - .my-sm-n1 { - margin-top: -0.25rem !important; - } - .mr-sm-n1, - .mx-sm-n1 { - margin-right: -0.25rem !important; - } - .mb-sm-n1, - .my-sm-n1 { - margin-bottom: -0.25rem !important; - } - .ml-sm-n1, - .mx-sm-n1 { - margin-left: -0.25rem !important; - } - .m-sm-n2 { - margin: -0.5rem !important; - } - .mt-sm-n2, - .my-sm-n2 { - margin-top: -0.5rem !important; - } - .mr-sm-n2, - .mx-sm-n2 { - margin-right: -0.5rem !important; - } - .mb-sm-n2, - .my-sm-n2 { - margin-bottom: -0.5rem !important; - } - .ml-sm-n2, - .mx-sm-n2 { - margin-left: -0.5rem !important; - } - .m-sm-n3 { - margin: -1rem !important; - } - .mt-sm-n3, - .my-sm-n3 { - margin-top: -1rem !important; - } - .mr-sm-n3, - .mx-sm-n3 { - margin-right: -1rem !important; - } - .mb-sm-n3, - .my-sm-n3 { - margin-bottom: -1rem !important; - } - .ml-sm-n3, - .mx-sm-n3 { - margin-left: -1rem !important; - } - .m-sm-n4 { - margin: -1.5rem !important; - } - .mt-sm-n4, - .my-sm-n4 { - margin-top: -1.5rem !important; - } - .mr-sm-n4, - .mx-sm-n4 { - margin-right: -1.5rem !important; - } - .mb-sm-n4, - .my-sm-n4 { - margin-bottom: -1.5rem !important; - } - .ml-sm-n4, - .mx-sm-n4 { - margin-left: -1.5rem !important; - } - .m-sm-n5 { - margin: -3rem !important; - } - .mt-sm-n5, - .my-sm-n5 { - margin-top: -3rem !important; - } - .mr-sm-n5, - .mx-sm-n5 { - margin-right: -3rem !important; - } - .mb-sm-n5, - .my-sm-n5 { - margin-bottom: -3rem !important; - } - .ml-sm-n5, - .mx-sm-n5 { - margin-left: -3rem !important; - } - .m-sm-auto { - margin: auto !important; - } - .mt-sm-auto, - .my-sm-auto { - margin-top: auto !important; - } - .mr-sm-auto, - .mx-sm-auto { - margin-right: auto !important; - } - .mb-sm-auto, - .my-sm-auto { - margin-bottom: auto !important; - } - .ml-sm-auto, - .mx-sm-auto { - margin-left: auto !important; - } -} -@media (min-width: 768px) { - .m-md-0 { - margin: 0 !important; - } - .mt-md-0, - .my-md-0 { - margin-top: 0 !important; - } - .mr-md-0, - .mx-md-0 { - margin-right: 0 !important; - } - .mb-md-0, - .my-md-0 { - margin-bottom: 0 !important; - } - .ml-md-0, - .mx-md-0 { - margin-left: 0 !important; - } - .m-md-1 { - margin: 0.25rem !important; - } - .mt-md-1, - .my-md-1 { - margin-top: 0.25rem !important; - } - .mr-md-1, - .mx-md-1 { - margin-right: 0.25rem !important; - } - .mb-md-1, - .my-md-1 { - margin-bottom: 0.25rem !important; - } - .ml-md-1, - .mx-md-1 { - margin-left: 0.25rem !important; - } - .m-md-2 { - margin: 0.5rem !important; - } - .mt-md-2, - .my-md-2 { - margin-top: 0.5rem !important; - } - .mr-md-2, - .mx-md-2 { - margin-right: 0.5rem !important; - } - .mb-md-2, - .my-md-2 { - margin-bottom: 0.5rem !important; - } - .ml-md-2, - .mx-md-2 { - margin-left: 0.5rem !important; - } - .m-md-3 { - margin: 1rem !important; - } - .mt-md-3, - .my-md-3 { - margin-top: 1rem !important; - } - .mr-md-3, - .mx-md-3 { - margin-right: 1rem !important; - } - .mb-md-3, - .my-md-3 { - margin-bottom: 1rem !important; - } - .ml-md-3, - .mx-md-3 { - margin-left: 1rem !important; - } - .m-md-4 { - margin: 1.5rem !important; - } - .mt-md-4, - .my-md-4 { - margin-top: 1.5rem !important; - } - .mr-md-4, - .mx-md-4 { - margin-right: 1.5rem !important; - } - .mb-md-4, - .my-md-4 { - margin-bottom: 1.5rem !important; - } - .ml-md-4, - .mx-md-4 { - margin-left: 1.5rem !important; - } - .m-md-5 { - margin: 3rem !important; - } - .mt-md-5, - .my-md-5 { - margin-top: 3rem !important; - } - .mr-md-5, - .mx-md-5 { - margin-right: 3rem !important; - } - .mb-md-5, - .my-md-5 { - margin-bottom: 3rem !important; - } - .ml-md-5, - .mx-md-5 { - margin-left: 3rem !important; - } - .p-md-0 { - padding: 0 !important; - } - .pt-md-0, - .py-md-0 { - padding-top: 0 !important; - } - .pr-md-0, - .px-md-0 { - padding-right: 0 !important; - } - .pb-md-0, - .py-md-0 { - padding-bottom: 0 !important; - } - .pl-md-0, - .px-md-0 { - padding-left: 0 !important; - } - .p-md-1 { - padding: 0.25rem !important; - } - .pt-md-1, - .py-md-1 { - padding-top: 0.25rem !important; - } - .pr-md-1, - .px-md-1 { - padding-right: 0.25rem !important; - } - .pb-md-1, - .py-md-1 { - padding-bottom: 0.25rem !important; - } - .pl-md-1, - .px-md-1 { - padding-left: 0.25rem !important; - } - .p-md-2 { - padding: 0.5rem !important; - } - .pt-md-2, - .py-md-2 { - padding-top: 0.5rem !important; - } - .pr-md-2, - .px-md-2 { - padding-right: 0.5rem !important; - } - .pb-md-2, - .py-md-2 { - padding-bottom: 0.5rem !important; - } - .pl-md-2, - .px-md-2 { - padding-left: 0.5rem !important; - } - .p-md-3 { - padding: 1rem !important; - } - .pt-md-3, - .py-md-3 { - padding-top: 1rem !important; - } - .pr-md-3, - .px-md-3 { - padding-right: 1rem !important; - } - .pb-md-3, - .py-md-3 { - padding-bottom: 1rem !important; - } - .pl-md-3, - .px-md-3 { - padding-left: 1rem !important; - } - .p-md-4 { - padding: 1.5rem !important; - } - .pt-md-4, - .py-md-4 { - padding-top: 1.5rem !important; - } - .pr-md-4, - .px-md-4 { - padding-right: 1.5rem !important; - } - .pb-md-4, - .py-md-4 { - padding-bottom: 1.5rem !important; - } - .pl-md-4, - .px-md-4 { - padding-left: 1.5rem !important; - } - .p-md-5 { - padding: 3rem !important; - } - .pt-md-5, - .py-md-5 { - padding-top: 3rem !important; - } - .pr-md-5, - .px-md-5 { - padding-right: 3rem !important; - } - .pb-md-5, - .py-md-5 { - padding-bottom: 3rem !important; - } - .pl-md-5, - .px-md-5 { - padding-left: 3rem !important; - } - .m-md-n1 { - margin: -0.25rem !important; - } - .mt-md-n1, - .my-md-n1 { - margin-top: -0.25rem !important; - } - .mr-md-n1, - .mx-md-n1 { - margin-right: -0.25rem !important; - } - .mb-md-n1, - .my-md-n1 { - margin-bottom: -0.25rem !important; - } - .ml-md-n1, - .mx-md-n1 { - margin-left: -0.25rem !important; - } - .m-md-n2 { - margin: -0.5rem !important; - } - .mt-md-n2, - .my-md-n2 { - margin-top: -0.5rem !important; - } - .mr-md-n2, - .mx-md-n2 { - margin-right: -0.5rem !important; - } - .mb-md-n2, - .my-md-n2 { - margin-bottom: -0.5rem !important; - } - .ml-md-n2, - .mx-md-n2 { - margin-left: -0.5rem !important; - } - .m-md-n3 { - margin: -1rem !important; - } - .mt-md-n3, - .my-md-n3 { - margin-top: -1rem !important; - } - .mr-md-n3, - .mx-md-n3 { - margin-right: -1rem !important; - } - .mb-md-n3, - .my-md-n3 { - margin-bottom: -1rem !important; - } - .ml-md-n3, - .mx-md-n3 { - margin-left: -1rem !important; - } - .m-md-n4 { - margin: -1.5rem !important; - } - .mt-md-n4, - .my-md-n4 { - margin-top: -1.5rem !important; - } - .mr-md-n4, - .mx-md-n4 { - margin-right: -1.5rem !important; - } - .mb-md-n4, - .my-md-n4 { - margin-bottom: -1.5rem !important; - } - .ml-md-n4, - .mx-md-n4 { - margin-left: -1.5rem !important; - } - .m-md-n5 { - margin: -3rem !important; - } - .mt-md-n5, - .my-md-n5 { - margin-top: -3rem !important; - } - .mr-md-n5, - .mx-md-n5 { - margin-right: -3rem !important; - } - .mb-md-n5, - .my-md-n5 { - margin-bottom: -3rem !important; - } - .ml-md-n5, - .mx-md-n5 { - margin-left: -3rem !important; - } - .m-md-auto { - margin: auto !important; - } - .mt-md-auto, - .my-md-auto { - margin-top: auto !important; - } - .mr-md-auto, - .mx-md-auto { - margin-right: auto !important; - } - .mb-md-auto, - .my-md-auto { - margin-bottom: auto !important; - } - .ml-md-auto, - .mx-md-auto { - margin-left: auto !important; - } -} -@media (min-width: 992px) { - .m-lg-0 { - margin: 0 !important; - } - .mt-lg-0, - .my-lg-0 { - margin-top: 0 !important; - } - .mr-lg-0, - .mx-lg-0 { - margin-right: 0 !important; - } - .mb-lg-0, - .my-lg-0 { - margin-bottom: 0 !important; - } - .ml-lg-0, - .mx-lg-0 { - margin-left: 0 !important; - } - .m-lg-1 { - margin: 0.25rem !important; - } - .mt-lg-1, - .my-lg-1 { - margin-top: 0.25rem !important; - } - .mr-lg-1, - .mx-lg-1 { - margin-right: 0.25rem !important; - } - .mb-lg-1, - .my-lg-1 { - margin-bottom: 0.25rem !important; - } - .ml-lg-1, - .mx-lg-1 { - margin-left: 0.25rem !important; - } - .m-lg-2 { - margin: 0.5rem !important; - } - .mt-lg-2, - .my-lg-2 { - margin-top: 0.5rem !important; - } - .mr-lg-2, - .mx-lg-2 { - margin-right: 0.5rem !important; - } - .mb-lg-2, - .my-lg-2 { - margin-bottom: 0.5rem !important; - } - .ml-lg-2, - .mx-lg-2 { - margin-left: 0.5rem !important; - } - .m-lg-3 { - margin: 1rem !important; - } - .mt-lg-3, - .my-lg-3 { - margin-top: 1rem !important; - } - .mr-lg-3, - .mx-lg-3 { - margin-right: 1rem !important; - } - .mb-lg-3, - .my-lg-3 { - margin-bottom: 1rem !important; - } - .ml-lg-3, - .mx-lg-3 { - margin-left: 1rem !important; - } - .m-lg-4 { - margin: 1.5rem !important; - } - .mt-lg-4, - .my-lg-4 { - margin-top: 1.5rem !important; - } - .mr-lg-4, - .mx-lg-4 { - margin-right: 1.5rem !important; - } - .mb-lg-4, - .my-lg-4 { - margin-bottom: 1.5rem !important; - } - .ml-lg-4, - .mx-lg-4 { - margin-left: 1.5rem !important; - } - .m-lg-5 { - margin: 3rem !important; - } - .mt-lg-5, - .my-lg-5 { - margin-top: 3rem !important; - } - .mr-lg-5, - .mx-lg-5 { - margin-right: 3rem !important; - } - .mb-lg-5, - .my-lg-5 { - margin-bottom: 3rem !important; - } - .ml-lg-5, - .mx-lg-5 { - margin-left: 3rem !important; - } - .p-lg-0 { - padding: 0 !important; - } - .pt-lg-0, - .py-lg-0 { - padding-top: 0 !important; - } - .pr-lg-0, - .px-lg-0 { - padding-right: 0 !important; - } - .pb-lg-0, - .py-lg-0 { - padding-bottom: 0 !important; - } - .pl-lg-0, - .px-lg-0 { - padding-left: 0 !important; - } - .p-lg-1 { - padding: 0.25rem !important; - } - .pt-lg-1, - .py-lg-1 { - padding-top: 0.25rem !important; - } - .pr-lg-1, - .px-lg-1 { - padding-right: 0.25rem !important; - } - .pb-lg-1, - .py-lg-1 { - padding-bottom: 0.25rem !important; - } - .pl-lg-1, - .px-lg-1 { - padding-left: 0.25rem !important; - } - .p-lg-2 { - padding: 0.5rem !important; - } - .pt-lg-2, - .py-lg-2 { - padding-top: 0.5rem !important; - } - .pr-lg-2, - .px-lg-2 { - padding-right: 0.5rem !important; - } - .pb-lg-2, - .py-lg-2 { - padding-bottom: 0.5rem !important; - } - .pl-lg-2, - .px-lg-2 { - padding-left: 0.5rem !important; - } - .p-lg-3 { - padding: 1rem !important; - } - .pt-lg-3, - .py-lg-3 { - padding-top: 1rem !important; - } - .pr-lg-3, - .px-lg-3 { - padding-right: 1rem !important; - } - .pb-lg-3, - .py-lg-3 { - padding-bottom: 1rem !important; - } - .pl-lg-3, - .px-lg-3 { - padding-left: 1rem !important; - } - .p-lg-4 { - padding: 1.5rem !important; - } - .pt-lg-4, - .py-lg-4 { - padding-top: 1.5rem !important; - } - .pr-lg-4, - .px-lg-4 { - padding-right: 1.5rem !important; - } - .pb-lg-4, - .py-lg-4 { - padding-bottom: 1.5rem !important; - } - .pl-lg-4, - .px-lg-4 { - padding-left: 1.5rem !important; - } - .p-lg-5 { - padding: 3rem !important; - } - .pt-lg-5, - .py-lg-5 { - padding-top: 3rem !important; - } - .pr-lg-5, - .px-lg-5 { - padding-right: 3rem !important; - } - .pb-lg-5, - .py-lg-5 { - padding-bottom: 3rem !important; - } - .pl-lg-5, - .px-lg-5 { - padding-left: 3rem !important; - } - .m-lg-n1 { - margin: -0.25rem !important; - } - .mt-lg-n1, - .my-lg-n1 { - margin-top: -0.25rem !important; - } - .mr-lg-n1, - .mx-lg-n1 { - margin-right: -0.25rem !important; - } - .mb-lg-n1, - .my-lg-n1 { - margin-bottom: -0.25rem !important; - } - .ml-lg-n1, - .mx-lg-n1 { - margin-left: -0.25rem !important; - } - .m-lg-n2 { - margin: -0.5rem !important; - } - .mt-lg-n2, - .my-lg-n2 { - margin-top: -0.5rem !important; - } - .mr-lg-n2, - .mx-lg-n2 { - margin-right: -0.5rem !important; - } - .mb-lg-n2, - .my-lg-n2 { - margin-bottom: -0.5rem !important; - } - .ml-lg-n2, - .mx-lg-n2 { - margin-left: -0.5rem !important; - } - .m-lg-n3 { - margin: -1rem !important; - } - .mt-lg-n3, - .my-lg-n3 { - margin-top: -1rem !important; - } - .mr-lg-n3, - .mx-lg-n3 { - margin-right: -1rem !important; - } - .mb-lg-n3, - .my-lg-n3 { - margin-bottom: -1rem !important; - } - .ml-lg-n3, - .mx-lg-n3 { - margin-left: -1rem !important; - } - .m-lg-n4 { - margin: -1.5rem !important; - } - .mt-lg-n4, - .my-lg-n4 { - margin-top: -1.5rem !important; - } - .mr-lg-n4, - .mx-lg-n4 { - margin-right: -1.5rem !important; - } - .mb-lg-n4, - .my-lg-n4 { - margin-bottom: -1.5rem !important; - } - .ml-lg-n4, - .mx-lg-n4 { - margin-left: -1.5rem !important; - } - .m-lg-n5 { - margin: -3rem !important; - } - .mt-lg-n5, - .my-lg-n5 { - margin-top: -3rem !important; - } - .mr-lg-n5, - .mx-lg-n5 { - margin-right: -3rem !important; - } - .mb-lg-n5, - .my-lg-n5 { - margin-bottom: -3rem !important; - } - .ml-lg-n5, - .mx-lg-n5 { - margin-left: -3rem !important; - } - .m-lg-auto { - margin: auto !important; - } - .mt-lg-auto, - .my-lg-auto { - margin-top: auto !important; - } - .mr-lg-auto, - .mx-lg-auto { - margin-right: auto !important; - } - .mb-lg-auto, - .my-lg-auto { - margin-bottom: auto !important; - } - .ml-lg-auto, - .mx-lg-auto { - margin-left: auto !important; - } -} -@media (min-width: 1200px) { - .m-xl-0 { - margin: 0 !important; - } - .mt-xl-0, - .my-xl-0 { - margin-top: 0 !important; - } - .mr-xl-0, - .mx-xl-0 { - margin-right: 0 !important; - } - .mb-xl-0, - .my-xl-0 { - margin-bottom: 0 !important; - } - .ml-xl-0, - .mx-xl-0 { - margin-left: 0 !important; - } - .m-xl-1 { - margin: 0.25rem !important; - } - .mt-xl-1, - .my-xl-1 { - margin-top: 0.25rem !important; - } - .mr-xl-1, - .mx-xl-1 { - margin-right: 0.25rem !important; - } - .mb-xl-1, - .my-xl-1 { - margin-bottom: 0.25rem !important; - } - .ml-xl-1, - .mx-xl-1 { - margin-left: 0.25rem !important; - } - .m-xl-2 { - margin: 0.5rem !important; - } - .mt-xl-2, - .my-xl-2 { - margin-top: 0.5rem !important; - } - .mr-xl-2, - .mx-xl-2 { - margin-right: 0.5rem !important; - } - .mb-xl-2, - .my-xl-2 { - margin-bottom: 0.5rem !important; - } - .ml-xl-2, - .mx-xl-2 { - margin-left: 0.5rem !important; - } - .m-xl-3 { - margin: 1rem !important; - } - .mt-xl-3, - .my-xl-3 { - margin-top: 1rem !important; - } - .mr-xl-3, - .mx-xl-3 { - margin-right: 1rem !important; - } - .mb-xl-3, - .my-xl-3 { - margin-bottom: 1rem !important; - } - .ml-xl-3, - .mx-xl-3 { - margin-left: 1rem !important; - } - .m-xl-4 { - margin: 1.5rem !important; - } - .mt-xl-4, - .my-xl-4 { - margin-top: 1.5rem !important; - } - .mr-xl-4, - .mx-xl-4 { - margin-right: 1.5rem !important; - } - .mb-xl-4, - .my-xl-4 { - margin-bottom: 1.5rem !important; - } - .ml-xl-4, - .mx-xl-4 { - margin-left: 1.5rem !important; - } - .m-xl-5 { - margin: 3rem !important; - } - .mt-xl-5, - .my-xl-5 { - margin-top: 3rem !important; - } - .mr-xl-5, - .mx-xl-5 { - margin-right: 3rem !important; - } - .mb-xl-5, - .my-xl-5 { - margin-bottom: 3rem !important; - } - .ml-xl-5, - .mx-xl-5 { - margin-left: 3rem !important; - } - .p-xl-0 { - padding: 0 !important; - } - .pt-xl-0, - .py-xl-0 { - padding-top: 0 !important; - } - .pr-xl-0, - .px-xl-0 { - padding-right: 0 !important; - } - .pb-xl-0, - .py-xl-0 { - padding-bottom: 0 !important; - } - .pl-xl-0, - .px-xl-0 { - padding-left: 0 !important; - } - .p-xl-1 { - padding: 0.25rem !important; - } - .pt-xl-1, - .py-xl-1 { - padding-top: 0.25rem !important; - } - .pr-xl-1, - .px-xl-1 { - padding-right: 0.25rem !important; - } - .pb-xl-1, - .py-xl-1 { - padding-bottom: 0.25rem !important; - } - .pl-xl-1, - .px-xl-1 { - padding-left: 0.25rem !important; - } - .p-xl-2 { - padding: 0.5rem !important; - } - .pt-xl-2, - .py-xl-2 { - padding-top: 0.5rem !important; - } - .pr-xl-2, - .px-xl-2 { - padding-right: 0.5rem !important; - } - .pb-xl-2, - .py-xl-2 { - padding-bottom: 0.5rem !important; - } - .pl-xl-2, - .px-xl-2 { - padding-left: 0.5rem !important; - } - .p-xl-3 { - padding: 1rem !important; - } - .pt-xl-3, - .py-xl-3 { - padding-top: 1rem !important; - } - .pr-xl-3, - .px-xl-3 { - padding-right: 1rem !important; - } - .pb-xl-3, - .py-xl-3 { - padding-bottom: 1rem !important; - } - .pl-xl-3, - .px-xl-3 { - padding-left: 1rem !important; - } - .p-xl-4 { - padding: 1.5rem !important; - } - .pt-xl-4, - .py-xl-4 { - padding-top: 1.5rem !important; - } - .pr-xl-4, - .px-xl-4 { - padding-right: 1.5rem !important; - } - .pb-xl-4, - .py-xl-4 { - padding-bottom: 1.5rem !important; - } - .pl-xl-4, - .px-xl-4 { - padding-left: 1.5rem !important; - } - .p-xl-5 { - padding: 3rem !important; - } - .pt-xl-5, - .py-xl-5 { - padding-top: 3rem !important; - } - .pr-xl-5, - .px-xl-5 { - padding-right: 3rem !important; - } - .pb-xl-5, - .py-xl-5 { - padding-bottom: 3rem !important; - } - .pl-xl-5, - .px-xl-5 { - padding-left: 3rem !important; - } - .m-xl-n1 { - margin: -0.25rem !important; - } - .mt-xl-n1, - .my-xl-n1 { - margin-top: -0.25rem !important; - } - .mr-xl-n1, - .mx-xl-n1 { - margin-right: -0.25rem !important; - } - .mb-xl-n1, - .my-xl-n1 { - margin-bottom: -0.25rem !important; - } - .ml-xl-n1, - .mx-xl-n1 { - margin-left: -0.25rem !important; - } - .m-xl-n2 { - margin: -0.5rem !important; - } - .mt-xl-n2, - .my-xl-n2 { - margin-top: -0.5rem !important; - } - .mr-xl-n2, - .mx-xl-n2 { - margin-right: -0.5rem !important; - } - .mb-xl-n2, - .my-xl-n2 { - margin-bottom: -0.5rem !important; - } - .ml-xl-n2, - .mx-xl-n2 { - margin-left: -0.5rem !important; - } - .m-xl-n3 { - margin: -1rem !important; - } - .mt-xl-n3, - .my-xl-n3 { - margin-top: -1rem !important; - } - .mr-xl-n3, - .mx-xl-n3 { - margin-right: -1rem !important; - } - .mb-xl-n3, - .my-xl-n3 { - margin-bottom: -1rem !important; - } - .ml-xl-n3, - .mx-xl-n3 { - margin-left: -1rem !important; - } - .m-xl-n4 { - margin: -1.5rem !important; - } - .mt-xl-n4, - .my-xl-n4 { - margin-top: -1.5rem !important; - } - .mr-xl-n4, - .mx-xl-n4 { - margin-right: -1.5rem !important; - } - .mb-xl-n4, - .my-xl-n4 { - margin-bottom: -1.5rem !important; - } - .ml-xl-n4, - .mx-xl-n4 { - margin-left: -1.5rem !important; - } - .m-xl-n5 { - margin: -3rem !important; - } - .mt-xl-n5, - .my-xl-n5 { - margin-top: -3rem !important; - } - .mr-xl-n5, - .mx-xl-n5 { - margin-right: -3rem !important; - } - .mb-xl-n5, - .my-xl-n5 { - margin-bottom: -3rem !important; - } - .ml-xl-n5, - .mx-xl-n5 { - margin-left: -3rem !important; - } - .m-xl-auto { - margin: auto !important; - } - .mt-xl-auto, - .my-xl-auto { - margin-top: auto !important; - } - .mr-xl-auto, - .mx-xl-auto { - margin-right: auto !important; - } - .mb-xl-auto, - .my-xl-auto { - margin-bottom: auto !important; - } - .ml-xl-auto, - .mx-xl-auto { - margin-left: auto !important; - } -} -.stretched-link::after { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1; - pointer-events: auto; - content: ""; - background-color: rgba(0, 0, 0, 0); -} -.text-monospace { - font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", - "Courier New", monospace !important; -} -.text-justify { - text-align: justify !important; -} -.text-wrap { - white-space: normal !important; -} -.text-nowrap { - white-space: nowrap !important; -} -.text-truncate { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.text-left { - text-align: left !important; -} -.text-right { - text-align: right !important; -} -.text-center { - text-align: center !important; -} -@media (min-width: 576px) { - .text-sm-left { - text-align: left !important; - } - .text-sm-right { - text-align: right !important; - } - .text-sm-center { - text-align: center !important; - } -} -@media (min-width: 768px) { - .text-md-left { - text-align: left !important; - } - .text-md-right { - text-align: right !important; - } - .text-md-center { - text-align: center !important; - } -} -@media (min-width: 992px) { - .text-lg-left { - text-align: left !important; - } - .text-lg-right { - text-align: right !important; - } - .text-lg-center { - text-align: center !important; - } -} -@media (min-width: 1200px) { - .text-xl-left { - text-align: left !important; - } - .text-xl-right { - text-align: right !important; - } - .text-xl-center { - text-align: center !important; - } -} -.text-lowercase { - text-transform: lowercase !important; -} -.text-uppercase { - text-transform: uppercase !important; -} -.text-capitalize { - text-transform: capitalize !important; -} -.font-weight-light { - font-weight: 300 !important; -} -.font-weight-lighter { - font-weight: lighter !important; -} -.font-weight-normal { - font-weight: 400 !important; -} -.font-weight-bold { - font-weight: 700 !important; -} -.font-weight-bolder { - font-weight: bolder !important; -} -.font-italic { - font-style: italic !important; -} -.text-white { - color: #fff !important; -} -.text-primary { - color: #007bff !important; -} -a.text-primary:focus, -a.text-primary:hover { - color: #0056b3 !important; -} -.text-secondary { - color: #6c757d !important; -} -a.text-secondary:focus, -a.text-secondary:hover { - color: #494f54 !important; -} -.text-success { - color: #28a745 !important; -} -a.text-success:focus, -a.text-success:hover { - color: #19692c !important; -} -.text-info { - color: #17a2b8 !important; -} -a.text-info:focus, -a.text-info:hover { - color: #0f6674 !important; -} -.text-warning { - color: #ffc107 !important; -} -a.text-warning:focus, -a.text-warning:hover { - color: #ba8b00 !important; -} -.text-danger { - color: #dc3545 !important; -} -a.text-danger:focus, -a.text-danger:hover { - color: #a71d2a !important; -} -.text-light { - color: #f8f9fa !important; -} -a.text-light:focus, -a.text-light:hover { - color: #cbd3da !important; -} -.text-dark { - color: #343a40 !important; -} -a.text-dark:focus, -a.text-dark:hover { - color: #121416 !important; -} -.text-body { - color: #212529 !important; -} -.text-muted { - color: #6c757d !important; -} -.text-black-50 { - color: rgba(0, 0, 0, 0.5) !important; -} -.text-white-50 { - color: rgba(255, 255, 255, 0.5) !important; -} -.text-hide { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.text-decoration-none { - text-decoration: none !important; -} -.text-break { - word-wrap: break-word !important; -} -.text-reset { - color: inherit !important; -} -.visible { - visibility: visible !important; -} -.invisible { - visibility: hidden !important; -} -@media print { - *, - ::after, - ::before { - text-shadow: none !important; - box-shadow: none !important; - } - a:not(.btn) { - text-decoration: underline; - } - abbr[title]::after { - content: " (" attr(title) ")"; - } - pre { - white-space: pre-wrap !important; - } - blockquote, - pre { - border: 1px solid #adb5bd; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - img, - tr { - page-break-inside: avoid; - } - h2, - h3, - p { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } - @page { - size: a3; - } - body { - min-width: 992px !important; - } - .container { - min-width: 992px !important; - } - .navbar { - display: none; - } - .badge { - border: 1px solid #000; - } - .table { - border-collapse: collapse !important; - } - .table td, - .table th { - background-color: #fff !important; - } - .table-bordered td, - .table-bordered th { - border: 1px solid #dee2e6 !important; - } - .table-dark { - color: inherit; - } - .table-dark tbody + tbody, - .table-dark td, - .table-dark th, - .table-dark thead th { - border-color: #dee2e6; - } - .table .thead-dark th { - color: inherit; - border-color: #dee2e6; - } -} -/*# sourceMappingURL=bootstrap.min.css.map */ diff --git a/lib/st_audiorec/frontend/build/index.html b/lib/st_audiorec/frontend/build/index.html deleted file mode 100644 index 565186444fb73dffeee0e04a3bfe814af36b7c42..0000000000000000000000000000000000000000 --- a/lib/st_audiorec/frontend/build/index.html +++ /dev/null @@ -1 +0,0 @@ -Streamlit Audio Recorder Component
\ No newline at end of file diff --git a/lib/st_audiorec/frontend/build/precache-manifest.4829c060d313d0b0d13d9af3b0180289.js b/lib/st_audiorec/frontend/build/precache-manifest.4829c060d313d0b0d13d9af3b0180289.js deleted file mode 100644 index 65201a8cfb0e958322eb0c5bb57c1cd3f7cab0eb..0000000000000000000000000000000000000000 --- a/lib/st_audiorec/frontend/build/precache-manifest.4829c060d313d0b0d13d9af3b0180289.js +++ /dev/null @@ -1,26 +0,0 @@ -self.__precacheManifest = (self.__precacheManifest || []).concat([ - { - "revision": "de27ef444ab2ed520b64cb0c988a478a", - "url": "./index.html" - }, - { - "revision": "1a47c80c81698454dced", - "url": "./static/css/2.bfbf028b.chunk.css" - }, - { - "revision": "1a47c80c81698454dced", - "url": "./static/js/2.270b84d8.chunk.js" - }, - { - "revision": "3fc7fb5bfeeec1534560a2c962e360a7", - "url": "./static/js/2.270b84d8.chunk.js.LICENSE.txt" - }, - { - "revision": "3478f4c246f37a2cbb97", - "url": "./static/js/main.833ba252.chunk.js" - }, - { - "revision": "7c26bca7e16783d14d15", - "url": "./static/js/runtime-main.11ec9aca.js" - } -]); \ No newline at end of file diff --git a/lib/st_audiorec/frontend/build/service-worker.js b/lib/st_audiorec/frontend/build/service-worker.js deleted file mode 100644 index a7be91e35492ee110d88e54a0b09d414a95351d2..0000000000000000000000000000000000000000 --- a/lib/st_audiorec/frontend/build/service-worker.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Welcome to your Workbox-powered service worker! - * - * You'll need to register this file in your web app and you should - * disable HTTP caching for this file too. - * See https://goo.gl/nhQhGp - * - * The rest of the code is auto-generated. Please don't update this file - * directly; instead, make changes to your Workbox build configuration - * and re-run your build process. - * See https://goo.gl/2aRDsh - */ - -importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); - -importScripts( - "./precache-manifest.4829c060d313d0b0d13d9af3b0180289.js" -); - -self.addEventListener('message', (event) => { - if (event.data && event.data.type === 'SKIP_WAITING') { - self.skipWaiting(); - } -}); - -workbox.core.clientsClaim(); - -/** - * The workboxSW.precacheAndRoute() method efficiently caches and responds to - * requests for URLs in the manifest. - * See https://goo.gl/S9QRab - */ -self.__precacheManifest = [].concat(self.__precacheManifest || []); -workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); - -workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("./index.html"), { - - blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/], -}); diff --git a/lib/st_audiorec/frontend/build/static/.DS_Store b/lib/st_audiorec/frontend/build/static/.DS_Store deleted file mode 100644 index c85e62d3e1f19fcd0a0c0494c408f3cfc1a89b7c..0000000000000000000000000000000000000000 Binary files a/lib/st_audiorec/frontend/build/static/.DS_Store and /dev/null differ diff --git a/lib/st_audiorec/frontend/build/static/css/2.bfbf028b.chunk.css b/lib/st_audiorec/frontend/build/static/css/2.bfbf028b.chunk.css deleted file mode 100644 index 634084cb3056e52d65b3325a9fd72ded5db56682..0000000000000000000000000000000000000000 --- a/lib/st_audiorec/frontend/build/static/css/2.bfbf028b.chunk.css +++ /dev/null @@ -1,2 +0,0 @@ -._3ybTi{margin:2em;padding:.5em;border:2px solid #000;font-size:2em;text-align:center} -/*# sourceMappingURL=2.bfbf028b.chunk.css.map */ \ No newline at end of file diff --git a/lib/st_audiorec/frontend/build/static/css/2.bfbf028b.chunk.css.map b/lib/st_audiorec/frontend/build/static/css/2.bfbf028b.chunk.css.map deleted file mode 100644 index 42c1e944f55e007918292cd977351550c65c79d7..0000000000000000000000000000000000000000 --- a/lib/st_audiorec/frontend/build/static/css/2.bfbf028b.chunk.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["index.css"],"names":[],"mappings":"AAEA,QACE,UAAW,CACX,YAAc,CACd,qBAAsB,CACtB,aAAc,CACd,iBACF","file":"2.bfbf028b.chunk.css","sourcesContent":["/* add css module styles here (optional) */\n\n._3ybTi {\n margin: 2em;\n padding: 0.5em;\n border: 2px solid #000;\n font-size: 2em;\n text-align: center;\n}\n"]} \ No newline at end of file diff --git a/lib/st_audiorec/frontend/build/static/js/2.270b84d8.chunk.js b/lib/st_audiorec/frontend/build/static/js/2.270b84d8.chunk.js deleted file mode 100644 index b2e9e8f3d42ef1fe21c1939791086d36bd243c6d..0000000000000000000000000000000000000000 --- a/lib/st_audiorec/frontend/build/static/js/2.270b84d8.chunk.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 2.270b84d8.chunk.js.LICENSE.txt */ -(this.webpackJsonpstreamlit_component_template=this.webpackJsonpstreamlit_component_template||[]).push([[2],[function(e,t,n){"use strict";function r(e,t){for(var n=0;n0){for(var e=new Array(arguments.length),t=0;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,o=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function D(e,t,n,r,i,a,o){try{var u=e[a](o),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,i)}function L(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){D(a,r,i,o,u,"next",e)}function u(e){D(a,r,i,o,u,"throw",e)}o(void 0)}))}}var C=n(1),F=n(0),M=n(4);function N(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,u=e[Symbol.iterator]();!(r=(o=u.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(s){i=!0,a=s}finally{try{r||null==u.return||u.return()}finally{if(i)throw a}}return n}}(e,t)||A(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e){this.wrapped=e}function P(e){return new U(e)}function R(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,u=o instanceof U;Promise.resolve(u?o.wrapped:o).then((function(e){u?r("return"===t?"return":"next",e):i(a.done?"return":"normal",e)}),(function(e){r("throw",e)}))}catch(s){i("throw",s)}}function i(e,i){switch(e){case"return":t.resolve({value:i,done:!0});break;case"throw":t.reject(i);break;default:t.resolve({value:i,done:!1})}(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise((function(a,o){var u={key:e,arg:i,resolve:a,reject:o,next:null};n?n=n.next=u:(t=n=u,r(e,i))}))},"function"!==typeof e.return&&(this.return=void 0)}function z(e){return function(){return new R(e.apply(this,arguments))}}function V(e,t){var n={},r=!1;function i(n,i){return r=!0,i=new Promise((function(t){t(e[n](i))})),{done:!1,value:t(i)}}return"function"===typeof Symbol&&Symbol.iterator&&(n[Symbol.iterator]=function(){return this}),n.next=function(e){return r?(r=!1,e):i("next",e)},"function"===typeof e.throw&&(n.throw=function(e){if(r)throw r=!1,e;return i("throw",e)}),"function"===typeof e.return&&(n.return=function(e){return r?(r=!1,e):i("return",e)}),n}"function"===typeof Symbol&&Symbol.asyncIterator&&(R.prototype[Symbol.asyncIterator]=function(){return this}),R.prototype.next=function(e){return this._invoke("next",e)},R.prototype.throw=function(e){return this._invoke("throw",e)},R.prototype.return=function(e){return this._invoke("return",e)};var W={};function H(e,t,n){return t<=e&&e<=n}function Y(e){if(void 0===e)return{};if(e===Object(e))return e;throw TypeError("Could not convert argument to dictionary")}W.Offset,W.Table,W.SIZEOF_SHORT=2,W.SIZEOF_INT=4,W.FILE_IDENTIFIER_LENGTH=4,W.Encoding={UTF8_BYTES:1,UTF16_STRING:2},W.int32=new Int32Array(2),W.float32=new Float32Array(W.int32.buffer),W.float64=new Float64Array(W.int32.buffer),W.isLittleEndian=1===new Uint16Array(new Uint8Array([1,0]).buffer)[0],W.Long=function(e,t){this.low=0|e,this.high=0|t},W.Long.create=function(e,t){return 0==e&&0==t?W.Long.ZERO:new W.Long(e,t)},W.Long.prototype.toFloat64=function(){return(this.low>>>0)+4294967296*this.high},W.Long.prototype.equals=function(e){return this.low==e.low&&this.high==e.high},W.Long.ZERO=new W.Long(0,0),W.Builder=function(e){if(e)t=e;else var t=1024;this.bb=W.ByteBuffer.allocate(t),this.space=t,this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1},W.Builder.prototype.clear=function(){this.bb.clear(),this.space=this.bb.capacity(),this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1},W.Builder.prototype.forceDefaults=function(e){this.force_defaults=e},W.Builder.prototype.dataBuffer=function(){return this.bb},W.Builder.prototype.asUint8Array=function(){return this.bb.bytes().subarray(this.bb.position(),this.bb.position()+this.offset())},W.Builder.prototype.prep=function(e,t){e>this.minalign&&(this.minalign=e);for(var n=1+~(this.bb.capacity()-this.space+t)&e-1;this.space=0&&0==this.vtable[t];t--);for(var n=t+1;t>=0;t--)this.addInt16(0!=this.vtable[t]?e-this.vtable[t]:0);this.addInt16(e-this.object_start);var r=(n+2)*W.SIZEOF_SHORT;this.addInt16(r);var i=0,a=this.space;e:for(t=0;t=0;r--)this.writeInt8(n.charCodeAt(r))}this.prep(this.minalign,W.SIZEOF_INT),this.addOffset(e),this.bb.setPosition(this.space)},W.Builder.prototype.requiredField=function(e,t){var n=this.bb.capacity()-e,r=n-this.bb.readInt32(n);if(!(0!=this.bb.readInt16(r+t)))throw new Error("FlatBuffers: field "+t+" must be set")},W.Builder.prototype.startVector=function(e,t,n){this.notNested(),this.vector_num_elems=t,this.prep(W.SIZEOF_INT,e*t),this.prep(n,e*t)},W.Builder.prototype.endVector=function(){return this.writeInt32(this.vector_num_elems),this.offset()},W.Builder.prototype.createString=function(e){if(e instanceof Uint8Array)var t=e;else{t=[];for(var n=0;n=56320)r=i;else r=(i<<10)+e.charCodeAt(n++)+-56613888;r<128?t.push(r):(r<2048?t.push(r>>6&31|192):(r<65536?t.push(r>>12&15|224):t.push(r>>18&7|240,r>>12&63|128),t.push(r>>6&63|128)),t.push(63&r|128))}}this.addInt8(0),this.startVector(1,t.length,1),this.bb.setPosition(this.space-=t.length);n=0;for(var a=this.space,o=this.bb.bytes();n>24},W.ByteBuffer.prototype.readUint8=function(e){return this.bytes_[e]},W.ByteBuffer.prototype.readInt16=function(e){return this.readUint16(e)<<16>>16},W.ByteBuffer.prototype.readUint16=function(e){return this.bytes_[e]|this.bytes_[e+1]<<8},W.ByteBuffer.prototype.readInt32=function(e){return this.bytes_[e]|this.bytes_[e+1]<<8|this.bytes_[e+2]<<16|this.bytes_[e+3]<<24},W.ByteBuffer.prototype.readUint32=function(e){return this.readInt32(e)>>>0},W.ByteBuffer.prototype.readInt64=function(e){return new W.Long(this.readInt32(e),this.readInt32(e+4))},W.ByteBuffer.prototype.readUint64=function(e){return new W.Long(this.readUint32(e),this.readUint32(e+4))},W.ByteBuffer.prototype.readFloat32=function(e){return W.int32[0]=this.readInt32(e),W.float32[0]},W.ByteBuffer.prototype.readFloat64=function(e){return W.int32[W.isLittleEndian?0:1]=this.readInt32(e),W.int32[W.isLittleEndian?1:0]=this.readInt32(e+4),W.float64[0]},W.ByteBuffer.prototype.writeInt8=function(e,t){this.bytes_[e]=t},W.ByteBuffer.prototype.writeUint8=function(e,t){this.bytes_[e]=t},W.ByteBuffer.prototype.writeInt16=function(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8},W.ByteBuffer.prototype.writeUint16=function(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8},W.ByteBuffer.prototype.writeInt32=function(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8,this.bytes_[e+2]=t>>16,this.bytes_[e+3]=t>>24},W.ByteBuffer.prototype.writeUint32=function(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8,this.bytes_[e+2]=t>>16,this.bytes_[e+3]=t>>24},W.ByteBuffer.prototype.writeInt64=function(e,t){this.writeInt32(e,t.low),this.writeInt32(e+4,t.high)},W.ByteBuffer.prototype.writeUint64=function(e,t){this.writeUint32(e,t.low),this.writeUint32(e+4,t.high)},W.ByteBuffer.prototype.writeFloat32=function(e,t){W.float32[0]=t,this.writeInt32(e,W.int32[0])},W.ByteBuffer.prototype.writeFloat64=function(e,t){W.float64[0]=t,this.writeInt32(e,W.int32[W.isLittleEndian?0:1]),this.writeInt32(e+4,W.int32[W.isLittleEndian?1:0])},W.ByteBuffer.prototype.getBufferIdentifier=function(){if(this.bytes_.length>10),56320+(1023&a)))}return r},W.ByteBuffer.prototype.__indirect=function(e){return e+this.readInt32(e)},W.ByteBuffer.prototype.__vector=function(e){return e+this.readInt32(e)+W.SIZEOF_INT},W.ByteBuffer.prototype.__vector_len=function(e){return this.readInt32(e+this.readInt32(e))},W.ByteBuffer.prototype.__has_identifier=function(e){if(e.length!=W.FILE_IDENTIFIER_LENGTH)throw new Error("FlatBuffers: file identifier must be length "+W.FILE_IDENTIFIER_LENGTH);for(var t=0;t>6*n)+r];n>0;){var a=t>>6*(n-1);i.push(128|63&a),n-=1}return i}}Q.prototype={decode:function(e,t){var n;n="object"===typeof e&&e instanceof ArrayBuffer?new Uint8Array(e):"object"===typeof e&&"buffer"in e&&e.buffer instanceof ArrayBuffer?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(0),t=Y(t),this._streaming||(this._decoder=new G({fatal:this._fatal}),this._BOMseen=!1),this._streaming=Boolean(t.stream);for(var r,i=new $(n),a=[];!i.endOfStream()&&-1!==(r=this._decoder.handler(i,i.read()));)null!==r&&(Array.isArray(r)?a.push.apply(a,r):a.push(r));if(!this._streaming){do{if(-1===(r=this._decoder.handler(i,i.read())))break;null!==r&&(Array.isArray(r)?a.push.apply(a,r):a.push(r))}while(!i.endOfStream());this._decoder=null}return a.length&&(-1===["utf-8"].indexOf(this.encoding)||this._ignoreBOM||this._BOMseen||(65279===a[0]?(this._BOMseen=!0,a.shift()):this._BOMseen=!0)),function(e){for(var t="",n=0;n>10),56320+(1023&r)))}return t}(a)}},q.prototype={encode:function(e,t){e=e?String(e):"",t=Y(t),this._streaming||(this._encoder=new J(this._options)),this._streaming=Boolean(t.stream);for(var n,r=[],i=new $(function(e){for(var t=String(e),n=t.length,r=0,i=[];r57343)i.push(a);else if(56320<=a&&a<=57343)i.push(65533);else if(55296<=a&&a<=56319)if(r===n-1)i.push(65533);else{var o=e.charCodeAt(r+1);if(56320<=o&&o<=57343){var u=1023&a,s=1023&o;i.push(65536+(u<<10)+s),r+=1}else i.push(65533)}r+=1}return i}(e));!i.endOfStream()&&-1!==(n=this._encoder.handler(i,i.read()));)Array.isArray(n)?r.push.apply(r,n):r.push(n);if(!this._streaming){for(;-1!==(n=this._encoder.handler(i,i.read()));)Array.isArray(n)?r.push.apply(r,n):r.push(n);this._encoder=null}return new Uint8Array(r)}};var Z="function"===typeof Buffer?Buffer:null,X="function"===typeof TextDecoder&&"function"===typeof TextEncoder,ee=function(e){if(X||!Z){var t=new e("utf-8");return function(e){return t.decode(e)}}return function(e){var t=Ve(e),n=t.buffer,r=t.byteOffset,i=t.length;return Z.from(n,r,i).toString()}}("undefined"!==typeof TextDecoder?TextDecoder:Q),te=function(e){if(X||!Z){var t=new e;return function(e){return t.encode(e)}}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Ve(Z.from(e,"utf8"))}}("undefined"!==typeof TextEncoder?TextEncoder:q),ne=n(2),re=n(3),ie=Object.freeze({done:!0,value:void 0}),ae=function(){function e(t){Object(C.a)(this,e),this._json=t}return Object(F.a)(e,[{key:"schema",get:function(){return this._json.schema}},{key:"batches",get:function(){return this._json.batches||[]}},{key:"dictionaries",get:function(){return this._json.dictionaries||[]}}]),e}(),oe=function(){function e(){Object(C.a)(this,e)}return Object(F.a)(e,[{key:"tee",value:function(){return this._getDOMStream().tee()}},{key:"pipe",value:function(e,t){return this._getNodeStream().pipe(e,t)}},{key:"pipeTo",value:function(e,t){return this._getDOMStream().pipeTo(e,t)}},{key:"pipeThrough",value:function(e,t){return this._getDOMStream().pipeThrough(e,t)}},{key:"_getDOMStream",value:function(){return this._DOMStream||(this._DOMStream=this.toDOMStream())}},{key:"_getNodeStream",value:function(){return this._nodeStream||(this._nodeStream=this.toNodeStream())}}]),e}(),ue=function(e,t){Object(ne.a)(r,e);var n=Object(re.a)(r);function r(){var e;return Object(C.a)(this,r),(e=n.call(this))._values=[],e.resolvers=[],e._closedPromise=new Promise((function(t){return e._closedPromiseResolve=t})),e}return Object(F.a)(r,[{key:"closed",get:function(){return this._closedPromise}},{key:"cancel",value:function(){var e=L(M.mark((function e(t){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.return(t);case 2:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"write",value:function(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}},{key:"abort",value:function(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}},{key:"close",value:function(){if(this._closedPromiseResolve){for(var e=this.resolvers;e.length>0;)e.shift().resolve(ie);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}},{key:t,value:function(){return this}},{key:"toDOMStream",value:function(e){return kt.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}},{key:"toNodeStream",value:function(e){return kt.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}},{key:"throw",value:function(){var e=L(M.mark((function e(t){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.abort(t);case 2:return e.abrupt("return",ie);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"return",value:function(){var e=L(M.mark((function e(t){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.close();case 2:return e.abrupt("return",ie);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"read",value:function(){var e=L(M.mark((function e(t){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.next(t,"read");case 2:return e.abrupt("return",e.sent.value);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"peek",value:function(){var e=L(M.mark((function e(t){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.next(t,"peek");case 2:return e.abrupt("return",e.sent.value);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"next",value:function(){var e=this;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((function(t,n){e.resolvers.push({resolve:t,reject:n})})):Promise.resolve(ie)}},{key:"_ensureOpen",value:function(){if(this._closedPromiseResolve)return!0;throw new Error("".concat(this," is closed"))}}]),r}(oe,Symbol.asyncIterator),se=N(function(){var e=function(){throw new Error("BigInt is not available in this environment")};function t(){throw e()}return t.asIntN=function(){throw e()},t.asUintN=function(){throw e()},"undefined"!==typeof BigInt?[BigInt,!0]:[t,!1]}(),2),ce=se[0],le=se[1],fe=N(function(){var e=function(){throw new Error("BigInt64Array is not available in this environment")};return"undefined"!==typeof BigInt64Array?[BigInt64Array,!0]:[function(){function t(){throw Object(C.a)(this,t),e()}return Object(F.a)(t,null,[{key:"BYTES_PER_ELEMENT",get:function(){return 8}},{key:"of",value:function(){throw e()}},{key:"from",value:function(){throw e()}}]),t}(),!1]}(),2),he=fe[0],de=(fe[1],N(function(){var e=function(){throw new Error("BigUint64Array is not available in this environment")};return"undefined"!==typeof BigUint64Array?[BigUint64Array,!0]:[function(){function t(){throw Object(C.a)(this,t),e()}return Object(F.a)(t,null,[{key:"BYTES_PER_ELEMENT",get:function(){return 8}},{key:"of",value:function(){throw e()}},{key:"from",value:function(){throw e()}}]),t}(),!1]}(),2)),pe=de[0],ye=(de[1],function(e){return"number"===typeof e}),ve=function(e){return"boolean"===typeof e},be=function(e){return"function"===typeof e},me=function(e){return null!=e&&Object(e)===e},ge=function(e){return me(e)&&be(e.then)},ke=function(e){return me(e)&&be(e[Symbol.iterator])},we=function(e){return me(e)&&be(e[Symbol.asyncIterator])},_e=function(e){return me(e)&&me(e.schema)},Oe=function(e){return me(e)&&"done"in e&&"value"in e},xe=function(e){return me(e)&&be(e.stat)&&ye(e.fd)},Se=function(e){return me(e)&&Te(e.body)},je=function(e){return me(e)&&be(e.abort)&&be(e.getWriter)&&!(e instanceof oe)},Te=function(e){return me(e)&&be(e.cancel)&&be(e.getReader)&&!(e instanceof oe)},Ie=function(e){return me(e)&&be(e.end)&&be(e.write)&&ve(e.writable)&&!(e instanceof oe)},Ee=function(e){return me(e)&&be(e.read)&&be(e.pipe)&&ve(e.readable)&&!(e instanceof oe)},Ae=M.mark(Ge);function Be(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new De(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function De(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return(De=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new De(e)}var Le=W.ByteBuffer,Ce="undefined"!==typeof SharedArrayBuffer?SharedArrayBuffer:ArrayBuffer;function Fe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.byteLength,i=e.byteLength,a=new Uint8Array(e.buffer,e.byteOffset,i),o=new Uint8Array(t.buffer,t.byteOffset,Math.min(r,i));return a.set(o,n),e}function Me(e,t){for(var n,r,i,a=function(e){for(var t,n,r,i,a,o,u=e[0]?[e[0]]:[],s=0,c=0,l=e.length;++s0)do{if(e[n]!==t[n])return!1}while(++n0&&(r.push(i),u+=i.byteLength),!(t||o<=u)){d.next=22;break}case 16:return d.next=18,s();case 18:h=d.sent,a=h.cmd,o=h.size;case 21:if(o0&&(i.push(a),s+=a.byteLength),!(n||u<=s)){e.next=31;break}case 25:return e.next=27,c();case 27:d=e.sent,o=d.cmd,u=d.size;case 30:if(u0&&(i.push(Ve(a)),s+=a.byteLength),!(n||u<=s)){e.next=31;break}case 25:return e.next=27,c();case 27:d=e.sent,o=d.cmd,u=d.size;case 30:if(u=i)){e.next=2;break}return e.abrupt("return",{done:!1,value:new Uint8Array(n,0,i)});case 2:return e.next=4,t.read(new Uint8Array(n,r,i-r));case 4:if(a=e.sent,o=a.done,u=a.value,!((r+=u.byteLength)0&&(c.push(l),s+=l.byteLength)),!(i||u<=s)){e.next=36;break}case 30:return e.next=32,f();case 32:y=e.sent,o=y.cmd,u=y.size;case 35:if(u=0;n--)e.addInt32(t[n]);return e.endVector()}},{key:"startTypeIdsVector",value:function(e,t){e.startVector(4,t,4)}},{key:"endUnion",value:function(e){return e.endObject()}},{key:"createUnion",value:function(e,n,r){return t.startUnion(e),t.addMode(e,n),t.addTypeIds(e,r),t.endUnion(e)}}]),t}();t.Union=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){Object(C.a)(this,e),this.bb=null,this.bb_pos=0}return Object(F.a)(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"bitWidth",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt32(this.bb_pos+e):0}},{key:"isSigned",value:function(){var e=this.bb.__offset(this.bb_pos,6);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}}],[{key:"getRootAsInt",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startInt",value:function(e){e.startObject(2)}},{key:"addBitWidth",value:function(e,t){e.addFieldInt32(0,t,0)}},{key:"addIsSigned",value:function(e,t){e.addFieldInt8(1,+t,0)}},{key:"endInt",value:function(e){return e.endObject()}},{key:"createInt",value:function(t,n,r){return e.startInt(t),e.addBitWidth(t,n),e.addIsSigned(t,r),e.endInt(t)}}]),e}();e.Int=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){Object(C.a)(this,t),this.bb=null,this.bb_pos=0}return Object(F.a)(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"precision",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):e.apache.arrow.flatbuf.Precision.HALF}}],[{key:"getRootAsFloatingPoint",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startFloatingPoint",value:function(e){e.startObject(1)}},{key:"addPrecision",value:function(t,n){t.addFieldInt16(0,n,e.apache.arrow.flatbuf.Precision.HALF)}},{key:"endFloatingPoint",value:function(e){return e.endObject()}},{key:"createFloatingPoint",value:function(e,n){return t.startFloatingPoint(e),t.addPrecision(e,n),t.endFloatingPoint(e)}}]),t}();t.FloatingPoint=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){Object(C.a)(this,e),this.bb=null,this.bb_pos=0}return Object(F.a)(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}}],[{key:"getRootAsUtf8",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startUtf8",value:function(e){e.startObject(0)}},{key:"endUtf8",value:function(e){return e.endObject()}},{key:"createUtf8",value:function(t){return e.startUtf8(t),e.endUtf8(t)}}]),e}();e.Utf8=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){Object(C.a)(this,e),this.bb=null,this.bb_pos=0}return Object(F.a)(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}}],[{key:"getRootAsBinary",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startBinary",value:function(e){e.startObject(0)}},{key:"endBinary",value:function(e){return e.endObject()}},{key:"createBinary",value:function(t){return e.startBinary(t),e.endBinary(t)}}]),e}();e.Binary=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){Object(C.a)(this,e),this.bb=null,this.bb_pos=0}return Object(F.a)(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}}],[{key:"getRootAsLargeUtf8",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startLargeUtf8",value:function(e){e.startObject(0)}},{key:"endLargeUtf8",value:function(e){return e.endObject()}},{key:"createLargeUtf8",value:function(t){return e.startLargeUtf8(t),e.endLargeUtf8(t)}}]),e}();e.LargeUtf8=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){Object(C.a)(this,e),this.bb=null,this.bb_pos=0}return Object(F.a)(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}}],[{key:"getRootAsLargeBinary",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startLargeBinary",value:function(e){e.startObject(0)}},{key:"endLargeBinary",value:function(e){return e.endObject()}},{key:"createLargeBinary",value:function(t){return e.startLargeBinary(t),e.endLargeBinary(t)}}]),e}();e.LargeBinary=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){Object(C.a)(this,e),this.bb=null,this.bb_pos=0}return Object(F.a)(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"byteWidth",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt32(this.bb_pos+e):0}}],[{key:"getRootAsFixedSizeBinary",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startFixedSizeBinary",value:function(e){e.startObject(1)}},{key:"addByteWidth",value:function(e,t){e.addFieldInt32(0,t,0)}},{key:"endFixedSizeBinary",value:function(e){return e.endObject()}},{key:"createFixedSizeBinary",value:function(t,n){return e.startFixedSizeBinary(t),e.addByteWidth(t,n),e.endFixedSizeBinary(t)}}]),e}();e.FixedSizeBinary=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){Object(C.a)(this,e),this.bb=null,this.bb_pos=0}return Object(F.a)(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}}],[{key:"getRootAsBool",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startBool",value:function(e){e.startObject(0)}},{key:"endBool",value:function(e){return e.endObject()}},{key:"createBool",value:function(t){return e.startBool(t),e.endBool(t)}}]),e}();e.Bool=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){Object(C.a)(this,e),this.bb=null,this.bb_pos=0}return Object(F.a)(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"precision",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt32(this.bb_pos+e):0}},{key:"scale",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt32(this.bb_pos+e):0}}],[{key:"getRootAsDecimal",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startDecimal",value:function(e){e.startObject(2)}},{key:"addPrecision",value:function(e,t){e.addFieldInt32(0,t,0)}},{key:"addScale",value:function(e,t){e.addFieldInt32(1,t,0)}},{key:"endDecimal",value:function(e){return e.endObject()}},{key:"createDecimal",value:function(t,n,r){return e.startDecimal(t),e.addPrecision(t,n),e.addScale(t,r),e.endDecimal(t)}}]),e}();e.Decimal=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){Object(C.a)(this,t),this.bb=null,this.bb_pos=0}return Object(F.a)(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"unit",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):e.apache.arrow.flatbuf.DateUnit.MILLISECOND}}],[{key:"getRootAsDate",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startDate",value:function(e){e.startObject(1)}},{key:"addUnit",value:function(t,n){t.addFieldInt16(0,n,e.apache.arrow.flatbuf.DateUnit.MILLISECOND)}},{key:"endDate",value:function(e){return e.endObject()}},{key:"createDate",value:function(e,n){return t.startDate(e),t.addUnit(e,n),t.endDate(e)}}]),t}();t.Date=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){Object(C.a)(this,t),this.bb=null,this.bb_pos=0}return Object(F.a)(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"unit",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):e.apache.arrow.flatbuf.TimeUnit.MILLISECOND}},{key:"bitWidth",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt32(this.bb_pos+e):32}}],[{key:"getRootAsTime",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startTime",value:function(e){e.startObject(2)}},{key:"addUnit",value:function(t,n){t.addFieldInt16(0,n,e.apache.arrow.flatbuf.TimeUnit.MILLISECOND)}},{key:"addBitWidth",value:function(e,t){e.addFieldInt32(1,t,32)}},{key:"endTime",value:function(e){return e.endObject()}},{key:"createTime",value:function(e,n,r){return t.startTime(e),t.addUnit(e,n),t.addBitWidth(e,r),t.endTime(e)}}]),t}();t.Time=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){Object(C.a)(this,t),this.bb=null,this.bb_pos=0}return Object(F.a)(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"unit",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):e.apache.arrow.flatbuf.TimeUnit.SECOND}},{key:"timezone",value:function(e){var t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__string(this.bb_pos+t,e):null}}],[{key:"getRootAsTimestamp",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startTimestamp",value:function(e){e.startObject(2)}},{key:"addUnit",value:function(t,n){t.addFieldInt16(0,n,e.apache.arrow.flatbuf.TimeUnit.SECOND)}},{key:"addTimezone",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"endTimestamp",value:function(e){return e.endObject()}},{key:"createTimestamp",value:function(e,n,r){return t.startTimestamp(e),t.addUnit(e,n),t.addTimezone(e,r),t.endTimestamp(e)}}]),t}();t.Timestamp=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){Object(C.a)(this,t),this.bb=null,this.bb_pos=0}return Object(F.a)(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"unit",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):e.apache.arrow.flatbuf.IntervalUnit.YEAR_MONTH}}],[{key:"getRootAsInterval",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startInterval",value:function(e){e.startObject(1)}},{key:"addUnit",value:function(t,n){t.addFieldInt16(0,n,e.apache.arrow.flatbuf.IntervalUnit.YEAR_MONTH)}},{key:"endInterval",value:function(e){return e.endObject()}},{key:"createInterval",value:function(e,n){return t.startInterval(e),t.addUnit(e,n),t.endInterval(e)}}]),t}();t.Interval=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){Object(C.a)(this,t),this.bb=null,this.bb_pos=0}return Object(F.a)(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"unit",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):e.apache.arrow.flatbuf.TimeUnit.MILLISECOND}}],[{key:"getRootAsDuration",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startDuration",value:function(e){e.startObject(1)}},{key:"addUnit",value:function(t,n){t.addFieldInt16(0,n,e.apache.arrow.flatbuf.TimeUnit.MILLISECOND)}},{key:"endDuration",value:function(e){return e.endObject()}},{key:"createDuration",value:function(e,n){return t.startDuration(e),t.addUnit(e,n),t.endDuration(e)}}]),t}();t.Duration=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){Object(C.a)(this,e),this.bb=null,this.bb_pos=0}return Object(F.a)(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"key",value:function(e){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__string(this.bb_pos+t,e):null}},{key:"value",value:function(e){var t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__string(this.bb_pos+t,e):null}}],[{key:"getRootAsKeyValue",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startKeyValue",value:function(e){e.startObject(2)}},{key:"addKey",value:function(e,t){e.addFieldOffset(0,t,0)}},{key:"addValue",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"endKeyValue",value:function(e){return e.endObject()}},{key:"createKeyValue",value:function(t,n,r){return e.startKeyValue(t),e.addKey(t,n),e.addValue(t,r),e.endKeyValue(t)}}]),e}();e.KeyValue=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){Object(C.a)(this,t),this.bb=null,this.bb_pos=0}return Object(F.a)(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"id",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}},{key:"indexType",value:function(t){var n=this.bb.__offset(this.bb_pos,6);return n?(t||new e.apache.arrow.flatbuf.Int).__init(this.bb.__indirect(this.bb_pos+n),this.bb):null}},{key:"isOrdered",value:function(){var e=this.bb.__offset(this.bb_pos,8);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}}],[{key:"getRootAsDictionaryEncoding",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startDictionaryEncoding",value:function(e){e.startObject(3)}},{key:"addId",value:function(e,t){e.addFieldInt64(0,t,e.createLong(0,0))}},{key:"addIndexType",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"addIsOrdered",value:function(e,t){e.addFieldInt8(2,+t,0)}},{key:"endDictionaryEncoding",value:function(e){return e.endObject()}},{key:"createDictionaryEncoding",value:function(e,n,r,i){return t.startDictionaryEncoding(e),t.addId(e,n),t.addIndexType(e,r),t.addIsOrdered(e,i),t.endDictionaryEncoding(e)}}]),t}();t.DictionaryEncoding=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){Object(C.a)(this,t),this.bb=null,this.bb_pos=0}return Object(F.a)(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"name",value:function(e){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__string(this.bb_pos+t,e):null}},{key:"nullable",value:function(){var e=this.bb.__offset(this.bb_pos,6);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}},{key:"typeType",value:function(){var t=this.bb.__offset(this.bb_pos,8);return t?this.bb.readUint8(this.bb_pos+t):e.apache.arrow.flatbuf.Type.NONE}},{key:"type",value:function(e){var t=this.bb.__offset(this.bb_pos,10);return t?this.bb.__union(e,this.bb_pos+t):null}},{key:"dictionary",value:function(t){var n=this.bb.__offset(this.bb_pos,12);return n?(t||new e.apache.arrow.flatbuf.DictionaryEncoding).__init(this.bb.__indirect(this.bb_pos+n),this.bb):null}},{key:"children",value:function(t,n){var r=this.bb.__offset(this.bb_pos,14);return r?(n||new e.apache.arrow.flatbuf.Field).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+r)+4*t),this.bb):null}},{key:"childrenLength",value:function(){var e=this.bb.__offset(this.bb_pos,14);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"customMetadata",value:function(t,n){var r=this.bb.__offset(this.bb_pos,16);return r?(n||new e.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+r)+4*t),this.bb):null}},{key:"customMetadataLength",value:function(){var e=this.bb.__offset(this.bb_pos,16);return e?this.bb.__vector_len(this.bb_pos+e):0}}],[{key:"getRootAsField",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startField",value:function(e){e.startObject(7)}},{key:"addName",value:function(e,t){e.addFieldOffset(0,t,0)}},{key:"addNullable",value:function(e,t){e.addFieldInt8(1,+t,0)}},{key:"addTypeType",value:function(t,n){t.addFieldInt8(2,n,e.apache.arrow.flatbuf.Type.NONE)}},{key:"addType",value:function(e,t){e.addFieldOffset(3,t,0)}},{key:"addDictionary",value:function(e,t){e.addFieldOffset(4,t,0)}},{key:"addChildren",value:function(e,t){e.addFieldOffset(5,t,0)}},{key:"createChildrenVector",value:function(e,t){e.startVector(4,t.length,4);for(var n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}},{key:"startChildrenVector",value:function(e,t){e.startVector(4,t,4)}},{key:"addCustomMetadata",value:function(e,t){e.addFieldOffset(6,t,0)}},{key:"createCustomMetadataVector",value:function(e,t){e.startVector(4,t.length,4);for(var n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}},{key:"startCustomMetadataVector",value:function(e,t){e.startVector(4,t,4)}},{key:"endField",value:function(e){return e.endObject()}},{key:"createField",value:function(e,n,r,i,a,o,u,s){return t.startField(e),t.addName(e,n),t.addNullable(e,r),t.addTypeType(e,i),t.addType(e,a),t.addDictionary(e,o),t.addChildren(e,u),t.addCustomMetadata(e,s),t.endField(e)}}]),t}();t.Field=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){Object(C.a)(this,e),this.bb=null,this.bb_pos=0}return Object(F.a)(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"offset",value:function(){return this.bb.readInt64(this.bb_pos)}},{key:"length",value:function(){return this.bb.readInt64(this.bb_pos+8)}}],[{key:"createBuffer",value:function(e,t,n){return e.prep(8,16),e.writeInt64(n),e.writeInt64(t),e.offset()}}]),e}();e.Buffer=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){Object(C.a)(this,t),this.bb=null,this.bb_pos=0}return Object(F.a)(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"endianness",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):e.apache.arrow.flatbuf.Endianness.Little}},{key:"fields",value:function(t,n){var r=this.bb.__offset(this.bb_pos,6);return r?(n||new e.apache.arrow.flatbuf.Field).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+r)+4*t),this.bb):null}},{key:"fieldsLength",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"customMetadata",value:function(t,n){var r=this.bb.__offset(this.bb_pos,8);return r?(n||new e.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+r)+4*t),this.bb):null}},{key:"customMetadataLength",value:function(){var e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}}],[{key:"getRootAsSchema",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startSchema",value:function(e){e.startObject(3)}},{key:"addEndianness",value:function(t,n){t.addFieldInt16(0,n,e.apache.arrow.flatbuf.Endianness.Little)}},{key:"addFields",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"createFieldsVector",value:function(e,t){e.startVector(4,t.length,4);for(var n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}},{key:"startFieldsVector",value:function(e,t){e.startVector(4,t,4)}},{key:"addCustomMetadata",value:function(e,t){e.addFieldOffset(2,t,0)}},{key:"createCustomMetadataVector",value:function(e,t){e.startVector(4,t.length,4);for(var n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}},{key:"startCustomMetadataVector",value:function(e,t){e.startVector(4,t,4)}},{key:"endSchema",value:function(e){return e.endObject()}},{key:"finishSchemaBuffer",value:function(e,t){e.finish(t)}},{key:"createSchema",value:function(e,n,r,i){return t.startSchema(e),t.addEndianness(e,n),t.addFields(e,r),t.addCustomMetadata(e,i),t.endSchema(e)}}]),t}();t.Schema=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ft||(Ft={})),function(e){!function(e){!function(e){!function(e){e.Schema=Ft.apache.arrow.flatbuf.Schema}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Rt||(Rt={})),function(e){!function(e){!function(e){!function(e){!function(e){e[e.NONE=0]="NONE",e[e.Schema=1]="Schema",e[e.DictionaryBatch=2]="DictionaryBatch",e[e.RecordBatch=3]="RecordBatch",e[e.Tensor=4]="Tensor",e[e.SparseTensor=5]="SparseTensor"}(e.MessageHeader||(e.MessageHeader={}))}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Rt||(Rt={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){Object(C.a)(this,e),this.bb=null,this.bb_pos=0}return Object(F.a)(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"length",value:function(){return this.bb.readInt64(this.bb_pos)}},{key:"nullCount",value:function(){return this.bb.readInt64(this.bb_pos+8)}}],[{key:"createFieldNode",value:function(e,t,n){return e.prep(8,16),e.writeInt64(n),e.writeInt64(t),e.offset()}}]),e}();e.FieldNode=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Rt||(Rt={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){Object(C.a)(this,t),this.bb=null,this.bb_pos=0}return Object(F.a)(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"length",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}},{key:"nodes",value:function(t,n){var r=this.bb.__offset(this.bb_pos,6);return r?(n||new e.apache.arrow.flatbuf.FieldNode).__init(this.bb.__vector(this.bb_pos+r)+16*t,this.bb):null}},{key:"nodesLength",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"buffers",value:function(e,t){var n=this.bb.__offset(this.bb_pos,8);return n?(t||new Ft.apache.arrow.flatbuf.Buffer).__init(this.bb.__vector(this.bb_pos+n)+16*e,this.bb):null}},{key:"buffersLength",value:function(){var e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}}],[{key:"getRootAsRecordBatch",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startRecordBatch",value:function(e){e.startObject(3)}},{key:"addLength",value:function(e,t){e.addFieldInt64(0,t,e.createLong(0,0))}},{key:"addNodes",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"startNodesVector",value:function(e,t){e.startVector(16,t,8)}},{key:"addBuffers",value:function(e,t){e.addFieldOffset(2,t,0)}},{key:"startBuffersVector",value:function(e,t){e.startVector(16,t,8)}},{key:"endRecordBatch",value:function(e){return e.endObject()}},{key:"createRecordBatch",value:function(e,n,r,i){return t.startRecordBatch(e),t.addLength(e,n),t.addNodes(e,r),t.addBuffers(e,i),t.endRecordBatch(e)}}]),t}();t.RecordBatch=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Rt||(Rt={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){Object(C.a)(this,t),this.bb=null,this.bb_pos=0}return Object(F.a)(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"id",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}},{key:"data",value:function(t){var n=this.bb.__offset(this.bb_pos,6);return n?(t||new e.apache.arrow.flatbuf.RecordBatch).__init(this.bb.__indirect(this.bb_pos+n),this.bb):null}},{key:"isDelta",value:function(){var e=this.bb.__offset(this.bb_pos,8);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}}],[{key:"getRootAsDictionaryBatch",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startDictionaryBatch",value:function(e){e.startObject(3)}},{key:"addId",value:function(e,t){e.addFieldInt64(0,t,e.createLong(0,0))}},{key:"addData",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"addIsDelta",value:function(e,t){e.addFieldInt8(2,+t,0)}},{key:"endDictionaryBatch",value:function(e){return e.endObject()}},{key:"createDictionaryBatch",value:function(e,n,r,i){return t.startDictionaryBatch(e),t.addId(e,n),t.addData(e,r),t.addIsDelta(e,i),t.endDictionaryBatch(e)}}]),t}();t.DictionaryBatch=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Rt||(Rt={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){Object(C.a)(this,t),this.bb=null,this.bb_pos=0}return Object(F.a)(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"version",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Ft.apache.arrow.flatbuf.MetadataVersion.V1}},{key:"headerType",value:function(){var t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readUint8(this.bb_pos+t):e.apache.arrow.flatbuf.MessageHeader.NONE}},{key:"header",value:function(e){var t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__union(e,this.bb_pos+t):null}},{key:"bodyLength",value:function(){var e=this.bb.__offset(this.bb_pos,10);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}},{key:"customMetadata",value:function(e,t){var n=this.bb.__offset(this.bb_pos,12);return n?(t||new Ft.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+4*e),this.bb):null}},{key:"customMetadataLength",value:function(){var e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}}],[{key:"getRootAsMessage",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startMessage",value:function(e){e.startObject(5)}},{key:"addVersion",value:function(e,t){e.addFieldInt16(0,t,Ft.apache.arrow.flatbuf.MetadataVersion.V1)}},{key:"addHeaderType",value:function(t,n){t.addFieldInt8(1,n,e.apache.arrow.flatbuf.MessageHeader.NONE)}},{key:"addHeader",value:function(e,t){e.addFieldOffset(2,t,0)}},{key:"addBodyLength",value:function(e,t){e.addFieldInt64(3,t,e.createLong(0,0))}},{key:"addCustomMetadata",value:function(e,t){e.addFieldOffset(4,t,0)}},{key:"createCustomMetadataVector",value:function(e,t){e.startVector(4,t.length,4);for(var n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}},{key:"startCustomMetadataVector",value:function(e,t){e.startVector(4,t,4)}},{key:"endMessage",value:function(e){return e.endObject()}},{key:"finishMessageBuffer",value:function(e,t){e.finish(t)}},{key:"createMessage",value:function(e,n,r,i,a,o){return t.startMessage(e),t.addVersion(e,n),t.addHeaderType(e,r),t.addHeader(e,i),t.addBodyLength(e,a),t.addCustomMetadata(e,o),t.endMessage(e)}}]),t}();t.Message=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Rt||(Rt={}));Ft.apache.arrow.flatbuf.Type;var Vt,Wt,Ht=Ft.apache.arrow.flatbuf.DateUnit,Yt=Ft.apache.arrow.flatbuf.TimeUnit,$t=Ft.apache.arrow.flatbuf.Precision,Kt=Ft.apache.arrow.flatbuf.UnionMode,Qt=Ft.apache.arrow.flatbuf.IntervalUnit,qt=Rt.apache.arrow.flatbuf.MessageHeader,Gt=Ft.apache.arrow.flatbuf.MetadataVersion;!function(e){e[e.NONE=0]="NONE",e[e.Null=1]="Null",e[e.Int=2]="Int",e[e.Float=3]="Float",e[e.Binary=4]="Binary",e[e.Utf8=5]="Utf8",e[e.Bool=6]="Bool",e[e.Decimal=7]="Decimal",e[e.Date=8]="Date",e[e.Time=9]="Time",e[e.Timestamp=10]="Timestamp",e[e.Interval=11]="Interval",e[e.List=12]="List",e[e.Struct=13]="Struct",e[e.Union=14]="Union",e[e.FixedSizeBinary=15]="FixedSizeBinary",e[e.FixedSizeList=16]="FixedSizeList",e[e.Map=17]="Map",e[e.Dictionary=-1]="Dictionary",e[e.Int8=-2]="Int8",e[e.Int16=-3]="Int16",e[e.Int32=-4]="Int32",e[e.Int64=-5]="Int64",e[e.Uint8=-6]="Uint8",e[e.Uint16=-7]="Uint16",e[e.Uint32=-8]="Uint32",e[e.Uint64=-9]="Uint64",e[e.Float16=-10]="Float16",e[e.Float32=-11]="Float32",e[e.Float64=-12]="Float64",e[e.DateDay=-13]="DateDay",e[e.DateMillisecond=-14]="DateMillisecond",e[e.TimestampSecond=-15]="TimestampSecond",e[e.TimestampMillisecond=-16]="TimestampMillisecond",e[e.TimestampMicrosecond=-17]="TimestampMicrosecond",e[e.TimestampNanosecond=-18]="TimestampNanosecond",e[e.TimeSecond=-19]="TimeSecond",e[e.TimeMillisecond=-20]="TimeMillisecond",e[e.TimeMicrosecond=-21]="TimeMicrosecond",e[e.TimeNanosecond=-22]="TimeNanosecond",e[e.DenseUnion=-23]="DenseUnion",e[e.SparseUnion=-24]="SparseUnion",e[e.IntervalDayTime=-25]="IntervalDayTime",e[e.IntervalYearMonth=-26]="IntervalYearMonth"}(Vt||(Vt={})),function(e){e[e.OFFSET=0]="OFFSET",e[e.DATA=1]="DATA",e[e.VALIDITY=2]="VALIDITY",e[e.TYPE=3]="TYPE"}(Wt||(Wt={}));var Jt=M.mark(rn);function Zt(e,t,n,r){return 0!==(n&1<>r}function en(e,t,n){return n?!!(e[t>>3]|=1<>3]&=~(1<0||n.byteLength>3):nn(rn(n,e,t,null,Zt)).subarray(0,r)),i}return n}function nn(e){var t,n=[],r=0,i=0,a=0,o=B(e);try{for(o.s();!(t=o.n()).done;){t.value&&(a|=1<0)&&(n[r++]=a);var u=new Uint8Array(n.length+7&-8);return u.set(n),u}function rn(e,t,n,r,i){var a,o,u,s,c;return M.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:a=t%8,o=t>>3,u=0,s=n;case 3:if(!(s>0)){l.next=11;break}c=e[o++];case 5:return l.next=7,i(r,u++,c,a);case 7:if(--s>0&&++a<8){l.next=5;break}case 8:a=0,l.next=3;break;case 11:case"end":return l.stop()}}),Jt)}function an(e,t,n){if(n-t<=0)return 0;if(n-t<8){var r,i=0,a=B(rn(e,t,n-t,e,Xt));try{for(a.s();!(r=a.n()).done;){i+=r.value}}catch(s){a.e(s)}finally{a.f()}return i}var o=n>>3<<3,u=t+(t%8===0?0:8-t%8);return an(e,t,u)+an(e,o,n)+on(e,u>>3,o-u>>3)}function on(e,t,n){for(var r=0,i=0|t,a=new DataView(e.buffer,e.byteOffset,e.byteLength),o=void 0===n?e.byteLength:i+n;o-i>=4;)r+=un(a.getUint32(i)),i+=4;for(;o-i>=2;)r+=un(a.getUint16(i)),i+=2;for(;o-i>=1;)r+=un(a.getUint8(i)),i+=1;return r}function un(e){var t=0|e;return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24}function sn(e){return function(e){if(Array.isArray(e))return E(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||A(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var cn=function(){function e(){Object(C.a)(this,e)}return Object(F.a)(e,[{key:"visitMany",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1&&void 0!==arguments[1])||arguments[1];return ln(this,e,t)}},{key:"visitNull",value:function(e){return null}},{key:"visitBool",value:function(e){return null}},{key:"visitInt",value:function(e){return null}},{key:"visitFloat",value:function(e){return null}},{key:"visitUtf8",value:function(e){return null}},{key:"visitBinary",value:function(e){return null}},{key:"visitFixedSizeBinary",value:function(e){return null}},{key:"visitDate",value:function(e){return null}},{key:"visitTimestamp",value:function(e){return null}},{key:"visitTime",value:function(e){return null}},{key:"visitDecimal",value:function(e){return null}},{key:"visitList",value:function(e){return null}},{key:"visitStruct",value:function(e){return null}},{key:"visitUnion",value:function(e){return null}},{key:"visitDictionary",value:function(e){return null}},{key:"visitInterval",value:function(e){return null}},{key:"visitFixedSizeList",value:function(e){return null}},{key:"visitMap",value:function(e){return null}}]),e}();function ln(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=null,i=Vt.NONE;switch(t instanceof ar||t instanceof zt?i=fn(t.type):t instanceof xn?i=fn(t):"number"!==typeof(i=t)&&(i=Vt[t]),i){case Vt.Null:r=e.visitNull;break;case Vt.Bool:r=e.visitBool;break;case Vt.Int:r=e.visitInt;break;case Vt.Int8:r=e.visitInt8||e.visitInt;break;case Vt.Int16:r=e.visitInt16||e.visitInt;break;case Vt.Int32:r=e.visitInt32||e.visitInt;break;case Vt.Int64:r=e.visitInt64||e.visitInt;break;case Vt.Uint8:r=e.visitUint8||e.visitInt;break;case Vt.Uint16:r=e.visitUint16||e.visitInt;break;case Vt.Uint32:r=e.visitUint32||e.visitInt;break;case Vt.Uint64:r=e.visitUint64||e.visitInt;break;case Vt.Float:r=e.visitFloat;break;case Vt.Float16:r=e.visitFloat16||e.visitFloat;break;case Vt.Float32:r=e.visitFloat32||e.visitFloat;break;case Vt.Float64:r=e.visitFloat64||e.visitFloat;break;case Vt.Utf8:r=e.visitUtf8;break;case Vt.Binary:r=e.visitBinary;break;case Vt.FixedSizeBinary:r=e.visitFixedSizeBinary;break;case Vt.Date:r=e.visitDate;break;case Vt.DateDay:r=e.visitDateDay||e.visitDate;break;case Vt.DateMillisecond:r=e.visitDateMillisecond||e.visitDate;break;case Vt.Timestamp:r=e.visitTimestamp;break;case Vt.TimestampSecond:r=e.visitTimestampSecond||e.visitTimestamp;break;case Vt.TimestampMillisecond:r=e.visitTimestampMillisecond||e.visitTimestamp;break;case Vt.TimestampMicrosecond:r=e.visitTimestampMicrosecond||e.visitTimestamp;break;case Vt.TimestampNanosecond:r=e.visitTimestampNanosecond||e.visitTimestamp;break;case Vt.Time:r=e.visitTime;break;case Vt.TimeSecond:r=e.visitTimeSecond||e.visitTime;break;case Vt.TimeMillisecond:r=e.visitTimeMillisecond||e.visitTime;break;case Vt.TimeMicrosecond:r=e.visitTimeMicrosecond||e.visitTime;break;case Vt.TimeNanosecond:r=e.visitTimeNanosecond||e.visitTime;break;case Vt.Decimal:r=e.visitDecimal;break;case Vt.List:r=e.visitList;break;case Vt.Struct:r=e.visitStruct;break;case Vt.Union:r=e.visitUnion;break;case Vt.DenseUnion:r=e.visitDenseUnion||e.visitUnion;break;case Vt.SparseUnion:r=e.visitSparseUnion||e.visitUnion;break;case Vt.Dictionary:r=e.visitDictionary;break;case Vt.Interval:r=e.visitInterval;break;case Vt.IntervalDayTime:r=e.visitIntervalDayTime||e.visitInterval;break;case Vt.IntervalYearMonth:r=e.visitIntervalYearMonth||e.visitInterval;break;case Vt.FixedSizeList:r=e.visitFixedSizeList;break;case Vt.Map:r=e.visitMap}if("function"===typeof r)return r;if(!n)return function(){return null};throw new Error("Unrecognized type '".concat(Vt[i],"'"))}function fn(e){switch(e.typeId){case Vt.Null:return Vt.Null;case Vt.Int:var t=e.bitWidth,n=e.isSigned;switch(t){case 8:return n?Vt.Int8:Vt.Uint8;case 16:return n?Vt.Int16:Vt.Uint16;case 32:return n?Vt.Int32:Vt.Uint32;case 64:return n?Vt.Int64:Vt.Uint64}return Vt.Int;case Vt.Float:switch(e.precision){case $t.HALF:return Vt.Float16;case $t.SINGLE:return Vt.Float32;case $t.DOUBLE:return Vt.Float64}return Vt.Float;case Vt.Binary:return Vt.Binary;case Vt.Utf8:return Vt.Utf8;case Vt.Bool:return Vt.Bool;case Vt.Decimal:return Vt.Decimal;case Vt.Time:switch(e.unit){case Yt.SECOND:return Vt.TimeSecond;case Yt.MILLISECOND:return Vt.TimeMillisecond;case Yt.MICROSECOND:return Vt.TimeMicrosecond;case Yt.NANOSECOND:return Vt.TimeNanosecond}return Vt.Time;case Vt.Timestamp:switch(e.unit){case Yt.SECOND:return Vt.TimestampSecond;case Yt.MILLISECOND:return Vt.TimestampMillisecond;case Yt.MICROSECOND:return Vt.TimestampMicrosecond;case Yt.NANOSECOND:return Vt.TimestampNanosecond}return Vt.Timestamp;case Vt.Date:switch(e.unit){case Ht.DAY:return Vt.DateDay;case Ht.MILLISECOND:return Vt.DateMillisecond}return Vt.Date;case Vt.Interval:switch(e.unit){case Qt.DAY_TIME:return Vt.IntervalDayTime;case Qt.YEAR_MONTH:return Vt.IntervalYearMonth}return Vt.Interval;case Vt.Map:return Vt.Map;case Vt.List:return Vt.List;case Vt.Struct:return Vt.Struct;case Vt.Union:switch(e.mode){case Kt.Dense:return Vt.DenseUnion;case Kt.Sparse:return Vt.SparseUnion}return Vt.Union;case Vt.FixedSizeBinary:return Vt.FixedSizeBinary;case Vt.FixedSizeList:return Vt.FixedSizeList;case Vt.Dictionary:return Vt.Dictionary}throw new Error("Unrecognized type '".concat(Vt[e.typeId],"'"))}cn.prototype.visitInt8=null,cn.prototype.visitInt16=null,cn.prototype.visitInt32=null,cn.prototype.visitInt64=null,cn.prototype.visitUint8=null,cn.prototype.visitUint16=null,cn.prototype.visitUint32=null,cn.prototype.visitUint64=null,cn.prototype.visitFloat16=null,cn.prototype.visitFloat32=null,cn.prototype.visitFloat64=null,cn.prototype.visitDateDay=null,cn.prototype.visitDateMillisecond=null,cn.prototype.visitTimestampSecond=null,cn.prototype.visitTimestampMillisecond=null,cn.prototype.visitTimestampMicrosecond=null,cn.prototype.visitTimestampNanosecond=null,cn.prototype.visitTimeSecond=null,cn.prototype.visitTimeMillisecond=null,cn.prototype.visitTimeMicrosecond=null,cn.prototype.visitTimeNanosecond=null,cn.prototype.visitDenseUnion=null,cn.prototype.visitSparseUnion=null,cn.prototype.visitIntervalDayTime=null,cn.prototype.visitIntervalYearMonth=null;var hn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"compareSchemas",value:function(e,t){return e===t||t instanceof e.constructor&&On.compareFields(e.fields,t.fields)}},{key:"compareFields",value:function(e,t){return e===t||Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every((function(e,n){return On.compareField(e,t[n])}))}},{key:"compareField",value:function(e,t){return e===t||t instanceof e.constructor&&e.name===t.name&&e.nullable===t.nullable&&On.visit(e.type,t.type)}}]),n}(cn);function dn(e,t){return t instanceof e.constructor}function pn(e,t){return e===t||dn(e,t)}function yn(e,t){return e===t||dn(e,t)&&e.bitWidth===t.bitWidth&&e.isSigned===t.isSigned}function vn(e,t){return e===t||dn(e,t)&&e.precision===t.precision}function bn(e,t){return e===t||dn(e,t)&&e.unit===t.unit}function mn(e,t){return e===t||dn(e,t)&&e.unit===t.unit&&e.timezone===t.timezone}function gn(e,t){return e===t||dn(e,t)&&e.unit===t.unit&&e.bitWidth===t.bitWidth}function kn(e,t){return e===t||dn(e,t)&&e.mode===t.mode&&e.typeIds.every((function(e,n){return e===t.typeIds[n]}))&&On.compareFields(e.children,t.children)}function wn(e,t){return e===t||dn(e,t)&&e.unit===t.unit}hn.prototype.visitNull=pn,hn.prototype.visitBool=pn,hn.prototype.visitInt=yn,hn.prototype.visitInt8=yn,hn.prototype.visitInt16=yn,hn.prototype.visitInt32=yn,hn.prototype.visitInt64=yn,hn.prototype.visitUint8=yn,hn.prototype.visitUint16=yn,hn.prototype.visitUint32=yn,hn.prototype.visitUint64=yn,hn.prototype.visitFloat=vn,hn.prototype.visitFloat16=vn,hn.prototype.visitFloat32=vn,hn.prototype.visitFloat64=vn,hn.prototype.visitUtf8=pn,hn.prototype.visitBinary=pn,hn.prototype.visitFixedSizeBinary=function(e,t){return e===t||dn(e,t)&&e.byteWidth===t.byteWidth},hn.prototype.visitDate=bn,hn.prototype.visitDateDay=bn,hn.prototype.visitDateMillisecond=bn,hn.prototype.visitTimestamp=mn,hn.prototype.visitTimestampSecond=mn,hn.prototype.visitTimestampMillisecond=mn,hn.prototype.visitTimestampMicrosecond=mn,hn.prototype.visitTimestampNanosecond=mn,hn.prototype.visitTime=gn,hn.prototype.visitTimeSecond=gn,hn.prototype.visitTimeMillisecond=gn,hn.prototype.visitTimeMicrosecond=gn,hn.prototype.visitTimeNanosecond=gn,hn.prototype.visitDecimal=pn,hn.prototype.visitList=function(e,t){return e===t||dn(e,t)&&e.children.length===t.children.length&&On.compareFields(e.children,t.children)},hn.prototype.visitStruct=function(e,t){return e===t||dn(e,t)&&e.children.length===t.children.length&&On.compareFields(e.children,t.children)},hn.prototype.visitUnion=kn,hn.prototype.visitDenseUnion=kn,hn.prototype.visitSparseUnion=kn,hn.prototype.visitDictionary=function(e,t){return e===t||dn(e,t)&&e.id===t.id&&e.isOrdered===t.isOrdered&&On.visit(e.indices,t.indices)&&On.visit(e.dictionary,t.dictionary)},hn.prototype.visitInterval=wn,hn.prototype.visitIntervalDayTime=wn,hn.prototype.visitIntervalYearMonth=wn,hn.prototype.visitFixedSizeList=function(e,t){return e===t||dn(e,t)&&e.listSize===t.listSize&&e.children.length===t.children.length&&On.compareFields(e.children,t.children)},hn.prototype.visitMap=function(e,t){return e===t||dn(e,t)&&e.keysSorted===t.keysSorted&&e.children.length===t.children.length&&On.compareFields(e.children,t.children)};var _n,On=new hn,xn=function(){function e(){Object(C.a)(this,e)}return Object(F.a)(e,[{key:"typeId",get:function(){return Vt.NONE}},{key:"compareTo",value:function(e){return On.visit(this,e)}}],[{key:"isNull",value:function(e){return e&&e.typeId===Vt.Null}},{key:"isInt",value:function(e){return e&&e.typeId===Vt.Int}},{key:"isFloat",value:function(e){return e&&e.typeId===Vt.Float}},{key:"isBinary",value:function(e){return e&&e.typeId===Vt.Binary}},{key:"isUtf8",value:function(e){return e&&e.typeId===Vt.Utf8}},{key:"isBool",value:function(e){return e&&e.typeId===Vt.Bool}},{key:"isDecimal",value:function(e){return e&&e.typeId===Vt.Decimal}},{key:"isDate",value:function(e){return e&&e.typeId===Vt.Date}},{key:"isTime",value:function(e){return e&&e.typeId===Vt.Time}},{key:"isTimestamp",value:function(e){return e&&e.typeId===Vt.Timestamp}},{key:"isInterval",value:function(e){return e&&e.typeId===Vt.Interval}},{key:"isList",value:function(e){return e&&e.typeId===Vt.List}},{key:"isStruct",value:function(e){return e&&e.typeId===Vt.Struct}},{key:"isUnion",value:function(e){return e&&e.typeId===Vt.Union}},{key:"isFixedSizeBinary",value:function(e){return e&&e.typeId===Vt.FixedSizeBinary}},{key:"isFixedSizeList",value:function(e){return e&&e.typeId===Vt.FixedSizeList}},{key:"isMap",value:function(e){return e&&e.typeId===Vt.Map}},{key:"isDictionary",value:function(e){return e&&e.typeId===Vt.Dictionary}}]),e}();xn[Symbol.toStringTag]=((_n=xn.prototype).children=null,_n.ArrayType=Array,_n[Symbol.toStringTag]="DataType");var Sn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"toString",value:function(){return"Null"}},{key:"typeId",get:function(){return Vt.Null}}]),n}(xn);Sn[Symbol.toStringTag]=function(e){return e[Symbol.toStringTag]="Null"}(Sn.prototype);var jn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e,r){var i;return Object(C.a)(this,n),(i=t.call(this)).isSigned=e,i.bitWidth=r,i}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.Int}},{key:"ArrayType",get:function(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:case 64:return this.isSigned?Int32Array:Uint32Array}throw new Error("Unrecognized ".concat(this[Symbol.toStringTag]," type"))}},{key:"toString",value:function(){return"".concat(this.isSigned?"I":"Ui","nt").concat(this.bitWidth)}}]),n}(xn);jn[Symbol.toStringTag]=function(e){return e.isSigned=null,e.bitWidth=null,e[Symbol.toStringTag]="Int"}(jn.prototype);var Tn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this,!0,8)}return Object(F.a)(n)}(jn),In=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this,!0,16)}return Object(F.a)(n)}(jn),En=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this,!0,32)}return Object(F.a)(n)}(jn),An=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this,!0,64)}return Object(F.a)(n)}(jn),Bn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this,!1,8)}return Object(F.a)(n)}(jn),Dn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this,!1,16)}return Object(F.a)(n)}(jn),Ln=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this,!1,32)}return Object(F.a)(n)}(jn),Cn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this,!1,64)}return Object(F.a)(n)}(jn);Object.defineProperty(Tn.prototype,"ArrayType",{value:Int8Array}),Object.defineProperty(In.prototype,"ArrayType",{value:Int16Array}),Object.defineProperty(En.prototype,"ArrayType",{value:Int32Array}),Object.defineProperty(An.prototype,"ArrayType",{value:Int32Array}),Object.defineProperty(Bn.prototype,"ArrayType",{value:Uint8Array}),Object.defineProperty(Dn.prototype,"ArrayType",{value:Uint16Array}),Object.defineProperty(Ln.prototype,"ArrayType",{value:Uint32Array}),Object.defineProperty(Cn.prototype,"ArrayType",{value:Uint32Array});var Fn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this)).precision=e,r}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.Float}},{key:"ArrayType",get:function(){switch(this.precision){case $t.HALF:return Uint16Array;case $t.SINGLE:return Float32Array;case $t.DOUBLE:return Float64Array}throw new Error("Unrecognized ".concat(this[Symbol.toStringTag]," type"))}},{key:"toString",value:function(){return"Float".concat(this.precision<<5||16)}}]),n}(xn);Fn[Symbol.toStringTag]=function(e){return e.precision=null,e[Symbol.toStringTag]="Float"}(Fn.prototype);var Mn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this,$t.HALF)}return Object(F.a)(n)}(Fn),Nn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this,$t.SINGLE)}return Object(F.a)(n)}(Fn),Un=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this,$t.DOUBLE)}return Object(F.a)(n)}(Fn);Object.defineProperty(Mn.prototype,"ArrayType",{value:Uint16Array}),Object.defineProperty(Nn.prototype,"ArrayType",{value:Float32Array}),Object.defineProperty(Un.prototype,"ArrayType",{value:Float64Array});var Pn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this)}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.Binary}},{key:"toString",value:function(){return"Binary"}}]),n}(xn);Pn[Symbol.toStringTag]=function(e){return e.ArrayType=Uint8Array,e[Symbol.toStringTag]="Binary"}(Pn.prototype);var Rn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this)}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.Utf8}},{key:"toString",value:function(){return"Utf8"}}]),n}(xn);Rn[Symbol.toStringTag]=function(e){return e.ArrayType=Uint8Array,e[Symbol.toStringTag]="Utf8"}(Rn.prototype);var zn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this)}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.Bool}},{key:"toString",value:function(){return"Bool"}}]),n}(xn);zn[Symbol.toStringTag]=function(e){return e.ArrayType=Uint8Array,e[Symbol.toStringTag]="Bool"}(zn.prototype);var Vn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e,r){var i;return Object(C.a)(this,n),(i=t.call(this)).scale=e,i.precision=r,i}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.Decimal}},{key:"toString",value:function(){return"Decimal[".concat(this.precision,"e").concat(this.scale>0?"+":"").concat(this.scale,"]")}}]),n}(xn);Vn[Symbol.toStringTag]=function(e){return e.scale=null,e.precision=null,e.ArrayType=Uint32Array,e[Symbol.toStringTag]="Decimal"}(Vn.prototype);var Wn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this)).unit=e,r}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.Date}},{key:"toString",value:function(){return"Date".concat(32*(this.unit+1),"<").concat(Ht[this.unit],">")}}]),n}(xn);Wn[Symbol.toStringTag]=function(e){return e.unit=null,e.ArrayType=Int32Array,e[Symbol.toStringTag]="Date"}(Wn.prototype);var Hn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this,Ht.DAY)}return Object(F.a)(n)}(Wn),Yn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.call(this,Ht.MILLISECOND)}return Object(F.a)(n)}(Wn),$n=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e,r){var i;return Object(C.a)(this,n),(i=t.call(this)).unit=e,i.bitWidth=r,i}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.Time}},{key:"toString",value:function(){return"Time".concat(this.bitWidth,"<").concat(Yt[this.unit],">")}}]),n}(xn);$n[Symbol.toStringTag]=function(e){return e.unit=null,e.bitWidth=null,e.ArrayType=Int32Array,e[Symbol.toStringTag]="Time"}($n.prototype);var Kn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e,r){var i;return Object(C.a)(this,n),(i=t.call(this)).unit=e,i.timezone=r,i}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.Timestamp}},{key:"toString",value:function(){return"Timestamp<".concat(Yt[this.unit]).concat(this.timezone?", ".concat(this.timezone):"",">")}}]),n}(xn);Kn[Symbol.toStringTag]=function(e){return e.unit=null,e.timezone=null,e.ArrayType=Int32Array,e[Symbol.toStringTag]="Timestamp"}(Kn.prototype);var Qn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this)).unit=e,r}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.Interval}},{key:"toString",value:function(){return"Interval<".concat(Qt[this.unit],">")}}]),n}(xn);Qn[Symbol.toStringTag]=function(e){return e.unit=null,e.ArrayType=Int32Array,e[Symbol.toStringTag]="Interval"}(Qn.prototype);var qn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this)).children=[e],r}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.List}},{key:"toString",value:function(){return"List<".concat(this.valueType,">")}},{key:"valueType",get:function(){return this.children[0].type}},{key:"valueField",get:function(){return this.children[0]}},{key:"ArrayType",get:function(){return this.valueType.ArrayType}}]),n}(xn);qn[Symbol.toStringTag]=function(e){return e.children=null,e[Symbol.toStringTag]="List"}(qn.prototype);var Gn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this)).children=e,r}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.Struct}},{key:"toString",value:function(){return"Struct<{".concat(this.children.map((function(e){return"".concat(e.name,":").concat(e.type)})).join(", "),"}>")}}]),n}(xn);Gn[Symbol.toStringTag]=function(e){return e.children=null,e[Symbol.toStringTag]="Struct"}(Gn.prototype);var Jn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e,r,i){var a;return Object(C.a)(this,n),(a=t.call(this)).mode=e,a.children=i,a.typeIds=r=Int32Array.from(r),a.typeIdToChildIndex=r.reduce((function(e,t,n){return(e[t]=n)&&e||e}),Object.create(null)),a}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.Union}},{key:"toString",value:function(){return"".concat(this[Symbol.toStringTag],"<").concat(this.children.map((function(e){return"".concat(e.type)})).join(" | "),">")}}]),n}(xn);Jn[Symbol.toStringTag]=function(e){return e.mode=null,e.typeIds=null,e.children=null,e.typeIdToChildIndex=null,e.ArrayType=Int8Array,e[Symbol.toStringTag]="Union"}(Jn.prototype);var Zn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this)).byteWidth=e,r}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.FixedSizeBinary}},{key:"toString",value:function(){return"FixedSizeBinary[".concat(this.byteWidth,"]")}}]),n}(xn);Zn[Symbol.toStringTag]=function(e){return e.byteWidth=null,e.ArrayType=Uint8Array,e[Symbol.toStringTag]="FixedSizeBinary"}(Zn.prototype);var Xn=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e,r){var i;return Object(C.a)(this,n),(i=t.call(this)).listSize=e,i.children=[r],i}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.FixedSizeList}},{key:"valueType",get:function(){return this.children[0].type}},{key:"valueField",get:function(){return this.children[0]}},{key:"ArrayType",get:function(){return this.valueType.ArrayType}},{key:"toString",value:function(){return"FixedSizeList[".concat(this.listSize,"]<").concat(this.valueType,">")}}]),n}(xn);Xn[Symbol.toStringTag]=function(e){return e.children=null,e.listSize=null,e[Symbol.toStringTag]="FixedSizeList"}(Xn.prototype);var er=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object(C.a)(this,n),(r=t.call(this)).children=[e],r.keysSorted=i,r}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.Map}},{key:"keyType",get:function(){return this.children[0].type.children[0].type}},{key:"valueType",get:function(){return this.children[0].type.children[1].type}},{key:"toString",value:function(){return"Map<{".concat(this.children[0].type.children.map((function(e){return"".concat(e.name,":").concat(e.type)})).join(", "),"}>")}}]),n}(xn);er[Symbol.toStringTag]=function(e){return e.children=null,e.keysSorted=null,e[Symbol.toStringTag]="Map_"}(er.prototype);var tr,nr=(tr=-1,function(){return++tr}),rr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e,r,i,a){var o;return Object(C.a)(this,n),(o=t.call(this)).indices=r,o.dictionary=e,o.isOrdered=a||!1,o.id=null==i?nr():"number"===typeof i?i:i.low,o}return Object(F.a)(n,[{key:"typeId",get:function(){return Vt.Dictionary}},{key:"children",get:function(){return this.dictionary.children}},{key:"valueType",get:function(){return this.dictionary}},{key:"ArrayType",get:function(){return this.dictionary.ArrayType}},{key:"toString",value:function(){return"Dictionary<".concat(this.indices,", ").concat(this.dictionary,">")}}]),n}(xn);function ir(e){var t=e;switch(e.typeId){case Vt.Decimal:return 4;case Vt.Timestamp:return 2;case Vt.Date:case Vt.Interval:return 1+t.unit;case Vt.Int:case Vt.Time:return+(t.bitWidth>32)+1;case Vt.FixedSizeList:return t.listSize;case Vt.FixedSizeBinary:return t.byteWidth;default:return 1}}rr[Symbol.toStringTag]=function(e){return e.id=null,e.indices=null,e.isOrdered=null,e.dictionary=null,e[Symbol.toStringTag]="Dictionary"}(rr.prototype);var ar=function(){function e(t,n,r,i,a,o,u){var s;Object(C.a)(this,e),this.type=t,this.dictionary=u,this.offset=Math.floor(Math.max(n||0,0)),this.length=Math.floor(Math.max(r||0,0)),this._nullCount=Math.floor(Math.max(i||0,-1)),this.childData=(o||[]).map((function(t){return t instanceof e?t:t.data})),a instanceof e?(this.stride=a.stride,this.values=a.values,this.typeIds=a.typeIds,this.nullBitmap=a.nullBitmap,this.valueOffsets=a.valueOffsets):(this.stride=ir(t),a&&((s=a[0])&&(this.valueOffsets=s),(s=a[1])&&(this.values=s),(s=a[2])&&(this.nullBitmap=s),(s=a[3])&&(this.typeIds=s)))}return Object(F.a)(e,[{key:"typeId",get:function(){return this.type.typeId}},{key:"ArrayType",get:function(){return this.type.ArrayType}},{key:"buffers",get:function(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}},{key:"byteLength",get:function(){var e=0,t=this.valueOffsets,n=this.values,r=this.nullBitmap,i=this.typeIds;return t&&(e+=t.byteLength),n&&(e+=n.byteLength),r&&(e+=r.byteLength),i&&(e+=i.byteLength),this.childData.reduce((function(e,t){return e+t.byteLength}),e)}},{key:"nullCount",get:function(){var e,t=this._nullCount;return t<=-1&&(e=this.nullBitmap)&&(this._nullCount=t=this.length-an(e,this.offset,this.offset+this.length)),t}},{key:"clone",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.offset,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.length,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this._nullCount,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:this.childData;return new e(t,n,r,i,a,o,this.dictionary)}},{key:"slice",value:function(e,t){var n=this.stride,r=this.typeId,i=this.childData,a=+(0===this._nullCount)-1,o=16===r?n:1,u=this._sliceBuffers(e,t,n,r);return this.clone(this.type,this.offset+e,t,a,u,!i.length||this.valueOffsets?i:this._sliceChildren(i,o*e,o*t))}},{key:"_changeLengthAndBackfillNullBitmap",value:function(e){if(this.typeId===Vt.Null)return this.clone(this.type,0,e,0);var t=this.length,n=this.nullCount,r=new Uint8Array((e+63&-64)>>3).fill(255,0,t>>3);r[t>>3]=(1<0&&r.set(tn(this.offset,t,this.nullBitmap),0);var i=this.buffers;return i[Wt.VALIDITY]=r,this.clone(this.type,0,e,n+(e-t),i)}},{key:"_sliceBuffers",value:function(e,t,n,r){var i,a=this.buffers;return(i=a[Wt.TYPE])&&(a[Wt.TYPE]=i.subarray(e,e+t)),(i=a[Wt.OFFSET])&&(a[Wt.OFFSET]=i.subarray(e,e+t+1))||(i=a[Wt.DATA])&&(a[Wt.DATA]=6===r?i:i.subarray(n*e,n*(e+t))),a}},{key:"_sliceChildren",value:function(e,t,n){return e.map((function(e){return e.slice(t,n)}))}}],[{key:"new",value:function(t,n,r,i,a,o,u){switch(a instanceof e?a=a.buffers:a||(a=[]),t.typeId){case Vt.Null:return e.Null(t,n,r);case Vt.Int:return e.Int(t,n,r,i||0,a[Wt.VALIDITY],a[Wt.DATA]||[]);case Vt.Dictionary:return e.Dictionary(t,n,r,i||0,a[Wt.VALIDITY],a[Wt.DATA]||[],u);case Vt.Float:return e.Float(t,n,r,i||0,a[Wt.VALIDITY],a[Wt.DATA]||[]);case Vt.Bool:return e.Bool(t,n,r,i||0,a[Wt.VALIDITY],a[Wt.DATA]||[]);case Vt.Decimal:return e.Decimal(t,n,r,i||0,a[Wt.VALIDITY],a[Wt.DATA]||[]);case Vt.Date:return e.Date(t,n,r,i||0,a[Wt.VALIDITY],a[Wt.DATA]||[]);case Vt.Time:return e.Time(t,n,r,i||0,a[Wt.VALIDITY],a[Wt.DATA]||[]);case Vt.Timestamp:return e.Timestamp(t,n,r,i||0,a[Wt.VALIDITY],a[Wt.DATA]||[]);case Vt.Interval:return e.Interval(t,n,r,i||0,a[Wt.VALIDITY],a[Wt.DATA]||[]);case Vt.FixedSizeBinary:return e.FixedSizeBinary(t,n,r,i||0,a[Wt.VALIDITY],a[Wt.DATA]||[]);case Vt.Binary:return e.Binary(t,n,r,i||0,a[Wt.VALIDITY],a[Wt.OFFSET]||[],a[Wt.DATA]||[]);case Vt.Utf8:return e.Utf8(t,n,r,i||0,a[Wt.VALIDITY],a[Wt.OFFSET]||[],a[Wt.DATA]||[]);case Vt.List:return e.List(t,n,r,i||0,a[Wt.VALIDITY],a[Wt.OFFSET]||[],(o||[])[0]);case Vt.FixedSizeList:return e.FixedSizeList(t,n,r,i||0,a[Wt.VALIDITY],(o||[])[0]);case Vt.Struct:return e.Struct(t,n,r,i||0,a[Wt.VALIDITY],o||[]);case Vt.Map:return e.Map(t,n,r,i||0,a[Wt.VALIDITY],a[Wt.OFFSET]||[],(o||[])[0]);case Vt.Union:return e.Union(t,n,r,i||0,a[Wt.VALIDITY],a[Wt.TYPE]||[],a[Wt.OFFSET]||o,o)}throw new Error("Unrecognized typeId ".concat(t.typeId))}},{key:"Null",value:function(t,n,r){return new e(t,n,r,0)}},{key:"Int",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ne(t.ArrayType,o),Ve(a)])}},{key:"Dictionary",value:function(t,n,r,i,a,o,u){return new e(t,n,r,i,[void 0,Ne(t.indices.ArrayType,o),Ve(a)],[],u)}},{key:"Float",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ne(t.ArrayType,o),Ve(a)])}},{key:"Bool",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ne(t.ArrayType,o),Ve(a)])}},{key:"Decimal",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ne(t.ArrayType,o),Ve(a)])}},{key:"Date",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ne(t.ArrayType,o),Ve(a)])}},{key:"Time",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ne(t.ArrayType,o),Ve(a)])}},{key:"Timestamp",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ne(t.ArrayType,o),Ve(a)])}},{key:"Interval",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ne(t.ArrayType,o),Ve(a)])}},{key:"FixedSizeBinary",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ne(t.ArrayType,o),Ve(a)])}},{key:"Binary",value:function(t,n,r,i,a,o,u){return new e(t,n,r,i,[Re(o),Ve(u),Ve(a)])}},{key:"Utf8",value:function(t,n,r,i,a,o,u){return new e(t,n,r,i,[Re(o),Ve(u),Ve(a)])}},{key:"List",value:function(t,n,r,i,a,o,u){return new e(t,n,r,i,[Re(o),void 0,Ve(a)],[u])}},{key:"FixedSizeList",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,void 0,Ve(a)],[o])}},{key:"Struct",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,void 0,Ve(a)],o)}},{key:"Map",value:function(t,n,r,i,a,o,u){return new e(t,n,r,i,[Re(o),void 0,Ve(a)],[u])}},{key:"Union",value:function(t,n,r,i,a,o,u,s){var c=[void 0,void 0,Ve(a),Ne(t.ArrayType,o)];return t.mode===Kt.Sparse?new e(t,n,r,i,c,u):(c[Wt.OFFSET]=Re(u),new e(t,n,r,i,c,s))}}]),e}();ar.prototype.childData=Object.freeze([]);function or(e){if(null===e)return"null";if(void 0===e)return"undefined";switch(typeof e){case"number":case"bigint":return"".concat(e);case"string":return'"'.concat(e,'"')}return"function"===typeof e[Symbol.toPrimitive]?e[Symbol.toPrimitive]("string"):ArrayBuffer.isView(e)?"[".concat(e,"]"):JSON.stringify(e)}function ur(e){if(!e||e.length<=0)return function(e){return!0};var t="",n=e.filter((function(e){return e===e}));return n.length>0&&(t="\n switch (x) {".concat(n.map((function(e){return"\n case ".concat(function(e){if("bigint"!==typeof e)return or(e);if(le)return"".concat(or(e),"n");return'"'.concat(or(e),'"')}(e),":")})).join(""),"\n return false;\n }")),e.length!==n.length&&(t="if (x !== x) return false;\n".concat(t)),new Function("x","".concat(t,"\nreturn true;"))}var sr=function(e,t){return(e*t+63&-64||64)/t},cr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.length>=t?e.subarray(0,t):Fe(new e.constructor(t),e,0)},lr=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;Object(C.a)(this,e),this.buffer=t,this.stride=n,this.BYTES_PER_ELEMENT=t.BYTES_PER_ELEMENT,this.ArrayType=t.constructor,this._resize(this.length=t.length/n|0)}return Object(F.a)(e,[{key:"byteLength",get:function(){return this.length*this.stride*this.BYTES_PER_ELEMENT|0}},{key:"reservedLength",get:function(){return this.buffer.length/this.stride}},{key:"reservedByteLength",get:function(){return this.buffer.byteLength}},{key:"set",value:function(e,t){return this}},{key:"append",value:function(e){return this.set(this.length,e)}},{key:"reserve",value:function(e){if(e>0){this.length+=e;var t=this.stride,n=this.length*t,r=this.buffer.length;n>=r&&this._resize(sr(0===r?1*n:2*n,this.BYTES_PER_ELEMENT))}return this}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.length;e=sr(e*this.stride,this.BYTES_PER_ELEMENT);var t=cr(this.buffer,e);return this.clear(),t}},{key:"clear",value:function(){return this.length=0,this._resize(0),this}},{key:"_resize",value:function(e){return this.buffer=Fe(new this.ArrayType(e),this.buffer)}}]),e}();lr.prototype.offset=0;var fr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"last",value:function(){return this.get(this.length-1)}},{key:"get",value:function(e){return this.buffer[e]}},{key:"set",value:function(e,t){return this.reserve(e-this.length+1),this.buffer[e*this.stride]=t,this}}]),n}(lr),hr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array(0);return Object(C.a)(this,n),(e=t.call(this,r,1/8)).numValid=0,e}return Object(F.a)(n,[{key:"numInvalid",get:function(){return this.length-this.numValid}},{key:"get",value:function(e){return this.buffer[e>>3]>>e%8&1}},{key:"set",value:function(e,t){var n=this.reserve(e-this.length+1).buffer,r=e>>3,i=e%8,a=n[r]>>i&1;return t?0===a&&(n[r]|=1<0&&void 0!==arguments[0]?arguments[0]:new Int32Array(1);return Object(C.a)(this,n),t.call(this,e,1)}return Object(F.a)(n,[{key:"append",value:function(e){return this.set(this.length-1,e)}},{key:"set",value:function(e,t){var n=this.length-1,r=this.reserve(e-n+1).buffer;return n0&&void 0!==arguments[0]?arguments[0]:this.length-1;return e>this.length&&this.set(e-1,0),Ct(Object(Lt.a)(n.prototype),"flush",this).call(this,e+1)}}]),n}(fr),pr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"ArrayType64",get:function(){return this._ArrayType64||(this._ArrayType64=this.buffer instanceof Int32Array?he:pe)}},{key:"set",value:function(e,t){switch(this.reserve(e-this.length+1),typeof t){case"bigint":this.buffer64[e]=t;break;case"number":this.buffer[e*this.stride]=t;break;default:this.buffer.set(t,e*this.stride)}return this}},{key:"_resize",value:function(e){var t=Ct(Object(Lt.a)(n.prototype),"_resize",this).call(this,e),r=t.byteLength/(this.BYTES_PER_ELEMENT*this.stride);return le&&(this.buffer64=new this.ArrayType64(t.buffer,t.byteOffset,r)),t}}]),n}(lr);function yr(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new vr(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function vr(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return(vr=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new vr(e)}var br=function(){function e(t){var n=t.type,r=t.nullValues;Object(C.a)(this,e),this.length=0,this.finished=!1,this.type=n,this.children=[],this.nullValues=r,this.stride=ir(n),this._nulls=new hr,r&&r.length>0&&(this._isValid=ur(r))}return Object(F.a)(e,[{key:"toVector",value:function(){return zt.new(this.flush())}},{key:"ArrayType",get:function(){return this.type.ArrayType}},{key:"nullCount",get:function(){return this._nulls.numInvalid}},{key:"numChildren",get:function(){return this.children.length}},{key:"byteLength",get:function(){var e=0;return this._offsets&&(e+=this._offsets.byteLength),this._values&&(e+=this._values.byteLength),this._nulls&&(e+=this._nulls.byteLength),this._typeIds&&(e+=this._typeIds.byteLength),this.children.reduce((function(e,t){return e+t.byteLength}),e)}},{key:"reservedLength",get:function(){return this._nulls.reservedLength}},{key:"reservedByteLength",get:function(){var e=0;return this._offsets&&(e+=this._offsets.reservedByteLength),this._values&&(e+=this._values.reservedByteLength),this._nulls&&(e+=this._nulls.reservedByteLength),this._typeIds&&(e+=this._typeIds.reservedByteLength),this.children.reduce((function(e,t){return e+t.reservedByteLength}),e)}},{key:"valueOffsets",get:function(){return this._offsets?this._offsets.buffer:null}},{key:"values",get:function(){return this._values?this._values.buffer:null}},{key:"nullBitmap",get:function(){return this._nulls?this._nulls.buffer:null}},{key:"typeIds",get:function(){return this._typeIds?this._typeIds.buffer:null}},{key:"append",value:function(e){return this.set(this.length,e)}},{key:"isValid",value:function(e){return this._isValid(e)}},{key:"set",value:function(e,t){return this.setValid(e,this.isValid(t))&&this.setValue(e,t),this}},{key:"setValue",value:function(e,t){this._setValue(this,e,t)}},{key:"setValid",value:function(e,t){return this.length=this._nulls.set(e,+t).length,t}},{key:"addChild",value:function(e){arguments.length>1&&void 0!==arguments[1]||"".concat(this.numChildren);throw new Error('Cannot append children to non-nested type "'.concat(this.type,'"'))}},{key:"getChildAt",value:function(e){return this.children[e]||null}},{key:"flush",value:function(){var e=[],t=this._values,n=this._offsets,r=this._typeIds,i=this.length,a=this.nullCount;r?(e[Wt.TYPE]=r.flush(i),n&&(e[Wt.OFFSET]=n.flush(i))):n?(t&&(e[Wt.DATA]=t.flush(n.last())),e[Wt.OFFSET]=n.flush(i)):t&&(e[Wt.DATA]=t.flush(i)),a>0&&(e[Wt.VALIDITY]=this._nulls.flush(i));var o=ar.new(this.type,0,i,a,e,this.children.map((function(e){return e.flush()})));return this.clear(),o}},{key:"finish",value:function(){return this.finished=!0,this.children.forEach((function(e){return e.finish()})),this}},{key:"clear",value:function(){return this.length=0,this._offsets&&this._offsets.clear(),this._values&&this._values.clear(),this._nulls&&this._nulls.clear(),this._typeIds&&this._typeIds.clear(),this.children.forEach((function(e){return e.clear()})),this}}],[{key:"new",value:function(e){}},{key:"throughNode",value:function(e){throw new Error('"throughNode" not available in this environment')}},{key:"throughDOM",value:function(e){throw new Error('"throughDOM" not available in this environment')}},{key:"throughIterable",value:function(e){return function(e){var t=e.queueingStrategy,n=void 0===t?"count":t,r=e.highWaterMark,i=void 0===r?"bytes"!==n?1e3:Math.pow(2,14):r,a="bytes"!==n?"length":"byteLength";return M.mark((function t(n){var r,o,u,s,c;return M.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=0,o=br.new(e),u=B(n),t.prev=3,u.s();case 5:if((s=u.n()).done){t.next=14;break}if(c=s.value,!(o.append(c)[a]>=i)){t.next=12;break}if(t.t0=++r,!t.t0){t.next=12;break}return t.next=12,o.toVector();case 12:t.next=5;break;case 14:t.next=19;break;case 16:t.prev=16,t.t1=t.catch(3),u.e(t.t1);case 19:return t.prev=19,u.f(),t.finish(19);case 22:if(!(o.finish().length>0||0===r)){t.next=25;break}return t.next=25,o.toVector();case 25:case"end":return t.stop()}}),t,null,[[3,16,19,22]])}))}(e)}},{key:"throughAsyncIterable",value:function(e){return function(e){var t=e.queueingStrategy,n=void 0===t?"count":t,r=e.highWaterMark,i=void 0===r?"bytes"!==n?1e3:Math.pow(2,14):r,a="bytes"!==n?"length":"byteLength";return function(){var t=z(M.mark((function t(n){var r,o,u,s,c,l,f,h;return M.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=0,o=br.new(e),u=!1,s=!1,t.prev=4,l=yr(n);case 6:return t.next=8,P(l.next());case 8:if(!(u=!(f=t.sent).done)){t.next=18;break}if(h=f.value,!(o.append(h)[a]>=i)){t.next=15;break}if(t.t0=++r,!t.t0){t.next=15;break}return t.next=15,o.toVector();case 15:u=!1,t.next=6;break;case 18:t.next=24;break;case 20:t.prev=20,t.t1=t.catch(4),s=!0,c=t.t1;case 24:if(t.prev=24,t.prev=25,!u||null==l.return){t.next=29;break}return t.next=29,P(l.return());case 29:if(t.prev=29,!s){t.next=32;break}throw c;case 32:return t.finish(29);case 33:return t.finish(24);case 34:if(!(o.finish().length>0||0===r)){t.next=37;break}return t.next=37,o.toVector();case 37:case"end":return t.stop()}}),t,null,[[4,20,24,34],[25,,29,33]])})));return function(e){return t.apply(this,arguments)}}()}(e)}}]),e}();br.prototype.length=1,br.prototype.stride=1,br.prototype.children=null,br.prototype.finished=!1,br.prototype.nullValues=null,br.prototype._isValid=function(){return!0};var mr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this,e))._values=new fr(new r.ArrayType(0),r.stride),r}return Object(F.a)(n,[{key:"setValue",value:function(e,t){var r=this._values;return r.reserve(e-r.length+1),Ct(Object(Lt.a)(n.prototype),"setValue",this).call(this,e,t)}}]),n}(br),gr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this,e))._pendingLength=0,r._offsets=new dr,r}return Object(F.a)(n,[{key:"setValue",value:function(e,t){var n=this._pending||(this._pending=new Map),r=n.get(e);r&&(this._pendingLength-=r.length),this._pendingLength+=t.length,n.set(e,t)}},{key:"setValid",value:function(e,t){return!!Ct(Object(Lt.a)(n.prototype),"setValid",this).call(this,e,t)||((this._pending||(this._pending=new Map)).set(e,void 0),!1)}},{key:"clear",value:function(){return this._pendingLength=0,this._pending=void 0,Ct(Object(Lt.a)(n.prototype),"clear",this).call(this)}},{key:"flush",value:function(){return this._flush(),Ct(Object(Lt.a)(n.prototype),"flush",this).call(this)}},{key:"finish",value:function(){return this._flush(),Ct(Object(Lt.a)(n.prototype),"finish",this).call(this)}},{key:"_flush",value:function(){var e=this._pending,t=this._pendingLength;return this._pendingLength=0,this._pending=void 0,e&&e.size>0&&this._flushPending(e,t),this}}]),n}(br);var kr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this,e))._values=new hr,r}return Object(F.a)(n,[{key:"setValue",value:function(e,t){this._values.set(e,+t)}}]),n}(br),wr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"setValue",value:function(e,t){}},{key:"setValid",value:function(e,t){return this.length=Math.max(e+1,this.length),t}}]),n}(br),_r=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(mr),Or=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(_r),xr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(_r),Sr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(mr),jr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r,i=e.type,a=e.nullValues,o=e.dictionaryHashFunction;return Object(C.a)(this,n),(r=t.call(this,{type:new rr(i.dictionary,i.indices,i.id,i.isOrdered)}))._nulls=null,r._dictionaryOffset=0,r._keysToIndices=Object.create(null),r.indices=br.new({type:r.type.indices,nullValues:a}),r.dictionary=br.new({type:r.type.dictionary,nullValues:null}),"function"===typeof o&&(r.valueToKey=o),r}return Object(F.a)(n,[{key:"values",get:function(){return this.indices.values}},{key:"nullCount",get:function(){return this.indices.nullCount}},{key:"nullBitmap",get:function(){return this.indices.nullBitmap}},{key:"byteLength",get:function(){return this.indices.byteLength+this.dictionary.byteLength}},{key:"reservedLength",get:function(){return this.indices.reservedLength+this.dictionary.reservedLength}},{key:"reservedByteLength",get:function(){return this.indices.reservedByteLength+this.dictionary.reservedByteLength}},{key:"isValid",value:function(e){return this.indices.isValid(e)}},{key:"setValid",value:function(e,t){var n=this.indices;return t=n.setValid(e,t),this.length=n.length,t}},{key:"setValue",value:function(e,t){var n=this._keysToIndices,r=this.valueToKey(t),i=n[r];return void 0===i&&(n[r]=i=this._dictionaryOffset+this.dictionary.append(t).length-1),this.indices.setValue(e,i)}},{key:"flush",value:function(){var e=this.type,t=this._dictionary,n=this.dictionary.toVector(),r=this.indices.flush().clone(e);return r.dictionary=t?t.concat(n):n,this.finished||(this._dictionaryOffset+=n.length),this._dictionary=r.dictionary,this.clear(),r}},{key:"finish",value:function(){return this.indices.finish(),this.dictionary.finish(),this._dictionaryOffset=0,this._keysToIndices=Object.create(null),Ct(Object(Lt.a)(n.prototype),"finish",this).call(this)}},{key:"clear",value:function(){return this.indices.clear(),this.dictionary.clear(),Ct(Object(Lt.a)(n.prototype),"clear",this).call(this)}},{key:"valueToKey",value:function(e){return"string"===typeof e?e:"".concat(e)}}]),n}(br),Tr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(mr),Ir=new Float64Array(1),Er=new Uint32Array(Ir.buffer);function Ar(e){var t=(31744&e)>>10,n=(1023&e)/1024,r=Math.pow(-1,(32768&e)>>15);switch(t){case 31:return r*(n?NaN:1/0);case 0:return r*(n?6103515625e-14*n:0)}return r*Math.pow(2,t-15)*(1+n)}function Br(e){if(e!==e)return 32256;Ir[0]=e;var t=(2147483648&Er[1])>>16&65535,n=2146435072&Er[1],r=0;return n>=1089470464?Er[0]>0?n=31744:(n=(2080374784&n)>>16,r=(1048575&Er[1])>>10):n<=1056964608?(r=1048576+((r=1048576+(1048575&Er[1]))<<(n>>20)-998)>>21,n=0):(n=n-1056964608>>10,r=512+(1048575&Er[1])>>10),t|n|65535&r}var Dr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(mr),Lr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"setValue",value:function(e,t){this._values.set(e,Br(t))}}]),n}(Dr),Cr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"setValue",value:function(e,t){this._values.set(e,t)}}]),n}(Dr),Fr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"setValue",value:function(e,t){this._values.set(e,t)}}]),n}(Dr),Mr=n(12),Nr=n(13);function Ur(e,t,n){return(Ur=Object(Nr.a)()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&Object(Mr.a)(i,n.prototype),i}).apply(null,arguments)}var Pr,Rr,zr=Symbol.for("isArrowBigNum");function Vr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r>>=0),s+=(n>>>0)+t*Math.pow(c,32);return s}function Kr(e){var t="",n=new Uint32Array(2),r=new Uint16Array(e.buffer,e.byteOffset,e.byteLength/2),i=new Uint32Array((r=new Uint16Array(r).reverse()).buffer),a=-1,o=r.length-1;do{for(n[0]=r[a=0];a0&&void 0!==arguments[0]?arguments[0]:"default";switch(e){case"number":return $r(this);case"string":return Pr(this);case"default":return Rr(this)}return Pr(this)},Object.setPrototypeOf(Wr.prototype,Object.create(Int32Array.prototype)),Object.setPrototypeOf(Hr.prototype,Object.create(Uint32Array.prototype)),Object.setPrototypeOf(Yr.prototype,Object.create(Uint32Array.prototype)),Object.assign(Wr.prototype,Vr.prototype,{constructor:Wr,signed:!0,TypedArray:Int32Array,BigIntArray:he}),Object.assign(Hr.prototype,Vr.prototype,{constructor:Hr,signed:!1,TypedArray:Uint32Array,BigIntArray:pe}),Object.assign(Yr.prototype,Vr.prototype,{constructor:Yr,signed:!0,TypedArray:Uint32Array,BigIntArray:pe}),le?(Rr=function(e){return 8===e.byteLength?new e.BigIntArray(e.buffer,e.byteOffset,1)[0]:Kr(e)},Pr=function(e){return 8===e.byteLength?"".concat(new e.BigIntArray(e.buffer,e.byteOffset,1)[0]):Kr(e)}):Rr=Pr=Kr;var Qr,qr=function(){function e(t,n){return Object(C.a)(this,e),e.new(t,n)}return Object(F.a)(e,null,[{key:"new",value:function(e,t){switch(t){case!0:return new Wr(e);case!1:return new Hr(e)}switch(e.constructor){case Int8Array:case Int16Array:case Int32Array:case he:return new Wr(e)}return 16===e.byteLength?new Yr(e):new Hr(e)}},{key:"signed",value:function(e){return new Wr(e)}},{key:"unsigned",value:function(e){return new Hr(e)}},{key:"decimal",value:function(e){return new Yr(e)}}]),e}(),Gr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"setValue",value:function(e,t){this._values.set(e,t)}}]),n}(mr),Jr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(Gr),Zr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(Gr),Xr=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(Gr),ei=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),e.nullValues&&(e.nullValues=e.nullValues.map(ai)),(r=t.call(this,e))._values=new pr(new Int32Array(0),2),r}return Object(F.a)(n,[{key:"values64",get:function(){return this._values.buffer64}},{key:"isValid",value:function(e){return Ct(Object(Lt.a)(n.prototype),"isValid",this).call(this,ai(e))}}]),n}(Gr),ti=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(Gr),ni=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(Gr),ri=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(Gr),ii=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),e.nullValues&&(e.nullValues=e.nullValues.map(ai)),(r=t.call(this,e))._values=new pr(new Uint32Array(0),2),r}return Object(F.a)(n,[{key:"values64",get:function(){return this._values.buffer64}},{key:"isValid",value:function(e){return Ct(Object(Lt.a)(n.prototype),"isValid",this).call(this,ai(e))}}]),n}(Gr),ai=(Qr={BigIntArray:he},function(e){return ArrayBuffer.isView(e)&&(Qr.buffer=e.buffer,Qr.byteOffset=e.byteOffset,Qr.byteLength=e.byteLength,e=Rr(Qr),Qr.buffer=null),e}),oi=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(mr),ui=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(oi),si=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(oi),ci=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(oi),li=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(oi),fi=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(mr),hi=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(fi),di=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(fi),pi=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(fi),yi=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(fi),vi=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(mr),bi=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(vi),mi=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(vi),gi=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this,e))._values=new lr(new Uint8Array(0)),r}return Object(F.a)(n,[{key:"byteLength",get:function(){var e=this._pendingLength+4*this.length;return this._offsets&&(e+=this._offsets.byteLength),this._values&&(e+=this._values.byteLength),this._nulls&&(e+=this._nulls.byteLength),e}},{key:"setValue",value:function(e,t){return Ct(Object(Lt.a)(n.prototype),"setValue",this).call(this,e,Ve(t))}},{key:"_flushPending",value:function(e,t){var n,r,i=this._offsets,a=this._values.reserve(t).buffer,o=0,u=0,s=0,c=B(e);try{for(c.s();!(r=c.n()).done;){var l=N(r.value,2);o=l[0],void 0===(n=l[1])?i.set(o,0):(u=n.length,a.set(n,s),i.set(o,u),s+=u)}}catch(f){c.e(f)}finally{c.f()}}}]),n}(gr),ki=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this,e))._values=new lr(new Uint8Array(0)),r}return Object(F.a)(n,[{key:"byteLength",get:function(){var e=this._pendingLength+4*this.length;return this._offsets&&(e+=this._offsets.byteLength),this._values&&(e+=this._values.byteLength),this._nulls&&(e+=this._nulls.byteLength),e}},{key:"setValue",value:function(e,t){return Ct(Object(Lt.a)(n.prototype),"setValue",this).call(this,e,te(t))}},{key:"_flushPending",value:function(e,t){}}]),n}(gr);ki.prototype._flushPending=gi.prototype._flushPending;var wi=function(){function e(){Object(C.a)(this,e)}return Object(F.a)(e,[{key:"length",get:function(){return this._values.length}},{key:"get",value:function(e){return this._values[e]}},{key:"clear",value:function(){return this._values=null,this}},{key:"bind",value:function(e){return e instanceof zt?e:(this._values=e,this)}}]),e}(),_i=n(10),Oi=n(9),xi=Symbol.for("parent"),Si=Symbol.for("rowIndex"),ji=Symbol.for("keyToIdx"),Ti=Symbol.for("idxToVal"),Ii=Symbol.for("nodejs.util.inspect.custom"),Ei=function(e){function t(e,n){Object(C.a)(this,t),this[xi]=e,this.size=n}return Object(F.a)(t,[{key:"entries",value:function(){return this[Symbol.iterator]()}},{key:"has",value:function(e){return void 0!==this.get(e)}},{key:"get",value:function(e){var t=void 0;if(null!==e&&void 0!==e){var n=this[ji]||(this[ji]=new Map),r=n.get(e);if(void 0!==r){var i=this[Ti]||(this[Ti]=new Array(this.size));void 0!==(t=i[r])||(i[r]=t=this.getValue(r))}else if((r=this.getIndex(e))>-1){n.set(e,r);var a=this[Ti]||(this[Ti]=new Array(this.size));void 0!==(t=a[r])||(a[r]=t=this.getValue(r))}}return t}},{key:"set",value:function(e,t){if(null!==e&&void 0!==e){var n=this[ji]||(this[ji]=new Map),r=n.get(e);if(void 0===r&&n.set(e,r=this.getIndex(e)),r>-1)(this[Ti]||(this[Ti]=new Array(this.size)))[r]=this.setValue(r,t)}return this}},{key:"clear",value:function(){throw new Error("Clearing ".concat(this[Symbol.toStringTag]," not supported."))}},{key:"delete",value:function(e){throw new Error("Deleting ".concat(this[Symbol.toStringTag]," values not supported."))}},{key:e,value:M.mark((function e(){var t,n,r,i,a,o,u,s,c;return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.keys(),n=this.values(),r=this[ji]||(this[ji]=new Map),i=this[Ti]||(this[Ti]=new Array(this.size)),u=0;case 5:if((s=t.next()).done||(c=n.next()).done){e.next=15;break}return a=s.value,o=c.value,i[u]=o,r.has(a)||r.set(a,u),e.next=12,[a,o];case 12:++u,e.next=5;break;case 15:case"end":return e.stop()}}),e,this)}))},{key:"forEach",value:function(e,t){for(var n,r,i,a,o=this.keys(),u=this.values(),s=void 0===t?e:function(n,r,i){return e.call(t,n,r,i)},c=this[ji]||(this[ji]=new Map),l=this[Ti]||(this[Ti]=new Array(this.size)),f=0;!(i=o.next()).done&&!(a=u.next()).done;++f)n=i.value,r=a.value,l[f]=r,c.has(n)||c.set(n,f),s(r,n,this)}},{key:"toArray",value:function(){return sn(this.values())}},{key:"toJSON",value:function(){var e={};return this.forEach((function(t,n){return e[n]=t})),e}},{key:"inspect",value:function(){return this.toString()}},{key:Ii,value:function(){return this.toString()}},{key:"toString",value:function(){var e=[];return this.forEach((function(t,n){n=or(n),t=or(t),e.push("".concat(n,": ").concat(t))})),"{ ".concat(e.join(", ")," }")}}]),t}(Symbol.iterator);Ei[Symbol.toStringTag]=function(e){var t;return Object.defineProperties(e,(At(t={size:{writable:!0,enumerable:!1,configurable:!1,value:0}},xi,{writable:!0,enumerable:!1,configurable:!1,value:null}),At(t,Si,{writable:!0,enumerable:!1,configurable:!1,value:-1}),t)),e[Symbol.toStringTag]="Row"}(Ei.prototype);var Ai=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),r=t.call(this,e,e.length),Object(_i.a)(r,Ci(Object(Oi.a)(r)))}return Object(F.a)(n,[{key:"keys",value:function(){return this[xi].getChildAt(0)[Symbol.iterator]()}},{key:"values",value:function(){return this[xi].getChildAt(1)[Symbol.iterator]()}},{key:"getKey",value:function(e){return this[xi].getChildAt(0).get(e)}},{key:"getIndex",value:function(e){return this[xi].getChildAt(0).indexOf(e)}},{key:"getValue",value:function(e){return this[xi].getChildAt(1).get(e)}},{key:"setValue",value:function(e,t){this[xi].getChildAt(1).set(e,t)}}]),n}(Ei),Bi=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),r=t.call(this,e,e.type.children.length),Object(_i.a)(r,Li(Object(Oi.a)(r)))}return Object(F.a)(n,[{key:"keys",value:M.mark((function e(){var t,n,r;return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=B(this[xi].type.children),e.prev=1,t.s();case 3:if((n=t.n()).done){e.next=9;break}return r=n.value,e.next=7,r.name;case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),t.e(e.t0);case 14:return e.prev=14,t.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])}))},{key:"values",value:M.mark((function e(){var t,n,r;return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=B(this[xi].type.children),e.prev=1,t.s();case 3:if((n=t.n()).done){e.next=9;break}return r=n.value,e.next=7,this[r.name];case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),t.e(e.t0);case 14:return e.prev=14,t.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])}))},{key:"getKey",value:function(e){return this[xi].type.children[e].name}},{key:"getIndex",value:function(e){return this[xi].type.children.findIndex((function(t){return t.name===e}))}},{key:"getValue",value:function(e){return this[xi].getChildAt(e).get(this[Si])}},{key:"setValue",value:function(e,t){return this[xi].getChildAt(e).set(this[Si],t)}}]),n}(Ei);Object.setPrototypeOf(Ei.prototype,Map.prototype);var Di,Li=function(){var e={enumerable:!0,configurable:!1,get:null,set:null};return function(t){var n,r=-1,i=t[ji]||(t[ji]=new Map),a=function(e){return function(){return this.get(e)}},o=function(e){return function(t){return this.set(e,t)}},u=B(t.keys());try{for(u.s();!(n=u.n()).done;){var s=n.value;i.set(s,++r),e.get=a(s),e.set=o(s),t.hasOwnProperty(s)||(e.enumerable=!0,Object.defineProperty(t,s,e)),t.hasOwnProperty(r)||(e.enumerable=!1,Object.defineProperty(t,r,e))}}catch(c){u.e(c)}finally{u.f()}return e.get=e.set=null,t}}(),Ci=function(){if("undefined"===typeof Proxy)return Li;var e=Ei.prototype.has,t=Ei.prototype.get,n=Ei.prototype.set,r=Ei.prototype.getKey,i={isExtensible:function(){return!1},deleteProperty:function(){return!1},preventExtensions:function(){return!0},ownKeys:function(e){return sn(e.keys()).map((function(e){return"".concat(e)}))},has:function(e,t){switch(t){case"getKey":case"getIndex":case"getValue":case"setValue":case"toArray":case"toJSON":case"inspect":case"constructor":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"toLocaleString":case"valueOf":case"size":case"has":case"get":case"set":case"clear":case"delete":case"keys":case"values":case"entries":case"forEach":case"__proto__":case"__defineGetter__":case"__defineSetter__":case"hasOwnProperty":case"__lookupGetter__":case"__lookupSetter__":case Symbol.iterator:case Symbol.toStringTag:case xi:case Si:case Ti:case ji:case Ii:return!0}return"number"!==typeof t||e.has(t)||(t=e.getKey(t)),e.has(t)},get:function(n,i,a){switch(i){case"getKey":case"getIndex":case"getValue":case"setValue":case"toArray":case"toJSON":case"inspect":case"constructor":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"toLocaleString":case"valueOf":case"size":case"has":case"get":case"set":case"clear":case"delete":case"keys":case"values":case"entries":case"forEach":case"__proto__":case"__defineGetter__":case"__defineSetter__":case"hasOwnProperty":case"__lookupGetter__":case"__lookupSetter__":case Symbol.iterator:case Symbol.toStringTag:case xi:case Si:case Ti:case ji:case Ii:return Reflect.get(n,i,a)}return"number"!==typeof i||e.call(a,i)||(i=r.call(a,i)),t.call(a,i)},set:function(t,i,a,o){switch(i){case xi:case Si:case Ti:case ji:return Reflect.set(t,i,a,o);case"getKey":case"getIndex":case"getValue":case"setValue":case"toArray":case"toJSON":case"inspect":case"constructor":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"toLocaleString":case"valueOf":case"size":case"has":case"get":case"set":case"clear":case"delete":case"keys":case"values":case"entries":case"forEach":case"__proto__":case"__defineGetter__":case"__defineSetter__":case"hasOwnProperty":case"__lookupGetter__":case"__lookupSetter__":case Symbol.iterator:case Symbol.toStringTag:return!1}return"number"!==typeof i||e.call(o,i)||(i=r.call(o,i)),!!e.call(o,i)&&!!n.call(o,i,a)}};return function(e){return new Proxy(e,i)}}();function Fi(e,t,n){var r=e.length,i=t>-1?t:r+t%r;return n?n(e,i):i}function Mi(e,t,n,r){var i=e.length,a=void 0===i?0:i,o="number"!==typeof t?0:t,u="number"!==typeof n?a:n;return o<0&&(o=(o%a+a)%a),u<0&&(u=(u%a+a)%a),ua&&(u=a),r?r(e,o,u):[o,u]}var Ni=le?ce(0):0,Ui=function(e){return e!==e};function Pi(e){var t=typeof e;if("object"!==t||null===e)return Ui(e)?Ui:"bigint"!==t?function(t){return t===e}:function(t){return Ni+t===e};if(e instanceof Date){var n=e.valueOf();return function(e){return e instanceof Date&&e.valueOf()===n}}return ArrayBuffer.isView(e)?function(t){return!!t&&mt(e,t)}:e instanceof Map?function(e){var t=-1,n=[];return e.forEach((function(e){return n[++t]=Pi(e)})),Ri(n)}(e):Array.isArray(e)?function(e){for(var t=[],n=-1,r=e.length;++n1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Wi(i);return Object(C.a)(this,r),(t=n.call(this))._nullCount=-1,t._type=e,t._chunks=i,t._chunkOffsets=a,t._length=a[a.length-1],t._numChildren=(t._type.children||[]).length,t}return Object(F.a)(r,[{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._length}},{key:"chunks",get:function(){return this._chunks}},{key:"typeId",get:function(){return this._type.typeId}},{key:"VectorName",get:function(){return"Chunked<".concat(this._type,">")}},{key:"data",get:function(){return this._chunks[0]?this._chunks[0].data:null}},{key:"ArrayType",get:function(){return this._type.ArrayType}},{key:"numChildren",get:function(){return this._numChildren}},{key:"stride",get:function(){return this._chunks[0]?this._chunks[0].stride:1}},{key:"byteLength",get:function(){return this._chunks.reduce((function(e,t){return e+t.byteLength}),0)}},{key:"nullCount",get:function(){var e=this._nullCount;return e<0&&(this._nullCount=e=this._chunks.reduce((function(e,t){return e+t.nullCount}),0)),e}},{key:"indices",get:function(){if(xn.isDictionary(this._type)){if(!this._indices){var e=this._chunks;this._indices=1===e.length?e[0].indices:r.concat.apply(r,sn(e.map((function(e){return e.indices}))))}return this._indices}return null}},{key:"dictionary",get:function(){return xn.isDictionary(this._type)?this._chunks[this._chunks.length-1].data.dictionary:null}},{key:t,value:M.mark((function e(){var t,n,r;return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=B(this._chunks),e.prev=1,t.s();case 3:if((n=t.n()).done){e.next=8;break}return r=n.value,e.delegateYield(r,"t0",6);case 6:e.next=3;break;case 8:e.next=13;break;case 10:e.prev=10,e.t1=e.catch(1),t.e(e.t1);case 13:return e.prev=13,t.f(),e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,10,13,16]])}))},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._chunks;return new r(this._type,e)}},{key:"concat",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n=this._numChildren)return null;var t,n,i,a=this._children||(this._children=[]);return(t=a[e])?t:(n=(this._type.children||[])[e])&&(i=this._chunks.map((function(t){return t.getChildAt(e)})).filter((function(e){return null!=e}))).length>0?a[e]=new r(n.type,i):null}},{key:"search",value:function(e,t){var n=e,r=this._chunkOffsets,i=r.length-1;if(n<0)return null;if(n>=r[i])return null;if(i<=1)return t?t(this,0,n):[0,n];var a=0,o=0,u=0;do{if(a+1===i)return t?t(this,a,n-o):[a,n-o];n>=r[u=a+(i-a)/2|0]?a=u:i=u}while(n=(o=r[a]));return null}},{key:"isValid",value:function(e){return!!this.search(e,this.isValidInternal)}},{key:"get",value:function(e){return this.search(e,this.getInternal)}},{key:"set",value:function(e,t){this.search(e,(function(e,n,r){return e.chunks[n].set(r,t)}))}},{key:"indexOf",value:function(e,t){var n=this;return t&&"number"===typeof t?this.search(t,(function(t,r,i){return n.indexOfInternal(t,r,i,e)})):this.indexOfInternal(this,0,Math.max(0,t||0),e)}},{key:"toArray",value:function(){var e=this.chunks,t=e.length,n=this._type.ArrayType;if(t<=0)return new n(0);if(t<=1)return e[0].toArray();for(var r=0,i=new Array(t),a=-1;++a=n)break;if(!(t>=l+c))if(l>=t&&l+c<=n)r.push(s);else{var f=Math.max(0,t-l),h=Math.min(n-l,c);r.push(s.slice(f,h))}}return e.clone(r)}}],[{key:"flatten",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2?arguments[2]:void 0;return Object(C.a)(this,n),i=Vi.flatten.apply(Vi,sn(i)),(r=t.call(this,e.type,i,a))._field=e,1!==i.length||Object(Oi.a)(r)instanceof Ki?r:Object(_i.a)(r,new Ki(e,i[0],r._chunkOffsets))}return Object(F.a)(n,[{key:"field",get:function(){return this._field}},{key:"name",get:function(){return this._field.name}},{key:"nullable",get:function(){return this._field.nullable}},{key:"metadata",get:function(){return this._field.metadata}},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._chunks;return new n(this._field,e)}},{key:"getChildAt",value:function(e){if(e<0||e>=this.numChildren)return null;var t,r,i,a=this._children||(this._children=[]);return(t=a[e])?t:(r=(this.type.children||[])[e])&&(i=this._chunks.map((function(t){return t.getChildAt(e)})).filter((function(e){return null!=e}))).length>0?a[e]=new n(r,i):null}}],[{key:"new",value:function(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a0}))&&(e=e.clone({nullable:!0}));return new n(e,o)}}]),n}(Vi),Ki=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e,r,i){var a;return Object(C.a)(this,n),(a=t.call(this,e,[r],i))._chunk=r,a}return Object(F.a)(n,[{key:"search",value:function(e,t){return t?t(this,0,e):[0,e]}},{key:"isValid",value:function(e){return this._chunk.isValid(e)}},{key:"get",value:function(e){return this._chunk.get(e)}},{key:"set",value:function(e,t){this._chunk.set(e,t)}},{key:"indexOf",value:function(e,t){return this._chunk.indexOf(e,t)}}]),n}($i),Qi=Array.isArray,qi=function(e,t){return ea(e,t,[],0)},Gi=function(e){var t=N(na(e,[[],[]]),2),n=t[0];return t[1].map((function(e,t){return e instanceof $i?$i.new(e.field.clone(n[t]),e):e instanceof zt?$i.new(n[t],e):$i.new(n[t],[])}))},Ji=function(e){return na(e,[[],[]])},Zi=function(e,t){return function e(t,n,r,i){var a,o=i,u=-1,s=n.length;for(;++u0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;Object(C.a)(this,t),this.fields=e||[],this.metadata=n||new Map,r||(r=oa(e)),this.dictionaries=r}return Object(F.a)(t,[{key:e,get:function(){return"Schema"}},{key:"toString",value:function(){return"Schema<{ ".concat(this.fields.map((function(e,t){return"".concat(t,": ").concat(e)})).join(", ")," }>")}},{key:"compareTo",value:function(e){return On.compareSchemas(this,e)}},{key:"select",value:function(){for(var e=arguments.length,n=new Array(e),r=0;r2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0;Object(C.a)(this,t),this.name=e,this.type=n,this.nullable=r,this.metadata=i||new Map}return Object(F.a)(t,[{key:"typeId",get:function(){return this.type.typeId}},{key:e,get:function(){return"Field"}},{key:"toString",value:function(){return"".concat(this.name,": ").concat(this.type)}},{key:"compareTo",value:function(e){return On.compareField(this,e)}},{key:"clone",value:function(){for(var e,n,r,i,a,o,u,s,c,l,f=arguments.length,h=new Array(f),d=0;d1&&void 0!==arguments[1]?arguments[1]:new Map,n=-1,r=e.length;++n0&&oa(a.children,t)}return t}ra.prototype.fields=null,ra.prototype.metadata=null,ra.prototype.dictionaries=null,ia.prototype.type=null,ia.prototype.name=null,ia.prototype.nullable=null,ia.prototype.metadata=null;var ua=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this,e))._run=new wi,r._offsets=new dr,r}return Object(F.a)(n,[{key:"addChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(this.numChildren>0)throw new Error("ListBuilder can only have one child.");return this.children[this.numChildren]=e,this.type=new qn(new ia(t,e.type,!0)),this.numChildren-1}},{key:"clear",value:function(){return this._run.clear(),Ct(Object(Lt.a)(n.prototype),"clear",this).call(this)}},{key:"_flushPending",value:function(e){var t,n,r=this._run,i=this._offsets,a=this._setValue,o=0,u=B(e);try{for(u.s();!(n=u.n()).done;){var s=N(n.value,2);o=s[0],void 0===(t=s[1])?i.set(o,0):(i.set(o,t.length),a(this,o,r.bind(t)))}}catch(c){u.e(c)}finally{u.f()}}}]),n}(gr),sa=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){var e;return Object(C.a)(this,n),(e=t.apply(this,arguments))._run=new wi,e}return Object(F.a)(n,[{key:"setValue",value:function(e,t){Ct(Object(Lt.a)(n.prototype),"setValue",this).call(this,e,this._run.bind(t))}},{key:"addChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(this.numChildren>0)throw new Error("FixedSizeListBuilder can only have one child.");var n=this.children.push(e);return this.type=new Xn(this.type.listSize,new ia(t,e.type,!0)),n}},{key:"clear",value:function(){return this._run.clear(),Ct(Object(Lt.a)(n.prototype),"clear",this).call(this)}}]),n}(br),ca=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"set",value:function(e,t){return Ct(Object(Lt.a)(n.prototype),"set",this).call(this,e,t)}},{key:"setValue",value:function(e,t){t=t instanceof Map?t:new Map(Object.entries(t));var n=this._pending||(this._pending=new Map),r=n.get(e);r&&(this._pendingLength-=r.size),this._pendingLength+=t.size,n.set(e,t)}},{key:"addChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"".concat(this.numChildren);if(this.numChildren>0)throw new Error("ListBuilder can only have one child.");return this.children[this.numChildren]=e,this.type=new er(new ia(t,e.type,!0),this.type.keysSorted),this.numChildren-1}},{key:"_flushPending",value:function(e){var t=this,n=this._offsets,r=this._setValue;e.forEach((function(e,i){void 0===e?n.set(i,0):(n.set(i,e.size),r(t,i,e))}))}}]),n}(gr),la=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"addChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"".concat(this.numChildren),n=this.children.push(e);return this.type=new Gn([].concat(sn(this.type.children),[new ia(t,e.type,!0)])),n}}]),n}(br),fa=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this,e))._typeIds=new fr(new Int8Array(0),1),"function"===typeof e.valueToChildTypeId&&(r._valueToChildTypeId=e.valueToChildTypeId),r}return Object(F.a)(n,[{key:"typeIdToChildIndex",get:function(){return this.type.typeIdToChildIndex}},{key:"append",value:function(e,t){return this.set(this.length,e,t)}},{key:"set",value:function(e,t,n){return void 0===n&&(n=this._valueToChildTypeId(this,t,e)),this.setValid(e,this.isValid(t))&&this.setValue(e,t,n),this}},{key:"setValue",value:function(e,t,r){this._typeIds.set(e,r),Ct(Object(Lt.a)(n.prototype),"setValue",this).call(this,e,t)}},{key:"addChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"".concat(this.children.length),n=this.children.push(e),r=this.type,i=r.children,a=r.mode,o=r.typeIds,u=[].concat(sn(i),[new ia(t,e.type)]);return this.type=new Jn(a,[].concat(sn(o),[n]),u),n}},{key:"_valueToChildTypeId",value:function(e,t,n){throw new Error("Cannot map UnionBuilder value to child typeId. Pass the `childTypeId` as the second argument to unionBuilder.append(), or supply a `valueToChildTypeId` function as part of the UnionBuilder constructor options.")}}]),n}(br),ha=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(fa),da=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this,e))._offsets=new fr(new Int32Array(0)),r}return Object(F.a)(n,[{key:"setValue",value:function(e,t,r){var i=this.type.typeIdToChildIndex[r];return this._offsets.set(e,this.getChildAt(i).length),Ct(Object(Lt.a)(n.prototype),"setValue",this).call(this,e,t,r)}}]),n}(fa),pa=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(cn),ya=function(e,t,n){e[t]=n%4294967296|0,e[t+1]=n/4294967296|0},va=function(e,t,n,r){var i=t[n],a=t[n+1];null!=i&&null!=a&&e.set(r.subarray(0,a-i),i)},ba=function(e,t,n){!function(e,t,n){e[t]=n/864e5|0}(e.values,t,n.valueOf())},ma=function(e,t,n){var r=e.values;ya(r,2*t,n.valueOf())},ga=function(e,t,n){var r=e.stride;e.values[r*t]=n},ka=function(e,t,n){var r=e.stride;e.values[r*t]=Br(n)},wa=function(e,t,n){switch(typeof n){case"bigint":e.values64[t]=n;break;case"number":e.values[t*e.stride]=n;break;default:var r=n,i=e.stride,a=Ne(e.ArrayType,r);e.values.set(a.subarray(0,i),i*t)}},_a=function(e,t,n){var r=e.values;return ya(r,2*t,n/1e3)},Oa=function(e,t,n){var r=e.values;return ya(r,2*t,n)},xa=function(e,t,n){return function(e,t,n){e[t]=1e3*n%4294967296|0,e[t+1]=1e3*n/4294967296|0}(e.values,2*t,n)},Sa=function(e,t,n){return function(e,t,n){e[t]=1e6*n%4294967296|0,e[t+1]=1e6*n/4294967296|0}(e.values,2*t,n)},ja=function(e,t,n){e.values[e.stride*t]=n},Ta=function(e,t,n){e.values[e.stride*t]=n},Ia=function(e,t,n){e.values.set(n.subarray(0,2),2*t)},Ea=function(e,t,n){e.values.set(n.subarray(0,2),2*t)},Aa=function(e,t,n){var r=e.typeIdToChildIndex[e.typeIds[t]],i=e.getChildAt(r);i&&i.set(e.valueOffsets[t],n)},Ba=function(e,t,n){var r=e.typeIdToChildIndex[e.typeIds[t]],i=e.getChildAt(r);i&&i.set(t,n)},Da=function(e,t,n){e.values.set(n.subarray(0,2),2*t)},La=function(e,t,n){e.values[t]=12*n[0]+n[1]%12};pa.prototype.visitBool=function(e,t,n){var r=e.offset,i=e.values,a=r+t;n?i[a>>3]|=1<>3]&=~(1<0){var i=t.children||[],a={nullValues:t.nullValues},o=Array.isArray(i)?function(e,t){return i[t]||a}:function(e){var t=e.name;return i[t]||a};n.children.forEach((function(t,n){var i=t.type,a=o(t,n);r.children.push(e(Dt(Dt({},a),{},{type:i})))}))}return r},Object.keys(Vt).map((function(e){return Vt[e]})).filter((function(e){return"number"===typeof e&&e!==Vt.NONE})).forEach((function(e){Ma.visit(e).prototype._setValue=Fa.getVisitFn(e)})),ki.prototype._setValue=Fa.visitBinary,function(e){!function(t){!function(t){!function(t){var n=function(){function t(){Object(C.a)(this,t),this.bb=null,this.bb_pos=0}return Object(F.a)(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"version",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Ft.apache.arrow.flatbuf.MetadataVersion.V1}},{key:"schema",value:function(e){var t=this.bb.__offset(this.bb_pos,6);return t?(e||new Ft.apache.arrow.flatbuf.Schema).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}},{key:"dictionaries",value:function(t,n){var r=this.bb.__offset(this.bb_pos,8);return r?(n||new e.apache.arrow.flatbuf.Block).__init(this.bb.__vector(this.bb_pos+r)+24*t,this.bb):null}},{key:"dictionariesLength",value:function(){var e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"recordBatches",value:function(t,n){var r=this.bb.__offset(this.bb_pos,10);return r?(n||new e.apache.arrow.flatbuf.Block).__init(this.bb.__vector(this.bb_pos+r)+24*t,this.bb):null}},{key:"recordBatchesLength",value:function(){var e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}}],[{key:"getRootAsFooter",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startFooter",value:function(e){e.startObject(4)}},{key:"addVersion",value:function(e,t){e.addFieldInt16(0,t,Ft.apache.arrow.flatbuf.MetadataVersion.V1)}},{key:"addSchema",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"addDictionaries",value:function(e,t){e.addFieldOffset(2,t,0)}},{key:"startDictionariesVector",value:function(e,t){e.startVector(24,t,8)}},{key:"addRecordBatches",value:function(e,t){e.addFieldOffset(3,t,0)}},{key:"startRecordBatchesVector",value:function(e,t){e.startVector(24,t,8)}},{key:"endFooter",value:function(e){return e.endObject()}},{key:"finishFooterBuffer",value:function(e,t){e.finish(t)}},{key:"createFooter",value:function(e,n,r,i,a){return t.startFooter(e),t.addVersion(e,n),t.addSchema(e,r),t.addDictionaries(e,i),t.addRecordBatches(e,a),t.endFooter(e)}}]),t}();t.Footer=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ca||(Ca={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){Object(C.a)(this,e),this.bb=null,this.bb_pos=0}return Object(F.a)(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"offset",value:function(){return this.bb.readInt64(this.bb_pos)}},{key:"metaDataLength",value:function(){return this.bb.readInt32(this.bb_pos+8)}},{key:"bodyLength",value:function(){return this.bb.readInt64(this.bb_pos+16)}}],[{key:"createBlock",value:function(e,t,n,r){return e.prep(8,24),e.writeInt64(r),e.pad(4),e.writeInt32(n),e.writeInt64(t),e.offset()}}]),e}();e.Block=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ca||(Ca={}));var Na=W.Long,Ua=W.Builder,Pa=W.ByteBuffer,Ra=Ca.apache.arrow.flatbuf.Block,za=Ca.apache.arrow.flatbuf.Footer,Va=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Gt.V4,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;Object(C.a)(this,e),this.schema=t,this.version=n,r&&(this._recordBatches=r),i&&(this._dictionaryBatches=i)}return Object(F.a)(e,[{key:"numRecordBatches",get:function(){return this._recordBatches.length}},{key:"numDictionaries",get:function(){return this._dictionaryBatches.length}},{key:"recordBatches",value:M.mark((function e(){var t,n,r;return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=-1,r=this.numRecordBatches;case 1:if(!(++n=0&&e=0&&e=0&&e=0&&e0)return Ct(Object(Lt.a)(n.prototype),"write",this).call(this,e)}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?ee(this.toUint8Array(!0)):this.toUint8Array(!1).then(ee)}},{key:"toUint8Array",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t?Me(this._values)[0]:L(M.mark((function t(){var n,r,i,a,o,u,s,c;return M.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=[],r=0,i=!1,a=!1,t.prev=3,u=Ya(e);case 5:return t.next=7,u.next();case 7:if(!(i=!(s=t.sent).done)){t.next=14;break}c=s.value,n.push(c),r+=c.byteLength;case 11:i=!1,t.next=5;break;case 14:t.next=20;break;case 16:t.prev=16,t.t0=t.catch(3),a=!0,o=t.t0;case 20:if(t.prev=20,t.prev=21,!i||null==u.return){t.next=25;break}return t.next=25,u.return();case 25:if(t.prev=25,!a){t.next=28;break}throw o;case 28:return t.finish(25);case 29:return t.finish(20);case 30:return t.abrupt("return",Me(n,r)[0]);case 31:case"end":return t.stop()}}),t,null,[[3,16,20,30],[21,,25,29]])})))()}}]),n}(ue),Qa=function(e){function t(e){Object(C.a)(this,t),e&&(this.source=new Ga(kt.fromIterable(e)))}return Object(F.a)(t,[{key:e,value:function(){return this}},{key:"next",value:function(e){return this.source.next(e)}},{key:"throw",value:function(e){return this.source.throw(e)}},{key:"return",value:function(e){return this.source.return(e)}},{key:"peek",value:function(e){return this.source.peek(e)}},{key:"read",value:function(e){return this.source.read(e)}}]),t}(Symbol.iterator),qa=function(e){function t(e){Object(C.a)(this,t),e instanceof t?this.source=e.source:e instanceof Ka?this.source=new Ja(kt.fromAsyncIterable(e)):Ee(e)?this.source=new Ja(kt.fromNodeStream(e)):Te(e)?this.source=new Ja(kt.fromDOMStream(e)):Se(e)?this.source=new Ja(kt.fromDOMStream(e.body)):ke(e)?this.source=new Ja(kt.fromIterable(e)):(ge(e)||we(e))&&(this.source=new Ja(kt.fromAsyncIterable(e)))}return Object(F.a)(t,[{key:e,value:function(){return this}},{key:"next",value:function(e){return this.source.next(e)}},{key:"throw",value:function(e){return this.source.throw(e)}},{key:"return",value:function(e){return this.source.return(e)}},{key:"closed",get:function(){return this.source.closed}},{key:"cancel",value:function(e){return this.source.cancel(e)}},{key:"peek",value:function(e){return this.source.peek(e)}},{key:"read",value:function(e){return this.source.read(e)}}]),t}(Symbol.asyncIterator),Ga=function(){function e(t){Object(C.a)(this,e),this.source=t}return Object(F.a)(e,[{key:"cancel",value:function(e){this.return(e)}},{key:"peek",value:function(e){return this.next(e,"peek").value}},{key:"read",value:function(e){return this.next(e,"read").value}},{key:"next",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"read";return this.source.next({cmd:t,size:e})}},{key:"throw",value:function(e){return Object.create(this.source.throw&&this.source.throw(e)||ie)}},{key:"return",value:function(e){return Object.create(this.source.return&&this.source.return(e)||ie)}}]),e}(),Ja=function(){function e(t){var n=this;Object(C.a)(this,e),this.source=t,this._closedPromise=new Promise((function(e){return n._closedPromiseResolve=e}))}return Object(F.a)(e,[{key:"cancel",value:function(){var e=L(M.mark((function e(t){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.return(t);case 2:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"closed",get:function(){return this._closedPromise}},{key:"read",value:function(){var e=L(M.mark((function e(t){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.next(t,"read");case 2:return e.abrupt("return",e.sent.value);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"peek",value:function(){var e=L(M.mark((function e(t){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.next(t,"peek");case 2:return e.abrupt("return",e.sent.value);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"next",value:function(){var e=L(M.mark((function e(t){var n,r=arguments;return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:"read",e.next=3,this.source.next({cmd:n,size:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"throw",value:function(){var e=L(M.mark((function e(t){var n;return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t1=this.source.throw,!e.t1){e.next=5;break}return e.next=4,this.source.throw(t);case 4:e.t1=e.sent;case 5:if(e.t0=e.t1,e.t0){e.next=8;break}e.t0=ie;case 8:return n=e.t0,this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,e.abrupt("return",Object.create(n));case 12:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"return",value:function(){var e=L(M.mark((function e(t){var n;return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t1=this.source.return,!e.t1){e.next=5;break}return e.next=4,this.source.return(t);case 4:e.t1=e.sent;case 5:if(e.t0=e.t1,e.t0){e.next=8;break}e.t0=ie;case 8:return n=e.t0,this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,e.abrupt("return",Object.create(n));case 12:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),e}(),Za=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e,r){var i;return Object(C.a)(this,n),(i=t.call(this)).position=0,i.buffer=Ve(e),i.size="undefined"===typeof r?i.buffer.byteLength:r,i}return Object(F.a)(n,[{key:"readInt32",value:function(e){var t=this.readAt(e,4),n=t.buffer,r=t.byteOffset;return new DataView(n,r).getInt32(0,!0)}},{key:"seek",value:function(e){return this.position=Math.min(e,this.size),e>>16,65535&this.buffer[1],this.buffer[0]>>>16,65535&this.buffer[0]]),n=new Uint32Array([e.buffer[1]>>>16,65535&e.buffer[1],e.buffer[0]>>>16,65535&e.buffer[0]]),r=t[3]*n[3];this.buffer[0]=65535&r;var i=r>>>16;return i+=r=t[2]*n[3],i+=r=t[3]*n[2]>>>0,this.buffer[0]+=i<<16,this.buffer[1]=i>>>0>>16,this.buffer[1]+=t[1]*n[3]+t[2]*n[2]+t[3]*n[1],this.buffer[1]+=t[0]*n[3]+t[1]*n[2]+t[2]*n[1]+t[3]*n[0]<<16,this}},{key:"_plus",value:function(e){var t=this.buffer[0]+e.buffer[0]>>>0;this.buffer[1]+=e.buffer[1],t>>0&&++this.buffer[1],this.buffer[0]=t}},{key:"lessThan",value:function(e){return this.buffer[1]1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return n.fromString("string"===typeof e?e:e.toString(),t)}},{key:"fromNumber",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return n.fromString(e.toString(),t)}},{key:"fromString",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2),r=e.length,i=new n(t),a=0;a1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return n.fromString("string"===typeof e?e:e.toString(),t)}},{key:"fromNumber",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return n.fromString(e.toString(),t)}},{key:"fromString",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2),r=e.startsWith("-"),i=e.length,a=new n(t),o=r?1:0;o>>0,t[2]=this.buffer[2]+e.buffer[2]>>>0,t[1]=this.buffer[1]+e.buffer[1]>>>0,t[0]=this.buffer[0]+e.buffer[0]>>>0,t[0]>>0&&++t[1],t[1]>>0&&++t[2],t[2]>>0&&++t[3],this.buffer[3]=t[3],this.buffer[2]=t[2],this.buffer[1]=t[1],this.buffer[0]=t[0],this}},{key:"hex",value:function(){return"".concat(eo(this.buffer[3])," ").concat(eo(this.buffer[2])," ").concat(eo(this.buffer[1])," ").concat(eo(this.buffer[0]))}}],[{key:"multiply",value:function(t,n){return new e(new Uint32Array(t.buffer)).times(n)}},{key:"add",value:function(t,n){return new e(new Uint32Array(t.buffer)).plus(n)}},{key:"from",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(4);return e.fromString("string"===typeof t?t:t.toString(),n)}},{key:"fromNumber",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(4);return e.fromString(t.toString(),n)}},{key:"fromString",value:function(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(4),r=t.startsWith("-"),i=t.length,a=new e(n),o=r?1:0;o1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length;return ar.Null(e,0,n)}},{key:"visitBool",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.Bool(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitInt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.Int(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitFloat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.Float(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitUtf8",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.Utf8(e,0,n,r,this.readNullBitmap(e,r),this.readOffsets(e),this.readData(e))}},{key:"visitBinary",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.Binary(e,0,n,r,this.readNullBitmap(e,r),this.readOffsets(e),this.readData(e))}},{key:"visitFixedSizeBinary",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.FixedSizeBinary(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.Date(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitTimestamp",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.Timestamp(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitTime",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.Time(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitDecimal",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.Decimal(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitList",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.List(e,0,n,r,this.readNullBitmap(e,r),this.readOffsets(e),this.visit(e.children[0]))}},{key:"visitStruct",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.Struct(e,0,n,r,this.readNullBitmap(e,r),this.visitMany(e.children))}},{key:"visitUnion",value:function(e){return e.mode===Kt.Sparse?this.visitSparseUnion(e):this.visitDenseUnion(e)}},{key:"visitDenseUnion",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.Union(e,0,n,r,this.readNullBitmap(e,r),this.readTypeIds(e),this.readOffsets(e),this.visitMany(e.children))}},{key:"visitSparseUnion",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.Union(e,0,n,r,this.readNullBitmap(e,r),this.readTypeIds(e),this.visitMany(e.children))}},{key:"visitDictionary",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.Dictionary(e,0,n,r,this.readNullBitmap(e,r),this.readData(e.indices),this.readDictionary(e))}},{key:"visitInterval",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.Interval(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitFixedSizeList",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.FixedSizeList(e,0,n,r,this.readNullBitmap(e,r),this.visit(e.children[0]))}},{key:"visitMap",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return ar.Map(e,0,n,r,this.readNullBitmap(e,r),this.readOffsets(e),this.visit(e.children[0]))}},{key:"nextFieldNode",value:function(){return this.nodes[++this.nodesIndex]}},{key:"nextBufferRange",value:function(){return this.buffers[++this.buffersIndex]}},{key:"readNullBitmap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nextBufferRange();return t>0&&this.readData(e,n)||new Uint8Array(0)}},{key:"readOffsets",value:function(e,t){return this.readData(e,t)}},{key:"readTypeIds",value:function(e,t){return this.readData(e,t)}},{key:"readData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange(),n=t.length,r=t.offset;return this.bytes.subarray(r,r+n)}},{key:"readDictionary",value:function(e){return this.dictionaries.get(e.id)}}]),n}(cn),uo=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e,r,i,a){var o;return Object(C.a)(this,n),(o=t.call(this,new Uint8Array(0),r,i,a)).sources=e,o}return Object(F.a)(n,[{key:"readNullBitmap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nextBufferRange(),r=n.offset;return t<=0?new Uint8Array(0):nn(this.sources[r])}},{key:"readOffsets",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange(),n=t.offset;return Ne(Uint8Array,Ne(Int32Array,this.sources[n]))}},{key:"readTypeIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange(),n=t.offset;return Ne(Uint8Array,Ne(e.ArrayType,this.sources[n]))}},{key:"readData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange(),n=t.offset,r=this.sources;return xn.isTimestamp(e)||(xn.isInt(e)||xn.isTime(e))&&64===e.bitWidth||xn.isDate(e)&&e.unit===Ht.MILLISECOND?Ne(Uint8Array,io.convertArray(r[n])):xn.isDecimal(e)?Ne(Uint8Array,ao.convertArray(r[n])):xn.isBinary(e)||xn.isFixedSizeBinary(e)?so(r[n]):xn.isBool(e)?nn(r[n]):xn.isUtf8(e)?te(r[n].join("")):Ne(Uint8Array,Ne(e.ArrayType,r[n].map((function(e){return+e}))))}}]),n}(oo);function so(e){for(var t=e.join(""),n=new Uint8Array(t.length/2),r=0;r>1]=parseInt(t.substr(r,2),16);return n}var co=W.Long,lo=Ft.apache.arrow.flatbuf.Null,fo=Ft.apache.arrow.flatbuf.Int,ho=Ft.apache.arrow.flatbuf.FloatingPoint,po=Ft.apache.arrow.flatbuf.Binary,yo=Ft.apache.arrow.flatbuf.Bool,vo=Ft.apache.arrow.flatbuf.Utf8,bo=Ft.apache.arrow.flatbuf.Decimal,mo=Ft.apache.arrow.flatbuf.Date,go=Ft.apache.arrow.flatbuf.Time,ko=Ft.apache.arrow.flatbuf.Timestamp,wo=Ft.apache.arrow.flatbuf.Interval,_o=Ft.apache.arrow.flatbuf.List,Oo=Ft.apache.arrow.flatbuf.Struct_,xo=Ft.apache.arrow.flatbuf.Union,So=Ft.apache.arrow.flatbuf.DictionaryEncoding,jo=Ft.apache.arrow.flatbuf.FixedSizeBinary,To=Ft.apache.arrow.flatbuf.FixedSizeList,Io=Ft.apache.arrow.flatbuf.Map,Eo=new(function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"visit",value:function(e,t){return null==e||null==t?void 0:Ct(Object(Lt.a)(n.prototype),"visit",this).call(this,e,t)}},{key:"visitNull",value:function(e,t){return lo.startNull(t),lo.endNull(t)}},{key:"visitInt",value:function(e,t){return fo.startInt(t),fo.addBitWidth(t,e.bitWidth),fo.addIsSigned(t,e.isSigned),fo.endInt(t)}},{key:"visitFloat",value:function(e,t){return ho.startFloatingPoint(t),ho.addPrecision(t,e.precision),ho.endFloatingPoint(t)}},{key:"visitBinary",value:function(e,t){return po.startBinary(t),po.endBinary(t)}},{key:"visitBool",value:function(e,t){return yo.startBool(t),yo.endBool(t)}},{key:"visitUtf8",value:function(e,t){return vo.startUtf8(t),vo.endUtf8(t)}},{key:"visitDecimal",value:function(e,t){return bo.startDecimal(t),bo.addScale(t,e.scale),bo.addPrecision(t,e.precision),bo.endDecimal(t)}},{key:"visitDate",value:function(e,t){return mo.startDate(t),mo.addUnit(t,e.unit),mo.endDate(t)}},{key:"visitTime",value:function(e,t){return go.startTime(t),go.addUnit(t,e.unit),go.addBitWidth(t,e.bitWidth),go.endTime(t)}},{key:"visitTimestamp",value:function(e,t){var n=e.timezone&&t.createString(e.timezone)||void 0;return ko.startTimestamp(t),ko.addUnit(t,e.unit),void 0!==n&&ko.addTimezone(t,n),ko.endTimestamp(t)}},{key:"visitInterval",value:function(e,t){return wo.startInterval(t),wo.addUnit(t,e.unit),wo.endInterval(t)}},{key:"visitList",value:function(e,t){return _o.startList(t),_o.endList(t)}},{key:"visitStruct",value:function(e,t){return Oo.startStruct_(t),Oo.endStruct_(t)}},{key:"visitUnion",value:function(e,t){xo.startTypeIdsVector(t,e.typeIds.length);var n=xo.createTypeIdsVector(t,e.typeIds);return xo.startUnion(t),xo.addMode(t,e.mode),xo.addTypeIds(t,n),xo.endUnion(t)}},{key:"visitDictionary",value:function(e,t){var n=this.visit(e.indices,t);return So.startDictionaryEncoding(t),So.addId(t,new co(e.id,0)),So.addIsOrdered(t,e.isOrdered),void 0!==n&&So.addIndexType(t,n),So.endDictionaryEncoding(t)}},{key:"visitFixedSizeBinary",value:function(e,t){return jo.startFixedSizeBinary(t),jo.addByteWidth(t,e.byteWidth),jo.endFixedSizeBinary(t)}},{key:"visitFixedSizeList",value:function(e,t){return To.startFixedSizeList(t),To.addListSize(t,e.listSize),To.endFixedSizeList(t)}},{key:"visitMap",value:function(e,t){return Io.startMap(t),Io.addKeysSorted(t,e.keysSorted),Io.endMap(t)}}]),n}(cn));function Ao(e){return new Go(e.count,function e(t){return(t||[]).reduce((function(t,n){return[].concat(sn(t),[new Xo(n.count,(r=n.VALIDITY,(r||[]).reduce((function(e,t){return e+ +(0===t)}),0)))],sn(e(n.children)));var r}),[])}(e.columns),function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=-1,i=(t||[]).length;++r1&&void 0!==arguments[1]?arguments[1]:0;if(t instanceof ra)return new e(0,Gt.V4,qt.Schema,t);if(t instanceof Go)return new e(n,Gt.V4,qt.RecordBatch,t);if(t instanceof Jo)return new e(n,Gt.V4,qt.DictionaryBatch,t);throw new Error("Unrecognized Message header: ".concat(t))}}]),e}(),Go=function(){function e(t,n,r){Object(C.a)(this,e),this._nodes=n,this._buffers=r,this._length="number"===typeof t?t:t.low}return Object(F.a)(e,[{key:"nodes",get:function(){return this._nodes}},{key:"length",get:function(){return this._length}},{key:"buffers",get:function(){return this._buffers}}]),e}(),Jo=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Object(C.a)(this,e),this._data=t,this._isDelta=r,this._id="number"===typeof n?n:n.low}return Object(F.a)(e,[{key:"id",get:function(){return this._id}},{key:"data",get:function(){return this._data}},{key:"isDelta",get:function(){return this._isDelta}},{key:"length",get:function(){return this.data.length}},{key:"nodes",get:function(){return this.data.nodes}},{key:"buffers",get:function(){return this.data.buffers}}]),e}(),Zo=Object(F.a)((function e(t,n){Object(C.a)(this,e),this.offset="number"===typeof t?t:t.low,this.length="number"===typeof n?n:n.low})),Xo=Object(F.a)((function e(t,n){Object(C.a)(this,e),this.length="number"===typeof t?t:t.low,this.nullCount="number"===typeof n?n:n.low}));function eu(e){for(var t,n=[],r=-1,i=-1,a=e.nodesLength();++r0?Ro.createCustomMetadataVector(e,sn(t.metadata).map((function(t){var n=N(t,2),r=n[0],i=n[1],a=e.createString("".concat(r)),o=e.createString("".concat(i));return Ho.startKeyValue(e),Ho.addKey(e,a),Ho.addValue(e,o),Ho.endKeyValue(e)}))):-1;t.name&&(n=e.createString(t.name));Ro.startField(e),Ro.addType(e,r),Ro.addTypeType(e,o),Ro.addChildren(e,s),Ro.addNullable(e,!!t.nullable),-1!==n&&Ro.addName(e,n);-1!==i&&Ro.addDictionary(e,i);-1!==c&&Ro.addCustomMetadata(e,c);return Ro.endField(e)},ia.decode=function(e,t){var n,r,i,a,o,u;t&&(u=e.dictionary())?t.has(n=u.id().low)?(a=(a=u.indexType())?au(a):new En,o=new rr(t.get(n),a,n,u.isOrdered()),r=new ia(e.name(),o,e.nullable(),iu(e))):(a=(a=u.indexType())?au(a):new En,t.set(n,i=ou(e,ru(e,t))),o=new rr(i,a,n,u.isOrdered()),r=new ia(e.name(),o,e.nullable(),iu(e))):(i=ou(e,ru(e,t)),r=new ia(e.name(),i,e.nullable(),iu(e)));return r||null},ia.fromJSON=function(e,t){var n,r,i,a,o,u;return t&&(a=e.dictionary)?t.has(n=a.id)?(r=(r=a.indexType)?Co(r):new En,u=new rr(t.get(n),r,n,a.isOrdered),i=new ia(e.name,u,e.nullable,Lo(e.customMetadata))):(r=(r=a.indexType)?Co(r):new En,t.set(n,o=Fo(e,Do(e,t))),u=new rr(o,r,n,a.isOrdered),i=new ia(e.name,u,e.nullable,Lo(e.customMetadata))):(o=Fo(e,Do(e,t)),i=new ia(e.name,o,e.nullable,Lo(e.customMetadata))),i||null},ra.encode=function(e,t){var n=t.fields.map((function(t){return ia.encode(e,t)}));zo.startFieldsVector(e,n.length);var r=zo.createFieldsVector(e,n),i=t.metadata&&t.metadata.size>0?zo.createCustomMetadataVector(e,sn(t.metadata).map((function(t){var n=N(t,2),r=n[0],i=n[1],a=e.createString("".concat(r)),o=e.createString("".concat(i));return Ho.startKeyValue(e),Ho.addKey(e,a),Ho.addValue(e,o),Ho.endKeyValue(e)}))):-1;zo.startSchema(e),zo.addFields(e,r),zo.addEndianness(e,uu?$o.Little:$o.Big),-1!==i&&zo.addCustomMetadata(e,i);return zo.endSchema(e)},ra.decode=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=nu(e,t);return new ra(n,iu(e),t)},ra.fromJSON=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map;return new ra(Bo(e,t),Lo(e.customMetadata),t)},Go.encode=function(e,t){var n=t.nodes||[],r=t.buffers||[];Ko.startNodesVector(e,n.length),n.slice().reverse().forEach((function(t){return Xo.encode(e,t)}));var i=e.endVector();Ko.startBuffersVector(e,r.length),r.slice().reverse().forEach((function(t){return Zo.encode(e,t)}));var a=e.endVector();return Ko.startRecordBatch(e),Ko.addLength(e,new Mo(t.length,0)),Ko.addNodes(e,i),Ko.addBuffers(e,a),Ko.endRecordBatch(e)},Go.decode=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Gt.V4;return new Go(e.length(),eu(e),tu(e,t))},Go.fromJSON=Ao,Jo.encode=function(e,t){var n=Go.encode(e,t.data);return Qo.startDictionaryBatch(e),Qo.addId(e,new Mo(t.id,0)),Qo.addIsDelta(e,t.isDelta),Qo.addData(e,n),Qo.endDictionaryBatch(e)},Jo.decode=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Gt.V4;return new Jo(Go.decode(e.data(),t),e.id(),e.isDelta())},Jo.fromJSON=function(e){return new Jo(Ao(e.data),e.id,e.isDelta)},Xo.encode=function(e,t){return Yo.createFieldNode(e,new Mo(t.length,0),new Mo(t.nullCount,0))},Xo.decode=function(e){return new Xo(e.length(),e.nullCount())},Zo.encode=function(e,t){return Vo.createBuffer(e,new Mo(t.offset,0),new Mo(t.length,0))},Zo.decode=function(e){return new Zo(e.offset(),e.length())};for(var uu=function(){var e=new ArrayBuffer(2);return new DataView(e).setInt16(0,256,!0),256===new Int16Array(e)[0]}(),su=W.ByteBuffer,cu=function(e){return"Expected ".concat(qt[e]," Message in stream, but was null or length 0.")},lu=function(e){return"Header pointer of flatbuffer-encoded ".concat(qt[e]," Message is null or length 0.")},fu=function(e,t){return"Expected to read ".concat(e," metadata bytes, but only read ").concat(t,".")},hu=function(e,t){return"Expected to read ".concat(e," bytes for message body, but only read ").concat(t,".")},du=function(e){function t(e){Object(C.a)(this,t),this.source=e instanceof Qa?e:new Qa(e)}return Object(F.a)(t,[{key:e,value:function(){return this}},{key:"next",value:function(){var e;return(e=this.readMetadataLength()).done||-1===e.value&&(e=this.readMetadataLength()).done||(e=this.readMetadata(e.value)).done?ie:e}},{key:"throw",value:function(e){return this.source.throw(e)}},{key:"return",value:function(e){return this.source.return(e)}},{key:"readMessage",value:function(e){var t;if((t=this.next()).done)return null;if(null!=e&&t.value.headerType!==e)throw new Error(cu(e));return t.value}},{key:"readMessageBody",value:function(e){if(e<=0)return new Uint8Array(0);var t=Ve(this.source.read(e));if(t.byteLength0&&void 0!==arguments[0]&&arguments[0],t=qt.Schema,n=this.readMessage(t),r=n&&n.header();if(e&&!r)throw new Error(lu(t));return r}},{key:"readMetadataLength",value:function(){var e=this.source.read(vu),t=e&&new su(e),n=t&&t.readInt32(0)||0;return{done:0===n,value:n}}},{key:"readMetadata",value:function(e){var t=this.source.read(e);if(!t)return ie;if(t.byteLength0&&void 0!==a[0]&&a[0],n=qt.Schema,e.next=4,this.readMessage(n);case 4:if(r=e.sent,i=r&&r.header(),!t||i){e.next=8;break}throw new Error(lu(n));case 8:return e.abrupt("return",i);case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"readMetadataLength",value:function(){var e=L(M.mark((function e(){var t,n,r;return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.source.read(vu);case 2:return t=e.sent,n=t&&new su(t),r=n&&n.readInt32(0)||0,e.abrupt("return",{done:0===r,value:r});case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"readMetadata",value:function(){var e=L(M.mark((function e(t){var n;return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.source.read(t);case 2:if(n=e.sent){e.next=5;break}return e.abrupt("return",ie);case 5:if(!(n.byteLength1&&void 0!==arguments[1]?arguments[1]:0,n=-1,r=bu.length;++n2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");xn.isNull(e.type)||xu.call(this,i<=0?new Uint8Array(0):tn(t.offset,r,t.nullBitmap)),this.nodes.push(new Xo(r,i))}return Ct(Object(Lt.a)(n.prototype),"visit",this).call(this,e)}},{key:"visitNull",value:function(e){return this}},{key:"visitDictionary",value:function(e){return this.visit(e.indices)}},{key:"nodes",get:function(){return this._nodes}},{key:"buffers",get:function(){return this._buffers}},{key:"byteLength",get:function(){return this._byteLength}},{key:"bufferRegions",get:function(){return this._bufferRegions}}],[{key:"assemble",value:function(){for(var e=new n,t=arguments.length,r=new Array(t),i=0;i=e.length?xu.call(this,new Uint8Array(0)):(t=e.values)instanceof Uint8Array?xu.call(this,tn(e.offset,e.length,t)):xu.call(this,nn(e))},Ou.prototype.visitInt=Su,Ou.prototype.visitFloat=Su,Ou.prototype.visitUtf8=ju,Ou.prototype.visitBinary=ju,Ou.prototype.visitFixedSizeBinary=Su,Ou.prototype.visitDate=Su,Ou.prototype.visitTimestamp=Su,Ou.prototype.visitTime=Su,Ou.prototype.visitDecimal=Su,Ou.prototype.visitList=Tu,Ou.prototype.visitStruct=Iu,Ou.prototype.visitUnion=function(e){var t=e.type,n=e.length,r=e.typeIds,i=e.valueOffsets;if(xu.call(this,r),t.mode===Kt.Sparse)return Iu.call(this,e);if(t.mode===Kt.Dense){if(e.offset<=0)return xu.call(this,i),Iu.call(this,e);for(var a,o,u=r.reduce((function(e,t){return Math.max(e,t)}),r[0]),s=new Int32Array(u+1),c=new Int32Array(u+1).fill(-1),l=new Int32Array(n),f=bt(-i[0],n,i),h=-1;++h0&&void 0!==arguments[0]&&arguments[0];return this._sink.toString(e)}},{key:"toUint8Array",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._sink.toUint8Array(e)}},{key:"writeAll",value:function(e){var t=this;return ge(e)?e.then((function(e){return t.writeAll(e)})):we(e)?Fu(this,e):Cu(this,e)}},{key:"closed",get:function(){return this._sink.closed}},{key:t,value:function(){return this._sink[Symbol.asyncIterator]()}},{key:"toDOMStream",value:function(e){return this._sink.toDOMStream(e)}},{key:"toNodeStream",value:function(e){return this._sink.toNodeStream(e)}},{key:"close",value:function(){return this.reset()._sink.close()}},{key:"abort",value:function(e){return this.reset()._sink.abort(e)}},{key:"finish",value:function(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._sink,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e===this._sink||e instanceof Ka?this._sink=e:(this._sink=new Ka,e&&je(e)?this.toDOMStream({type:"bytes"}).pipeTo(e):e&&Ie(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,t&&t.compareTo(this._schema)||(null===t?(this._position=0,this._schema=null):(this._started=!0,this._schema=t,this._writeSchema(t))),this}},{key:"write",value:function(e){var t=null;if(!this._sink)throw new Error("RecordBatchWriter is closed");if(null===e||void 0===e)return this.finish()&&void 0;if(e instanceof Bc&&!(t=e.schema))return this.finish()&&void 0;if(e instanceof Dc&&!(t=e.schema))return this.finish()&&void 0;if(t&&!t.compareTo(this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,t)}e instanceof Dc?e instanceof Lc||this._writeRecordBatch(e):e instanceof Bc?this.writeAll(e.chunks):ke(e)&&this.writeAll(e)}},{key:"_writeMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8,n=t-1,r=qo.encode(e),i=r.byteLength,a=this._writeLegacyIpcFormat?4:8,o=i+a+n&~n,u=o-i-a;return e.headerType===qt.RecordBatch?this._recordBatchBlocks.push(new Ha(o,e.bodyLength,this._position)):e.headerType===qt.DictionaryBatch&&this._dictionaryBlocks.push(new Ha(o,e.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(o-a)),i>0&&this._write(r),this._writePadding(u)}},{key:"_write",value:function(e){if(this._started){var t=Ve(e);t&&t.byteLength>0&&(this._sink.write(t),this._position+=t.byteLength)}return this}},{key:"_writeSchema",value:function(e){return this._writeMessage(qo.from(e))}},{key:"_writeFooter",value:function(e){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}},{key:"_writeMagic",value:function(){return this._write(bu)}},{key:"_writePadding",value:function(e){return e>0?this._write(new Uint8Array(e)):this}},{key:"_writeRecordBatch",value:function(e){var t=Ou.assemble(e),n=t.byteLength,r=t.nodes,i=t.bufferRegions,a=t.buffers,o=new Go(e.length,r,i),u=qo.from(o,n);return this._writeDictionaries(e)._writeMessage(u)._writeBodyBuffers(a)}},{key:"_writeDictionaryBatch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this._dictionaryDeltaOffsets.set(t,e.length+(this._dictionaryDeltaOffsets.get(t)||0));var r=Ou.assemble(e),i=r.byteLength,a=r.nodes,o=r.bufferRegions,u=r.buffers,s=new Go(e.length,a,o),c=new Jo(s,t,n),l=qo.from(c,i);return this._writeMessage(l)._writeBodyBuffers(u)}},{key:"_writeBodyBuffers",value:function(e){for(var t,n,r,i=-1,a=e.length;++i0&&(this._write(t),(r=(n+7&-8)-n)>0&&this._writePadding(r));return this}},{key:"_writeDictionaries",value:function(e){var t,n=B(e.dictionaries);try{for(n.s();!(t=n.n()).done;){var r=N(t.value,2),i=r[0],a=r[1],o=this._dictionaryDeltaOffsets.get(i)||0;if(0===o||(a=a.slice(o)).length>0){var u,s=B("chunks"in a?a.chunks:[a]);try{for(s.s();!(u=s.n()).done;){var c=u.value;this._writeDictionaryBatch(c,i,o>0),o+=c.length}}catch(l){s.e(l)}finally{s.f()}}}}catch(l){n.e(l)}finally{n.f()}return this}}],[{key:"throughNode",value:function(e){throw new Error('"throughNode" not available in this environment')}},{key:"throughDOM",value:function(e,t){throw new Error('"throughDOM" not available in this environment')}}]),r}(oe,Symbol.asyncIterator),Du=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,null,[{key:"writeAll",value:function(e,t){var r=new n(t);return ge(e)?e.then((function(e){return r.writeAll(e)})):we(e)?Fu(r,e):Cu(r,e)}}]),n}(Bu),Lu=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){var e;return Object(C.a)(this,n),(e=t.call(this))._autoDestroy=!0,e}return Object(F.a)(n,[{key:"_writeSchema",value:function(e){return this._writeMagic()._writePadding(2)}},{key:"_writeFooter",value:function(e){var t=Va.encode(new Va(e,Gt.V4,this._recordBatchBlocks,this._dictionaryBlocks));return Ct(Object(Lt.a)(n.prototype),"_writeFooter",this).call(this,e)._write(t)._write(Int32Array.of(t.byteLength))._writeMagic()}}],[{key:"writeAll",value:function(e){var t=new n;return ge(e)?e.then((function(e){return t.writeAll(e)})):we(e)?Fu(t,e):Cu(t,e)}}]),n}(Bu);function Cu(e,t){var n=t;t instanceof Bc&&(n=t.chunks,e.reset(void 0,t.schema));var r,i=B(n);try{for(i.s();!(r=i.n()).done;){var a=r.value;e.write(a)}}catch(o){i.e(o)}finally{i.f()}return e.finish()}function Fu(e,t){return Mu.apply(this,arguments)}function Mu(){return(Mu=L(M.mark((function e(t,n){var r,i,a,o,u,s;return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=!1,i=!1,e.prev=2,o=Eu(n);case 4:return e.next=6,o.next();case 6:if(!(r=!(u=e.sent).done)){e.next=12;break}s=u.value,t.write(s);case 9:r=!1,e.next=4;break;case 12:e.next=18;break;case 14:e.prev=14,e.t0=e.catch(2),i=!0,a=e.t0;case 18:if(e.prev=18,e.prev=19,!r||null==o.return){e.next=23;break}return e.next=23,o.return();case 23:if(e.prev=23,!i){e.next=26;break}throw a;case 26:return e.finish(23);case 27:return e.finish(18);case 28:return e.abrupt("return",t.finish());case 29:case"end":return e.stop()}}),e,null,[[2,14,18,28],[19,,23,27]])})))).apply(this,arguments)}var Nu=new Uint8Array(0),Uu=function(e){return[Nu,Nu,new Uint8Array(e),Nu]};function Pu(e,t){for(var n,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.reduce((function(e,t){return Math.max(e,t.length)}),0),a=-1,o=t.length,u=sn(e.fields),s=[],c=(i+63&-64)>>3;++a0;){for(u=Number.POSITIVE_INFINITY,s=-1;++s0&&(i[o++]=[u,l.slice()]))}return[e=new ra(r,e.metadata),i.map((function(t){return Ur(Dc,[e].concat(sn(t)))}))]}(e,t.map((function(e){return e instanceof Vi?e.chunks.map((function(e){return e.data})):[e.data]})))}function Vu(e,t,n,r,i){for(var a,o,u=0,s=-1,c=r.length,l=(t+63&-64)>>3;++s=t?u===t?n[s]=a:(n[s]=a.slice(0,t),a=a.slice(t,u-t),i.numBatches=Math.max(i.numBatches,r[s].unshift(a))):((o=e[s]).nullable||(e[s]=o.clone({nullable:!0})),n[s]=a?a._changeLengthAndBackfillNullBitmap(t):ar.new(o.type,0,t,t,Uu(l)));return n}function Wu(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Hu=function(e,t){Object(ne.a)(r,e);var n=Object(re.a)(r);function r(e,t){var i;return Object(C.a)(this,r),(i=n.call(this))._children=t,i.numChildren=e.childData.length,i._bindDataAccessors(i.data=e),i}return Object(F.a)(r,[{key:"type",get:function(){return this.data.type}},{key:"typeId",get:function(){return this.data.typeId}},{key:"length",get:function(){return this.data.length}},{key:"offset",get:function(){return this.data.offset}},{key:"stride",get:function(){return this.data.stride}},{key:"nullCount",get:function(){return this.data.nullCount}},{key:"byteLength",get:function(){return this.data.byteLength}},{key:"VectorName",get:function(){return"".concat(Vt[this.typeId],"Vector")}},{key:"ArrayType",get:function(){return this.type.ArrayType}},{key:"values",get:function(){return this.data.values}},{key:"typeIds",get:function(){return this.data.typeIds}},{key:"nullBitmap",get:function(){return this.data.nullBitmap}},{key:"valueOffsets",get:function(){return this.data.valueOffsets}},{key:t,get:function(){return"".concat(this.VectorName,"<").concat(this.type[Symbol.toStringTag],">")}},{key:"clone",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._children;return zt.new(e,t)}},{key:"concat",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n0){var t=this.offset+e;return 0!==(this.nullBitmap[t>>3]&1<=this.numChildren?null:(this._children||(this._children=[]))[e]||(this._children[e]=zt.new(this.data.childData[e]))}},{key:"toJSON",value:function(){return sn(this)}},{key:"_sliceInternal",value:function(e,t,n){return e.clone(e.data.slice(t,n-t),null)}},{key:"_bindDataAccessors",value:function(e){}}]),r}(zt,Symbol.toStringTag);Hu.prototype[Symbol.isConcatSpreadable]=!0;var Yu=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"asUtf8",value:function(){return zt.new(this.data.clone(new Rn))}}]),n}(Hu),$u=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,null,[{key:"from",value:function(e){return Ic((function(){return new zn}),e)}}]),n}(Hu),Ku=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,null,[{key:"from",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n>>0)},Ys=function(e){return new Date(e)},$s=function(e,t,n){var r=t[n],i=t[n+1];return null!=r&&null!=i?e.subarray(r,i):null},Ks=function(e,t){return function(e,t){return Ys(function(e,t){return 864e5*e[t]}(e,t))}(e.values,t)},Qs=function(e,t){return function(e,t){return Ys(Hs(e,t))}(e.values,2*t)},qs=function(e,t){var n=e.stride;return e.values[n*t]},Gs=function(e,t){var n=e.stride;return Ar(e.values[n*t])},Js=function(e,t){var n=e.stride,r=e.values,i=e.type;return qr.new(r.subarray(n*t,n*(t+1)),i.isSigned)},Zs=function(e,t){var n=e.values;return 1e3*Hs(n,2*t)},Xs=function(e,t){var n=e.values;return Hs(n,2*t)},ec=function(e,t){return function(e,t){return e[t+1]/1e3*4294967296+(e[t]>>>0)/1e3}(e.values,2*t)},tc=function(e,t){return function(e,t){return e[t+1]/1e6*4294967296+(e[t]>>>0)/1e6}(e.values,2*t)},nc=function(e,t){return e.values[e.stride*t]},rc=function(e,t){return e.values[e.stride*t]},ic=function(e,t){var n=e.values;return qr.signed(n.subarray(2*t,2*(t+1)))},ac=function(e,t){var n=e.values;return qr.signed(n.subarray(2*t,2*(t+1)))},oc=function(e,t){var n=e.typeIdToChildIndex[e.typeIds[t]],r=e.getChildAt(n);return r?r.get(e.valueOffsets[t]):null},uc=function(e,t){var n=e.typeIdToChildIndex[e.typeIds[t]],r=e.getChildAt(n);return r?r.get(t):null},sc=function(e,t){return e.values.subarray(2*t,2*(t+1))},cc=function(e,t){var n=e.values[t],r=new Int32Array(2);return r[0]=n/12|0,r[1]=n%12|0,r};Ws.prototype.visitNull=function(e,t){return null},Ws.prototype.visitBool=function(e,t){var n=e.offset+t;return 0!==(e.values[n>>3]&1<0?0:-1},fc.prototype.visitBool=hc,fc.prototype.visitInt=hc,fc.prototype.visitInt8=hc,fc.prototype.visitInt16=hc,fc.prototype.visitInt32=hc,fc.prototype.visitInt64=hc,fc.prototype.visitUint8=hc,fc.prototype.visitUint16=hc,fc.prototype.visitUint32=hc,fc.prototype.visitUint64=hc,fc.prototype.visitFloat=hc,fc.prototype.visitFloat16=hc,fc.prototype.visitFloat32=hc,fc.prototype.visitFloat64=hc,fc.prototype.visitUtf8=hc,fc.prototype.visitBinary=hc,fc.prototype.visitFixedSizeBinary=hc,fc.prototype.visitDate=hc,fc.prototype.visitDateDay=hc,fc.prototype.visitDateMillisecond=hc,fc.prototype.visitTimestamp=hc,fc.prototype.visitTimestampSecond=hc,fc.prototype.visitTimestampMillisecond=hc,fc.prototype.visitTimestampMicrosecond=hc,fc.prototype.visitTimestampNanosecond=hc,fc.prototype.visitTime=hc,fc.prototype.visitTimeSecond=hc,fc.prototype.visitTimeMillisecond=hc,fc.prototype.visitTimeMicrosecond=hc,fc.prototype.visitTimeNanosecond=hc,fc.prototype.visitDecimal=hc,fc.prototype.visitList=hc,fc.prototype.visitStruct=hc,fc.prototype.visitUnion=hc,fc.prototype.visitDenseUnion=dc,fc.prototype.visitSparseUnion=dc,fc.prototype.visitDictionary=hc,fc.prototype.visitInterval=hc,fc.prototype.visitIntervalDayTime=hc,fc.prototype.visitIntervalYearMonth=hc,fc.prototype.visitFixedSizeList=hc,fc.prototype.visitMap=hc;var pc=new fc,yc=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n)}(cn);function vc(e){if(e.nullCount>0)return function(e){var t=lc.getVisitFn(e);return rn(e.nullBitmap,e.offset,e.length,e,(function(e,n,r,i){return 0!==(r&1<0)?e.values.subarray(0,r)[Symbol.iterator]():M.mark((function t(n){var i;return M.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=-1;case 1:if(!(++i1?t-1:0),r=1;r0&&(this.get=(t=this.get,function(e){return this.isValid(e)?t.call(this,e):null}),this.set=function(e){return function(t,n){en(this.nullBitmap,this.offset+t,!(null===n||void 0===n))&&e.call(this,t,n)}}(this.set));var t},Object.keys(Vt).map((function(e){return Vt[e]})).filter((function(e){return"number"===typeof e})).filter((function(e){return e!==Vt.NONE})).forEach((function(e){var t,n=xc.visit(e);n.prototype.get=(t=lc.getVisitFn(e),function(e){return t(this,e)}),n.prototype.set=Vs(Fa.getVisitFn(e)),n.prototype.indexOf=Vs(pc.getVisitFn(e)),n.prototype.toArray=zs(kc.getVisitFn(e)),n.prototype.getByteWidth=function(e){return function(){return e(this.type)}}(Oc.getVisitFn(e)),n.prototype[Symbol.iterator]=zs(bc.getVisitFn(e))}));var Bc=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){var e;Object(C.a)(this,n);for(var r=null,i=arguments.length,a=new Array(i),o=0;o0&&void 0!==arguments[0]?arguments[0]:this._chunks;return new n(this._schema,e)}},{key:"getColumn",value:function(e){return this.getColumnAt(this.getColumnIndex(e))}},{key:"getColumnAt",value:function(e){return this.getChildAt(e)}},{key:"getColumnIndex",value:function(e){return this._schema.fields.findIndex((function(t){return t.name===e}))}},{key:"getChildAt",value:function(e){if(e<0||e>=this.numChildren)return null;var t,n,r=this._schema.fields,i=this._children||(this._children=[]);if(n=i[e])return n;if(t=r[e]){var a=this._chunks.map((function(t){return t.getChildAt(e)})).filter((function(e){return null!=e}));if(a.length>0)return i[e]=new $i(t,a)}return null}},{key:"serialize",value:function(){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=e?Du:Lu;return t.writeAll(this).toUint8Array(!0)}},{key:"count",value:function(){return this._length}},{key:"select",value:function(){for(var e=this._schema.fields.reduce((function(e,t,n){return e.set(t.name,n)}),new Map),t=arguments.length,n=new Array(t),r=0;r-1}))))}},{key:"selectAt",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i3&&void 0!==arguments[3]?arguments[3]:u[r];return void 0===a?t.getColumnAt(r):e.getColumnAt(a)}))),sn(o.map((function(t){return e.getColumnAt(t)})))).filter(Boolean);return Ur(n,sn(zu(s,c)))}}],[{key:"empty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new ra([]);return new n(e,[])}},{key:"from",value:function(e){if(!e)return n.empty();if("object"===typeof e){var t=ke(e.values)?function(e){if(e.type instanceof Gn)return Bc.fromStruct(js.from(e));return null}(e):we(e.values)?function(e){if(e.type instanceof Gn)return js.from(e).then((function(e){return Bc.fromStruct(e)}));return null}(e):null;if(null!==t)return t}var r=Uc.from(e);return ge(r)?L(M.mark((function e(){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=n,e.next=3,r;case 3:return e.t1=e.sent,e.next=6,e.t0.from.call(e.t0,e.t1);case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e)})))():r.isSync()&&(r=r.open())?r.schema?new n(r.schema,sn(r)):n.empty():function(){var e=L(M.mark((function e(t){var r,i,a,o,u,s,c,l,f;return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:if(r=e.sent,i=r.schema,a=[],!i){e.next=35;break}o=!1,u=!1,e.prev=8,c=Ec(r);case 10:return e.next=12,c.next();case 12:if(!(o=!(l=e.sent).done)){e.next=18;break}f=l.value,a.push(f);case 15:o=!1,e.next=10;break;case 18:e.next=24;break;case 20:e.prev=20,e.t0=e.catch(8),u=!0,s=e.t0;case 24:if(e.prev=24,e.prev=25,!o||null==c.return){e.next=29;break}return e.next=29,c.return();case 29:if(e.prev=29,!u){e.next=32;break}throw s;case 32:return e.finish(29);case 33:return e.finish(24);case 34:return e.abrupt("return",new n(i,a));case 35:return e.abrupt("return",n.empty());case 36:case"end":return e.stop()}}),e,null,[[8,20,24,34],[25,,29,33]])})));return function(t){return e.apply(this,arguments)}}()(r.open())}},{key:"fromAsync",value:function(){var e=L(M.mark((function e(t){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.from(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"fromStruct",value:function(e){return n.new(e.data.childData,e.type.children)}},{key:"new",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:this._children;return new n(this._schema,e,t)}},{key:"concat",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r-1}))))}},{key:"selectAt",value:function(){for(var e,t=this,r=arguments.length,i=new Array(r),a=0;a0&&this.dictionaries.set(t.id,n),this}}],[{key:"collect",value:function(e){return(new n).visit(e.data,new Gn(e.schema.fields)).dictionaries}}]),n}(cn),Fc=M.mark(Gc);function Mc(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new Nc(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function Nc(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return(Nc=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new Nc(e)}var Uc=function(e,t,n){Object(ne.a)(i,e);var r=Object(re.a)(i);function i(e){var t;return Object(C.a)(this,i),(t=r.call(this))._impl=e,t}return Object(F.a)(i,[{key:"closed",get:function(){return this._impl.closed}},{key:"schema",get:function(){return this._impl.schema}},{key:"autoDestroy",get:function(){return this._impl.autoDestroy}},{key:"dictionaries",get:function(){return this._impl.dictionaries}},{key:"numDictionaries",get:function(){return this._impl.numDictionaries}},{key:"numRecordBatches",get:function(){return this._impl.numRecordBatches}},{key:"footer",get:function(){return this._impl.isFile()?this._impl.footer:null}},{key:"isSync",value:function(){return this._impl.isSync()}},{key:"isAsync",value:function(){return this._impl.isAsync()}},{key:"isFile",value:function(){return this._impl.isFile()}},{key:"isStream",value:function(){return this._impl.isStream()}},{key:"next",value:function(){return this._impl.next()}},{key:"throw",value:function(e){return this._impl.throw(e)}},{key:"return",value:function(e){return this._impl.return(e)}},{key:"cancel",value:function(){return this._impl.cancel()}},{key:"reset",value:function(e){return this._impl.reset(e),this._DOMStream=void 0,this._nodeStream=void 0,this}},{key:"open",value:function(e){var t=this,n=this._impl.open(e);return ge(n)?n.then((function(){return t})):this}},{key:"readRecordBatch",value:function(e){return this._impl.isFile()?this._impl.readRecordBatch(e):null}},{key:t,value:function(){return this._impl[Symbol.iterator]()}},{key:n,value:function(){return this._impl[Symbol.asyncIterator]()}},{key:"toDOMStream",value:function(){var e=this;return kt.toDOMStream(this.isSync()?At({},Symbol.iterator,(function(){return e})):At({},Symbol.asyncIterator,(function(){return e})))}},{key:"toNodeStream",value:function(){var e=this;return kt.toNodeStream(this.isSync()?At({},Symbol.iterator,(function(){return e})):At({},Symbol.asyncIterator,(function(){return e})),{objectMode:!0})}}],[{key:"throughNode",value:function(e){throw new Error('"throughNode" not available in this environment')}},{key:"throughDOM",value:function(e,t){throw new Error('"throughDOM" not available in this environment')}},{key:"from",value:function(e){return e instanceof i?e:_e(e)?function(e){return new Pc(new Qc(e))}(e):xe(e)?function(e){return el.apply(this,arguments)}(e):ge(e)?L(M.mark((function t(){return M.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=i,t.next=3,e;case 3:return t.t1=t.sent,t.next=6,t.t0.from.call(t.t0,t.t1);case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}}),t)})))():Se(e)||Te(e)||Ee(e)||we(e)?function(e){return Xc.apply(this,arguments)}(new qa(e)):function(e){var t=e.peek(ku+7&-8);return t&&t.byteLength>=4?gu(t)?new zc(new $c(e.read())):new Pc(new Hc(e)):new Pc(new Hc(M.mark((function e(){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))()))}(new Qa(e))}},{key:"readAll",value:function(e){return e instanceof i?e.isSync()?Gc(e):Jc(e):_e(e)||ArrayBuffer.isView(e)||ke(e)||Oe(e)?Gc(e):Jc(e)}}]),i}(oe,Symbol.iterator,Symbol.asyncIterator),Pc=function(e,t,n){Object(ne.a)(i,e);var r=Object(re.a)(i);function i(e){var t;return Object(C.a)(this,i),(t=r.call(this,e))._impl=e,t}return Object(F.a)(i,[{key:t,value:function(){return this._impl[Symbol.iterator]()}},{key:n,value:function(){var e=this;return z(M.mark((function t(){return M.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(V(Mc(e[Symbol.iterator]()),P),"t0",1);case 1:case"end":return t.stop()}}),t)})))()}}]),i}(Uc,Symbol.iterator,Symbol.asyncIterator),Rc=function(e,t,n){Object(ne.a)(i,e);var r=Object(re.a)(i);function i(e){var t;return Object(C.a)(this,i),(t=r.call(this,e))._impl=e,t}return Object(F.a)(i,[{key:t,value:function(){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}},{key:n,value:function(){return this._impl[Symbol.asyncIterator]()}}]),i}(Uc,Symbol.iterator,Symbol.asyncIterator),zc=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this,e))._impl=e,r}return Object(F.a)(n)}(Pc),Vc=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this,e))._impl=e,r}return Object(F.a)(n)}(Rc),Wc=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Map;Object(C.a)(this,e),this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=t}return Object(F.a)(e,[{key:"numDictionaries",get:function(){return this._dictionaryIndex}},{key:"numRecordBatches",get:function(){return this._recordBatchIndex}},{key:"isSync",value:function(){return!1}},{key:"isAsync",value:function(){return!1}},{key:"isFile",value:function(){return!1}},{key:"isStream",value:function(){return!1}},{key:"reset",value:function(e){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=e,this.dictionaries=new Map,this}},{key:"_loadRecordBatch",value:function(e,t){return new Dc(this.schema,e.length,this._loadVectors(e,t,this.schema.fields))}},{key:"_loadDictionaryBatch",value:function(e,t){var n=e.id,r=e.isDelta,i=e.data,a=this.dictionaries,o=this.schema,u=a.get(n);if(r||!u){var s=o.dictionaries.get(n);return u&&r?u.concat(zt.new(this._loadVectors(i,t,[s])[0])):zt.new(this._loadVectors(i,t,[s])[0])}return u}},{key:"_loadVectors",value:function(e,t,n){return new oo(t,e.nodes,e.buffers,this.dictionaries).visitMany(n)}}]),e}(),Hc=function(e,t){Object(ne.a)(r,e);var n=Object(re.a)(r);function r(e,t){var i;return Object(C.a)(this,r),(i=n.call(this,t))._reader=_e(e)?new yu(i._handle=e):new du(i._handle=e),i}return Object(F.a)(r,[{key:"isSync",value:function(){return!0}},{key:"isStream",value:function(){return!0}},{key:t,value:function(){return this}},{key:"cancel",value:function(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}},{key:"open",value:function(e){return this.closed||(this.autoDestroy=qc(this,e),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}},{key:"throw",value:function(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(e):ie}},{key:"return",value:function(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(e):ie}},{key:"next",value:function(){if(this.closed)return ie;for(var e,t=this._reader;e=this._readNextMessageAndValidate();)if(e.isSchema())this.reset(e.header());else{if(e.isRecordBatch()){this._recordBatchIndex++;var n=e.header(),r=t.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(n,r)}}if(e.isDictionaryBatch()){this._dictionaryIndex++;var i=e.header(),a=t.readMessageBody(e.bodyLength),o=this._loadDictionaryBatch(i,a);this.dictionaries.set(i.id,o)}}return this.schema&&0===this._recordBatchIndex?(this._recordBatchIndex++,{done:!1,value:new Lc(this.schema)}):this.return()}},{key:"_readNextMessageAndValidate",value:function(e){return this._reader.readMessage(e)}}]),r}(Wc,Symbol.iterator),Yc=function(e,t){Object(ne.a)(r,e);var n=Object(re.a)(r);function r(e,t){var i;return Object(C.a)(this,r),(i=n.call(this,t))._reader=new pu(i._handle=e),i}return Object(F.a)(r,[{key:"isAsync",value:function(){return!0}},{key:"isStream",value:function(){return!0}},{key:t,value:function(){return this}},{key:"cancel",value:function(){var e=L(M.mark((function e(){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.closed||!(this.closed=!0)){e.next=5;break}return e.next=3,this.reset()._reader.return();case 3:this._reader=null,this.dictionaries=null;case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"open",value:function(){var e=L(M.mark((function e(t){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.closed){e.next=10;break}if(this.autoDestroy=qc(this,t),e.t0=this.schema,e.t0){e.next=7;break}return e.next=6,this._reader.readSchema();case 6:e.t0=this.schema=e.sent;case 7:if(e.t0){e.next=10;break}return e.next=10,this.cancel();case 10:return e.abrupt("return",this);case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"throw",value:function(){var e=L(M.mark((function e(t){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.closed||!this.autoDestroy||!(this.closed=!0)){e.next=4;break}return e.next=3,this.reset()._reader.throw(t);case 3:return e.abrupt("return",e.sent);case 4:return e.abrupt("return",ie);case 5:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"return",value:function(){var e=L(M.mark((function e(t){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.closed||!this.autoDestroy||!(this.closed=!0)){e.next=4;break}return e.next=3,this.reset()._reader.return(t);case 3:return e.abrupt("return",e.sent);case 4:return e.abrupt("return",ie);case 5:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"next",value:function(){var e=L(M.mark((function e(){var t,n,r,i,a,o,u,s;return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.closed){e.next=2;break}return e.abrupt("return",ie);case 2:n=this._reader;case 3:return e.next=5,this._readNextMessageAndValidate();case 5:if(!(t=e.sent)){e.next=31;break}if(!t.isSchema()){e.next=11;break}return e.next=9,this.reset(t.header());case 9:e.next=29;break;case 11:if(!t.isRecordBatch()){e.next=21;break}return this._recordBatchIndex++,r=t.header(),e.next=16,n.readMessageBody(t.bodyLength);case 16:return i=e.sent,a=this._loadRecordBatch(r,i),e.abrupt("return",{done:!1,value:a});case 21:if(!t.isDictionaryBatch()){e.next=29;break}return this._dictionaryIndex++,o=t.header(),e.next=26,n.readMessageBody(t.bodyLength);case 26:u=e.sent,s=this._loadDictionaryBatch(o,u),this.dictionaries.set(o.id,s);case 29:e.next=3;break;case 31:if(!this.schema||0!==this._recordBatchIndex){e.next=34;break}return this._recordBatchIndex++,e.abrupt("return",{done:!1,value:new Lc(this.schema)});case 34:return e.next=36,this.return();case 36:return e.abrupt("return",e.sent);case 37:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"_readNextMessageAndValidate",value:function(){var e=L(M.mark((function e(t){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._reader.readMessage(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),r}(Wc,Symbol.asyncIterator),$c=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e,r){return Object(C.a)(this,n),t.call(this,e instanceof Za?e:new Za(e),r)}return Object(F.a)(n,[{key:"footer",get:function(){return this._footer}},{key:"numDictionaries",get:function(){return this._footer?this._footer.numDictionaries:0}},{key:"numRecordBatches",get:function(){return this._footer?this._footer.numRecordBatches:0}},{key:"isSync",value:function(){return!0}},{key:"isFile",value:function(){return!0}},{key:"open",value:function(e){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;var t,r=B(this._footer.dictionaryBatches());try{for(r.s();!(t=r.n()).done;){t.value&&this._readDictionaryBatch(this._dictionaryIndex++)}}catch(i){r.e(i)}finally{r.f()}}return Ct(Object(Lt.a)(n.prototype),"open",this).call(this,e)}},{key:"readRecordBatch",value:function(e){if(this.closed)return null;this._footer||this.open();var t=this._footer&&this._footer.getRecordBatch(e);if(t&&this._handle.seek(t.offset)){var n=this._reader.readMessage(qt.RecordBatch);if(n&&n.isRecordBatch()){var r=n.header(),i=this._reader.readMessageBody(n.bodyLength);return this._loadRecordBatch(r,i)}}return null}},{key:"_readDictionaryBatch",value:function(e){var t=this._footer&&this._footer.getDictionaryBatch(e);if(t&&this._handle.seek(t.offset)){var n=this._reader.readMessage(qt.DictionaryBatch);if(n&&n.isDictionaryBatch()){var r=n.header(),i=this._reader.readMessageBody(n.bodyLength),a=this._loadDictionaryBatch(r,i);this.dictionaries.set(r.id,a)}}}},{key:"_readFooter",value:function(){var e=this._handle,t=e.size-wu,n=e.readInt32(t),r=e.readAt(t-n,n);return Va.decode(r)}},{key:"_readNextMessageAndValidate",value:function(e){if(this._footer||this.open(),this._footer&&this._recordBatchIndex1?r-1:0),a=1;a=4)){e.next=18;break}if(gu(n)){e.next=8;break}e.t1=new Rc(new Yc(t)),e.next=15;break;case 8:return e.t2=zc,e.t3=$c,e.next=12,t.read();case 12:e.t4=e.sent,e.t5=new e.t3(e.t4),e.t1=new e.t2(e.t5);case 15:e.t0=e.t1,e.next=19;break;case 18:e.t0=new Rc(new Yc(z(M.mark((function e(){return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()));case 19:return e.abrupt("return",e.t0);case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function el(){return(el=L(M.mark((function e(t){var n,r,i;return M.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.stat();case 2:if(n=e.sent,r=n.size,i=new Xa(t,r),!(r>=_u)){e.next=12;break}return e.t0=gu,e.next=9,i.readAt(0,ku+7&-8);case 9:if(e.t1=e.sent,!(0,e.t0)(e.t1)){e.next=12;break}return e.abrupt("return",new Vc(new Kc(i)));case 12:return e.abrupt("return",new Rc(new Yc(i)));case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var tl=["readableStrategy","writableStrategy","queueingStrategy"];var nl=function(){function e(t){var n,r,i=this;Object(C.a)(this,e),this._numChunks=0,this._finished=!1,this._bufferedSize=0;var a=t.readableStrategy,o=t.writableStrategy,u=t.queueingStrategy,s=void 0===u?"count":u,c=Wu(t,tl);this._controller=null,this._builder=br.new(c),this._getSize="bytes"!==s?rl:il;var l=Dt({},a).highWaterMark,f=void 0===l?"bytes"===s?Math.pow(2,14):1e3:l,h=Dt({},o).highWaterMark,d=void 0===h?"bytes"===s?Math.pow(2,14):1e3:h;this.readable=new ReadableStream((At(n={},"cancel",(function(){i._builder.clear()})),At(n,"pull",(function(e){i._maybeFlush(i._builder,i._controller=e)})),At(n,"start",(function(e){i._maybeFlush(i._builder,i._controller=e)})),n),{highWaterMark:f,size:"bytes"!==s?rl:il}),this.writable=new WritableStream((At(r={},"abort",(function(){i._builder.clear()})),At(r,"write",(function(){i._maybeFlush(i._builder,i._controller)})),At(r,"close",(function(){i._maybeFlush(i._builder.finish(),i._controller)})),r),{highWaterMark:d,size:function(e){return i._writeValueAndReturnChunkSize(e)}})}return Object(F.a)(e,[{key:"_writeValueAndReturnChunkSize",value:function(e){var t=this._bufferedSize;return this._bufferedSize=this._getSize(this._builder.append(e)),this._bufferedSize-t}},{key:"_maybeFlush",value:function(e,t){null!==t&&(this._bufferedSize>=t.desiredSize&&++this._numChunks&&this._enqueue(t,e.toVector()),e.finished&&((e.length>0||0===this._numChunks)&&++this._numChunks&&this._enqueue(t,e.toVector()),!this._finished&&(this._finished=!0)&&this._enqueue(t,null)))}},{key:"_enqueue",value:function(e,t){this._bufferedSize=0,this._controller=null,null===t?e.close():e.enqueue(t)}}]),e}(),rl=function(e){return e.length},il=function(e){return e.byteLength};var al=function(){function e(){Object(C.a)(this,e)}return Object(F.a)(e,[{key:"eq",value:function(t){return t instanceof e||(t=new ol(t)),new dl(this,t)}},{key:"le",value:function(t){return t instanceof e||(t=new ol(t)),new pl(this,t)}},{key:"ge",value:function(t){return t instanceof e||(t=new ol(t)),new yl(this,t)}},{key:"lt",value:function(e){return new vl(this.ge(e))}},{key:"gt",value:function(e){return new vl(this.le(e))}},{key:"ne",value:function(e){return new vl(this.eq(e))}}]),e}(),ol=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this)).v=e,r}return Object(F.a)(n)}(al),ul=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this)).name=e,r}return Object(F.a)(n,[{key:"bind",value:function(e){if(!this.colidx){this.colidx=-1;for(var t=e.schema.fields,n=-1;++n=n.v;return function(){return r}}},{key:"_bindColCol",value:function(e,t,n){var r=t.bind(e),i=n.bind(e);return function(e,t){return r(e,t)>=i(e,t)}}},{key:"_bindColLit",value:function(e,t,n){var r=t.bind(e);return function(e,t){return r(e,t)>=n.v}}},{key:"_bindLitCol",value:function(e,t,n){var r=n.bind(e);return function(e,n){return t.v>=r(e,n)}}}]),n}(cl),vl=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(e){var r;return Object(C.a)(this,n),(r=t.call(this)).child=e,r}return Object(F.a)(n,[{key:"bind",value:function(e){var t=this.child.bind(e);return function(e,n){return!t(e,n)}}}]),n}(sl);Bc.prototype.countBy=function(e){return new bl(this.chunks).countBy(e)},Bc.prototype.scan=function(e,t){return new bl(this.chunks).scan(e,t)},Bc.prototype.scanReverse=function(e,t){return new bl(this.chunks).scanReverse(e,t)},Bc.prototype.filter=function(e){return new bl(this.chunks).filter(e)};var bl=function(e){Object(ne.a)(n,e);var t=Object(re.a)(n);function n(){return Object(C.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"filter",value:function(e){return new gl(this.chunks,e)}},{key:"scan",value:function(e,t){for(var n=this.chunks,r=n.length,i=-1;++i=0;){var i=n[r];t&&t(i);for(var a=i.length;--a>=0;)e(a,i)}}},{key:"countBy",value:function(e){var t=this.chunks,n=t.length,r="string"===typeof e?new ul(e):e;r.bind(t[n-1]);var i=r.vector;if(!xn.isDictionary(i.type))throw new Error("countBy currently only supports dictionary-encoded columns");for(var a=Math.ceil(Math.log(i.length)/Math.log(256)),o=new(4==a?Uint32Array:a>=2?Uint16Array:Uint8Array)(i.dictionary.length),u=-1;++u=0;)for(var i=n[r],a=this._predicate.bind(i),o=!1,u=i.length;--u>=0;)a(u,i)&&(t&&!o&&(t(i),o=!0),e(u,i))}},{key:"count",value:function(){for(var e=0,t=this._chunks,n=t.length,r=-1;++r=2?Uint16Array:Uint8Array)(i.dictionary.length),u=-1;++u=i.headerRows&&t=i.headerColumns;if(n){var o=["blank"];return t>0&&o.push("level"+e),{type:"blank",classNames:o.join(" "),content:""}}if(a)return{type:"columns",classNames:(o=["col_heading","level"+e,"col"+(s=t-i.headerColumns)]).join(" "),content:i.getContent(i.columnsTable,s,e)};if(r){o=["row_heading","level"+t,"row"+(u=e-i.headerRows)];return{type:"index",id:"T_"+i.uuid+"level"+t+"_row"+u,classNames:o.join(" "),content:i.getContent(i.indexTable,u,t)}}o=["data","row"+(u=e-i.headerRows),"col"+(s=t-i.headerColumns)];var u,s,c=i.styler?i.getContent(i.styler.displayValuesTable,u,s):i.getContent(i.dataTable,u,s);return{type:"data",id:"T_"+i.uuid+"row"+u+"_col"+s,classNames:o.join(" "),content:c}},this.getContent=function(e,t,n){var r=e.getColumnAt(n);if(null===r)return"";switch(i.getColumnTypeId(e,n)){case Vt.Timestamp:return i.nanosToDate(r.get(t));default:return r.get(t)}},this.dataTable=Bc.from(e),this.indexTable=Bc.from(t),this.columnsTable=Bc.from(n),this.styler=r?{caption:r.caption,displayValuesTable:Bc.from(r.displayValues),styles:r.styles,uuid:r.uuid}:void 0}return Object.defineProperty(e.prototype,"rows",{get:function(){return this.indexTable.length+this.columnsTable.numCols},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columns",{get:function(){return this.indexTable.numCols+this.columnsTable.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"headerRows",{get:function(){return this.rows-this.dataRows},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"headerColumns",{get:function(){return this.columns-this.dataColumns},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataRows",{get:function(){return this.dataTable.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataColumns",{get:function(){return this.dataTable.numCols},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"uuid",{get:function(){return this.styler&&this.styler.uuid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"caption",{get:function(){return this.styler&&this.styler.caption},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"styles",{get:function(){return this.styler&&this.styler.styles},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"table",{get:function(){return this.dataTable},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){return this.indexTable},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columnTable",{get:function(){return this.columnsTable},enumerable:!0,configurable:!0}),e.prototype.serialize=function(){return{data:this.dataTable.serialize(),index:this.indexTable.serialize(),columns:this.columnsTable.serialize()}},e.prototype.getColumnTypeId=function(e,t){return e.schema.fields[t].type.typeId},e.prototype.nanosToDate=function(e){return new Date(e/1e6)},e}(),_l=function(){return(_l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?e.argsDataframeToObject(t.dfs):{};n=_l(_l({},n),r);var i=Boolean(t.disabled),a=t.theme;a&&xl(a);var o={disabled:i,args:n,theme:a},u=new CustomEvent(e.RENDER_EVENT,{detail:o});e.events.dispatchEvent(u)},e.argsDataframeToObject=function(t){var n=t.map((function(t){var n=t.key,r=t.value;return[n,e.toArrowTable(r)]}));return Object.fromEntries(n)},e.toArrowTable=function(e){var t=e.data,n=t.data,r=t.index,i=t.columns,a=t.styler;return new wl(n,r,i,a)},e.sendBackMsg=function(e,t){window.parent.postMessage(_l({isStreamlitMessage:!0,type:e},t),"*")},e}(),xl=function(e){var t=document.createElement("style");document.head.appendChild(t),t.innerHTML="\n :root {\n --primary-color: "+e.primaryColor+";\n --background-color: "+e.backgroundColor+";\n --secondary-background-color: "+e.secondaryBackgroundColor+";\n --text-color: "+e.textColor+";\n --font: "+e.font+";\n }\n\n body {\n background-color: var(--background-color);\n color: var(--text-color);\n }\n "};var Sl=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),jl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Sl(t,e),t.prototype.componentDidMount=function(){Ol.setFrameHeight()},t.prototype.componentDidUpdate=function(){Ol.setFrameHeight()},t}(h.a.PureComponent);function Tl(e){var t=function(t){function n(n){var r=t.call(this,n)||this;return r.componentDidMount=function(){Ol.events.addEventListener(Ol.RENDER_EVENT,r.onRenderEvent),Ol.setComponentReady()},r.componentDidUpdate=function(){null!=r.state.componentError&&Ol.setFrameHeight()},r.componentWillUnmount=function(){Ol.events.removeEventListener(Ol.RENDER_EVENT,r.onRenderEvent)},r.onRenderEvent=function(e){var t=e;r.setState({renderData:t.detail})},r.render=function(){return null!=r.state.componentError?h.a.createElement("div",null,h.a.createElement("h1",null,"Component Error"),h.a.createElement("span",null,r.state.componentError.message)):null==r.state.renderData?null:h.a.createElement(e,{width:window.innerWidth,disabled:r.state.renderData.disabled,args:r.state.renderData.args,theme:r.state.renderData.theme})},r.state={renderData:void 0,componentError:void 0},r}return Sl(n,t),n.getDerivedStateFromError=function(e){return{componentError:e}},n}(h.a.PureComponent);return l()(t,e)}},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return a}));var i=n(9);function a(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?Object(i.a)(e):t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(6),i=n.n(r),a=n(7),o=n.n(a);function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}"undefined"!==typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!==typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));var s=Object.freeze({START:"start",PAUSE:"pause",STOP:"stop",NONE:"none"}),c=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).init=function(){try{return n.leftchannel=[],n.rightchannel=[],n.recorder=null,n.recording=!1,n.recordingLength=0,n.volume=null,n.audioInput=null,n.sampleRate=null,n.AudioContext=window.AudioContext||window.webkitAudioContext,n.context=null,n.analyser=null,n.canvas=n.canvasRef.current,n.canvasCtx=n.canvas.getContext("2d"),n.stream=null,n.tested=!1,navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia,Promise.resolve()}catch(e){return Promise.reject(e)}},n.getStream=function(e){return e||(e={audio:!0,video:!1}),navigator.mediaDevices.getUserMedia(e)},n.setUpRecording=function(){n.context=new n.AudioContext,n.sampleRate=n.context.sampleRate,n.volume=n.context.createGain(),n.audioInput=n.context.createMediaStreamSource(n.stream),n.analyser=n.context.createAnalyser(),n.audioInput.connect(n.analyser);n.recorder=n.context.createScriptProcessor(2048,2,2),n.analyser.connect(n.recorder),n.recorder.connect(n.context.destination);var e=u(n);n.recorder.onaudioprocess=function(t){if(e.recording){var n=t.inputBuffer.getChannelData(0),r=t.inputBuffer.getChannelData(1);e.tested||(e.tested=!0,n.reduce((function(e,t){return e+t}))||(console.log("Error: There seems to be an issue with your Mic"),e.stop(),e.stream.getTracks().forEach((function(e){e.stop()})),e.context.close())),e.leftchannel.push(new Float32Array(n)),e.rightchannel.push(new Float32Array(r)),e.recordingLength+=2048}},n.visualize()},n.mergeBuffers=function(e,t){for(var n=new Float32Array(t),r=0,i=e.length,a=0;aA.length&&A.push(e)}function L(e,t,n){return null==e?0:function e(t,n,r,i){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var s=!1;if(null===t)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case a:case o:s=!0}}if(s)return r(i,t,""===n?"."+C(t,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c