diff --git a/src/dashboard.py b/src/dashboard.py index 51f1c14..316700f 100644 --- a/src/dashboard.py +++ b/src/dashboard.py @@ -1781,8 +1781,8 @@ def API_allowAccessPeers(configName: str) -> ResponseObject: @app.post(f'{APP_PREFIX}/api/addPeers/') def API_addPeers(configName): - data = request.get_json() - bulkAdd = data['bulkAdd'] + data: dict = request.get_json() + bulkAdd = data['bulkAdd'] bulkAddAmount = data['bulkAddAmount'] public_key = data['public_key'] allowed_ips = data['allowed_ips'] diff --git a/src/static/app/dist/assets/index.css b/src/static/app/dist/assets/index.css index 5314229..7c42a06 100644 --- a/src/static/app/dist/assets/index.css +++ b/src/static/app/dist/assets/index.css @@ -2,16 +2,14 @@ * Bootstrap v5.3.2 (https://getbootstrap.com/) * Copyright 2011-2023 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */:root,[data-bs-theme=light]{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: #052c65;--bs-secondary-text-emphasis: #2b2f32;--bs-success-text-emphasis: #0a3622;--bs-info-text-emphasis: #055160;--bs-warning-text-emphasis: #664d03;--bs-danger-text-emphasis: #58151c;--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: #cfe2ff;--bs-secondary-bg-subtle: #e2e3e5;--bs-success-bg-subtle: #d1e7dd;--bs-info-bg-subtle: #cff4fc;--bs-warning-bg-subtle: #fff3cd;--bs-danger-bg-subtle: #f8d7da;--bs-light-bg-subtle: #fcfcfd;--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: #9ec5fe;--bs-secondary-border-subtle: #c4c8cb;--bs-success-border-subtle: #a3cfbb;--bs-info-border-subtle: #9eeaf9;--bs-warning-border-subtle: #ffe69c;--bs-danger-border-subtle: #f1aeb5;--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, .75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, .5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: #0a58ca;--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: #fff3cd;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-box-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width: .25rem;--bs-focus-ring-opacity: .25;--bs-focus-ring-color: rgba(13, 110, 253, .25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, .75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, .5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: #2b3035;--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: #6ea8fe;--bs-secondary-text-emphasis: #a7acb1;--bs-success-text-emphasis: #75b798;--bs-info-text-emphasis: #6edff6;--bs-warning-text-emphasis: #ffda6a;--bs-danger-text-emphasis: #ea868f;--bs-light-text-emphasis: #f8f9fa;--bs-dark-text-emphasis: #dee2e6;--bs-primary-bg-subtle: #031633;--bs-secondary-bg-subtle: #161719;--bs-success-bg-subtle: #051b11;--bs-info-bg-subtle: #032830;--bs-warning-bg-subtle: #332701;--bs-danger-bg-subtle: #2c0b0e;--bs-light-bg-subtle: #343a40;--bs-dark-bg-subtle: #1a1d20;--bs-primary-border-subtle: #084298;--bs-secondary-border-subtle: #41464b;--bs-success-border-subtle: #0f5132;--bs-info-border-subtle: #087990;--bs-warning-border-subtle: #997404;--bs-danger-border-subtle: #842029;--bs-light-border-subtle: #495057;--bs-dark-border-subtle: #343a40;--bs-heading-color: inherit;--bs-link-color: #6ea8fe;--bs-link-hover-color: #8bb9fe;--bs-link-color-rgb: 110, 168, 254;--bs-link-hover-color-rgb: 139, 185, 254;--bs-code-color: #e685b5;--bs-highlight-color: #dee2e6;--bs-highlight-bg: #664d03;--bs-border-color: #495057;--bs-border-color-translucent: rgba(255, 255, 255, .15);--bs-form-valid-color: #75b798;--bs-form-valid-border-color: #75b798;--bs-form-invalid-color: #ea868f;--bs-form-invalid-border-color: #ea868f}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media (min-width: 1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media (min-width: 1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + .3vw)}@media (min-width: 1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, 1));text-decoration:underline}a:hover{--bs-link-color-rgb: var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width: 1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width: 576px){.container-sm,.container{max-width:540px}}@media (min-width: 768px){.container-md,.container-sm,.container{max-width:720px}}@media (min-width: 992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media (min-width: 1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}@media (min-width: 1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}:root{--bs-breakpoint-xs: 0;--bs-breakpoint-sm: 576px;--bs-breakpoint-md: 768px;--bs-breakpoint-lg: 992px;--bs-breakpoint-xl: 1200px;--bs-breakpoint-xxl: 1400px}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media (min-width: 576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media (min-width: 768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media (min-width: 992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media (min-width: 1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media (min-width: 1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color-type: initial;--bs-table-bg-type: initial;--bs-table-color-state: initial;--bs-table-bg-state: initial;--bs-table-color: var(--bs-emphasis-color);--bs-table-bg: var(--bs-body-bg);--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-emphasis-color);--bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), .05);--bs-table-active-color: var(--bs-emphasis-color);--bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), .1);--bs-table-hover-color: var(--bs-emphasis-color);--bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), .075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;color:var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-active{--bs-table-color-state: var(--bs-table-active-color);--bs-table-bg-state: var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state: var(--bs-table-hover-color);--bs-table-bg-state: var(--bs-table-hover-bg)}.table-primary{--bs-table-color: #000;--bs-table-bg: #cfe2ff;--bs-table-border-color: #a6b5cc;--bs-table-striped-bg: #c5d7f2;--bs-table-striped-color: #000;--bs-table-active-bg: #bacbe6;--bs-table-active-color: #000;--bs-table-hover-bg: #bfd1ec;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #e2e3e5;--bs-table-border-color: #b5b6b7;--bs-table-striped-bg: #d7d8da;--bs-table-striped-color: #000;--bs-table-active-bg: #cbccce;--bs-table-active-color: #000;--bs-table-hover-bg: #d1d2d4;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #d1e7dd;--bs-table-border-color: #a7b9b1;--bs-table-striped-bg: #c7dbd2;--bs-table-striped-color: #000;--bs-table-active-bg: #bcd0c7;--bs-table-active-color: #000;--bs-table-hover-bg: #c1d6cc;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #cff4fc;--bs-table-border-color: #a6c3ca;--bs-table-striped-bg: #c5e8ef;--bs-table-striped-color: #000;--bs-table-active-bg: #badce3;--bs-table-active-color: #000;--bs-table-hover-bg: #bfe2e9;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #fff3cd;--bs-table-border-color: #ccc2a4;--bs-table-striped-bg: #f2e7c3;--bs-table-striped-color: #000;--bs-table-active-bg: #e6dbb9;--bs-table-active-color: #000;--bs-table-hover-bg: #ece1be;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #c6acae;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #c6c7c8;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: #4d5154;--bs-table-striped-bg: #2c3034;--bs-table-striped-color: #fff;--bs-table-active-bg: #373b3e;--bs-table-active-color: #fff;--bs-table-hover-bg: #323539;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width: 575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-moz-placeholder{color:var(--bs-secondary-color);opacity:1}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon, none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg: var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion: reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::-moz-placeholder,.form-floating>.form-control-plaintext::-moz-placeholder{color:transparent}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:not(:-moz-placeholder-shown),.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label:after{position:absolute;inset:1rem .375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:focus~label:after,.form-floating>.form-control:not(:placeholder-shown)~label:after,.form-floating>.form-control-plaintext~label:after,.form-floating>.form-select~label:after{position:absolute;inset:1rem .375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>:disabled~label,.form-floating>.form-control:disabled~label{color:#6c757d}.form-floating>:disabled~label:after,.form-floating>.form-control:disabled~label:after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.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(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.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");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:var(--bs-form-valid-color)}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%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(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%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");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:var(--bs-form-invalid-color)}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: var(--bs-body-color);--bs-btn-bg: transparent;--bs-btn-border-width: var(--bs-border-width);--bs-btn-border-color: transparent;--bs-btn-border-radius: var(--bs-border-radius);--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0b5ed7;--bs-btn-hover-border-color: #0a58ca;--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0a58ca;--bs-btn-active-border-color: #0a53be;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #0d6efd;--bs-btn-disabled-border-color: #0d6efd}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #5c636a;--bs-btn-hover-border-color: #565e64;--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: #565e64;--bs-btn-active-border-color: #51585e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #157347;--bs-btn-hover-border-color: #146c43;--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: #146c43;--bs-btn-active-border-color: #13653f;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #31d2f2;--bs-btn-hover-border-color: #25cff2;--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: #3dd5f3;--bs-btn-active-border-color: #25cff2;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffca2c;--bs-btn-hover-border-color: #ffc720;--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffcd39;--bs-btn-active-border-color: #ffc720;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #424649;--bs-btn-hover-border-color: #373b3e;--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #4d5154;--bs-btn-active-border-color: #373b3e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0d6efd;--bs-btn-hover-border-color: #0d6efd;--bs-btn-focus-shadow-rgb: 13, 110, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0d6efd;--bs-btn-active-border-color: #0d6efd;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0d6efd;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0d6efd;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: 0 0 0 #000;--bs-btn-focus-shadow-rgb: 49, 132, 253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: var(--bs-border-radius-lg)}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion: reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion: reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: var(--bs-body-color);--bs-dropdown-bg: var(--bs-body-bg);--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: var(--bs-border-radius);--bs-dropdown-border-width: var(--bs-border-width);--bs-dropdown-inner-border-radius: calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: var(--bs-box-shadow);--bs-dropdown-link-color: var(--bs-body-color);--bs-dropdown-link-hover-color: var(--bs-body-color);--bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: var(--bs-tertiary-color);--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width: 576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius, 0)}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion: reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: .125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:hover,.nav-underline .nav-link:focus{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), .65);--bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), .8);--bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), .3);--bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), .15);--bs-navbar-toggler-border-radius: var(--bs-border-radius);--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media (min-width: 576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width: var(--bs-border-width);--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(var(--bs-body-color-rgb), .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: var(--bs-body-bg);--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: .75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.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:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;inset:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width: 576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{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-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{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-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: var(--bs-body-color);--bs-accordion-bg: var(--bs-body-bg);--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: var(--bs-border-width);--bs-accordion-border-radius: var(--bs-border-radius);--bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: var(--bs-body-color);--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23052c65'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color: #86b7fe;--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: var(--bs-primary-text-emphasis);--bs-accordion-active-bg: var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion: reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion: reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}[data-bs-theme=dark] .accordion-button:after{--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: var(--bs-secondary-color);--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: var(--bs-body-bg);--bs-pagination-border-width: var(--bs-border-width);--bs-pagination-border-color: var(--bs-border-color);--bs-pagination-border-radius: var(--bs-border-radius);--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: var(--bs-tertiary-bg);--bs-pagination-hover-border-color: var(--bs-border-color);--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: var(--bs-secondary-bg);--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #0d6efd;--bs-pagination-active-border-color: #0d6efd;--bs-pagination-disabled-color: var(--bs-secondary-color);--bs-pagination-disabled-bg: var(--bs-secondary-bg);--bs-pagination-disabled-border-color: var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: .75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius: var(--bs-border-radius);--bs-alert-link-color: inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: var(--bs-primary-text-emphasis);--bs-alert-bg: var(--bs-primary-bg-subtle);--bs-alert-border-color: var(--bs-primary-border-subtle);--bs-alert-link-color: var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color: var(--bs-secondary-text-emphasis);--bs-alert-bg: var(--bs-secondary-bg-subtle);--bs-alert-border-color: var(--bs-secondary-border-subtle);--bs-alert-link-color: var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color: var(--bs-success-text-emphasis);--bs-alert-bg: var(--bs-success-bg-subtle);--bs-alert-border-color: var(--bs-success-border-subtle);--bs-alert-link-color: var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color: var(--bs-info-text-emphasis);--bs-alert-bg: var(--bs-info-bg-subtle);--bs-alert-border-color: var(--bs-info-border-subtle);--bs-alert-link-color: var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color: var(--bs-warning-text-emphasis);--bs-alert-bg: var(--bs-warning-bg-subtle);--bs-alert-border-color: var(--bs-warning-border-subtle);--bs-alert-link-color: var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color: var(--bs-danger-text-emphasis);--bs-alert-bg: var(--bs-danger-bg-subtle);--bs-alert-border-color: var(--bs-danger-border-subtle);--bs-alert-link-color: var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color: var(--bs-light-text-emphasis);--bs-alert-bg: var(--bs-light-bg-subtle);--bs-alert-border-color: var(--bs-light-border-subtle);--bs-alert-link-color: var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color: var(--bs-dark-text-emphasis);--bs-alert-bg: var(--bs-dark-bg-subtle);--bs-alert-border-color: var(--bs-dark-border-subtle);--bs-alert-link-color: var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: var(--bs-secondary-bg);--bs-progress-border-radius: var(--bs-border-radius);--bs-progress-box-shadow: var(--bs-box-shadow-inset);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #0d6efd;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion: reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.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:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);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:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width: 576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);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:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);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:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);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:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);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:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color: #000;--bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity: .5;--bs-btn-close-hover-opacity: .75;--bs-btn-close-focus-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-btn-close-focus-opacity: 1;--bs-btn-close-disabled-opacity: .25;--bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close:disabled,.btn-close.disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white,[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-border-width: var(--bs-border-width);--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: var(--bs-border-radius);--bs-toast-box-shadow: var(--bs-box-shadow);--bs-toast-header-color: var(--bs-secondary-color);--bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-header-border-color: var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: var(--bs-box-shadow-sm);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion: reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width: 576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media (min-width: 992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media (min-width: 1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width: 575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width: 767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width: 991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width: 1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width: 1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: var(--bs-body-bg);--bs-tooltip-bg: var(--bs-emphasis-color);--bs-tooltip-border-radius: var(--bs-border-radius);--bs-tooltip-opacity: .9;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);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;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size: .875rem;--bs-popover-bg: var(--bs-body-bg);--bs-popover-border-width: var(--bs-border-width);--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: var(--bs-border-radius-lg);--bs-popover-inner-border-radius: calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow: var(--bs-box-shadow);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: inherit;--bs-popover-header-bg: var(--bs-secondary-bg);--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: var(--bs-body-color);--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);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;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{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:transform .6s ease-in-out}@media (prefers-reduced-motion: reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion: reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: var(--bs-body-color);--bs-offcanvas-bg: var(--bs-body-bg);--bs-offcanvas-border-width: var(--bs-border-width);--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);--bs-offcanvas-transition: transform .3s ease-in-out;--bs-offcanvas-title-line-height: 1.5}@media (max-width: 575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 575.98px) and (prefers-reduced-motion: reduce){.offcanvas-sm{transition:none}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media (min-width: 576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 767.98px) and (prefers-reduced-motion: reduce){.offcanvas-md{transition:none}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media (min-width: 768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 991.98px) and (prefers-reduced-motion: reduce){.offcanvas-lg{transition:none}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media (min-width: 992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce){.offcanvas-xl{transition:none}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media (min-width: 1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce){.offcanvas-xxl{transition:none}}@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}@media (min-width: 1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion: reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,#000c,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity, 1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-primary:hover,.link-primary:focus{color:RGBA(10,88,202,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86,94,100,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important}.link-success:hover,.link-success:focus{color:RGBA(20,108,67,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important}.link-info:hover,.link-info:focus{color:RGBA(61,213,243,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important}.link-warning:hover,.link-warning:focus{color:RGBA(255,205,57,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important}.link-danger:hover,.link-danger:focus{color:RGBA(176,42,55,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important}.link-light:hover,.link-light:focus{color:RGBA(249,250,251,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important}.link-dark:hover,.link-dark:focus{color:RGBA(26,30,33,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, .75))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-underline-offset:.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion: reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.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}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute!important}.stretched-link:after{position:absolute;inset:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.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}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color: rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color: rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color: rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color: rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color: rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color: rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color: rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color: rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.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}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity: 1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.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}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!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}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-body-secondary{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity: 1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity: 1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10,.link-opacity-10-hover:hover{--bs-link-opacity: .1}.link-opacity-25,.link-opacity-25-hover:hover{--bs-link-opacity: .25}.link-opacity-50,.link-opacity-50-hover:hover{--bs-link-opacity: .5}.link-opacity-75,.link-opacity-75-hover:hover{--bs-link-opacity: .75}.link-opacity-100,.link-opacity-100-hover:hover{--bs-link-opacity: 1}.link-offset-1,.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2,.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3,.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-underline-opacity-0,.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity: 0}.link-underline-opacity-10,.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity: .1}.link-underline-opacity-25,.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity: .25}.link-underline-opacity-50,.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity: .5}.link-underline-opacity-75,.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity: .75}.link-underline-opacity-100,.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width: 576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width: 768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width: 992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width: 1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width: 1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width: 1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}/*! * Bootstrap Icons v1.11.3 (https://icons.getbootstrap.com/) * Copyright 2019-2024 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/icons/blob/main/LICENSE) -*/@font-face{font-display:block;font-family:bootstrap-icons;src:url(/static/app/dist/assets/bootstrap-icons.woff2?dd67030699838ea613ee6dbda90effa6) format("woff2"),url(/static/app/dist/assets/bootstrap-icons.woff?dd67030699838ea613ee6dbda90effa6) format("woff")}.bi:before,[class^=bi-]:before,[class*=" bi-"]:before{display:inline-block;font-family:bootstrap-icons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;vertical-align:-.125em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bi-123:before{content:""}.bi-alarm-fill:before{content:""}.bi-alarm:before{content:""}.bi-align-bottom:before{content:""}.bi-align-center:before{content:""}.bi-align-end:before{content:""}.bi-align-middle:before{content:""}.bi-align-start:before{content:""}.bi-align-top:before{content:""}.bi-alt:before{content:""}.bi-app-indicator:before{content:""}.bi-app:before{content:""}.bi-archive-fill:before{content:""}.bi-archive:before{content:""}.bi-arrow-90deg-down:before{content:""}.bi-arrow-90deg-left:before{content:""}.bi-arrow-90deg-right:before{content:""}.bi-arrow-90deg-up:before{content:""}.bi-arrow-bar-down:before{content:""}.bi-arrow-bar-left:before{content:""}.bi-arrow-bar-right:before{content:""}.bi-arrow-bar-up:before{content:""}.bi-arrow-clockwise:before{content:""}.bi-arrow-counterclockwise:before{content:""}.bi-arrow-down-circle-fill:before{content:""}.bi-arrow-down-circle:before{content:""}.bi-arrow-down-left-circle-fill:before{content:""}.bi-arrow-down-left-circle:before{content:""}.bi-arrow-down-left-square-fill:before{content:""}.bi-arrow-down-left-square:before{content:""}.bi-arrow-down-left:before{content:""}.bi-arrow-down-right-circle-fill:before{content:""}.bi-arrow-down-right-circle:before{content:""}.bi-arrow-down-right-square-fill:before{content:""}.bi-arrow-down-right-square:before{content:""}.bi-arrow-down-right:before{content:""}.bi-arrow-down-short:before{content:""}.bi-arrow-down-square-fill:before{content:""}.bi-arrow-down-square:before{content:""}.bi-arrow-down-up:before{content:""}.bi-arrow-down:before{content:""}.bi-arrow-left-circle-fill:before{content:""}.bi-arrow-left-circle:before{content:""}.bi-arrow-left-right:before{content:""}.bi-arrow-left-short:before{content:""}.bi-arrow-left-square-fill:before{content:""}.bi-arrow-left-square:before{content:""}.bi-arrow-left:before{content:""}.bi-arrow-repeat:before{content:""}.bi-arrow-return-left:before{content:""}.bi-arrow-return-right:before{content:""}.bi-arrow-right-circle-fill:before{content:""}.bi-arrow-right-circle:before{content:""}.bi-arrow-right-short:before{content:""}.bi-arrow-right-square-fill:before{content:""}.bi-arrow-right-square:before{content:""}.bi-arrow-right:before{content:""}.bi-arrow-up-circle-fill:before{content:""}.bi-arrow-up-circle:before{content:""}.bi-arrow-up-left-circle-fill:before{content:""}.bi-arrow-up-left-circle:before{content:""}.bi-arrow-up-left-square-fill:before{content:""}.bi-arrow-up-left-square:before{content:""}.bi-arrow-up-left:before{content:""}.bi-arrow-up-right-circle-fill:before{content:""}.bi-arrow-up-right-circle:before{content:""}.bi-arrow-up-right-square-fill:before{content:""}.bi-arrow-up-right-square:before{content:""}.bi-arrow-up-right:before{content:""}.bi-arrow-up-short:before{content:""}.bi-arrow-up-square-fill:before{content:""}.bi-arrow-up-square:before{content:""}.bi-arrow-up:before{content:""}.bi-arrows-angle-contract:before{content:""}.bi-arrows-angle-expand:before{content:""}.bi-arrows-collapse:before{content:""}.bi-arrows-expand:before{content:""}.bi-arrows-fullscreen:before{content:""}.bi-arrows-move:before{content:""}.bi-aspect-ratio-fill:before{content:""}.bi-aspect-ratio:before{content:""}.bi-asterisk:before{content:""}.bi-at:before{content:""}.bi-award-fill:before{content:""}.bi-award:before{content:""}.bi-back:before{content:""}.bi-backspace-fill:before{content:""}.bi-backspace-reverse-fill:before{content:""}.bi-backspace-reverse:before{content:""}.bi-backspace:before{content:""}.bi-badge-3d-fill:before{content:""}.bi-badge-3d:before{content:""}.bi-badge-4k-fill:before{content:""}.bi-badge-4k:before{content:""}.bi-badge-8k-fill:before{content:""}.bi-badge-8k:before{content:""}.bi-badge-ad-fill:before{content:""}.bi-badge-ad:before{content:""}.bi-badge-ar-fill:before{content:""}.bi-badge-ar:before{content:""}.bi-badge-cc-fill:before{content:""}.bi-badge-cc:before{content:""}.bi-badge-hd-fill:before{content:""}.bi-badge-hd:before{content:""}.bi-badge-tm-fill:before{content:""}.bi-badge-tm:before{content:""}.bi-badge-vo-fill:before{content:""}.bi-badge-vo:before{content:""}.bi-badge-vr-fill:before{content:""}.bi-badge-vr:before{content:""}.bi-badge-wc-fill:before{content:""}.bi-badge-wc:before{content:""}.bi-bag-check-fill:before{content:""}.bi-bag-check:before{content:""}.bi-bag-dash-fill:before{content:""}.bi-bag-dash:before{content:""}.bi-bag-fill:before{content:""}.bi-bag-plus-fill:before{content:""}.bi-bag-plus:before{content:""}.bi-bag-x-fill:before{content:""}.bi-bag-x:before{content:""}.bi-bag:before{content:""}.bi-bar-chart-fill:before{content:""}.bi-bar-chart-line-fill:before{content:""}.bi-bar-chart-line:before{content:""}.bi-bar-chart-steps:before{content:""}.bi-bar-chart:before{content:""}.bi-basket-fill:before{content:""}.bi-basket:before{content:""}.bi-basket2-fill:before{content:""}.bi-basket2:before{content:""}.bi-basket3-fill:before{content:""}.bi-basket3:before{content:""}.bi-battery-charging:before{content:""}.bi-battery-full:before{content:""}.bi-battery-half:before{content:""}.bi-battery:before{content:""}.bi-bell-fill:before{content:""}.bi-bell:before{content:""}.bi-bezier:before{content:""}.bi-bezier2:before{content:""}.bi-bicycle:before{content:""}.bi-binoculars-fill:before{content:""}.bi-binoculars:before{content:""}.bi-blockquote-left:before{content:""}.bi-blockquote-right:before{content:""}.bi-book-fill:before{content:""}.bi-book-half:before{content:""}.bi-book:before{content:""}.bi-bookmark-check-fill:before{content:""}.bi-bookmark-check:before{content:""}.bi-bookmark-dash-fill:before{content:""}.bi-bookmark-dash:before{content:""}.bi-bookmark-fill:before{content:""}.bi-bookmark-heart-fill:before{content:""}.bi-bookmark-heart:before{content:""}.bi-bookmark-plus-fill:before{content:""}.bi-bookmark-plus:before{content:""}.bi-bookmark-star-fill:before{content:""}.bi-bookmark-star:before{content:""}.bi-bookmark-x-fill:before{content:""}.bi-bookmark-x:before{content:""}.bi-bookmark:before{content:""}.bi-bookmarks-fill:before{content:""}.bi-bookmarks:before{content:""}.bi-bookshelf:before{content:""}.bi-bootstrap-fill:before{content:""}.bi-bootstrap-reboot:before{content:""}.bi-bootstrap:before{content:""}.bi-border-all:before{content:""}.bi-border-bottom:before{content:""}.bi-border-center:before{content:""}.bi-border-inner:before{content:""}.bi-border-left:before{content:""}.bi-border-middle:before{content:""}.bi-border-outer:before{content:""}.bi-border-right:before{content:""}.bi-border-style:before{content:""}.bi-border-top:before{content:""}.bi-border-width:before{content:""}.bi-border:before{content:""}.bi-bounding-box-circles:before{content:""}.bi-bounding-box:before{content:""}.bi-box-arrow-down-left:before{content:""}.bi-box-arrow-down-right:before{content:""}.bi-box-arrow-down:before{content:""}.bi-box-arrow-in-down-left:before{content:""}.bi-box-arrow-in-down-right:before{content:""}.bi-box-arrow-in-down:before{content:""}.bi-box-arrow-in-left:before{content:""}.bi-box-arrow-in-right:before{content:""}.bi-box-arrow-in-up-left:before{content:""}.bi-box-arrow-in-up-right:before{content:""}.bi-box-arrow-in-up:before{content:""}.bi-box-arrow-left:before{content:""}.bi-box-arrow-right:before{content:""}.bi-box-arrow-up-left:before{content:""}.bi-box-arrow-up-right:before{content:""}.bi-box-arrow-up:before{content:""}.bi-box-seam:before{content:""}.bi-box:before{content:""}.bi-braces:before{content:""}.bi-bricks:before{content:""}.bi-briefcase-fill:before{content:""}.bi-briefcase:before{content:""}.bi-brightness-alt-high-fill:before{content:""}.bi-brightness-alt-high:before{content:""}.bi-brightness-alt-low-fill:before{content:""}.bi-brightness-alt-low:before{content:""}.bi-brightness-high-fill:before{content:""}.bi-brightness-high:before{content:""}.bi-brightness-low-fill:before{content:""}.bi-brightness-low:before{content:""}.bi-broadcast-pin:before{content:""}.bi-broadcast:before{content:""}.bi-brush-fill:before{content:""}.bi-brush:before{content:""}.bi-bucket-fill:before{content:""}.bi-bucket:before{content:""}.bi-bug-fill:before{content:""}.bi-bug:before{content:""}.bi-building:before{content:""}.bi-bullseye:before{content:""}.bi-calculator-fill:before{content:""}.bi-calculator:before{content:""}.bi-calendar-check-fill:before{content:""}.bi-calendar-check:before{content:""}.bi-calendar-date-fill:before{content:""}.bi-calendar-date:before{content:""}.bi-calendar-day-fill:before{content:""}.bi-calendar-day:before{content:""}.bi-calendar-event-fill:before{content:""}.bi-calendar-event:before{content:""}.bi-calendar-fill:before{content:""}.bi-calendar-minus-fill:before{content:""}.bi-calendar-minus:before{content:""}.bi-calendar-month-fill:before{content:""}.bi-calendar-month:before{content:""}.bi-calendar-plus-fill:before{content:""}.bi-calendar-plus:before{content:""}.bi-calendar-range-fill:before{content:""}.bi-calendar-range:before{content:""}.bi-calendar-week-fill:before{content:""}.bi-calendar-week:before{content:""}.bi-calendar-x-fill:before{content:""}.bi-calendar-x:before{content:""}.bi-calendar:before{content:""}.bi-calendar2-check-fill:before{content:""}.bi-calendar2-check:before{content:""}.bi-calendar2-date-fill:before{content:""}.bi-calendar2-date:before{content:""}.bi-calendar2-day-fill:before{content:""}.bi-calendar2-day:before{content:""}.bi-calendar2-event-fill:before{content:""}.bi-calendar2-event:before{content:""}.bi-calendar2-fill:before{content:""}.bi-calendar2-minus-fill:before{content:""}.bi-calendar2-minus:before{content:""}.bi-calendar2-month-fill:before{content:""}.bi-calendar2-month:before{content:""}.bi-calendar2-plus-fill:before{content:""}.bi-calendar2-plus:before{content:""}.bi-calendar2-range-fill:before{content:""}.bi-calendar2-range:before{content:""}.bi-calendar2-week-fill:before{content:""}.bi-calendar2-week:before{content:""}.bi-calendar2-x-fill:before{content:""}.bi-calendar2-x:before{content:""}.bi-calendar2:before{content:""}.bi-calendar3-event-fill:before{content:""}.bi-calendar3-event:before{content:""}.bi-calendar3-fill:before{content:""}.bi-calendar3-range-fill:before{content:""}.bi-calendar3-range:before{content:""}.bi-calendar3-week-fill:before{content:""}.bi-calendar3-week:before{content:""}.bi-calendar3:before{content:""}.bi-calendar4-event:before{content:""}.bi-calendar4-range:before{content:""}.bi-calendar4-week:before{content:""}.bi-calendar4:before{content:""}.bi-camera-fill:before{content:""}.bi-camera-reels-fill:before{content:""}.bi-camera-reels:before{content:""}.bi-camera-video-fill:before{content:""}.bi-camera-video-off-fill:before{content:""}.bi-camera-video-off:before{content:""}.bi-camera-video:before{content:""}.bi-camera:before{content:""}.bi-camera2:before{content:""}.bi-capslock-fill:before{content:""}.bi-capslock:before{content:""}.bi-card-checklist:before{content:""}.bi-card-heading:before{content:""}.bi-card-image:before{content:""}.bi-card-list:before{content:""}.bi-card-text:before{content:""}.bi-caret-down-fill:before{content:""}.bi-caret-down-square-fill:before{content:""}.bi-caret-down-square:before{content:""}.bi-caret-down:before{content:""}.bi-caret-left-fill:before{content:""}.bi-caret-left-square-fill:before{content:""}.bi-caret-left-square:before{content:""}.bi-caret-left:before{content:""}.bi-caret-right-fill:before{content:""}.bi-caret-right-square-fill:before{content:""}.bi-caret-right-square:before{content:""}.bi-caret-right:before{content:""}.bi-caret-up-fill:before{content:""}.bi-caret-up-square-fill:before{content:""}.bi-caret-up-square:before{content:""}.bi-caret-up:before{content:""}.bi-cart-check-fill:before{content:""}.bi-cart-check:before{content:""}.bi-cart-dash-fill:before{content:""}.bi-cart-dash:before{content:""}.bi-cart-fill:before{content:""}.bi-cart-plus-fill:before{content:""}.bi-cart-plus:before{content:""}.bi-cart-x-fill:before{content:""}.bi-cart-x:before{content:""}.bi-cart:before{content:""}.bi-cart2:before{content:""}.bi-cart3:before{content:""}.bi-cart4:before{content:""}.bi-cash-stack:before{content:""}.bi-cash:before{content:""}.bi-cast:before{content:""}.bi-chat-dots-fill:before{content:""}.bi-chat-dots:before{content:""}.bi-chat-fill:before{content:""}.bi-chat-left-dots-fill:before{content:""}.bi-chat-left-dots:before{content:""}.bi-chat-left-fill:before{content:""}.bi-chat-left-quote-fill:before{content:""}.bi-chat-left-quote:before{content:""}.bi-chat-left-text-fill:before{content:""}.bi-chat-left-text:before{content:""}.bi-chat-left:before{content:""}.bi-chat-quote-fill:before{content:""}.bi-chat-quote:before{content:""}.bi-chat-right-dots-fill:before{content:""}.bi-chat-right-dots:before{content:""}.bi-chat-right-fill:before{content:""}.bi-chat-right-quote-fill:before{content:""}.bi-chat-right-quote:before{content:""}.bi-chat-right-text-fill:before{content:""}.bi-chat-right-text:before{content:""}.bi-chat-right:before{content:""}.bi-chat-square-dots-fill:before{content:""}.bi-chat-square-dots:before{content:""}.bi-chat-square-fill:before{content:""}.bi-chat-square-quote-fill:before{content:""}.bi-chat-square-quote:before{content:""}.bi-chat-square-text-fill:before{content:""}.bi-chat-square-text:before{content:""}.bi-chat-square:before{content:""}.bi-chat-text-fill:before{content:""}.bi-chat-text:before{content:""}.bi-chat:before{content:""}.bi-check-all:before{content:""}.bi-check-circle-fill:before{content:""}.bi-check-circle:before{content:""}.bi-check-square-fill:before{content:""}.bi-check-square:before{content:""}.bi-check:before{content:""}.bi-check2-all:before{content:""}.bi-check2-circle:before{content:""}.bi-check2-square:before{content:""}.bi-check2:before{content:""}.bi-chevron-bar-contract:before{content:""}.bi-chevron-bar-down:before{content:""}.bi-chevron-bar-expand:before{content:""}.bi-chevron-bar-left:before{content:""}.bi-chevron-bar-right:before{content:""}.bi-chevron-bar-up:before{content:""}.bi-chevron-compact-down:before{content:""}.bi-chevron-compact-left:before{content:""}.bi-chevron-compact-right:before{content:""}.bi-chevron-compact-up:before{content:""}.bi-chevron-contract:before{content:""}.bi-chevron-double-down:before{content:""}.bi-chevron-double-left:before{content:""}.bi-chevron-double-right:before{content:""}.bi-chevron-double-up:before{content:""}.bi-chevron-down:before{content:""}.bi-chevron-expand:before{content:""}.bi-chevron-left:before{content:""}.bi-chevron-right:before{content:""}.bi-chevron-up:before{content:""}.bi-circle-fill:before{content:""}.bi-circle-half:before{content:""}.bi-circle-square:before{content:""}.bi-circle:before{content:""}.bi-clipboard-check:before{content:""}.bi-clipboard-data:before{content:""}.bi-clipboard-minus:before{content:""}.bi-clipboard-plus:before{content:""}.bi-clipboard-x:before{content:""}.bi-clipboard:before{content:""}.bi-clock-fill:before{content:""}.bi-clock-history:before{content:""}.bi-clock:before{content:""}.bi-cloud-arrow-down-fill:before{content:""}.bi-cloud-arrow-down:before{content:""}.bi-cloud-arrow-up-fill:before{content:""}.bi-cloud-arrow-up:before{content:""}.bi-cloud-check-fill:before{content:""}.bi-cloud-check:before{content:""}.bi-cloud-download-fill:before{content:""}.bi-cloud-download:before{content:""}.bi-cloud-drizzle-fill:before{content:""}.bi-cloud-drizzle:before{content:""}.bi-cloud-fill:before{content:""}.bi-cloud-fog-fill:before{content:""}.bi-cloud-fog:before{content:""}.bi-cloud-fog2-fill:before{content:""}.bi-cloud-fog2:before{content:""}.bi-cloud-hail-fill:before{content:""}.bi-cloud-hail:before{content:""}.bi-cloud-haze-fill:before{content:""}.bi-cloud-haze:before{content:""}.bi-cloud-haze2-fill:before{content:""}.bi-cloud-lightning-fill:before{content:""}.bi-cloud-lightning-rain-fill:before{content:""}.bi-cloud-lightning-rain:before{content:""}.bi-cloud-lightning:before{content:""}.bi-cloud-minus-fill:before{content:""}.bi-cloud-minus:before{content:""}.bi-cloud-moon-fill:before{content:""}.bi-cloud-moon:before{content:""}.bi-cloud-plus-fill:before{content:""}.bi-cloud-plus:before{content:""}.bi-cloud-rain-fill:before{content:""}.bi-cloud-rain-heavy-fill:before{content:""}.bi-cloud-rain-heavy:before{content:""}.bi-cloud-rain:before{content:""}.bi-cloud-slash-fill:before{content:""}.bi-cloud-slash:before{content:""}.bi-cloud-sleet-fill:before{content:""}.bi-cloud-sleet:before{content:""}.bi-cloud-snow-fill:before{content:""}.bi-cloud-snow:before{content:""}.bi-cloud-sun-fill:before{content:""}.bi-cloud-sun:before{content:""}.bi-cloud-upload-fill:before{content:""}.bi-cloud-upload:before{content:""}.bi-cloud:before{content:""}.bi-clouds-fill:before{content:""}.bi-clouds:before{content:""}.bi-cloudy-fill:before{content:""}.bi-cloudy:before{content:""}.bi-code-slash:before{content:""}.bi-code-square:before{content:""}.bi-code:before{content:""}.bi-collection-fill:before{content:""}.bi-collection-play-fill:before{content:""}.bi-collection-play:before{content:""}.bi-collection:before{content:""}.bi-columns-gap:before{content:""}.bi-columns:before{content:""}.bi-command:before{content:""}.bi-compass-fill:before{content:""}.bi-compass:before{content:""}.bi-cone-striped:before{content:""}.bi-cone:before{content:""}.bi-controller:before{content:""}.bi-cpu-fill:before{content:""}.bi-cpu:before{content:""}.bi-credit-card-2-back-fill:before{content:""}.bi-credit-card-2-back:before{content:""}.bi-credit-card-2-front-fill:before{content:""}.bi-credit-card-2-front:before{content:""}.bi-credit-card-fill:before{content:""}.bi-credit-card:before{content:""}.bi-crop:before{content:""}.bi-cup-fill:before{content:""}.bi-cup-straw:before{content:""}.bi-cup:before{content:""}.bi-cursor-fill:before{content:""}.bi-cursor-text:before{content:""}.bi-cursor:before{content:""}.bi-dash-circle-dotted:before{content:""}.bi-dash-circle-fill:before{content:""}.bi-dash-circle:before{content:""}.bi-dash-square-dotted:before{content:""}.bi-dash-square-fill:before{content:""}.bi-dash-square:before{content:""}.bi-dash:before{content:""}.bi-diagram-2-fill:before{content:""}.bi-diagram-2:before{content:""}.bi-diagram-3-fill:before{content:""}.bi-diagram-3:before{content:""}.bi-diamond-fill:before{content:""}.bi-diamond-half:before{content:""}.bi-diamond:before{content:""}.bi-dice-1-fill:before{content:""}.bi-dice-1:before{content:""}.bi-dice-2-fill:before{content:""}.bi-dice-2:before{content:""}.bi-dice-3-fill:before{content:""}.bi-dice-3:before{content:""}.bi-dice-4-fill:before{content:""}.bi-dice-4:before{content:""}.bi-dice-5-fill:before{content:""}.bi-dice-5:before{content:""}.bi-dice-6-fill:before{content:""}.bi-dice-6:before{content:""}.bi-disc-fill:before{content:""}.bi-disc:before{content:""}.bi-discord:before{content:""}.bi-display-fill:before{content:""}.bi-display:before{content:""}.bi-distribute-horizontal:before{content:""}.bi-distribute-vertical:before{content:""}.bi-door-closed-fill:before{content:""}.bi-door-closed:before{content:""}.bi-door-open-fill:before{content:""}.bi-door-open:before{content:""}.bi-dot:before{content:""}.bi-download:before{content:""}.bi-droplet-fill:before{content:""}.bi-droplet-half:before{content:""}.bi-droplet:before{content:""}.bi-earbuds:before{content:""}.bi-easel-fill:before{content:""}.bi-easel:before{content:""}.bi-egg-fill:before{content:""}.bi-egg-fried:before{content:""}.bi-egg:before{content:""}.bi-eject-fill:before{content:""}.bi-eject:before{content:""}.bi-emoji-angry-fill:before{content:""}.bi-emoji-angry:before{content:""}.bi-emoji-dizzy-fill:before{content:""}.bi-emoji-dizzy:before{content:""}.bi-emoji-expressionless-fill:before{content:""}.bi-emoji-expressionless:before{content:""}.bi-emoji-frown-fill:before{content:""}.bi-emoji-frown:before{content:""}.bi-emoji-heart-eyes-fill:before{content:""}.bi-emoji-heart-eyes:before{content:""}.bi-emoji-laughing-fill:before{content:""}.bi-emoji-laughing:before{content:""}.bi-emoji-neutral-fill:before{content:""}.bi-emoji-neutral:before{content:""}.bi-emoji-smile-fill:before{content:""}.bi-emoji-smile-upside-down-fill:before{content:""}.bi-emoji-smile-upside-down:before{content:""}.bi-emoji-smile:before{content:""}.bi-emoji-sunglasses-fill:before{content:""}.bi-emoji-sunglasses:before{content:""}.bi-emoji-wink-fill:before{content:""}.bi-emoji-wink:before{content:""}.bi-envelope-fill:before{content:""}.bi-envelope-open-fill:before{content:""}.bi-envelope-open:before{content:""}.bi-envelope:before{content:""}.bi-eraser-fill:before{content:""}.bi-eraser:before{content:""}.bi-exclamation-circle-fill:before{content:""}.bi-exclamation-circle:before{content:""}.bi-exclamation-diamond-fill:before{content:""}.bi-exclamation-diamond:before{content:""}.bi-exclamation-octagon-fill:before{content:""}.bi-exclamation-octagon:before{content:""}.bi-exclamation-square-fill:before{content:""}.bi-exclamation-square:before{content:""}.bi-exclamation-triangle-fill:before{content:""}.bi-exclamation-triangle:before{content:""}.bi-exclamation:before{content:""}.bi-exclude:before{content:""}.bi-eye-fill:before{content:""}.bi-eye-slash-fill:before{content:""}.bi-eye-slash:before{content:""}.bi-eye:before{content:""}.bi-eyedropper:before{content:""}.bi-eyeglasses:before{content:""}.bi-facebook:before{content:""}.bi-file-arrow-down-fill:before{content:""}.bi-file-arrow-down:before{content:""}.bi-file-arrow-up-fill:before{content:""}.bi-file-arrow-up:before{content:""}.bi-file-bar-graph-fill:before{content:""}.bi-file-bar-graph:before{content:""}.bi-file-binary-fill:before{content:""}.bi-file-binary:before{content:""}.bi-file-break-fill:before{content:""}.bi-file-break:before{content:""}.bi-file-check-fill:before{content:""}.bi-file-check:before{content:""}.bi-file-code-fill:before{content:""}.bi-file-code:before{content:""}.bi-file-diff-fill:before{content:""}.bi-file-diff:before{content:""}.bi-file-earmark-arrow-down-fill:before{content:""}.bi-file-earmark-arrow-down:before{content:""}.bi-file-earmark-arrow-up-fill:before{content:""}.bi-file-earmark-arrow-up:before{content:""}.bi-file-earmark-bar-graph-fill:before{content:""}.bi-file-earmark-bar-graph:before{content:""}.bi-file-earmark-binary-fill:before{content:""}.bi-file-earmark-binary:before{content:""}.bi-file-earmark-break-fill:before{content:""}.bi-file-earmark-break:before{content:""}.bi-file-earmark-check-fill:before{content:""}.bi-file-earmark-check:before{content:""}.bi-file-earmark-code-fill:before{content:""}.bi-file-earmark-code:before{content:""}.bi-file-earmark-diff-fill:before{content:""}.bi-file-earmark-diff:before{content:""}.bi-file-earmark-easel-fill:before{content:""}.bi-file-earmark-easel:before{content:""}.bi-file-earmark-excel-fill:before{content:""}.bi-file-earmark-excel:before{content:""}.bi-file-earmark-fill:before{content:""}.bi-file-earmark-font-fill:before{content:""}.bi-file-earmark-font:before{content:""}.bi-file-earmark-image-fill:before{content:""}.bi-file-earmark-image:before{content:""}.bi-file-earmark-lock-fill:before{content:""}.bi-file-earmark-lock:before{content:""}.bi-file-earmark-lock2-fill:before{content:""}.bi-file-earmark-lock2:before{content:""}.bi-file-earmark-medical-fill:before{content:""}.bi-file-earmark-medical:before{content:""}.bi-file-earmark-minus-fill:before{content:""}.bi-file-earmark-minus:before{content:""}.bi-file-earmark-music-fill:before{content:""}.bi-file-earmark-music:before{content:""}.bi-file-earmark-person-fill:before{content:""}.bi-file-earmark-person:before{content:""}.bi-file-earmark-play-fill:before{content:""}.bi-file-earmark-play:before{content:""}.bi-file-earmark-plus-fill:before{content:""}.bi-file-earmark-plus:before{content:""}.bi-file-earmark-post-fill:before{content:""}.bi-file-earmark-post:before{content:""}.bi-file-earmark-ppt-fill:before{content:""}.bi-file-earmark-ppt:before{content:""}.bi-file-earmark-richtext-fill:before{content:""}.bi-file-earmark-richtext:before{content:""}.bi-file-earmark-ruled-fill:before{content:""}.bi-file-earmark-ruled:before{content:""}.bi-file-earmark-slides-fill:before{content:""}.bi-file-earmark-slides:before{content:""}.bi-file-earmark-spreadsheet-fill:before{content:""}.bi-file-earmark-spreadsheet:before{content:""}.bi-file-earmark-text-fill:before{content:""}.bi-file-earmark-text:before{content:""}.bi-file-earmark-word-fill:before{content:""}.bi-file-earmark-word:before{content:""}.bi-file-earmark-x-fill:before{content:""}.bi-file-earmark-x:before{content:""}.bi-file-earmark-zip-fill:before{content:""}.bi-file-earmark-zip:before{content:""}.bi-file-earmark:before{content:""}.bi-file-easel-fill:before{content:""}.bi-file-easel:before{content:""}.bi-file-excel-fill:before{content:""}.bi-file-excel:before{content:""}.bi-file-fill:before{content:""}.bi-file-font-fill:before{content:""}.bi-file-font:before{content:""}.bi-file-image-fill:before{content:""}.bi-file-image:before{content:""}.bi-file-lock-fill:before{content:""}.bi-file-lock:before{content:""}.bi-file-lock2-fill:before{content:""}.bi-file-lock2:before{content:""}.bi-file-medical-fill:before{content:""}.bi-file-medical:before{content:""}.bi-file-minus-fill:before{content:""}.bi-file-minus:before{content:""}.bi-file-music-fill:before{content:""}.bi-file-music:before{content:""}.bi-file-person-fill:before{content:""}.bi-file-person:before{content:""}.bi-file-play-fill:before{content:""}.bi-file-play:before{content:""}.bi-file-plus-fill:before{content:""}.bi-file-plus:before{content:""}.bi-file-post-fill:before{content:""}.bi-file-post:before{content:""}.bi-file-ppt-fill:before{content:""}.bi-file-ppt:before{content:""}.bi-file-richtext-fill:before{content:""}.bi-file-richtext:before{content:""}.bi-file-ruled-fill:before{content:""}.bi-file-ruled:before{content:""}.bi-file-slides-fill:before{content:""}.bi-file-slides:before{content:""}.bi-file-spreadsheet-fill:before{content:""}.bi-file-spreadsheet:before{content:""}.bi-file-text-fill:before{content:""}.bi-file-text:before{content:""}.bi-file-word-fill:before{content:""}.bi-file-word:before{content:""}.bi-file-x-fill:before{content:""}.bi-file-x:before{content:""}.bi-file-zip-fill:before{content:""}.bi-file-zip:before{content:""}.bi-file:before{content:""}.bi-files-alt:before{content:""}.bi-files:before{content:""}.bi-film:before{content:""}.bi-filter-circle-fill:before{content:""}.bi-filter-circle:before{content:""}.bi-filter-left:before{content:""}.bi-filter-right:before{content:""}.bi-filter-square-fill:before{content:""}.bi-filter-square:before{content:""}.bi-filter:before{content:""}.bi-flag-fill:before{content:""}.bi-flag:before{content:""}.bi-flower1:before{content:""}.bi-flower2:before{content:""}.bi-flower3:before{content:""}.bi-folder-check:before{content:""}.bi-folder-fill:before{content:""}.bi-folder-minus:before{content:""}.bi-folder-plus:before{content:""}.bi-folder-symlink-fill:before{content:""}.bi-folder-symlink:before{content:""}.bi-folder-x:before{content:""}.bi-folder:before{content:""}.bi-folder2-open:before{content:""}.bi-folder2:before{content:""}.bi-fonts:before{content:""}.bi-forward-fill:before{content:""}.bi-forward:before{content:""}.bi-front:before{content:""}.bi-fullscreen-exit:before{content:""}.bi-fullscreen:before{content:""}.bi-funnel-fill:before{content:""}.bi-funnel:before{content:""}.bi-gear-fill:before{content:""}.bi-gear-wide-connected:before{content:""}.bi-gear-wide:before{content:""}.bi-gear:before{content:""}.bi-gem:before{content:""}.bi-geo-alt-fill:before{content:""}.bi-geo-alt:before{content:""}.bi-geo-fill:before{content:""}.bi-geo:before{content:""}.bi-gift-fill:before{content:""}.bi-gift:before{content:""}.bi-github:before{content:""}.bi-globe:before{content:""}.bi-globe2:before{content:""}.bi-google:before{content:""}.bi-graph-down:before{content:""}.bi-graph-up:before{content:""}.bi-grid-1x2-fill:before{content:""}.bi-grid-1x2:before{content:""}.bi-grid-3x2-gap-fill:before{content:""}.bi-grid-3x2-gap:before{content:""}.bi-grid-3x2:before{content:""}.bi-grid-3x3-gap-fill:before{content:""}.bi-grid-3x3-gap:before{content:""}.bi-grid-3x3:before{content:""}.bi-grid-fill:before{content:""}.bi-grid:before{content:""}.bi-grip-horizontal:before{content:""}.bi-grip-vertical:before{content:""}.bi-hammer:before{content:""}.bi-hand-index-fill:before{content:""}.bi-hand-index-thumb-fill:before{content:""}.bi-hand-index-thumb:before{content:""}.bi-hand-index:before{content:""}.bi-hand-thumbs-down-fill:before{content:""}.bi-hand-thumbs-down:before{content:""}.bi-hand-thumbs-up-fill:before{content:""}.bi-hand-thumbs-up:before{content:""}.bi-handbag-fill:before{content:""}.bi-handbag:before{content:""}.bi-hash:before{content:""}.bi-hdd-fill:before{content:""}.bi-hdd-network-fill:before{content:""}.bi-hdd-network:before{content:""}.bi-hdd-rack-fill:before{content:""}.bi-hdd-rack:before{content:""}.bi-hdd-stack-fill:before{content:""}.bi-hdd-stack:before{content:""}.bi-hdd:before{content:""}.bi-headphones:before{content:""}.bi-headset:before{content:""}.bi-heart-fill:before{content:""}.bi-heart-half:before{content:""}.bi-heart:before{content:""}.bi-heptagon-fill:before{content:""}.bi-heptagon-half:before{content:""}.bi-heptagon:before{content:""}.bi-hexagon-fill:before{content:""}.bi-hexagon-half:before{content:""}.bi-hexagon:before{content:""}.bi-hourglass-bottom:before{content:""}.bi-hourglass-split:before{content:""}.bi-hourglass-top:before{content:""}.bi-hourglass:before{content:""}.bi-house-door-fill:before{content:""}.bi-house-door:before{content:""}.bi-house-fill:before{content:""}.bi-house:before{content:""}.bi-hr:before{content:""}.bi-hurricane:before{content:""}.bi-image-alt:before{content:""}.bi-image-fill:before{content:""}.bi-image:before{content:""}.bi-images:before{content:""}.bi-inbox-fill:before{content:""}.bi-inbox:before{content:""}.bi-inboxes-fill:before{content:""}.bi-inboxes:before{content:""}.bi-info-circle-fill:before{content:""}.bi-info-circle:before{content:""}.bi-info-square-fill:before{content:""}.bi-info-square:before{content:""}.bi-info:before{content:""}.bi-input-cursor-text:before{content:""}.bi-input-cursor:before{content:""}.bi-instagram:before{content:""}.bi-intersect:before{content:""}.bi-journal-album:before{content:""}.bi-journal-arrow-down:before{content:""}.bi-journal-arrow-up:before{content:""}.bi-journal-bookmark-fill:before{content:""}.bi-journal-bookmark:before{content:""}.bi-journal-check:before{content:""}.bi-journal-code:before{content:""}.bi-journal-medical:before{content:""}.bi-journal-minus:before{content:""}.bi-journal-plus:before{content:""}.bi-journal-richtext:before{content:""}.bi-journal-text:before{content:""}.bi-journal-x:before{content:""}.bi-journal:before{content:""}.bi-journals:before{content:""}.bi-joystick:before{content:""}.bi-justify-left:before{content:""}.bi-justify-right:before{content:""}.bi-justify:before{content:""}.bi-kanban-fill:before{content:""}.bi-kanban:before{content:""}.bi-key-fill:before{content:""}.bi-key:before{content:""}.bi-keyboard-fill:before{content:""}.bi-keyboard:before{content:""}.bi-ladder:before{content:""}.bi-lamp-fill:before{content:""}.bi-lamp:before{content:""}.bi-laptop-fill:before{content:""}.bi-laptop:before{content:""}.bi-layer-backward:before{content:""}.bi-layer-forward:before{content:""}.bi-layers-fill:before{content:""}.bi-layers-half:before{content:""}.bi-layers:before{content:""}.bi-layout-sidebar-inset-reverse:before{content:""}.bi-layout-sidebar-inset:before{content:""}.bi-layout-sidebar-reverse:before{content:""}.bi-layout-sidebar:before{content:""}.bi-layout-split:before{content:""}.bi-layout-text-sidebar-reverse:before{content:""}.bi-layout-text-sidebar:before{content:""}.bi-layout-text-window-reverse:before{content:""}.bi-layout-text-window:before{content:""}.bi-layout-three-columns:before{content:""}.bi-layout-wtf:before{content:""}.bi-life-preserver:before{content:""}.bi-lightbulb-fill:before{content:""}.bi-lightbulb-off-fill:before{content:""}.bi-lightbulb-off:before{content:""}.bi-lightbulb:before{content:""}.bi-lightning-charge-fill:before{content:""}.bi-lightning-charge:before{content:""}.bi-lightning-fill:before{content:""}.bi-lightning:before{content:""}.bi-link-45deg:before{content:""}.bi-link:before{content:""}.bi-linkedin:before{content:""}.bi-list-check:before{content:""}.bi-list-nested:before{content:""}.bi-list-ol:before{content:""}.bi-list-stars:before{content:""}.bi-list-task:before{content:""}.bi-list-ul:before{content:""}.bi-list:before{content:""}.bi-lock-fill:before{content:""}.bi-lock:before{content:""}.bi-mailbox:before{content:""}.bi-mailbox2:before{content:""}.bi-map-fill:before{content:""}.bi-map:before{content:""}.bi-markdown-fill:before{content:""}.bi-markdown:before{content:""}.bi-mask:before{content:""}.bi-megaphone-fill:before{content:""}.bi-megaphone:before{content:""}.bi-menu-app-fill:before{content:""}.bi-menu-app:before{content:""}.bi-menu-button-fill:before{content:""}.bi-menu-button-wide-fill:before{content:""}.bi-menu-button-wide:before{content:""}.bi-menu-button:before{content:""}.bi-menu-down:before{content:""}.bi-menu-up:before{content:""}.bi-mic-fill:before{content:""}.bi-mic-mute-fill:before{content:""}.bi-mic-mute:before{content:""}.bi-mic:before{content:""}.bi-minecart-loaded:before{content:""}.bi-minecart:before{content:""}.bi-moisture:before{content:""}.bi-moon-fill:before{content:""}.bi-moon-stars-fill:before{content:""}.bi-moon-stars:before{content:""}.bi-moon:before{content:""}.bi-mouse-fill:before{content:""}.bi-mouse:before{content:""}.bi-mouse2-fill:before{content:""}.bi-mouse2:before{content:""}.bi-mouse3-fill:before{content:""}.bi-mouse3:before{content:""}.bi-music-note-beamed:before{content:""}.bi-music-note-list:before{content:""}.bi-music-note:before{content:""}.bi-music-player-fill:before{content:""}.bi-music-player:before{content:""}.bi-newspaper:before{content:""}.bi-node-minus-fill:before{content:""}.bi-node-minus:before{content:""}.bi-node-plus-fill:before{content:""}.bi-node-plus:before{content:""}.bi-nut-fill:before{content:""}.bi-nut:before{content:""}.bi-octagon-fill:before{content:""}.bi-octagon-half:before{content:""}.bi-octagon:before{content:""}.bi-option:before{content:""}.bi-outlet:before{content:""}.bi-paint-bucket:before{content:""}.bi-palette-fill:before{content:""}.bi-palette:before{content:""}.bi-palette2:before{content:""}.bi-paperclip:before{content:""}.bi-paragraph:before{content:""}.bi-patch-check-fill:before{content:""}.bi-patch-check:before{content:""}.bi-patch-exclamation-fill:before{content:""}.bi-patch-exclamation:before{content:""}.bi-patch-minus-fill:before{content:""}.bi-patch-minus:before{content:""}.bi-patch-plus-fill:before{content:""}.bi-patch-plus:before{content:""}.bi-patch-question-fill:before{content:""}.bi-patch-question:before{content:""}.bi-pause-btn-fill:before{content:""}.bi-pause-btn:before{content:""}.bi-pause-circle-fill:before{content:""}.bi-pause-circle:before{content:""}.bi-pause-fill:before{content:""}.bi-pause:before{content:""}.bi-peace-fill:before{content:""}.bi-peace:before{content:""}.bi-pen-fill:before{content:""}.bi-pen:before{content:""}.bi-pencil-fill:before{content:""}.bi-pencil-square:before{content:""}.bi-pencil:before{content:""}.bi-pentagon-fill:before{content:""}.bi-pentagon-half:before{content:""}.bi-pentagon:before{content:""}.bi-people-fill:before{content:""}.bi-people:before{content:""}.bi-percent:before{content:""}.bi-person-badge-fill:before{content:""}.bi-person-badge:before{content:""}.bi-person-bounding-box:before{content:""}.bi-person-check-fill:before{content:""}.bi-person-check:before{content:""}.bi-person-circle:before{content:""}.bi-person-dash-fill:before{content:""}.bi-person-dash:before{content:""}.bi-person-fill:before{content:""}.bi-person-lines-fill:before{content:""}.bi-person-plus-fill:before{content:""}.bi-person-plus:before{content:""}.bi-person-square:before{content:""}.bi-person-x-fill:before{content:""}.bi-person-x:before{content:""}.bi-person:before{content:""}.bi-phone-fill:before{content:""}.bi-phone-landscape-fill:before{content:""}.bi-phone-landscape:before{content:""}.bi-phone-vibrate-fill:before{content:""}.bi-phone-vibrate:before{content:""}.bi-phone:before{content:""}.bi-pie-chart-fill:before{content:""}.bi-pie-chart:before{content:""}.bi-pin-angle-fill:before{content:""}.bi-pin-angle:before{content:""}.bi-pin-fill:before{content:""}.bi-pin:before{content:""}.bi-pip-fill:before{content:""}.bi-pip:before{content:""}.bi-play-btn-fill:before{content:""}.bi-play-btn:before{content:""}.bi-play-circle-fill:before{content:""}.bi-play-circle:before{content:""}.bi-play-fill:before{content:""}.bi-play:before{content:""}.bi-plug-fill:before{content:""}.bi-plug:before{content:""}.bi-plus-circle-dotted:before{content:""}.bi-plus-circle-fill:before{content:""}.bi-plus-circle:before{content:""}.bi-plus-square-dotted:before{content:""}.bi-plus-square-fill:before{content:""}.bi-plus-square:before{content:""}.bi-plus:before{content:""}.bi-power:before{content:""}.bi-printer-fill:before{content:""}.bi-printer:before{content:""}.bi-puzzle-fill:before{content:""}.bi-puzzle:before{content:""}.bi-question-circle-fill:before{content:""}.bi-question-circle:before{content:""}.bi-question-diamond-fill:before{content:""}.bi-question-diamond:before{content:""}.bi-question-octagon-fill:before{content:""}.bi-question-octagon:before{content:""}.bi-question-square-fill:before{content:""}.bi-question-square:before{content:""}.bi-question:before{content:""}.bi-rainbow:before{content:""}.bi-receipt-cutoff:before{content:""}.bi-receipt:before{content:""}.bi-reception-0:before{content:""}.bi-reception-1:before{content:""}.bi-reception-2:before{content:""}.bi-reception-3:before{content:""}.bi-reception-4:before{content:""}.bi-record-btn-fill:before{content:""}.bi-record-btn:before{content:""}.bi-record-circle-fill:before{content:""}.bi-record-circle:before{content:""}.bi-record-fill:before{content:""}.bi-record:before{content:""}.bi-record2-fill:before{content:""}.bi-record2:before{content:""}.bi-reply-all-fill:before{content:""}.bi-reply-all:before{content:""}.bi-reply-fill:before{content:""}.bi-reply:before{content:""}.bi-rss-fill:before{content:""}.bi-rss:before{content:""}.bi-rulers:before{content:""}.bi-save-fill:before{content:""}.bi-save:before{content:""}.bi-save2-fill:before{content:""}.bi-save2:before{content:""}.bi-scissors:before{content:""}.bi-screwdriver:before{content:""}.bi-search:before{content:""}.bi-segmented-nav:before{content:""}.bi-server:before{content:""}.bi-share-fill:before{content:""}.bi-share:before{content:""}.bi-shield-check:before{content:""}.bi-shield-exclamation:before{content:""}.bi-shield-fill-check:before{content:""}.bi-shield-fill-exclamation:before{content:""}.bi-shield-fill-minus:before{content:""}.bi-shield-fill-plus:before{content:""}.bi-shield-fill-x:before{content:""}.bi-shield-fill:before{content:""}.bi-shield-lock-fill:before{content:""}.bi-shield-lock:before{content:""}.bi-shield-minus:before{content:""}.bi-shield-plus:before{content:""}.bi-shield-shaded:before{content:""}.bi-shield-slash-fill:before{content:""}.bi-shield-slash:before{content:""}.bi-shield-x:before{content:""}.bi-shield:before{content:""}.bi-shift-fill:before{content:""}.bi-shift:before{content:""}.bi-shop-window:before{content:""}.bi-shop:before{content:""}.bi-shuffle:before{content:""}.bi-signpost-2-fill:before{content:""}.bi-signpost-2:before{content:""}.bi-signpost-fill:before{content:""}.bi-signpost-split-fill:before{content:""}.bi-signpost-split:before{content:""}.bi-signpost:before{content:""}.bi-sim-fill:before{content:""}.bi-sim:before{content:""}.bi-skip-backward-btn-fill:before{content:""}.bi-skip-backward-btn:before{content:""}.bi-skip-backward-circle-fill:before{content:""}.bi-skip-backward-circle:before{content:""}.bi-skip-backward-fill:before{content:""}.bi-skip-backward:before{content:""}.bi-skip-end-btn-fill:before{content:""}.bi-skip-end-btn:before{content:""}.bi-skip-end-circle-fill:before{content:""}.bi-skip-end-circle:before{content:""}.bi-skip-end-fill:before{content:""}.bi-skip-end:before{content:""}.bi-skip-forward-btn-fill:before{content:""}.bi-skip-forward-btn:before{content:""}.bi-skip-forward-circle-fill:before{content:""}.bi-skip-forward-circle:before{content:""}.bi-skip-forward-fill:before{content:""}.bi-skip-forward:before{content:""}.bi-skip-start-btn-fill:before{content:""}.bi-skip-start-btn:before{content:""}.bi-skip-start-circle-fill:before{content:""}.bi-skip-start-circle:before{content:""}.bi-skip-start-fill:before{content:""}.bi-skip-start:before{content:""}.bi-slack:before{content:""}.bi-slash-circle-fill:before{content:""}.bi-slash-circle:before{content:""}.bi-slash-square-fill:before{content:""}.bi-slash-square:before{content:""}.bi-slash:before{content:""}.bi-sliders:before{content:""}.bi-smartwatch:before{content:""}.bi-snow:before{content:""}.bi-snow2:before{content:""}.bi-snow3:before{content:""}.bi-sort-alpha-down-alt:before{content:""}.bi-sort-alpha-down:before{content:""}.bi-sort-alpha-up-alt:before{content:""}.bi-sort-alpha-up:before{content:""}.bi-sort-down-alt:before{content:""}.bi-sort-down:before{content:""}.bi-sort-numeric-down-alt:before{content:""}.bi-sort-numeric-down:before{content:""}.bi-sort-numeric-up-alt:before{content:""}.bi-sort-numeric-up:before{content:""}.bi-sort-up-alt:before{content:""}.bi-sort-up:before{content:""}.bi-soundwave:before{content:""}.bi-speaker-fill:before{content:""}.bi-speaker:before{content:""}.bi-speedometer:before{content:""}.bi-speedometer2:before{content:""}.bi-spellcheck:before{content:""}.bi-square-fill:before{content:""}.bi-square-half:before{content:""}.bi-square:before{content:""}.bi-stack:before{content:""}.bi-star-fill:before{content:""}.bi-star-half:before{content:""}.bi-star:before{content:""}.bi-stars:before{content:""}.bi-stickies-fill:before{content:""}.bi-stickies:before{content:""}.bi-sticky-fill:before{content:""}.bi-sticky:before{content:""}.bi-stop-btn-fill:before{content:""}.bi-stop-btn:before{content:""}.bi-stop-circle-fill:before{content:""}.bi-stop-circle:before{content:""}.bi-stop-fill:before{content:""}.bi-stop:before{content:""}.bi-stoplights-fill:before{content:""}.bi-stoplights:before{content:""}.bi-stopwatch-fill:before{content:""}.bi-stopwatch:before{content:""}.bi-subtract:before{content:""}.bi-suit-club-fill:before{content:""}.bi-suit-club:before{content:""}.bi-suit-diamond-fill:before{content:""}.bi-suit-diamond:before{content:""}.bi-suit-heart-fill:before{content:""}.bi-suit-heart:before{content:""}.bi-suit-spade-fill:before{content:""}.bi-suit-spade:before{content:""}.bi-sun-fill:before{content:""}.bi-sun:before{content:""}.bi-sunglasses:before{content:""}.bi-sunrise-fill:before{content:""}.bi-sunrise:before{content:""}.bi-sunset-fill:before{content:""}.bi-sunset:before{content:""}.bi-symmetry-horizontal:before{content:""}.bi-symmetry-vertical:before{content:""}.bi-table:before{content:""}.bi-tablet-fill:before{content:""}.bi-tablet-landscape-fill:before{content:""}.bi-tablet-landscape:before{content:""}.bi-tablet:before{content:""}.bi-tag-fill:before{content:""}.bi-tag:before{content:""}.bi-tags-fill:before{content:""}.bi-tags:before{content:""}.bi-telegram:before{content:""}.bi-telephone-fill:before{content:""}.bi-telephone-forward-fill:before{content:""}.bi-telephone-forward:before{content:""}.bi-telephone-inbound-fill:before{content:""}.bi-telephone-inbound:before{content:""}.bi-telephone-minus-fill:before{content:""}.bi-telephone-minus:before{content:""}.bi-telephone-outbound-fill:before{content:""}.bi-telephone-outbound:before{content:""}.bi-telephone-plus-fill:before{content:""}.bi-telephone-plus:before{content:""}.bi-telephone-x-fill:before{content:""}.bi-telephone-x:before{content:""}.bi-telephone:before{content:""}.bi-terminal-fill:before{content:""}.bi-terminal:before{content:""}.bi-text-center:before{content:""}.bi-text-indent-left:before{content:""}.bi-text-indent-right:before{content:""}.bi-text-left:before{content:""}.bi-text-paragraph:before{content:""}.bi-text-right:before{content:""}.bi-textarea-resize:before{content:""}.bi-textarea-t:before{content:""}.bi-textarea:before{content:""}.bi-thermometer-half:before{content:""}.bi-thermometer-high:before{content:""}.bi-thermometer-low:before{content:""}.bi-thermometer-snow:before{content:""}.bi-thermometer-sun:before{content:""}.bi-thermometer:before{content:""}.bi-three-dots-vertical:before{content:""}.bi-three-dots:before{content:""}.bi-toggle-off:before{content:""}.bi-toggle-on:before{content:""}.bi-toggle2-off:before{content:""}.bi-toggle2-on:before{content:""}.bi-toggles:before{content:""}.bi-toggles2:before{content:""}.bi-tools:before{content:""}.bi-tornado:before{content:""}.bi-trash-fill:before{content:""}.bi-trash:before{content:""}.bi-trash2-fill:before{content:""}.bi-trash2:before{content:""}.bi-tree-fill:before{content:""}.bi-tree:before{content:""}.bi-triangle-fill:before{content:""}.bi-triangle-half:before{content:""}.bi-triangle:before{content:""}.bi-trophy-fill:before{content:""}.bi-trophy:before{content:""}.bi-tropical-storm:before{content:""}.bi-truck-flatbed:before{content:""}.bi-truck:before{content:""}.bi-tsunami:before{content:""}.bi-tv-fill:before{content:""}.bi-tv:before{content:""}.bi-twitch:before{content:""}.bi-twitter:before{content:""}.bi-type-bold:before{content:""}.bi-type-h1:before{content:""}.bi-type-h2:before{content:""}.bi-type-h3:before{content:""}.bi-type-italic:before{content:""}.bi-type-strikethrough:before{content:""}.bi-type-underline:before{content:""}.bi-type:before{content:""}.bi-ui-checks-grid:before{content:""}.bi-ui-checks:before{content:""}.bi-ui-radios-grid:before{content:""}.bi-ui-radios:before{content:""}.bi-umbrella-fill:before{content:""}.bi-umbrella:before{content:""}.bi-union:before{content:""}.bi-unlock-fill:before{content:""}.bi-unlock:before{content:""}.bi-upc-scan:before{content:""}.bi-upc:before{content:""}.bi-upload:before{content:""}.bi-vector-pen:before{content:""}.bi-view-list:before{content:""}.bi-view-stacked:before{content:""}.bi-vinyl-fill:before{content:""}.bi-vinyl:before{content:""}.bi-voicemail:before{content:""}.bi-volume-down-fill:before{content:""}.bi-volume-down:before{content:""}.bi-volume-mute-fill:before{content:""}.bi-volume-mute:before{content:""}.bi-volume-off-fill:before{content:""}.bi-volume-off:before{content:""}.bi-volume-up-fill:before{content:""}.bi-volume-up:before{content:""}.bi-vr:before{content:""}.bi-wallet-fill:before{content:""}.bi-wallet:before{content:""}.bi-wallet2:before{content:""}.bi-watch:before{content:""}.bi-water:before{content:""}.bi-whatsapp:before{content:""}.bi-wifi-1:before{content:""}.bi-wifi-2:before{content:""}.bi-wifi-off:before{content:""}.bi-wifi:before{content:""}.bi-wind:before{content:""}.bi-window-dock:before{content:""}.bi-window-sidebar:before{content:""}.bi-window:before{content:""}.bi-wrench:before{content:""}.bi-x-circle-fill:before{content:""}.bi-x-circle:before{content:""}.bi-x-diamond-fill:before{content:""}.bi-x-diamond:before{content:""}.bi-x-octagon-fill:before{content:""}.bi-x-octagon:before{content:""}.bi-x-square-fill:before{content:""}.bi-x-square:before{content:""}.bi-x:before{content:""}.bi-youtube:before{content:""}.bi-zoom-in:before{content:""}.bi-zoom-out:before{content:""}.bi-bank:before{content:""}.bi-bank2:before{content:""}.bi-bell-slash-fill:before{content:""}.bi-bell-slash:before{content:""}.bi-cash-coin:before{content:""}.bi-check-lg:before{content:""}.bi-coin:before{content:""}.bi-currency-bitcoin:before{content:""}.bi-currency-dollar:before{content:""}.bi-currency-euro:before{content:""}.bi-currency-exchange:before{content:""}.bi-currency-pound:before{content:""}.bi-currency-yen:before{content:""}.bi-dash-lg:before{content:""}.bi-exclamation-lg:before{content:""}.bi-file-earmark-pdf-fill:before{content:""}.bi-file-earmark-pdf:before{content:""}.bi-file-pdf-fill:before{content:""}.bi-file-pdf:before{content:""}.bi-gender-ambiguous:before{content:""}.bi-gender-female:before{content:""}.bi-gender-male:before{content:""}.bi-gender-trans:before{content:""}.bi-headset-vr:before{content:""}.bi-info-lg:before{content:""}.bi-mastodon:before{content:""}.bi-messenger:before{content:""}.bi-piggy-bank-fill:before{content:""}.bi-piggy-bank:before{content:""}.bi-pin-map-fill:before{content:""}.bi-pin-map:before{content:""}.bi-plus-lg:before{content:""}.bi-question-lg:before{content:""}.bi-recycle:before{content:""}.bi-reddit:before{content:""}.bi-safe-fill:before{content:""}.bi-safe2-fill:before{content:""}.bi-safe2:before{content:""}.bi-sd-card-fill:before{content:""}.bi-sd-card:before{content:""}.bi-skype:before{content:""}.bi-slash-lg:before{content:""}.bi-translate:before{content:""}.bi-x-lg:before{content:""}.bi-safe:before{content:""}.bi-apple:before{content:""}.bi-microsoft:before{content:""}.bi-windows:before{content:""}.bi-behance:before{content:""}.bi-dribbble:before{content:""}.bi-line:before{content:""}.bi-medium:before{content:""}.bi-paypal:before{content:""}.bi-pinterest:before{content:""}.bi-signal:before{content:""}.bi-snapchat:before{content:""}.bi-spotify:before{content:""}.bi-stack-overflow:before{content:""}.bi-strava:before{content:""}.bi-wordpress:before{content:""}.bi-vimeo:before{content:""}.bi-activity:before{content:""}.bi-easel2-fill:before{content:""}.bi-easel2:before{content:""}.bi-easel3-fill:before{content:""}.bi-easel3:before{content:""}.bi-fan:before{content:""}.bi-fingerprint:before{content:""}.bi-graph-down-arrow:before{content:""}.bi-graph-up-arrow:before{content:""}.bi-hypnotize:before{content:""}.bi-magic:before{content:""}.bi-person-rolodex:before{content:""}.bi-person-video:before{content:""}.bi-person-video2:before{content:""}.bi-person-video3:before{content:""}.bi-person-workspace:before{content:""}.bi-radioactive:before{content:""}.bi-webcam-fill:before{content:""}.bi-webcam:before{content:""}.bi-yin-yang:before{content:""}.bi-bandaid-fill:before{content:""}.bi-bandaid:before{content:""}.bi-bluetooth:before{content:""}.bi-body-text:before{content:""}.bi-boombox:before{content:""}.bi-boxes:before{content:""}.bi-dpad-fill:before{content:""}.bi-dpad:before{content:""}.bi-ear-fill:before{content:""}.bi-ear:before{content:""}.bi-envelope-check-fill:before{content:""}.bi-envelope-check:before{content:""}.bi-envelope-dash-fill:before{content:""}.bi-envelope-dash:before{content:""}.bi-envelope-exclamation-fill:before{content:""}.bi-envelope-exclamation:before{content:""}.bi-envelope-plus-fill:before{content:""}.bi-envelope-plus:before{content:""}.bi-envelope-slash-fill:before{content:""}.bi-envelope-slash:before{content:""}.bi-envelope-x-fill:before{content:""}.bi-envelope-x:before{content:""}.bi-explicit-fill:before{content:""}.bi-explicit:before{content:""}.bi-git:before{content:""}.bi-infinity:before{content:""}.bi-list-columns-reverse:before{content:""}.bi-list-columns:before{content:""}.bi-meta:before{content:""}.bi-nintendo-switch:before{content:""}.bi-pc-display-horizontal:before{content:""}.bi-pc-display:before{content:""}.bi-pc-horizontal:before{content:""}.bi-pc:before{content:""}.bi-playstation:before{content:""}.bi-plus-slash-minus:before{content:""}.bi-projector-fill:before{content:""}.bi-projector:before{content:""}.bi-qr-code-scan:before{content:""}.bi-qr-code:before{content:""}.bi-quora:before{content:""}.bi-quote:before{content:""}.bi-robot:before{content:""}.bi-send-check-fill:before{content:""}.bi-send-check:before{content:""}.bi-send-dash-fill:before{content:""}.bi-send-dash:before{content:""}.bi-send-exclamation-fill:before{content:""}.bi-send-exclamation:before{content:""}.bi-send-fill:before{content:""}.bi-send-plus-fill:before{content:""}.bi-send-plus:before{content:""}.bi-send-slash-fill:before{content:""}.bi-send-slash:before{content:""}.bi-send-x-fill:before{content:""}.bi-send-x:before{content:""}.bi-send:before{content:""}.bi-steam:before{content:""}.bi-terminal-dash:before{content:""}.bi-terminal-plus:before{content:""}.bi-terminal-split:before{content:""}.bi-ticket-detailed-fill:before{content:""}.bi-ticket-detailed:before{content:""}.bi-ticket-fill:before{content:""}.bi-ticket-perforated-fill:before{content:""}.bi-ticket-perforated:before{content:""}.bi-ticket:before{content:""}.bi-tiktok:before{content:""}.bi-window-dash:before{content:""}.bi-window-desktop:before{content:""}.bi-window-fullscreen:before{content:""}.bi-window-plus:before{content:""}.bi-window-split:before{content:""}.bi-window-stack:before{content:""}.bi-window-x:before{content:""}.bi-xbox:before{content:""}.bi-ethernet:before{content:""}.bi-hdmi-fill:before{content:""}.bi-hdmi:before{content:""}.bi-usb-c-fill:before{content:""}.bi-usb-c:before{content:""}.bi-usb-fill:before{content:""}.bi-usb-plug-fill:before{content:""}.bi-usb-plug:before{content:""}.bi-usb-symbol:before{content:""}.bi-usb:before{content:""}.bi-boombox-fill:before{content:""}.bi-displayport:before{content:""}.bi-gpu-card:before{content:""}.bi-memory:before{content:""}.bi-modem-fill:before{content:""}.bi-modem:before{content:""}.bi-motherboard-fill:before{content:""}.bi-motherboard:before{content:""}.bi-optical-audio-fill:before{content:""}.bi-optical-audio:before{content:""}.bi-pci-card:before{content:""}.bi-router-fill:before{content:""}.bi-router:before{content:""}.bi-thunderbolt-fill:before{content:""}.bi-thunderbolt:before{content:""}.bi-usb-drive-fill:before{content:""}.bi-usb-drive:before{content:""}.bi-usb-micro-fill:before{content:""}.bi-usb-micro:before{content:""}.bi-usb-mini-fill:before{content:""}.bi-usb-mini:before{content:""}.bi-cloud-haze2:before{content:""}.bi-device-hdd-fill:before{content:""}.bi-device-hdd:before{content:""}.bi-device-ssd-fill:before{content:""}.bi-device-ssd:before{content:""}.bi-displayport-fill:before{content:""}.bi-mortarboard-fill:before{content:""}.bi-mortarboard:before{content:""}.bi-terminal-x:before{content:""}.bi-arrow-through-heart-fill:before{content:""}.bi-arrow-through-heart:before{content:""}.bi-badge-sd-fill:before{content:""}.bi-badge-sd:before{content:""}.bi-bag-heart-fill:before{content:""}.bi-bag-heart:before{content:""}.bi-balloon-fill:before{content:""}.bi-balloon-heart-fill:before{content:""}.bi-balloon-heart:before{content:""}.bi-balloon:before{content:""}.bi-box2-fill:before{content:""}.bi-box2-heart-fill:before{content:""}.bi-box2-heart:before{content:""}.bi-box2:before{content:""}.bi-braces-asterisk:before{content:""}.bi-calendar-heart-fill:before{content:""}.bi-calendar-heart:before{content:""}.bi-calendar2-heart-fill:before{content:""}.bi-calendar2-heart:before{content:""}.bi-chat-heart-fill:before{content:""}.bi-chat-heart:before{content:""}.bi-chat-left-heart-fill:before{content:""}.bi-chat-left-heart:before{content:""}.bi-chat-right-heart-fill:before{content:""}.bi-chat-right-heart:before{content:""}.bi-chat-square-heart-fill:before{content:""}.bi-chat-square-heart:before{content:""}.bi-clipboard-check-fill:before{content:""}.bi-clipboard-data-fill:before{content:""}.bi-clipboard-fill:before{content:""}.bi-clipboard-heart-fill:before{content:""}.bi-clipboard-heart:before{content:""}.bi-clipboard-minus-fill:before{content:""}.bi-clipboard-plus-fill:before{content:""}.bi-clipboard-pulse:before{content:""}.bi-clipboard-x-fill:before{content:""}.bi-clipboard2-check-fill:before{content:""}.bi-clipboard2-check:before{content:""}.bi-clipboard2-data-fill:before{content:""}.bi-clipboard2-data:before{content:""}.bi-clipboard2-fill:before{content:""}.bi-clipboard2-heart-fill:before{content:""}.bi-clipboard2-heart:before{content:""}.bi-clipboard2-minus-fill:before{content:""}.bi-clipboard2-minus:before{content:""}.bi-clipboard2-plus-fill:before{content:""}.bi-clipboard2-plus:before{content:""}.bi-clipboard2-pulse-fill:before{content:""}.bi-clipboard2-pulse:before{content:""}.bi-clipboard2-x-fill:before{content:""}.bi-clipboard2-x:before{content:""}.bi-clipboard2:before{content:""}.bi-emoji-kiss-fill:before{content:""}.bi-emoji-kiss:before{content:""}.bi-envelope-heart-fill:before{content:""}.bi-envelope-heart:before{content:""}.bi-envelope-open-heart-fill:before{content:""}.bi-envelope-open-heart:before{content:""}.bi-envelope-paper-fill:before{content:""}.bi-envelope-paper-heart-fill:before{content:""}.bi-envelope-paper-heart:before{content:""}.bi-envelope-paper:before{content:""}.bi-filetype-aac:before{content:""}.bi-filetype-ai:before{content:""}.bi-filetype-bmp:before{content:""}.bi-filetype-cs:before{content:""}.bi-filetype-css:before{content:""}.bi-filetype-csv:before{content:""}.bi-filetype-doc:before{content:""}.bi-filetype-docx:before{content:""}.bi-filetype-exe:before{content:""}.bi-filetype-gif:before{content:""}.bi-filetype-heic:before{content:""}.bi-filetype-html:before{content:""}.bi-filetype-java:before{content:""}.bi-filetype-jpg:before{content:""}.bi-filetype-js:before{content:""}.bi-filetype-jsx:before{content:""}.bi-filetype-key:before{content:""}.bi-filetype-m4p:before{content:""}.bi-filetype-md:before{content:""}.bi-filetype-mdx:before{content:""}.bi-filetype-mov:before{content:""}.bi-filetype-mp3:before{content:""}.bi-filetype-mp4:before{content:""}.bi-filetype-otf:before{content:""}.bi-filetype-pdf:before{content:""}.bi-filetype-php:before{content:""}.bi-filetype-png:before{content:""}.bi-filetype-ppt:before{content:""}.bi-filetype-psd:before{content:""}.bi-filetype-py:before{content:""}.bi-filetype-raw:before{content:""}.bi-filetype-rb:before{content:""}.bi-filetype-sass:before{content:""}.bi-filetype-scss:before{content:""}.bi-filetype-sh:before{content:""}.bi-filetype-svg:before{content:""}.bi-filetype-tiff:before{content:""}.bi-filetype-tsx:before{content:""}.bi-filetype-ttf:before{content:""}.bi-filetype-txt:before{content:""}.bi-filetype-wav:before{content:""}.bi-filetype-woff:before{content:""}.bi-filetype-xls:before{content:""}.bi-filetype-xml:before{content:""}.bi-filetype-yml:before{content:""}.bi-heart-arrow:before{content:""}.bi-heart-pulse-fill:before{content:""}.bi-heart-pulse:before{content:""}.bi-heartbreak-fill:before{content:""}.bi-heartbreak:before{content:""}.bi-hearts:before{content:""}.bi-hospital-fill:before{content:""}.bi-hospital:before{content:""}.bi-house-heart-fill:before{content:""}.bi-house-heart:before{content:""}.bi-incognito:before{content:""}.bi-magnet-fill:before{content:""}.bi-magnet:before{content:""}.bi-person-heart:before{content:""}.bi-person-hearts:before{content:""}.bi-phone-flip:before{content:""}.bi-plugin:before{content:""}.bi-postage-fill:before{content:""}.bi-postage-heart-fill:before{content:""}.bi-postage-heart:before{content:""}.bi-postage:before{content:""}.bi-postcard-fill:before{content:""}.bi-postcard-heart-fill:before{content:""}.bi-postcard-heart:before{content:""}.bi-postcard:before{content:""}.bi-search-heart-fill:before{content:""}.bi-search-heart:before{content:""}.bi-sliders2-vertical:before{content:""}.bi-sliders2:before{content:""}.bi-trash3-fill:before{content:""}.bi-trash3:before{content:""}.bi-valentine:before{content:""}.bi-valentine2:before{content:""}.bi-wrench-adjustable-circle-fill:before{content:""}.bi-wrench-adjustable-circle:before{content:""}.bi-wrench-adjustable:before{content:""}.bi-filetype-json:before{content:""}.bi-filetype-pptx:before{content:""}.bi-filetype-xlsx:before{content:""}.bi-1-circle-fill:before{content:""}.bi-1-circle:before{content:""}.bi-1-square-fill:before{content:""}.bi-1-square:before{content:""}.bi-2-circle-fill:before{content:""}.bi-2-circle:before{content:""}.bi-2-square-fill:before{content:""}.bi-2-square:before{content:""}.bi-3-circle-fill:before{content:""}.bi-3-circle:before{content:""}.bi-3-square-fill:before{content:""}.bi-3-square:before{content:""}.bi-4-circle-fill:before{content:""}.bi-4-circle:before{content:""}.bi-4-square-fill:before{content:""}.bi-4-square:before{content:""}.bi-5-circle-fill:before{content:""}.bi-5-circle:before{content:""}.bi-5-square-fill:before{content:""}.bi-5-square:before{content:""}.bi-6-circle-fill:before{content:""}.bi-6-circle:before{content:""}.bi-6-square-fill:before{content:""}.bi-6-square:before{content:""}.bi-7-circle-fill:before{content:""}.bi-7-circle:before{content:""}.bi-7-square-fill:before{content:""}.bi-7-square:before{content:""}.bi-8-circle-fill:before{content:""}.bi-8-circle:before{content:""}.bi-8-square-fill:before{content:""}.bi-8-square:before{content:""}.bi-9-circle-fill:before{content:""}.bi-9-circle:before{content:""}.bi-9-square-fill:before{content:""}.bi-9-square:before{content:""}.bi-airplane-engines-fill:before{content:""}.bi-airplane-engines:before{content:""}.bi-airplane-fill:before{content:""}.bi-airplane:before{content:""}.bi-alexa:before{content:""}.bi-alipay:before{content:""}.bi-android:before{content:""}.bi-android2:before{content:""}.bi-box-fill:before{content:""}.bi-box-seam-fill:before{content:""}.bi-browser-chrome:before{content:""}.bi-browser-edge:before{content:""}.bi-browser-firefox:before{content:""}.bi-browser-safari:before{content:""}.bi-c-circle-fill:before{content:""}.bi-c-circle:before{content:""}.bi-c-square-fill:before{content:""}.bi-c-square:before{content:""}.bi-capsule-pill:before{content:""}.bi-capsule:before{content:""}.bi-car-front-fill:before{content:""}.bi-car-front:before{content:""}.bi-cassette-fill:before{content:""}.bi-cassette:before{content:""}.bi-cc-circle-fill:before{content:""}.bi-cc-circle:before{content:""}.bi-cc-square-fill:before{content:""}.bi-cc-square:before{content:""}.bi-cup-hot-fill:before{content:""}.bi-cup-hot:before{content:""}.bi-currency-rupee:before{content:""}.bi-dropbox:before{content:""}.bi-escape:before{content:""}.bi-fast-forward-btn-fill:before{content:""}.bi-fast-forward-btn:before{content:""}.bi-fast-forward-circle-fill:before{content:""}.bi-fast-forward-circle:before{content:""}.bi-fast-forward-fill:before{content:""}.bi-fast-forward:before{content:""}.bi-filetype-sql:before{content:""}.bi-fire:before{content:""}.bi-google-play:before{content:""}.bi-h-circle-fill:before{content:""}.bi-h-circle:before{content:""}.bi-h-square-fill:before{content:""}.bi-h-square:before{content:""}.bi-indent:before{content:""}.bi-lungs-fill:before{content:""}.bi-lungs:before{content:""}.bi-microsoft-teams:before{content:""}.bi-p-circle-fill:before{content:""}.bi-p-circle:before{content:""}.bi-p-square-fill:before{content:""}.bi-p-square:before{content:""}.bi-pass-fill:before{content:""}.bi-pass:before{content:""}.bi-prescription:before{content:""}.bi-prescription2:before{content:""}.bi-r-circle-fill:before{content:""}.bi-r-circle:before{content:""}.bi-r-square-fill:before{content:""}.bi-r-square:before{content:""}.bi-repeat-1:before{content:""}.bi-repeat:before{content:""}.bi-rewind-btn-fill:before{content:""}.bi-rewind-btn:before{content:""}.bi-rewind-circle-fill:before{content:""}.bi-rewind-circle:before{content:""}.bi-rewind-fill:before{content:""}.bi-rewind:before{content:""}.bi-train-freight-front-fill:before{content:""}.bi-train-freight-front:before{content:""}.bi-train-front-fill:before{content:""}.bi-train-front:before{content:""}.bi-train-lightrail-front-fill:before{content:""}.bi-train-lightrail-front:before{content:""}.bi-truck-front-fill:before{content:""}.bi-truck-front:before{content:""}.bi-ubuntu:before{content:""}.bi-unindent:before{content:""}.bi-unity:before{content:""}.bi-universal-access-circle:before{content:""}.bi-universal-access:before{content:""}.bi-virus:before{content:""}.bi-virus2:before{content:""}.bi-wechat:before{content:""}.bi-yelp:before{content:""}.bi-sign-stop-fill:before{content:""}.bi-sign-stop-lights-fill:before{content:""}.bi-sign-stop-lights:before{content:""}.bi-sign-stop:before{content:""}.bi-sign-turn-left-fill:before{content:""}.bi-sign-turn-left:before{content:""}.bi-sign-turn-right-fill:before{content:""}.bi-sign-turn-right:before{content:""}.bi-sign-turn-slight-left-fill:before{content:""}.bi-sign-turn-slight-left:before{content:""}.bi-sign-turn-slight-right-fill:before{content:""}.bi-sign-turn-slight-right:before{content:""}.bi-sign-yield-fill:before{content:""}.bi-sign-yield:before{content:""}.bi-ev-station-fill:before{content:""}.bi-ev-station:before{content:""}.bi-fuel-pump-diesel-fill:before{content:""}.bi-fuel-pump-diesel:before{content:""}.bi-fuel-pump-fill:before{content:""}.bi-fuel-pump:before{content:""}.bi-0-circle-fill:before{content:""}.bi-0-circle:before{content:""}.bi-0-square-fill:before{content:""}.bi-0-square:before{content:""}.bi-rocket-fill:before{content:""}.bi-rocket-takeoff-fill:before{content:""}.bi-rocket-takeoff:before{content:""}.bi-rocket:before{content:""}.bi-stripe:before{content:""}.bi-subscript:before{content:""}.bi-superscript:before{content:""}.bi-trello:before{content:""}.bi-envelope-at-fill:before{content:""}.bi-envelope-at:before{content:""}.bi-regex:before{content:""}.bi-text-wrap:before{content:""}.bi-sign-dead-end-fill:before{content:""}.bi-sign-dead-end:before{content:""}.bi-sign-do-not-enter-fill:before{content:""}.bi-sign-do-not-enter:before{content:""}.bi-sign-intersection-fill:before{content:""}.bi-sign-intersection-side-fill:before{content:""}.bi-sign-intersection-side:before{content:""}.bi-sign-intersection-t-fill:before{content:""}.bi-sign-intersection-t:before{content:""}.bi-sign-intersection-y-fill:before{content:""}.bi-sign-intersection-y:before{content:""}.bi-sign-intersection:before{content:""}.bi-sign-merge-left-fill:before{content:""}.bi-sign-merge-left:before{content:""}.bi-sign-merge-right-fill:before{content:""}.bi-sign-merge-right:before{content:""}.bi-sign-no-left-turn-fill:before{content:""}.bi-sign-no-left-turn:before{content:""}.bi-sign-no-parking-fill:before{content:""}.bi-sign-no-parking:before{content:""}.bi-sign-no-right-turn-fill:before{content:""}.bi-sign-no-right-turn:before{content:""}.bi-sign-railroad-fill:before{content:""}.bi-sign-railroad:before{content:""}.bi-building-add:before{content:""}.bi-building-check:before{content:""}.bi-building-dash:before{content:""}.bi-building-down:before{content:""}.bi-building-exclamation:before{content:""}.bi-building-fill-add:before{content:""}.bi-building-fill-check:before{content:""}.bi-building-fill-dash:before{content:""}.bi-building-fill-down:before{content:""}.bi-building-fill-exclamation:before{content:""}.bi-building-fill-gear:before{content:""}.bi-building-fill-lock:before{content:""}.bi-building-fill-slash:before{content:""}.bi-building-fill-up:before{content:""}.bi-building-fill-x:before{content:""}.bi-building-fill:before{content:""}.bi-building-gear:before{content:""}.bi-building-lock:before{content:""}.bi-building-slash:before{content:""}.bi-building-up:before{content:""}.bi-building-x:before{content:""}.bi-buildings-fill:before{content:""}.bi-buildings:before{content:""}.bi-bus-front-fill:before{content:""}.bi-bus-front:before{content:""}.bi-ev-front-fill:before{content:""}.bi-ev-front:before{content:""}.bi-globe-americas:before{content:""}.bi-globe-asia-australia:before{content:""}.bi-globe-central-south-asia:before{content:""}.bi-globe-europe-africa:before{content:""}.bi-house-add-fill:before{content:""}.bi-house-add:before{content:""}.bi-house-check-fill:before{content:""}.bi-house-check:before{content:""}.bi-house-dash-fill:before{content:""}.bi-house-dash:before{content:""}.bi-house-down-fill:before{content:""}.bi-house-down:before{content:""}.bi-house-exclamation-fill:before{content:""}.bi-house-exclamation:before{content:""}.bi-house-gear-fill:before{content:""}.bi-house-gear:before{content:""}.bi-house-lock-fill:before{content:""}.bi-house-lock:before{content:""}.bi-house-slash-fill:before{content:""}.bi-house-slash:before{content:""}.bi-house-up-fill:before{content:""}.bi-house-up:before{content:""}.bi-house-x-fill:before{content:""}.bi-house-x:before{content:""}.bi-person-add:before{content:""}.bi-person-down:before{content:""}.bi-person-exclamation:before{content:""}.bi-person-fill-add:before{content:""}.bi-person-fill-check:before{content:""}.bi-person-fill-dash:before{content:""}.bi-person-fill-down:before{content:""}.bi-person-fill-exclamation:before{content:""}.bi-person-fill-gear:before{content:""}.bi-person-fill-lock:before{content:""}.bi-person-fill-slash:before{content:""}.bi-person-fill-up:before{content:""}.bi-person-fill-x:before{content:""}.bi-person-gear:before{content:""}.bi-person-lock:before{content:""}.bi-person-slash:before{content:""}.bi-person-up:before{content:""}.bi-scooter:before{content:""}.bi-taxi-front-fill:before{content:""}.bi-taxi-front:before{content:""}.bi-amd:before{content:""}.bi-database-add:before{content:""}.bi-database-check:before{content:""}.bi-database-dash:before{content:""}.bi-database-down:before{content:""}.bi-database-exclamation:before{content:""}.bi-database-fill-add:before{content:""}.bi-database-fill-check:before{content:""}.bi-database-fill-dash:before{content:""}.bi-database-fill-down:before{content:""}.bi-database-fill-exclamation:before{content:""}.bi-database-fill-gear:before{content:""}.bi-database-fill-lock:before{content:""}.bi-database-fill-slash:before{content:""}.bi-database-fill-up:before{content:""}.bi-database-fill-x:before{content:""}.bi-database-fill:before{content:""}.bi-database-gear:before{content:""}.bi-database-lock:before{content:""}.bi-database-slash:before{content:""}.bi-database-up:before{content:""}.bi-database-x:before{content:""}.bi-database:before{content:""}.bi-houses-fill:before{content:""}.bi-houses:before{content:""}.bi-nvidia:before{content:""}.bi-person-vcard-fill:before{content:""}.bi-person-vcard:before{content:""}.bi-sina-weibo:before{content:""}.bi-tencent-qq:before{content:""}.bi-wikipedia:before{content:""}.bi-alphabet-uppercase:before{content:""}.bi-alphabet:before{content:""}.bi-amazon:before{content:""}.bi-arrows-collapse-vertical:before{content:""}.bi-arrows-expand-vertical:before{content:""}.bi-arrows-vertical:before{content:""}.bi-arrows:before{content:""}.bi-ban-fill:before{content:""}.bi-ban:before{content:""}.bi-bing:before{content:""}.bi-cake:before{content:""}.bi-cake2:before{content:""}.bi-cookie:before{content:""}.bi-copy:before{content:""}.bi-crosshair:before{content:""}.bi-crosshair2:before{content:""}.bi-emoji-astonished-fill:before{content:""}.bi-emoji-astonished:before{content:""}.bi-emoji-grimace-fill:before{content:""}.bi-emoji-grimace:before{content:""}.bi-emoji-grin-fill:before{content:""}.bi-emoji-grin:before{content:""}.bi-emoji-surprise-fill:before{content:""}.bi-emoji-surprise:before{content:""}.bi-emoji-tear-fill:before{content:""}.bi-emoji-tear:before{content:""}.bi-envelope-arrow-down-fill:before{content:""}.bi-envelope-arrow-down:before{content:""}.bi-envelope-arrow-up-fill:before{content:""}.bi-envelope-arrow-up:before{content:""}.bi-feather:before{content:""}.bi-feather2:before{content:""}.bi-floppy-fill:before{content:""}.bi-floppy:before{content:""}.bi-floppy2-fill:before{content:""}.bi-floppy2:before{content:""}.bi-gitlab:before{content:""}.bi-highlighter:before{content:""}.bi-marker-tip:before{content:""}.bi-nvme-fill:before{content:""}.bi-nvme:before{content:""}.bi-opencollective:before{content:""}.bi-pci-card-network:before{content:""}.bi-pci-card-sound:before{content:""}.bi-radar:before{content:""}.bi-send-arrow-down-fill:before{content:""}.bi-send-arrow-down:before{content:""}.bi-send-arrow-up-fill:before{content:""}.bi-send-arrow-up:before{content:""}.bi-sim-slash-fill:before{content:""}.bi-sim-slash:before{content:""}.bi-sourceforge:before{content:""}.bi-substack:before{content:""}.bi-threads-fill:before{content:""}.bi-threads:before{content:""}.bi-transparency:before{content:""}.bi-twitter-x:before{content:""}.bi-type-h4:before{content:""}.bi-type-h5:before{content:""}.bi-type-h6:before{content:""}.bi-backpack-fill:before{content:""}.bi-backpack:before{content:""}.bi-backpack2-fill:before{content:""}.bi-backpack2:before{content:""}.bi-backpack3-fill:before{content:""}.bi-backpack3:before{content:""}.bi-backpack4-fill:before{content:""}.bi-backpack4:before{content:""}.bi-brilliance:before{content:""}.bi-cake-fill:before{content:""}.bi-cake2-fill:before{content:""}.bi-duffle-fill:before{content:""}.bi-duffle:before{content:""}.bi-exposure:before{content:""}.bi-gender-neuter:before{content:""}.bi-highlights:before{content:""}.bi-luggage-fill:before{content:""}.bi-luggage:before{content:""}.bi-mailbox-flag:before{content:""}.bi-mailbox2-flag:before{content:""}.bi-noise-reduction:before{content:""}.bi-passport-fill:before{content:""}.bi-passport:before{content:""}.bi-person-arms-up:before{content:""}.bi-person-raised-hand:before{content:""}.bi-person-standing-dress:before{content:""}.bi-person-standing:before{content:""}.bi-person-walking:before{content:""}.bi-person-wheelchair:before{content:""}.bi-shadows:before{content:""}.bi-suitcase-fill:before{content:""}.bi-suitcase-lg-fill:before{content:""}.bi-suitcase-lg:before{content:""}.bi-suitcase:before{content:"豈"}.bi-suitcase2-fill:before{content:"更"}.bi-suitcase2:before{content:"車"}.bi-vignette:before{content:"賈"}:root{--animate-duration:1s;--animate-delay:1s;--animate-repeat:1}.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animated.repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat)*2);animation-iteration-count:calc(var(--animate-repeat)*2)}.animated.repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat)*3);animation-iteration-count:calc(var(--animate-repeat)*3)}.animated.delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animated.delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay)*2);animation-delay:calc(var(--animate-delay)*2)}.animated.delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay)*3);animation-delay:calc(var(--animate-delay)*3)}.animated.delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay)*4);animation-delay:calc(var(--animate-delay)*4)}.animated.delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay)*5);animation-delay:calc(var(--animate-delay)*5)}.animated.faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration)/2);animation-duration:calc(var(--animate-duration)/2)}.animated.fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration)*.8);animation-duration:calc(var(--animate-duration)*.8)}.animated.slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration)*2);animation-duration:calc(var(--animate-duration)*2)}.animated.slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration)*3);animation-duration:calc(var(--animate-duration)*3)}@media (prefers-reduced-motion:reduce),print{.animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}.headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0)}}.swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}.heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration)*1.3);animation-duration:calc(var(--animate-duration)*1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}.bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}.bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:bounceOut;animation-name:bounceOut}.bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}.bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}.bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}.bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}.fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}.fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}.fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}.fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}.fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}.fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}.fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}.fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}.fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}.lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}.lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}.rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}.rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}.rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}.rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}.rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration)*2);animation-duration:calc(var(--animate-duration)*2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}.jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}.rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}.zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}.zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}.zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}.zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}.zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}.zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}.zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}.zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}.dp__input_wrap{position:relative;width:100%;box-sizing:unset}.dp__input_wrap:focus{border-color:var(--dp-border-color-hover);outline:none}.dp__input_valid{box-shadow:0 0 var(--dp-border-radius) var(--dp-success-color);border-color:var(--dp-success-color)}.dp__input_valid:hover{border-color:var(--dp-success-color)}.dp__input_invalid{box-shadow:0 0 var(--dp-border-radius) var(--dp-danger-color);border-color:var(--dp-danger-color)}.dp__input_invalid:hover{border-color:var(--dp-danger-color)}.dp__input{background-color:var(--dp-background-color);border-radius:var(--dp-border-radius);font-family:var(--dp-font-family);border:1px solid var(--dp-border-color);outline:none;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%;font-size:var(--dp-font-size);line-height:calc(var(--dp-font-size)*1.5);padding:var(--dp-input-padding);color:var(--dp-text-color);box-sizing:border-box}.dp__input::placeholder{opacity:.7}.dp__input:hover:not(.dp__input_focus){border-color:var(--dp-border-color-hover)}.dp__input_reg{caret-color:#0000}.dp__input_focus{border-color:var(--dp-border-color-focus)}.dp__disabled{background:var(--dp-disabled-color)}.dp__disabled::placeholder{color:var(--dp-disabled-color-text)}.dp__input_icons{display:inline-block;width:var(--dp-font-size);height:var(--dp-font-size);stroke-width:0;font-size:var(--dp-font-size);line-height:calc(var(--dp-font-size)*1.5);padding:6px 12px;color:var(--dp-icon-color);box-sizing:content-box}.dp__input_icon{cursor:pointer;position:absolute;top:50%;inset-inline-start:0;transform:translateY(-50%);color:var(--dp-icon-color)}.dp--clear-btn{position:absolute;top:50%;inset-inline-end:0;transform:translateY(-50%);cursor:pointer;color:var(--dp-icon-color);background:#0000;border:none;display:inline-flex;align-items:center;padding:0;margin:0}.dp__input_icon_pad{padding-inline-start:var(--dp-input-icon-padding)}.dp__menu{background:var(--dp-background-color);border-radius:var(--dp-border-radius);min-width:var(--dp-menu-min-width);font-family:var(--dp-font-family);font-size:var(--dp-font-size);user-select:none;border:1px solid var(--dp-menu-border-color);box-sizing:border-box}.dp__menu:after{box-sizing:border-box}.dp__menu:before{box-sizing:border-box}.dp__menu:focus{border:1px solid var(--dp-menu-border-color);outline:none}.dp--menu-wrapper{position:absolute;z-index:99999}.dp__menu_inner{padding:var(--dp-menu-padding)}.dp--menu--inner-stretched{padding:6px 0}.dp__menu_index{z-index:99999}.dp-menu-loading,.dp__menu_readonly,.dp__menu_disabled{position:absolute;inset:0;z-index:999999}.dp__menu_disabled{background:#ffffff80;cursor:not-allowed}.dp__menu_readonly{background:#0000;cursor:default}.dp-menu-loading{background:#ffffff80;cursor:default}.dp--menu-load-container{display:flex;height:100%;width:100%;justify-content:center;align-items:center}.dp--menu-loader{width:48px;height:48px;border:var(--dp-loader);border-bottom-color:#0000;border-radius:50%;display:inline-block;box-sizing:border-box;animation:dp-load-rotation 1s linear infinite;position:absolute}@keyframes dp-load-rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dp__arrow_top{left:var(--dp-arrow-left);top:0;height:12px;width:12px;background-color:var(--dp-background-color);position:absolute;border-inline-end:1px solid var(--dp-menu-border-color);border-top:1px solid var(--dp-menu-border-color);transform:translate(-50%,-50%) rotate(-45deg)}.dp__arrow_bottom{left:var(--dp-arrow-left);bottom:0;height:12px;width:12px;background-color:var(--dp-background-color);position:absolute;border-inline-end:1px solid var(--dp-menu-border-color);border-bottom:1px solid var(--dp-menu-border-color);transform:translate(-50%,50%) rotate(45deg)}.dp__action_extra{text-align:center;padding:2px 0}.dp--preset-dates{padding:5px;border-inline-end:1px solid var(--dp-border-color)}@media only screen and (width <= 600px){.dp--preset-dates{display:flex;align-self:center;border:none;overflow-x:auto;max-width:calc(var(--dp-menu-width) - var(--dp-action-row-padding)*2)}}.dp--preset-dates-collapsed{display:flex;align-self:center;border:none;overflow-x:auto;max-width:calc(var(--dp-menu-width) - var(--dp-action-row-padding)*2)}.dp__sidebar_left{padding:5px;border-inline-end:1px solid var(--dp-border-color)}.dp__sidebar_right{padding:5px;margin-inline-end:1px solid var(--dp-border-color)}.dp--preset-range{display:block;width:100%;padding:5px;text-align:left;white-space:nowrap;color:var(--dp-text-color);border-radius:var(--dp-border-radius);transition:var(--dp-common-transition)}.dp--preset-range:hover{background-color:var(--dp-hover-color);color:var(--dp-hover-text-color);cursor:pointer}@media only screen and (width <= 600px){.dp--preset-range{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range:first-child{margin-left:0}.dp--preset-range:last-child{margin-right:0}}.dp--preset-range-collapsed{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range-collapsed:first-child{margin-left:0}.dp--preset-range-collapsed:last-child{margin-right:0}.dp__menu_content_wrapper{display:flex}@media only screen and (width <= 600px){.dp__menu_content_wrapper{flex-direction:column-reverse}}.dp--menu-content-wrapper-collapsed{flex-direction:column-reverse}.dp__calendar_header{position:relative;display:flex;justify-content:center;align-items:center;color:var(--dp-text-color);white-space:nowrap;font-weight:700}.dp__calendar_header_item{text-align:center;flex-grow:1;height:var(--dp-cell-size);padding:var(--dp-cell-padding);width:var(--dp-cell-size);box-sizing:border-box}.dp__calendar_row{display:flex;justify-content:center;align-items:center;margin:var(--dp-row-margin)}.dp__calendar_item{text-align:center;flex-grow:1;box-sizing:border-box;color:var(--dp-text-color)}.dp__calendar{position:relative}.dp__calendar_header_cell{border-bottom:thin solid var(--dp-border-color);padding:var(--dp-calendar-header-cell-padding)}.dp__cell_inner{display:flex;align-items:center;text-align:center;justify-content:center;border-radius:var(--dp-cell-border-radius);height:var(--dp-cell-size);padding:var(--dp-cell-padding);width:var(--dp-cell-size);border:1px solid rgba(0,0,0,0);box-sizing:border-box;position:relative}.dp__cell_inner:hover{transition:all .2s}.dp__cell_auto_range_start,.dp__date_hover_start:hover,.dp__range_start{border-end-end-radius:0;border-start-end-radius:0}.dp__cell_auto_range_end,.dp__date_hover_end:hover,.dp__range_end{border-end-start-radius:0;border-start-start-radius:0}.dp__range_end,.dp__range_start,.dp__active_date{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__date_hover_end:hover,.dp__date_hover_start:hover,.dp__date_hover:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__cell_offset{color:var(--dp-secondary-color)}.dp__cell_disabled{color:var(--dp-secondary-color);cursor:not-allowed}.dp__range_between{background:var(--dp-range-between-dates-background-color);color:var(--dp-range-between-dates-text-color);border-radius:0;border:1px solid var(--dp-range-between-border-color)}.dp__range_between_week{background:var(--dp-primary-color);color:var(--dp-primary-text-color);border-radius:0;border-top:1px solid var(--dp-primary-color);border-bottom:1px solid var(--dp-primary-color)}.dp__today{border:1px solid var(--dp-primary-color)}.dp__week_num{color:var(--dp-secondary-color);text-align:center}.dp__cell_auto_range{border-radius:0;border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color)}.dp__cell_auto_range_start{border-start-start-radius:var(--dp-cell-border-radius);border-end-start-radius:var(--dp-cell-border-radius);border-inline-start:1px dashed var(--dp-primary-color);border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color)}.dp__cell_auto_range_end{border-start-end-radius:var(--dp-cell-border-radius);border-end-end-radius:var(--dp-cell-border-radius);border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color);border-inline-end:1px dashed var(--dp-primary-color)}.dp__calendar_header_separator{width:100%;height:1px;background:var(--dp-border-color)}.dp__calendar_next{margin-inline-start:var(--dp-multi-calendars-spacing)}.dp__marker_line,.dp__marker_dot{height:5px;background-color:var(--dp-marker-color);position:absolute;bottom:0}.dp__marker_dot{width:5px;border-radius:50%;left:50%;transform:translate(-50%)}.dp__marker_line{width:100%;left:0}.dp__marker_tooltip{position:absolute;border-radius:var(--dp-border-radius);background-color:var(--dp-tooltip-color);padding:5px;border:1px solid var(--dp-border-color);z-index:99999;box-sizing:border-box;cursor:default}.dp__tooltip_content{white-space:nowrap}.dp__tooltip_text{display:flex;align-items:center;flex-flow:row nowrap;color:var(--dp-text-color)}.dp__tooltip_mark{height:5px;width:5px;border-radius:50%;background-color:var(--dp-text-color);color:var(--dp-text-color);margin-inline-end:5px}.dp__arrow_bottom_tp{bottom:0;height:8px;width:8px;background-color:var(--dp-tooltip-color);position:absolute;border-inline-end:1px solid var(--dp-border-color);border-bottom:1px solid var(--dp-border-color);transform:translate(-50%,50%) rotate(45deg)}.dp__instance_calendar{position:relative;width:100%}@media only screen and (width <= 600px){.dp__flex_display{flex-direction:column}}.dp--flex-display-collapsed{flex-direction:column}.dp__cell_highlight{background-color:var(--dp-highlight-color)}.dp__month_year_row{display:flex;align-items:center;height:var(--dp-month-year-row-height);color:var(--dp-text-color);box-sizing:border-box}.dp__inner_nav{display:flex;align-items:center;justify-content:center;cursor:pointer;height:var(--dp-month-year-row-button-size);width:var(--dp-month-year-row-button-size);color:var(--dp-icon-color);text-align:center;border-radius:50%}.dp__inner_nav svg{height:var(--dp-button-icon-height);width:var(--dp-button-icon-height)}.dp__inner_nav:hover{background:var(--dp-hover-color);color:var(--dp-hover-icon-color)}[dir=rtl] .dp__inner_nav{transform:rotate(180deg)}.dp__inner_nav_disabled:hover,.dp__inner_nav_disabled{background:var(--dp-disabled-color);color:var(--dp-disabled-color-text);cursor:not-allowed}.dp--year-select,.dp__month_year_select{text-align:center;cursor:pointer;height:var(--dp-month-year-row-height);display:flex;align-items:center;justify-content:center;border-radius:var(--dp-border-radius);box-sizing:border-box;color:var(--dp-text-color)}.dp--year-select:hover,.dp__month_year_select:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp__month_year_select{width:50%}.dp--year-select{width:100%}.dp__month_year_wrap{display:flex;flex-direction:row;width:100%}.dp__year_disable_select{justify-content:space-around}.dp--header-wrap{display:flex;width:100%;flex-direction:column}.dp__overlay{width:100%;background:var(--dp-background-color);transition:opacity 1s ease-out;z-index:99999;font-family:var(--dp-font-family);color:var(--dp-text-color);box-sizing:border-box}.dp--overlay-absolute{position:absolute;height:100%;top:0;left:0}.dp--overlay-relative{position:relative}.dp__overlay_container::-webkit-scrollbar-track{box-shadow:var(--dp-scroll-bar-background);background-color:var(--dp-scroll-bar-background)}.dp__overlay_container::-webkit-scrollbar{width:5px;background-color:var(--dp-scroll-bar-background)}.dp__overlay_container::-webkit-scrollbar-thumb{background-color:var(--dp-scroll-bar-color);border-radius:10px}.dp__overlay:focus{border:none;outline:none}.dp__container_flex{display:flex}.dp__container_block{display:block}.dp__overlay_container{flex-direction:column;overflow-y:auto;height:var(--dp-overlay-height)}.dp__time_picker_overlay_container{height:100%}.dp__overlay_row{padding:0;box-sizing:border-box;display:flex;margin-inline:auto auto;flex-wrap:wrap;max-width:100%;width:100%;align-items:center}.dp__flex_row{flex:1}.dp__overlay_col{box-sizing:border-box;width:33%;padding:var(--dp-overlay-col-padding);white-space:nowrap}.dp__overlay_cell_pad{padding:var(--dp-common-padding) 0}.dp__overlay_cell_active{cursor:pointer;border-radius:var(--dp-border-radius);text-align:center;background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__overlay_cell{cursor:pointer;border-radius:var(--dp-border-radius);text-align:center}.dp__overlay_cell:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp__cell_in_between{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__over_action_scroll{right:5px;box-sizing:border-box}.dp__overlay_cell_disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp__overlay_cell_disabled:hover{background:var(--dp-disabled-color)}.dp__overlay_cell_active_disabled{cursor:not-allowed;background:var(--dp-primary-disabled-color)}.dp__overlay_cell_active_disabled:hover{background:var(--dp-primary-disabled-color)}.dp__btn,.dp--qr-btn,.dp--time-invalid,.dp--time-overlay-btn{border:none;font:inherit;transition:var(--dp-common-transition);line-height:normal}.dp--tp-wrap{max-width:var(--dp-menu-min-width)}.dp__time_input{width:100%;display:flex;align-items:center;justify-content:center;user-select:none;font-family:var(--dp-font-family);color:var(--dp-text-color)}.dp__time_col_reg_block{padding:0 20px}.dp__time_col_reg_inline{padding:0 10px}.dp__time_col_reg_with_button{padding:0 15px}.dp__time_col_sec{padding:0 10px}.dp__time_col_sec_with_button{padding:0 5px}.dp__time_col{text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.dp__time_col_block{font-size:var(--dp-time-font-size)}.dp__time_display_block{padding:0 3px}.dp__time_display_inline{padding:5px}.dp__time_picker_inline_container{display:flex;width:100%;justify-content:center}.dp__inc_dec_button{padding:5px;margin:0;height:var(--dp-time-inc-dec-button-size);width:var(--dp-time-inc-dec-button-size);display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%;color:var(--dp-icon-color);box-sizing:border-box}.dp__inc_dec_button svg{height:var(--dp-time-inc-dec-button-size);width:var(--dp-time-inc-dec-button-size)}.dp__inc_dec_button:hover{background:var(--dp-hover-color);color:var(--dp-primary-color)}.dp__time_display{cursor:pointer;color:var(--dp-text-color);border-radius:var(--dp-border-radius);display:flex;align-items:center;justify-content:center}.dp__time_display:hover:enabled{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__inc_dec_button_inline{width:100%;padding:0;height:8px;cursor:pointer;display:flex;align-items:center}.dp__inc_dec_button_disabled,.dp__inc_dec_button_disabled:hover{background:var(--dp-disabled-color);color:var(--dp-disabled-color-text);cursor:not-allowed}.dp__pm_am_button{background:var(--dp-primary-color);color:var(--dp-primary-text-color);border:none;padding:var(--dp-common-padding);border-radius:var(--dp-border-radius);cursor:pointer}.dp__tp_inline_btn_bar{width:100%;height:4px;background-color:var(--dp-secondary-color);transition:var(--dp-common-transition);border-collapse:collapse}.dp__tp_inline_btn_top:hover .dp__tp_btn_in_r{background-color:var(--dp-primary-color);transform:rotate(12deg) scale(1.15) translateY(-2px)}.dp__tp_inline_btn_top:hover .dp__tp_btn_in_l,.dp__tp_inline_btn_bottom:hover .dp__tp_btn_in_r{background-color:var(--dp-primary-color);transform:rotate(-12deg) scale(1.15) translateY(-2px)}.dp__tp_inline_btn_bottom:hover .dp__tp_btn_in_l{background-color:var(--dp-primary-color);transform:rotate(12deg) scale(1.15) translateY(-2px)}.dp--time-overlay-btn{background:none}.dp--time-invalid{background-color:var(--dp-disabled-color)}.dp__action_row{display:flex;align-items:center;width:100%;padding:var(--dp-action-row-padding);box-sizing:border-box;color:var(--dp-text-color);flex-flow:row nowrap}.dp__action_row svg{height:var(--dp-button-icon-height);width:auto}.dp__selection_preview{display:block;color:var(--dp-text-color);font-size:var(--dp-preview-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dp__action_buttons{display:flex;flex:0;white-space:nowrap;align-items:center;justify-content:flex-end;margin-inline-start:auto}.dp__action_button{display:inline-flex;align-items:center;background:#0000;border:1px solid rgba(0,0,0,0);padding:var(--dp-action-buttons-padding);line-height:var(--dp-action-button-height);margin-inline-start:3px;height:var(--dp-action-button-height);cursor:pointer;border-radius:var(--dp-border-radius);font-size:var(--dp-preview-font-size);font-family:var(--dp-font-family)}.dp__action_cancel{color:var(--dp-text-color);border:1px solid var(--dp-border-color)}.dp__action_cancel:hover{border-color:var(--dp-primary-color);transition:var(--dp-action-row-transtion)}.dp__action_buttons .dp__action_select{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__action_buttons .dp__action_select:hover{background:var(--dp-primary-color);transition:var(--dp-action-row-transtion)}.dp__action_buttons .dp__action_select:disabled{background:var(--dp-primary-disabled-color);cursor:not-allowed}.dp-quarter-picker-wrap{display:flex;flex-direction:column;height:100%;min-width:var(--dp-menu-min-width)}.dp--qr-btn-disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp--qr-btn-disabled:hover{background:var(--dp-disabled-color)}.dp--qr-btn{width:100%;padding:var(--dp-common-padding)}.dp--qr-btn:not(.dp--highlighted,.dp--qr-btn-active,.dp--qr-btn-disabled,.dp--qr-btn-between){background:none}.dp--qr-btn:hover:not(.dp--qr-btn-active,.dp--qr-btn-disabled){background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp--quarter-items{display:flex;flex-direction:column;flex:1;width:100%;height:100%;justify-content:space-evenly}.dp--qr-btn-active{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp--qr-btn-between{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__btn,.dp--time-overlay-btn,.dp--time-invalid,.dp--qr-btn{border:none;font:inherit;transition:var(--dp-common-transition);line-height:normal}.dp--year-mode-picker{display:flex;width:100%;align-items:center;justify-content:space-between;height:var(--dp-cell-size)}:root{--dp-common-transition: all .1s ease-in;--dp-menu-padding: 6px 8px;--dp-animation-duration: .1s;--dp-menu-appear-transition-timing: cubic-bezier(.4, 0, 1, 1);--dp-transition-timing: ease-out;--dp-action-row-transtion: all .2s ease-in;--dp-font-family: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Open Sans", "Helvetica Neue", sans-serif;--dp-border-radius: 4px;--dp-cell-border-radius: 4px;--dp-transition-length: 22px;--dp-transition-timing-general: .1s;--dp-button-height: 35px;--dp-month-year-row-height: 35px;--dp-month-year-row-button-size: 25px;--dp-button-icon-height: 20px;--dp-calendar-wrap-padding: 0 5px;--dp-cell-size: 35px;--dp-cell-padding: 5px;--dp-common-padding: 10px;--dp-input-icon-padding: 35px;--dp-input-padding: 6px 30px 6px 12px;--dp-menu-min-width: 260px;--dp-action-buttons-padding: 1px 6px;--dp-row-margin: 5px 0;--dp-calendar-header-cell-padding: .5rem;--dp-multi-calendars-spacing: 10px;--dp-overlay-col-padding: 3px;--dp-time-inc-dec-button-size: 32px;--dp-font-size: 1rem;--dp-preview-font-size: .8rem;--dp-time-font-size: 2rem;--dp-action-button-height: 22px;--dp-action-row-padding: 8px;--dp-direction: ltr}.dp__theme_dark{--dp-background-color: #212121;--dp-text-color: #fff;--dp-hover-color: #484848;--dp-hover-text-color: #fff;--dp-hover-icon-color: #959595;--dp-primary-color: #005cb2;--dp-primary-disabled-color: #61a8ea;--dp-primary-text-color: #fff;--dp-secondary-color: #a9a9a9;--dp-border-color: #2d2d2d;--dp-menu-border-color: #2d2d2d;--dp-border-color-hover: #aaaeb7;--dp-border-color-focus: #aaaeb7;--dp-disabled-color: #737373;--dp-disabled-color-text: #d0d0d0;--dp-scroll-bar-background: #212121;--dp-scroll-bar-color: #484848;--dp-success-color: #00701a;--dp-success-color-disabled: #428f59;--dp-icon-color: #959595;--dp-danger-color: #e53935;--dp-marker-color: #e53935;--dp-tooltip-color: #3e3e3e;--dp-highlight-color: rgb(0 92 178 / 20%);--dp-range-between-dates-background-color: var(--dp-hover-color, #484848);--dp-range-between-dates-text-color: var(--dp-hover-text-color, #fff);--dp-range-between-border-color: var(--dp-hover-color, #fff);--dp-loader: 5px solid #005cb2}.dp__theme_light{--dp-background-color: #fff;--dp-text-color: #212121;--dp-hover-color: #f3f3f3;--dp-hover-text-color: #212121;--dp-hover-icon-color: #959595;--dp-primary-color: #1976d2;--dp-primary-disabled-color: #6bacea;--dp-primary-text-color: #fff;--dp-secondary-color: #c0c4cc;--dp-border-color: #ddd;--dp-menu-border-color: #ddd;--dp-border-color-hover: #aaaeb7;--dp-border-color-focus: #aaaeb7;--dp-disabled-color: #f6f6f6;--dp-scroll-bar-background: #f3f3f3;--dp-scroll-bar-color: #959595;--dp-success-color: #76d275;--dp-success-color-disabled: #a3d9b1;--dp-icon-color: #959595;--dp-danger-color: #ff6f60;--dp-marker-color: #ff6f60;--dp-tooltip-color: #fafafa;--dp-disabled-color-text: #8e8e8e;--dp-highlight-color: rgb(25 118 210 / 10%);--dp-range-between-dates-background-color: var(--dp-hover-color, #f3f3f3);--dp-range-between-dates-text-color: var(--dp-hover-text-color, #212121);--dp-range-between-border-color: var(--dp-hover-color, #f3f3f3);--dp-loader: 5px solid #1976d2}.dp__flex{display:flex;align-items:center}.dp__btn{background:none}.dp__main{font-family:var(--dp-font-family);user-select:none;box-sizing:border-box;position:relative;width:100%}.dp__main *{direction:var(--dp-direction, ltr)}.dp__pointer{cursor:pointer}.dp__icon{stroke:currentcolor;fill:currentcolor}.dp__button{width:100%;text-align:center;color:var(--dp-icon-color);cursor:pointer;display:flex;align-items:center;place-content:center center;padding:var(--dp-common-padding);box-sizing:border-box;height:var(--dp-button-height)}.dp__button.dp__overlay_action{position:absolute;bottom:0}.dp__button:hover{background:var(--dp-hover-color);color:var(--dp-hover-icon-color)}.dp__button svg{height:var(--dp-button-icon-height);width:auto}.dp__button_bottom{border-bottom-left-radius:var(--dp-border-radius);border-bottom-right-radius:var(--dp-border-radius)}.dp__flex_display{display:flex}.dp__flex_display_with_input{flex-direction:column;align-items:flex-start}.dp__relative{position:relative}.calendar-next-enter-active,.calendar-next-leave-active,.calendar-prev-enter-active,.calendar-prev-leave-active{transition:all var(--dp-transition-timing-general) ease-out}.calendar-next-enter-from{opacity:0;transform:translate(var(--dp-transition-length))}.calendar-next-leave-to,.calendar-prev-enter-from{opacity:0;transform:translate(calc(var(--dp-transition-length) * -1))}.calendar-prev-leave-to{opacity:0;transform:translate(var(--dp-transition-length))}.dp-menu-appear-bottom-enter-active,.dp-menu-appear-bottom-leave-active,.dp-menu-appear-top-enter-active,.dp-menu-appear-top-leave-active,.dp-slide-up-enter-active,.dp-slide-up-leave-active,.dp-slide-down-enter-active,.dp-slide-down-leave-active{transition:all var(--dp-animation-duration) var(--dp-transition-timing)}.dp-menu-appear-top-enter-from,.dp-menu-appear-top-leave-to,.dp-slide-down-leave-to,.dp-slide-up-enter-from{opacity:0;transform:translateY(var(--dp-transition-length))}.dp-menu-appear-bottom-enter-from,.dp-menu-appear-bottom-leave-to,.dp-slide-down-enter-from,.dp-slide-up-leave-to{opacity:0;transform:translateY(calc(var(--dp-transition-length) * -1))}.dp--arrow-btn-nav{transition:var(--dp-common-transition)}.dp--highlighted{background-color:var(--dp-highlight-color)}.dp--hidden-el{visibility:hidden}@media screen and (max-width: 768px){.navbar-container[data-v-a0b378dd]{position:absolute;z-index:1000;animation-duration:.4s;animation-fill-mode:both;display:none;animation-timing-function:cubic-bezier(.82,.58,.17,.9)}.navbar-container.active[data-v-a0b378dd]{animation-direction:normal;display:block!important;animation-name:zoomInFade-a0b378dd}}@keyframes zoomInFade-a0b378dd{0%{opacity:0;transform:translateY(60px);filter:blur(3px)}to{opacity:1;transform:translateY(0);filter:blur(0px)}}.messageCentre[data-v-b776d181]{top:calc(50px + 1rem);right:1rem}.dot.inactive[data-v-03a1c13c]{background-color:#dc3545;box-shadow:0 0 0 .2rem #dc354545}.spin[data-v-03a1c13c]{animation:spin-03a1c13c 1s infinite cubic-bezier(.82,.58,.17,.9)}@keyframes spin-03a1c13c{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media screen and (max-width: 768px){.remoteServerContainer[data-v-03a1c13c]{flex-direction:column}.remoteServerContainer .button-group button[data-v-03a1c13c]{width:100%}}@media screen and (max-width: 768px){.login-box[data-v-e351e82c]{width:100%!important}.login-box div[data-v-e351e82c]{width:auto!important}}@media screen and (max-width: 768px){.configurationListTitle[data-v-bff52ca5]{flex-direction:column;gap:.5rem;h3 span[data-v-bff52ca5]{margin-left:auto!important}.btn[data-v-bff52ca5]{width:100%}}}@media screen and (max-width: 992px){.apiKey-card-body[data-v-0cc2f367]{flex-direction:column!important;align-items:start!important;div.ms-auto[data-v-0cc2f367]{margin-left:0!important}div[data-v-0cc2f367]{width:100%;align-items:start!important}small[data-v-0cc2f367]{margin-right:auto}}}.apiKey-move[data-v-45b66fb8],.apiKey-enter-active[data-v-45b66fb8],.apiKey-leave-active[data-v-45b66fb8]{transition:all .5s ease}.apiKey-enter-from[data-v-45b66fb8],.apiKey-leave-to[data-v-45b66fb8]{opacity:0;transform:translateY(30px) scale(.9)}.apiKey-leave-active[data-v-45b66fb8]{position:absolute;width:100%}.animation__fadeInDropdown[data-v-8d540b8b]{animation-name:fadeInDropdown-8d540b8b;animation-duration:.2s;animation-timing-function:cubic-bezier(.82,.58,.17,.9)}@keyframes fadeInDropdown-8d540b8b{0%{opacity:0;filter:blur(3px);transform:translateY(-60px)}to{opacity:1;filter:blur(0px);transform:translateY(-40px)}}.displayModal .dashboardModal[data-v-8d540b8b]{width:400px!important}@media screen and (max-width: 768px){.peerSearchContainer[data-v-8d540b8b]{flex-direction:column}.peerSettingContainer .dashboardModal[data-v-8d540b8b]{width:100%!important}}/*! - +*/@font-face{font-display:block;font-family:bootstrap-icons;src:url(/static/app/dist/assets/bootstrap-icons.woff2?dd67030699838ea613ee6dbda90effa6) format("woff2"),url(/static/app/dist/assets/bootstrap-icons.woff?dd67030699838ea613ee6dbda90effa6) format("woff")}.bi:before,[class^=bi-]:before,[class*=" bi-"]:before{display:inline-block;font-family:bootstrap-icons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;vertical-align:-.125em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bi-123:before{content:""}.bi-alarm-fill:before{content:""}.bi-alarm:before{content:""}.bi-align-bottom:before{content:""}.bi-align-center:before{content:""}.bi-align-end:before{content:""}.bi-align-middle:before{content:""}.bi-align-start:before{content:""}.bi-align-top:before{content:""}.bi-alt:before{content:""}.bi-app-indicator:before{content:""}.bi-app:before{content:""}.bi-archive-fill:before{content:""}.bi-archive:before{content:""}.bi-arrow-90deg-down:before{content:""}.bi-arrow-90deg-left:before{content:""}.bi-arrow-90deg-right:before{content:""}.bi-arrow-90deg-up:before{content:""}.bi-arrow-bar-down:before{content:""}.bi-arrow-bar-left:before{content:""}.bi-arrow-bar-right:before{content:""}.bi-arrow-bar-up:before{content:""}.bi-arrow-clockwise:before{content:""}.bi-arrow-counterclockwise:before{content:""}.bi-arrow-down-circle-fill:before{content:""}.bi-arrow-down-circle:before{content:""}.bi-arrow-down-left-circle-fill:before{content:""}.bi-arrow-down-left-circle:before{content:""}.bi-arrow-down-left-square-fill:before{content:""}.bi-arrow-down-left-square:before{content:""}.bi-arrow-down-left:before{content:""}.bi-arrow-down-right-circle-fill:before{content:""}.bi-arrow-down-right-circle:before{content:""}.bi-arrow-down-right-square-fill:before{content:""}.bi-arrow-down-right-square:before{content:""}.bi-arrow-down-right:before{content:""}.bi-arrow-down-short:before{content:""}.bi-arrow-down-square-fill:before{content:""}.bi-arrow-down-square:before{content:""}.bi-arrow-down-up:before{content:""}.bi-arrow-down:before{content:""}.bi-arrow-left-circle-fill:before{content:""}.bi-arrow-left-circle:before{content:""}.bi-arrow-left-right:before{content:""}.bi-arrow-left-short:before{content:""}.bi-arrow-left-square-fill:before{content:""}.bi-arrow-left-square:before{content:""}.bi-arrow-left:before{content:""}.bi-arrow-repeat:before{content:""}.bi-arrow-return-left:before{content:""}.bi-arrow-return-right:before{content:""}.bi-arrow-right-circle-fill:before{content:""}.bi-arrow-right-circle:before{content:""}.bi-arrow-right-short:before{content:""}.bi-arrow-right-square-fill:before{content:""}.bi-arrow-right-square:before{content:""}.bi-arrow-right:before{content:""}.bi-arrow-up-circle-fill:before{content:""}.bi-arrow-up-circle:before{content:""}.bi-arrow-up-left-circle-fill:before{content:""}.bi-arrow-up-left-circle:before{content:""}.bi-arrow-up-left-square-fill:before{content:""}.bi-arrow-up-left-square:before{content:""}.bi-arrow-up-left:before{content:""}.bi-arrow-up-right-circle-fill:before{content:""}.bi-arrow-up-right-circle:before{content:""}.bi-arrow-up-right-square-fill:before{content:""}.bi-arrow-up-right-square:before{content:""}.bi-arrow-up-right:before{content:""}.bi-arrow-up-short:before{content:""}.bi-arrow-up-square-fill:before{content:""}.bi-arrow-up-square:before{content:""}.bi-arrow-up:before{content:""}.bi-arrows-angle-contract:before{content:""}.bi-arrows-angle-expand:before{content:""}.bi-arrows-collapse:before{content:""}.bi-arrows-expand:before{content:""}.bi-arrows-fullscreen:before{content:""}.bi-arrows-move:before{content:""}.bi-aspect-ratio-fill:before{content:""}.bi-aspect-ratio:before{content:""}.bi-asterisk:before{content:""}.bi-at:before{content:""}.bi-award-fill:before{content:""}.bi-award:before{content:""}.bi-back:before{content:""}.bi-backspace-fill:before{content:""}.bi-backspace-reverse-fill:before{content:""}.bi-backspace-reverse:before{content:""}.bi-backspace:before{content:""}.bi-badge-3d-fill:before{content:""}.bi-badge-3d:before{content:""}.bi-badge-4k-fill:before{content:""}.bi-badge-4k:before{content:""}.bi-badge-8k-fill:before{content:""}.bi-badge-8k:before{content:""}.bi-badge-ad-fill:before{content:""}.bi-badge-ad:before{content:""}.bi-badge-ar-fill:before{content:""}.bi-badge-ar:before{content:""}.bi-badge-cc-fill:before{content:""}.bi-badge-cc:before{content:""}.bi-badge-hd-fill:before{content:""}.bi-badge-hd:before{content:""}.bi-badge-tm-fill:before{content:""}.bi-badge-tm:before{content:""}.bi-badge-vo-fill:before{content:""}.bi-badge-vo:before{content:""}.bi-badge-vr-fill:before{content:""}.bi-badge-vr:before{content:""}.bi-badge-wc-fill:before{content:""}.bi-badge-wc:before{content:""}.bi-bag-check-fill:before{content:""}.bi-bag-check:before{content:""}.bi-bag-dash-fill:before{content:""}.bi-bag-dash:before{content:""}.bi-bag-fill:before{content:""}.bi-bag-plus-fill:before{content:""}.bi-bag-plus:before{content:""}.bi-bag-x-fill:before{content:""}.bi-bag-x:before{content:""}.bi-bag:before{content:""}.bi-bar-chart-fill:before{content:""}.bi-bar-chart-line-fill:before{content:""}.bi-bar-chart-line:before{content:""}.bi-bar-chart-steps:before{content:""}.bi-bar-chart:before{content:""}.bi-basket-fill:before{content:""}.bi-basket:before{content:""}.bi-basket2-fill:before{content:""}.bi-basket2:before{content:""}.bi-basket3-fill:before{content:""}.bi-basket3:before{content:""}.bi-battery-charging:before{content:""}.bi-battery-full:before{content:""}.bi-battery-half:before{content:""}.bi-battery:before{content:""}.bi-bell-fill:before{content:""}.bi-bell:before{content:""}.bi-bezier:before{content:""}.bi-bezier2:before{content:""}.bi-bicycle:before{content:""}.bi-binoculars-fill:before{content:""}.bi-binoculars:before{content:""}.bi-blockquote-left:before{content:""}.bi-blockquote-right:before{content:""}.bi-book-fill:before{content:""}.bi-book-half:before{content:""}.bi-book:before{content:""}.bi-bookmark-check-fill:before{content:""}.bi-bookmark-check:before{content:""}.bi-bookmark-dash-fill:before{content:""}.bi-bookmark-dash:before{content:""}.bi-bookmark-fill:before{content:""}.bi-bookmark-heart-fill:before{content:""}.bi-bookmark-heart:before{content:""}.bi-bookmark-plus-fill:before{content:""}.bi-bookmark-plus:before{content:""}.bi-bookmark-star-fill:before{content:""}.bi-bookmark-star:before{content:""}.bi-bookmark-x-fill:before{content:""}.bi-bookmark-x:before{content:""}.bi-bookmark:before{content:""}.bi-bookmarks-fill:before{content:""}.bi-bookmarks:before{content:""}.bi-bookshelf:before{content:""}.bi-bootstrap-fill:before{content:""}.bi-bootstrap-reboot:before{content:""}.bi-bootstrap:before{content:""}.bi-border-all:before{content:""}.bi-border-bottom:before{content:""}.bi-border-center:before{content:""}.bi-border-inner:before{content:""}.bi-border-left:before{content:""}.bi-border-middle:before{content:""}.bi-border-outer:before{content:""}.bi-border-right:before{content:""}.bi-border-style:before{content:""}.bi-border-top:before{content:""}.bi-border-width:before{content:""}.bi-border:before{content:""}.bi-bounding-box-circles:before{content:""}.bi-bounding-box:before{content:""}.bi-box-arrow-down-left:before{content:""}.bi-box-arrow-down-right:before{content:""}.bi-box-arrow-down:before{content:""}.bi-box-arrow-in-down-left:before{content:""}.bi-box-arrow-in-down-right:before{content:""}.bi-box-arrow-in-down:before{content:""}.bi-box-arrow-in-left:before{content:""}.bi-box-arrow-in-right:before{content:""}.bi-box-arrow-in-up-left:before{content:""}.bi-box-arrow-in-up-right:before{content:""}.bi-box-arrow-in-up:before{content:""}.bi-box-arrow-left:before{content:""}.bi-box-arrow-right:before{content:""}.bi-box-arrow-up-left:before{content:""}.bi-box-arrow-up-right:before{content:""}.bi-box-arrow-up:before{content:""}.bi-box-seam:before{content:""}.bi-box:before{content:""}.bi-braces:before{content:""}.bi-bricks:before{content:""}.bi-briefcase-fill:before{content:""}.bi-briefcase:before{content:""}.bi-brightness-alt-high-fill:before{content:""}.bi-brightness-alt-high:before{content:""}.bi-brightness-alt-low-fill:before{content:""}.bi-brightness-alt-low:before{content:""}.bi-brightness-high-fill:before{content:""}.bi-brightness-high:before{content:""}.bi-brightness-low-fill:before{content:""}.bi-brightness-low:before{content:""}.bi-broadcast-pin:before{content:""}.bi-broadcast:before{content:""}.bi-brush-fill:before{content:""}.bi-brush:before{content:""}.bi-bucket-fill:before{content:""}.bi-bucket:before{content:""}.bi-bug-fill:before{content:""}.bi-bug:before{content:""}.bi-building:before{content:""}.bi-bullseye:before{content:""}.bi-calculator-fill:before{content:""}.bi-calculator:before{content:""}.bi-calendar-check-fill:before{content:""}.bi-calendar-check:before{content:""}.bi-calendar-date-fill:before{content:""}.bi-calendar-date:before{content:""}.bi-calendar-day-fill:before{content:""}.bi-calendar-day:before{content:""}.bi-calendar-event-fill:before{content:""}.bi-calendar-event:before{content:""}.bi-calendar-fill:before{content:""}.bi-calendar-minus-fill:before{content:""}.bi-calendar-minus:before{content:""}.bi-calendar-month-fill:before{content:""}.bi-calendar-month:before{content:""}.bi-calendar-plus-fill:before{content:""}.bi-calendar-plus:before{content:""}.bi-calendar-range-fill:before{content:""}.bi-calendar-range:before{content:""}.bi-calendar-week-fill:before{content:""}.bi-calendar-week:before{content:""}.bi-calendar-x-fill:before{content:""}.bi-calendar-x:before{content:""}.bi-calendar:before{content:""}.bi-calendar2-check-fill:before{content:""}.bi-calendar2-check:before{content:""}.bi-calendar2-date-fill:before{content:""}.bi-calendar2-date:before{content:""}.bi-calendar2-day-fill:before{content:""}.bi-calendar2-day:before{content:""}.bi-calendar2-event-fill:before{content:""}.bi-calendar2-event:before{content:""}.bi-calendar2-fill:before{content:""}.bi-calendar2-minus-fill:before{content:""}.bi-calendar2-minus:before{content:""}.bi-calendar2-month-fill:before{content:""}.bi-calendar2-month:before{content:""}.bi-calendar2-plus-fill:before{content:""}.bi-calendar2-plus:before{content:""}.bi-calendar2-range-fill:before{content:""}.bi-calendar2-range:before{content:""}.bi-calendar2-week-fill:before{content:""}.bi-calendar2-week:before{content:""}.bi-calendar2-x-fill:before{content:""}.bi-calendar2-x:before{content:""}.bi-calendar2:before{content:""}.bi-calendar3-event-fill:before{content:""}.bi-calendar3-event:before{content:""}.bi-calendar3-fill:before{content:""}.bi-calendar3-range-fill:before{content:""}.bi-calendar3-range:before{content:""}.bi-calendar3-week-fill:before{content:""}.bi-calendar3-week:before{content:""}.bi-calendar3:before{content:""}.bi-calendar4-event:before{content:""}.bi-calendar4-range:before{content:""}.bi-calendar4-week:before{content:""}.bi-calendar4:before{content:""}.bi-camera-fill:before{content:""}.bi-camera-reels-fill:before{content:""}.bi-camera-reels:before{content:""}.bi-camera-video-fill:before{content:""}.bi-camera-video-off-fill:before{content:""}.bi-camera-video-off:before{content:""}.bi-camera-video:before{content:""}.bi-camera:before{content:""}.bi-camera2:before{content:""}.bi-capslock-fill:before{content:""}.bi-capslock:before{content:""}.bi-card-checklist:before{content:""}.bi-card-heading:before{content:""}.bi-card-image:before{content:""}.bi-card-list:before{content:""}.bi-card-text:before{content:""}.bi-caret-down-fill:before{content:""}.bi-caret-down-square-fill:before{content:""}.bi-caret-down-square:before{content:""}.bi-caret-down:before{content:""}.bi-caret-left-fill:before{content:""}.bi-caret-left-square-fill:before{content:""}.bi-caret-left-square:before{content:""}.bi-caret-left:before{content:""}.bi-caret-right-fill:before{content:""}.bi-caret-right-square-fill:before{content:""}.bi-caret-right-square:before{content:""}.bi-caret-right:before{content:""}.bi-caret-up-fill:before{content:""}.bi-caret-up-square-fill:before{content:""}.bi-caret-up-square:before{content:""}.bi-caret-up:before{content:""}.bi-cart-check-fill:before{content:""}.bi-cart-check:before{content:""}.bi-cart-dash-fill:before{content:""}.bi-cart-dash:before{content:""}.bi-cart-fill:before{content:""}.bi-cart-plus-fill:before{content:""}.bi-cart-plus:before{content:""}.bi-cart-x-fill:before{content:""}.bi-cart-x:before{content:""}.bi-cart:before{content:""}.bi-cart2:before{content:""}.bi-cart3:before{content:""}.bi-cart4:before{content:""}.bi-cash-stack:before{content:""}.bi-cash:before{content:""}.bi-cast:before{content:""}.bi-chat-dots-fill:before{content:""}.bi-chat-dots:before{content:""}.bi-chat-fill:before{content:""}.bi-chat-left-dots-fill:before{content:""}.bi-chat-left-dots:before{content:""}.bi-chat-left-fill:before{content:""}.bi-chat-left-quote-fill:before{content:""}.bi-chat-left-quote:before{content:""}.bi-chat-left-text-fill:before{content:""}.bi-chat-left-text:before{content:""}.bi-chat-left:before{content:""}.bi-chat-quote-fill:before{content:""}.bi-chat-quote:before{content:""}.bi-chat-right-dots-fill:before{content:""}.bi-chat-right-dots:before{content:""}.bi-chat-right-fill:before{content:""}.bi-chat-right-quote-fill:before{content:""}.bi-chat-right-quote:before{content:""}.bi-chat-right-text-fill:before{content:""}.bi-chat-right-text:before{content:""}.bi-chat-right:before{content:""}.bi-chat-square-dots-fill:before{content:""}.bi-chat-square-dots:before{content:""}.bi-chat-square-fill:before{content:""}.bi-chat-square-quote-fill:before{content:""}.bi-chat-square-quote:before{content:""}.bi-chat-square-text-fill:before{content:""}.bi-chat-square-text:before{content:""}.bi-chat-square:before{content:""}.bi-chat-text-fill:before{content:""}.bi-chat-text:before{content:""}.bi-chat:before{content:""}.bi-check-all:before{content:""}.bi-check-circle-fill:before{content:""}.bi-check-circle:before{content:""}.bi-check-square-fill:before{content:""}.bi-check-square:before{content:""}.bi-check:before{content:""}.bi-check2-all:before{content:""}.bi-check2-circle:before{content:""}.bi-check2-square:before{content:""}.bi-check2:before{content:""}.bi-chevron-bar-contract:before{content:""}.bi-chevron-bar-down:before{content:""}.bi-chevron-bar-expand:before{content:""}.bi-chevron-bar-left:before{content:""}.bi-chevron-bar-right:before{content:""}.bi-chevron-bar-up:before{content:""}.bi-chevron-compact-down:before{content:""}.bi-chevron-compact-left:before{content:""}.bi-chevron-compact-right:before{content:""}.bi-chevron-compact-up:before{content:""}.bi-chevron-contract:before{content:""}.bi-chevron-double-down:before{content:""}.bi-chevron-double-left:before{content:""}.bi-chevron-double-right:before{content:""}.bi-chevron-double-up:before{content:""}.bi-chevron-down:before{content:""}.bi-chevron-expand:before{content:""}.bi-chevron-left:before{content:""}.bi-chevron-right:before{content:""}.bi-chevron-up:before{content:""}.bi-circle-fill:before{content:""}.bi-circle-half:before{content:""}.bi-circle-square:before{content:""}.bi-circle:before{content:""}.bi-clipboard-check:before{content:""}.bi-clipboard-data:before{content:""}.bi-clipboard-minus:before{content:""}.bi-clipboard-plus:before{content:""}.bi-clipboard-x:before{content:""}.bi-clipboard:before{content:""}.bi-clock-fill:before{content:""}.bi-clock-history:before{content:""}.bi-clock:before{content:""}.bi-cloud-arrow-down-fill:before{content:""}.bi-cloud-arrow-down:before{content:""}.bi-cloud-arrow-up-fill:before{content:""}.bi-cloud-arrow-up:before{content:""}.bi-cloud-check-fill:before{content:""}.bi-cloud-check:before{content:""}.bi-cloud-download-fill:before{content:""}.bi-cloud-download:before{content:""}.bi-cloud-drizzle-fill:before{content:""}.bi-cloud-drizzle:before{content:""}.bi-cloud-fill:before{content:""}.bi-cloud-fog-fill:before{content:""}.bi-cloud-fog:before{content:""}.bi-cloud-fog2-fill:before{content:""}.bi-cloud-fog2:before{content:""}.bi-cloud-hail-fill:before{content:""}.bi-cloud-hail:before{content:""}.bi-cloud-haze-fill:before{content:""}.bi-cloud-haze:before{content:""}.bi-cloud-haze2-fill:before{content:""}.bi-cloud-lightning-fill:before{content:""}.bi-cloud-lightning-rain-fill:before{content:""}.bi-cloud-lightning-rain:before{content:""}.bi-cloud-lightning:before{content:""}.bi-cloud-minus-fill:before{content:""}.bi-cloud-minus:before{content:""}.bi-cloud-moon-fill:before{content:""}.bi-cloud-moon:before{content:""}.bi-cloud-plus-fill:before{content:""}.bi-cloud-plus:before{content:""}.bi-cloud-rain-fill:before{content:""}.bi-cloud-rain-heavy-fill:before{content:""}.bi-cloud-rain-heavy:before{content:""}.bi-cloud-rain:before{content:""}.bi-cloud-slash-fill:before{content:""}.bi-cloud-slash:before{content:""}.bi-cloud-sleet-fill:before{content:""}.bi-cloud-sleet:before{content:""}.bi-cloud-snow-fill:before{content:""}.bi-cloud-snow:before{content:""}.bi-cloud-sun-fill:before{content:""}.bi-cloud-sun:before{content:""}.bi-cloud-upload-fill:before{content:""}.bi-cloud-upload:before{content:""}.bi-cloud:before{content:""}.bi-clouds-fill:before{content:""}.bi-clouds:before{content:""}.bi-cloudy-fill:before{content:""}.bi-cloudy:before{content:""}.bi-code-slash:before{content:""}.bi-code-square:before{content:""}.bi-code:before{content:""}.bi-collection-fill:before{content:""}.bi-collection-play-fill:before{content:""}.bi-collection-play:before{content:""}.bi-collection:before{content:""}.bi-columns-gap:before{content:""}.bi-columns:before{content:""}.bi-command:before{content:""}.bi-compass-fill:before{content:""}.bi-compass:before{content:""}.bi-cone-striped:before{content:""}.bi-cone:before{content:""}.bi-controller:before{content:""}.bi-cpu-fill:before{content:""}.bi-cpu:before{content:""}.bi-credit-card-2-back-fill:before{content:""}.bi-credit-card-2-back:before{content:""}.bi-credit-card-2-front-fill:before{content:""}.bi-credit-card-2-front:before{content:""}.bi-credit-card-fill:before{content:""}.bi-credit-card:before{content:""}.bi-crop:before{content:""}.bi-cup-fill:before{content:""}.bi-cup-straw:before{content:""}.bi-cup:before{content:""}.bi-cursor-fill:before{content:""}.bi-cursor-text:before{content:""}.bi-cursor:before{content:""}.bi-dash-circle-dotted:before{content:""}.bi-dash-circle-fill:before{content:""}.bi-dash-circle:before{content:""}.bi-dash-square-dotted:before{content:""}.bi-dash-square-fill:before{content:""}.bi-dash-square:before{content:""}.bi-dash:before{content:""}.bi-diagram-2-fill:before{content:""}.bi-diagram-2:before{content:""}.bi-diagram-3-fill:before{content:""}.bi-diagram-3:before{content:""}.bi-diamond-fill:before{content:""}.bi-diamond-half:before{content:""}.bi-diamond:before{content:""}.bi-dice-1-fill:before{content:""}.bi-dice-1:before{content:""}.bi-dice-2-fill:before{content:""}.bi-dice-2:before{content:""}.bi-dice-3-fill:before{content:""}.bi-dice-3:before{content:""}.bi-dice-4-fill:before{content:""}.bi-dice-4:before{content:""}.bi-dice-5-fill:before{content:""}.bi-dice-5:before{content:""}.bi-dice-6-fill:before{content:""}.bi-dice-6:before{content:""}.bi-disc-fill:before{content:""}.bi-disc:before{content:""}.bi-discord:before{content:""}.bi-display-fill:before{content:""}.bi-display:before{content:""}.bi-distribute-horizontal:before{content:""}.bi-distribute-vertical:before{content:""}.bi-door-closed-fill:before{content:""}.bi-door-closed:before{content:""}.bi-door-open-fill:before{content:""}.bi-door-open:before{content:""}.bi-dot:before{content:""}.bi-download:before{content:""}.bi-droplet-fill:before{content:""}.bi-droplet-half:before{content:""}.bi-droplet:before{content:""}.bi-earbuds:before{content:""}.bi-easel-fill:before{content:""}.bi-easel:before{content:""}.bi-egg-fill:before{content:""}.bi-egg-fried:before{content:""}.bi-egg:before{content:""}.bi-eject-fill:before{content:""}.bi-eject:before{content:""}.bi-emoji-angry-fill:before{content:""}.bi-emoji-angry:before{content:""}.bi-emoji-dizzy-fill:before{content:""}.bi-emoji-dizzy:before{content:""}.bi-emoji-expressionless-fill:before{content:""}.bi-emoji-expressionless:before{content:""}.bi-emoji-frown-fill:before{content:""}.bi-emoji-frown:before{content:""}.bi-emoji-heart-eyes-fill:before{content:""}.bi-emoji-heart-eyes:before{content:""}.bi-emoji-laughing-fill:before{content:""}.bi-emoji-laughing:before{content:""}.bi-emoji-neutral-fill:before{content:""}.bi-emoji-neutral:before{content:""}.bi-emoji-smile-fill:before{content:""}.bi-emoji-smile-upside-down-fill:before{content:""}.bi-emoji-smile-upside-down:before{content:""}.bi-emoji-smile:before{content:""}.bi-emoji-sunglasses-fill:before{content:""}.bi-emoji-sunglasses:before{content:""}.bi-emoji-wink-fill:before{content:""}.bi-emoji-wink:before{content:""}.bi-envelope-fill:before{content:""}.bi-envelope-open-fill:before{content:""}.bi-envelope-open:before{content:""}.bi-envelope:before{content:""}.bi-eraser-fill:before{content:""}.bi-eraser:before{content:""}.bi-exclamation-circle-fill:before{content:""}.bi-exclamation-circle:before{content:""}.bi-exclamation-diamond-fill:before{content:""}.bi-exclamation-diamond:before{content:""}.bi-exclamation-octagon-fill:before{content:""}.bi-exclamation-octagon:before{content:""}.bi-exclamation-square-fill:before{content:""}.bi-exclamation-square:before{content:""}.bi-exclamation-triangle-fill:before{content:""}.bi-exclamation-triangle:before{content:""}.bi-exclamation:before{content:""}.bi-exclude:before{content:""}.bi-eye-fill:before{content:""}.bi-eye-slash-fill:before{content:""}.bi-eye-slash:before{content:""}.bi-eye:before{content:""}.bi-eyedropper:before{content:""}.bi-eyeglasses:before{content:""}.bi-facebook:before{content:""}.bi-file-arrow-down-fill:before{content:""}.bi-file-arrow-down:before{content:""}.bi-file-arrow-up-fill:before{content:""}.bi-file-arrow-up:before{content:""}.bi-file-bar-graph-fill:before{content:""}.bi-file-bar-graph:before{content:""}.bi-file-binary-fill:before{content:""}.bi-file-binary:before{content:""}.bi-file-break-fill:before{content:""}.bi-file-break:before{content:""}.bi-file-check-fill:before{content:""}.bi-file-check:before{content:""}.bi-file-code-fill:before{content:""}.bi-file-code:before{content:""}.bi-file-diff-fill:before{content:""}.bi-file-diff:before{content:""}.bi-file-earmark-arrow-down-fill:before{content:""}.bi-file-earmark-arrow-down:before{content:""}.bi-file-earmark-arrow-up-fill:before{content:""}.bi-file-earmark-arrow-up:before{content:""}.bi-file-earmark-bar-graph-fill:before{content:""}.bi-file-earmark-bar-graph:before{content:""}.bi-file-earmark-binary-fill:before{content:""}.bi-file-earmark-binary:before{content:""}.bi-file-earmark-break-fill:before{content:""}.bi-file-earmark-break:before{content:""}.bi-file-earmark-check-fill:before{content:""}.bi-file-earmark-check:before{content:""}.bi-file-earmark-code-fill:before{content:""}.bi-file-earmark-code:before{content:""}.bi-file-earmark-diff-fill:before{content:""}.bi-file-earmark-diff:before{content:""}.bi-file-earmark-easel-fill:before{content:""}.bi-file-earmark-easel:before{content:""}.bi-file-earmark-excel-fill:before{content:""}.bi-file-earmark-excel:before{content:""}.bi-file-earmark-fill:before{content:""}.bi-file-earmark-font-fill:before{content:""}.bi-file-earmark-font:before{content:""}.bi-file-earmark-image-fill:before{content:""}.bi-file-earmark-image:before{content:""}.bi-file-earmark-lock-fill:before{content:""}.bi-file-earmark-lock:before{content:""}.bi-file-earmark-lock2-fill:before{content:""}.bi-file-earmark-lock2:before{content:""}.bi-file-earmark-medical-fill:before{content:""}.bi-file-earmark-medical:before{content:""}.bi-file-earmark-minus-fill:before{content:""}.bi-file-earmark-minus:before{content:""}.bi-file-earmark-music-fill:before{content:""}.bi-file-earmark-music:before{content:""}.bi-file-earmark-person-fill:before{content:""}.bi-file-earmark-person:before{content:""}.bi-file-earmark-play-fill:before{content:""}.bi-file-earmark-play:before{content:""}.bi-file-earmark-plus-fill:before{content:""}.bi-file-earmark-plus:before{content:""}.bi-file-earmark-post-fill:before{content:""}.bi-file-earmark-post:before{content:""}.bi-file-earmark-ppt-fill:before{content:""}.bi-file-earmark-ppt:before{content:""}.bi-file-earmark-richtext-fill:before{content:""}.bi-file-earmark-richtext:before{content:""}.bi-file-earmark-ruled-fill:before{content:""}.bi-file-earmark-ruled:before{content:""}.bi-file-earmark-slides-fill:before{content:""}.bi-file-earmark-slides:before{content:""}.bi-file-earmark-spreadsheet-fill:before{content:""}.bi-file-earmark-spreadsheet:before{content:""}.bi-file-earmark-text-fill:before{content:""}.bi-file-earmark-text:before{content:""}.bi-file-earmark-word-fill:before{content:""}.bi-file-earmark-word:before{content:""}.bi-file-earmark-x-fill:before{content:""}.bi-file-earmark-x:before{content:""}.bi-file-earmark-zip-fill:before{content:""}.bi-file-earmark-zip:before{content:""}.bi-file-earmark:before{content:""}.bi-file-easel-fill:before{content:""}.bi-file-easel:before{content:""}.bi-file-excel-fill:before{content:""}.bi-file-excel:before{content:""}.bi-file-fill:before{content:""}.bi-file-font-fill:before{content:""}.bi-file-font:before{content:""}.bi-file-image-fill:before{content:""}.bi-file-image:before{content:""}.bi-file-lock-fill:before{content:""}.bi-file-lock:before{content:""}.bi-file-lock2-fill:before{content:""}.bi-file-lock2:before{content:""}.bi-file-medical-fill:before{content:""}.bi-file-medical:before{content:""}.bi-file-minus-fill:before{content:""}.bi-file-minus:before{content:""}.bi-file-music-fill:before{content:""}.bi-file-music:before{content:""}.bi-file-person-fill:before{content:""}.bi-file-person:before{content:""}.bi-file-play-fill:before{content:""}.bi-file-play:before{content:""}.bi-file-plus-fill:before{content:""}.bi-file-plus:before{content:""}.bi-file-post-fill:before{content:""}.bi-file-post:before{content:""}.bi-file-ppt-fill:before{content:""}.bi-file-ppt:before{content:""}.bi-file-richtext-fill:before{content:""}.bi-file-richtext:before{content:""}.bi-file-ruled-fill:before{content:""}.bi-file-ruled:before{content:""}.bi-file-slides-fill:before{content:""}.bi-file-slides:before{content:""}.bi-file-spreadsheet-fill:before{content:""}.bi-file-spreadsheet:before{content:""}.bi-file-text-fill:before{content:""}.bi-file-text:before{content:""}.bi-file-word-fill:before{content:""}.bi-file-word:before{content:""}.bi-file-x-fill:before{content:""}.bi-file-x:before{content:""}.bi-file-zip-fill:before{content:""}.bi-file-zip:before{content:""}.bi-file:before{content:""}.bi-files-alt:before{content:""}.bi-files:before{content:""}.bi-film:before{content:""}.bi-filter-circle-fill:before{content:""}.bi-filter-circle:before{content:""}.bi-filter-left:before{content:""}.bi-filter-right:before{content:""}.bi-filter-square-fill:before{content:""}.bi-filter-square:before{content:""}.bi-filter:before{content:""}.bi-flag-fill:before{content:""}.bi-flag:before{content:""}.bi-flower1:before{content:""}.bi-flower2:before{content:""}.bi-flower3:before{content:""}.bi-folder-check:before{content:""}.bi-folder-fill:before{content:""}.bi-folder-minus:before{content:""}.bi-folder-plus:before{content:""}.bi-folder-symlink-fill:before{content:""}.bi-folder-symlink:before{content:""}.bi-folder-x:before{content:""}.bi-folder:before{content:""}.bi-folder2-open:before{content:""}.bi-folder2:before{content:""}.bi-fonts:before{content:""}.bi-forward-fill:before{content:""}.bi-forward:before{content:""}.bi-front:before{content:""}.bi-fullscreen-exit:before{content:""}.bi-fullscreen:before{content:""}.bi-funnel-fill:before{content:""}.bi-funnel:before{content:""}.bi-gear-fill:before{content:""}.bi-gear-wide-connected:before{content:""}.bi-gear-wide:before{content:""}.bi-gear:before{content:""}.bi-gem:before{content:""}.bi-geo-alt-fill:before{content:""}.bi-geo-alt:before{content:""}.bi-geo-fill:before{content:""}.bi-geo:before{content:""}.bi-gift-fill:before{content:""}.bi-gift:before{content:""}.bi-github:before{content:""}.bi-globe:before{content:""}.bi-globe2:before{content:""}.bi-google:before{content:""}.bi-graph-down:before{content:""}.bi-graph-up:before{content:""}.bi-grid-1x2-fill:before{content:""}.bi-grid-1x2:before{content:""}.bi-grid-3x2-gap-fill:before{content:""}.bi-grid-3x2-gap:before{content:""}.bi-grid-3x2:before{content:""}.bi-grid-3x3-gap-fill:before{content:""}.bi-grid-3x3-gap:before{content:""}.bi-grid-3x3:before{content:""}.bi-grid-fill:before{content:""}.bi-grid:before{content:""}.bi-grip-horizontal:before{content:""}.bi-grip-vertical:before{content:""}.bi-hammer:before{content:""}.bi-hand-index-fill:before{content:""}.bi-hand-index-thumb-fill:before{content:""}.bi-hand-index-thumb:before{content:""}.bi-hand-index:before{content:""}.bi-hand-thumbs-down-fill:before{content:""}.bi-hand-thumbs-down:before{content:""}.bi-hand-thumbs-up-fill:before{content:""}.bi-hand-thumbs-up:before{content:""}.bi-handbag-fill:before{content:""}.bi-handbag:before{content:""}.bi-hash:before{content:""}.bi-hdd-fill:before{content:""}.bi-hdd-network-fill:before{content:""}.bi-hdd-network:before{content:""}.bi-hdd-rack-fill:before{content:""}.bi-hdd-rack:before{content:""}.bi-hdd-stack-fill:before{content:""}.bi-hdd-stack:before{content:""}.bi-hdd:before{content:""}.bi-headphones:before{content:""}.bi-headset:before{content:""}.bi-heart-fill:before{content:""}.bi-heart-half:before{content:""}.bi-heart:before{content:""}.bi-heptagon-fill:before{content:""}.bi-heptagon-half:before{content:""}.bi-heptagon:before{content:""}.bi-hexagon-fill:before{content:""}.bi-hexagon-half:before{content:""}.bi-hexagon:before{content:""}.bi-hourglass-bottom:before{content:""}.bi-hourglass-split:before{content:""}.bi-hourglass-top:before{content:""}.bi-hourglass:before{content:""}.bi-house-door-fill:before{content:""}.bi-house-door:before{content:""}.bi-house-fill:before{content:""}.bi-house:before{content:""}.bi-hr:before{content:""}.bi-hurricane:before{content:""}.bi-image-alt:before{content:""}.bi-image-fill:before{content:""}.bi-image:before{content:""}.bi-images:before{content:""}.bi-inbox-fill:before{content:""}.bi-inbox:before{content:""}.bi-inboxes-fill:before{content:""}.bi-inboxes:before{content:""}.bi-info-circle-fill:before{content:""}.bi-info-circle:before{content:""}.bi-info-square-fill:before{content:""}.bi-info-square:before{content:""}.bi-info:before{content:""}.bi-input-cursor-text:before{content:""}.bi-input-cursor:before{content:""}.bi-instagram:before{content:""}.bi-intersect:before{content:""}.bi-journal-album:before{content:""}.bi-journal-arrow-down:before{content:""}.bi-journal-arrow-up:before{content:""}.bi-journal-bookmark-fill:before{content:""}.bi-journal-bookmark:before{content:""}.bi-journal-check:before{content:""}.bi-journal-code:before{content:""}.bi-journal-medical:before{content:""}.bi-journal-minus:before{content:""}.bi-journal-plus:before{content:""}.bi-journal-richtext:before{content:""}.bi-journal-text:before{content:""}.bi-journal-x:before{content:""}.bi-journal:before{content:""}.bi-journals:before{content:""}.bi-joystick:before{content:""}.bi-justify-left:before{content:""}.bi-justify-right:before{content:""}.bi-justify:before{content:""}.bi-kanban-fill:before{content:""}.bi-kanban:before{content:""}.bi-key-fill:before{content:""}.bi-key:before{content:""}.bi-keyboard-fill:before{content:""}.bi-keyboard:before{content:""}.bi-ladder:before{content:""}.bi-lamp-fill:before{content:""}.bi-lamp:before{content:""}.bi-laptop-fill:before{content:""}.bi-laptop:before{content:""}.bi-layer-backward:before{content:""}.bi-layer-forward:before{content:""}.bi-layers-fill:before{content:""}.bi-layers-half:before{content:""}.bi-layers:before{content:""}.bi-layout-sidebar-inset-reverse:before{content:""}.bi-layout-sidebar-inset:before{content:""}.bi-layout-sidebar-reverse:before{content:""}.bi-layout-sidebar:before{content:""}.bi-layout-split:before{content:""}.bi-layout-text-sidebar-reverse:before{content:""}.bi-layout-text-sidebar:before{content:""}.bi-layout-text-window-reverse:before{content:""}.bi-layout-text-window:before{content:""}.bi-layout-three-columns:before{content:""}.bi-layout-wtf:before{content:""}.bi-life-preserver:before{content:""}.bi-lightbulb-fill:before{content:""}.bi-lightbulb-off-fill:before{content:""}.bi-lightbulb-off:before{content:""}.bi-lightbulb:before{content:""}.bi-lightning-charge-fill:before{content:""}.bi-lightning-charge:before{content:""}.bi-lightning-fill:before{content:""}.bi-lightning:before{content:""}.bi-link-45deg:before{content:""}.bi-link:before{content:""}.bi-linkedin:before{content:""}.bi-list-check:before{content:""}.bi-list-nested:before{content:""}.bi-list-ol:before{content:""}.bi-list-stars:before{content:""}.bi-list-task:before{content:""}.bi-list-ul:before{content:""}.bi-list:before{content:""}.bi-lock-fill:before{content:""}.bi-lock:before{content:""}.bi-mailbox:before{content:""}.bi-mailbox2:before{content:""}.bi-map-fill:before{content:""}.bi-map:before{content:""}.bi-markdown-fill:before{content:""}.bi-markdown:before{content:""}.bi-mask:before{content:""}.bi-megaphone-fill:before{content:""}.bi-megaphone:before{content:""}.bi-menu-app-fill:before{content:""}.bi-menu-app:before{content:""}.bi-menu-button-fill:before{content:""}.bi-menu-button-wide-fill:before{content:""}.bi-menu-button-wide:before{content:""}.bi-menu-button:before{content:""}.bi-menu-down:before{content:""}.bi-menu-up:before{content:""}.bi-mic-fill:before{content:""}.bi-mic-mute-fill:before{content:""}.bi-mic-mute:before{content:""}.bi-mic:before{content:""}.bi-minecart-loaded:before{content:""}.bi-minecart:before{content:""}.bi-moisture:before{content:""}.bi-moon-fill:before{content:""}.bi-moon-stars-fill:before{content:""}.bi-moon-stars:before{content:""}.bi-moon:before{content:""}.bi-mouse-fill:before{content:""}.bi-mouse:before{content:""}.bi-mouse2-fill:before{content:""}.bi-mouse2:before{content:""}.bi-mouse3-fill:before{content:""}.bi-mouse3:before{content:""}.bi-music-note-beamed:before{content:""}.bi-music-note-list:before{content:""}.bi-music-note:before{content:""}.bi-music-player-fill:before{content:""}.bi-music-player:before{content:""}.bi-newspaper:before{content:""}.bi-node-minus-fill:before{content:""}.bi-node-minus:before{content:""}.bi-node-plus-fill:before{content:""}.bi-node-plus:before{content:""}.bi-nut-fill:before{content:""}.bi-nut:before{content:""}.bi-octagon-fill:before{content:""}.bi-octagon-half:before{content:""}.bi-octagon:before{content:""}.bi-option:before{content:""}.bi-outlet:before{content:""}.bi-paint-bucket:before{content:""}.bi-palette-fill:before{content:""}.bi-palette:before{content:""}.bi-palette2:before{content:""}.bi-paperclip:before{content:""}.bi-paragraph:before{content:""}.bi-patch-check-fill:before{content:""}.bi-patch-check:before{content:""}.bi-patch-exclamation-fill:before{content:""}.bi-patch-exclamation:before{content:""}.bi-patch-minus-fill:before{content:""}.bi-patch-minus:before{content:""}.bi-patch-plus-fill:before{content:""}.bi-patch-plus:before{content:""}.bi-patch-question-fill:before{content:""}.bi-patch-question:before{content:""}.bi-pause-btn-fill:before{content:""}.bi-pause-btn:before{content:""}.bi-pause-circle-fill:before{content:""}.bi-pause-circle:before{content:""}.bi-pause-fill:before{content:""}.bi-pause:before{content:""}.bi-peace-fill:before{content:""}.bi-peace:before{content:""}.bi-pen-fill:before{content:""}.bi-pen:before{content:""}.bi-pencil-fill:before{content:""}.bi-pencil-square:before{content:""}.bi-pencil:before{content:""}.bi-pentagon-fill:before{content:""}.bi-pentagon-half:before{content:""}.bi-pentagon:before{content:""}.bi-people-fill:before{content:""}.bi-people:before{content:""}.bi-percent:before{content:""}.bi-person-badge-fill:before{content:""}.bi-person-badge:before{content:""}.bi-person-bounding-box:before{content:""}.bi-person-check-fill:before{content:""}.bi-person-check:before{content:""}.bi-person-circle:before{content:""}.bi-person-dash-fill:before{content:""}.bi-person-dash:before{content:""}.bi-person-fill:before{content:""}.bi-person-lines-fill:before{content:""}.bi-person-plus-fill:before{content:""}.bi-person-plus:before{content:""}.bi-person-square:before{content:""}.bi-person-x-fill:before{content:""}.bi-person-x:before{content:""}.bi-person:before{content:""}.bi-phone-fill:before{content:""}.bi-phone-landscape-fill:before{content:""}.bi-phone-landscape:before{content:""}.bi-phone-vibrate-fill:before{content:""}.bi-phone-vibrate:before{content:""}.bi-phone:before{content:""}.bi-pie-chart-fill:before{content:""}.bi-pie-chart:before{content:""}.bi-pin-angle-fill:before{content:""}.bi-pin-angle:before{content:""}.bi-pin-fill:before{content:""}.bi-pin:before{content:""}.bi-pip-fill:before{content:""}.bi-pip:before{content:""}.bi-play-btn-fill:before{content:""}.bi-play-btn:before{content:""}.bi-play-circle-fill:before{content:""}.bi-play-circle:before{content:""}.bi-play-fill:before{content:""}.bi-play:before{content:""}.bi-plug-fill:before{content:""}.bi-plug:before{content:""}.bi-plus-circle-dotted:before{content:""}.bi-plus-circle-fill:before{content:""}.bi-plus-circle:before{content:""}.bi-plus-square-dotted:before{content:""}.bi-plus-square-fill:before{content:""}.bi-plus-square:before{content:""}.bi-plus:before{content:""}.bi-power:before{content:""}.bi-printer-fill:before{content:""}.bi-printer:before{content:""}.bi-puzzle-fill:before{content:""}.bi-puzzle:before{content:""}.bi-question-circle-fill:before{content:""}.bi-question-circle:before{content:""}.bi-question-diamond-fill:before{content:""}.bi-question-diamond:before{content:""}.bi-question-octagon-fill:before{content:""}.bi-question-octagon:before{content:""}.bi-question-square-fill:before{content:""}.bi-question-square:before{content:""}.bi-question:before{content:""}.bi-rainbow:before{content:""}.bi-receipt-cutoff:before{content:""}.bi-receipt:before{content:""}.bi-reception-0:before{content:""}.bi-reception-1:before{content:""}.bi-reception-2:before{content:""}.bi-reception-3:before{content:""}.bi-reception-4:before{content:""}.bi-record-btn-fill:before{content:""}.bi-record-btn:before{content:""}.bi-record-circle-fill:before{content:""}.bi-record-circle:before{content:""}.bi-record-fill:before{content:""}.bi-record:before{content:""}.bi-record2-fill:before{content:""}.bi-record2:before{content:""}.bi-reply-all-fill:before{content:""}.bi-reply-all:before{content:""}.bi-reply-fill:before{content:""}.bi-reply:before{content:""}.bi-rss-fill:before{content:""}.bi-rss:before{content:""}.bi-rulers:before{content:""}.bi-save-fill:before{content:""}.bi-save:before{content:""}.bi-save2-fill:before{content:""}.bi-save2:before{content:""}.bi-scissors:before{content:""}.bi-screwdriver:before{content:""}.bi-search:before{content:""}.bi-segmented-nav:before{content:""}.bi-server:before{content:""}.bi-share-fill:before{content:""}.bi-share:before{content:""}.bi-shield-check:before{content:""}.bi-shield-exclamation:before{content:""}.bi-shield-fill-check:before{content:""}.bi-shield-fill-exclamation:before{content:""}.bi-shield-fill-minus:before{content:""}.bi-shield-fill-plus:before{content:""}.bi-shield-fill-x:before{content:""}.bi-shield-fill:before{content:""}.bi-shield-lock-fill:before{content:""}.bi-shield-lock:before{content:""}.bi-shield-minus:before{content:""}.bi-shield-plus:before{content:""}.bi-shield-shaded:before{content:""}.bi-shield-slash-fill:before{content:""}.bi-shield-slash:before{content:""}.bi-shield-x:before{content:""}.bi-shield:before{content:""}.bi-shift-fill:before{content:""}.bi-shift:before{content:""}.bi-shop-window:before{content:""}.bi-shop:before{content:""}.bi-shuffle:before{content:""}.bi-signpost-2-fill:before{content:""}.bi-signpost-2:before{content:""}.bi-signpost-fill:before{content:""}.bi-signpost-split-fill:before{content:""}.bi-signpost-split:before{content:""}.bi-signpost:before{content:""}.bi-sim-fill:before{content:""}.bi-sim:before{content:""}.bi-skip-backward-btn-fill:before{content:""}.bi-skip-backward-btn:before{content:""}.bi-skip-backward-circle-fill:before{content:""}.bi-skip-backward-circle:before{content:""}.bi-skip-backward-fill:before{content:""}.bi-skip-backward:before{content:""}.bi-skip-end-btn-fill:before{content:""}.bi-skip-end-btn:before{content:""}.bi-skip-end-circle-fill:before{content:""}.bi-skip-end-circle:before{content:""}.bi-skip-end-fill:before{content:""}.bi-skip-end:before{content:""}.bi-skip-forward-btn-fill:before{content:""}.bi-skip-forward-btn:before{content:""}.bi-skip-forward-circle-fill:before{content:""}.bi-skip-forward-circle:before{content:""}.bi-skip-forward-fill:before{content:""}.bi-skip-forward:before{content:""}.bi-skip-start-btn-fill:before{content:""}.bi-skip-start-btn:before{content:""}.bi-skip-start-circle-fill:before{content:""}.bi-skip-start-circle:before{content:""}.bi-skip-start-fill:before{content:""}.bi-skip-start:before{content:""}.bi-slack:before{content:""}.bi-slash-circle-fill:before{content:""}.bi-slash-circle:before{content:""}.bi-slash-square-fill:before{content:""}.bi-slash-square:before{content:""}.bi-slash:before{content:""}.bi-sliders:before{content:""}.bi-smartwatch:before{content:""}.bi-snow:before{content:""}.bi-snow2:before{content:""}.bi-snow3:before{content:""}.bi-sort-alpha-down-alt:before{content:""}.bi-sort-alpha-down:before{content:""}.bi-sort-alpha-up-alt:before{content:""}.bi-sort-alpha-up:before{content:""}.bi-sort-down-alt:before{content:""}.bi-sort-down:before{content:""}.bi-sort-numeric-down-alt:before{content:""}.bi-sort-numeric-down:before{content:""}.bi-sort-numeric-up-alt:before{content:""}.bi-sort-numeric-up:before{content:""}.bi-sort-up-alt:before{content:""}.bi-sort-up:before{content:""}.bi-soundwave:before{content:""}.bi-speaker-fill:before{content:""}.bi-speaker:before{content:""}.bi-speedometer:before{content:""}.bi-speedometer2:before{content:""}.bi-spellcheck:before{content:""}.bi-square-fill:before{content:""}.bi-square-half:before{content:""}.bi-square:before{content:""}.bi-stack:before{content:""}.bi-star-fill:before{content:""}.bi-star-half:before{content:""}.bi-star:before{content:""}.bi-stars:before{content:""}.bi-stickies-fill:before{content:""}.bi-stickies:before{content:""}.bi-sticky-fill:before{content:""}.bi-sticky:before{content:""}.bi-stop-btn-fill:before{content:""}.bi-stop-btn:before{content:""}.bi-stop-circle-fill:before{content:""}.bi-stop-circle:before{content:""}.bi-stop-fill:before{content:""}.bi-stop:before{content:""}.bi-stoplights-fill:before{content:""}.bi-stoplights:before{content:""}.bi-stopwatch-fill:before{content:""}.bi-stopwatch:before{content:""}.bi-subtract:before{content:""}.bi-suit-club-fill:before{content:""}.bi-suit-club:before{content:""}.bi-suit-diamond-fill:before{content:""}.bi-suit-diamond:before{content:""}.bi-suit-heart-fill:before{content:""}.bi-suit-heart:before{content:""}.bi-suit-spade-fill:before{content:""}.bi-suit-spade:before{content:""}.bi-sun-fill:before{content:""}.bi-sun:before{content:""}.bi-sunglasses:before{content:""}.bi-sunrise-fill:before{content:""}.bi-sunrise:before{content:""}.bi-sunset-fill:before{content:""}.bi-sunset:before{content:""}.bi-symmetry-horizontal:before{content:""}.bi-symmetry-vertical:before{content:""}.bi-table:before{content:""}.bi-tablet-fill:before{content:""}.bi-tablet-landscape-fill:before{content:""}.bi-tablet-landscape:before{content:""}.bi-tablet:before{content:""}.bi-tag-fill:before{content:""}.bi-tag:before{content:""}.bi-tags-fill:before{content:""}.bi-tags:before{content:""}.bi-telegram:before{content:""}.bi-telephone-fill:before{content:""}.bi-telephone-forward-fill:before{content:""}.bi-telephone-forward:before{content:""}.bi-telephone-inbound-fill:before{content:""}.bi-telephone-inbound:before{content:""}.bi-telephone-minus-fill:before{content:""}.bi-telephone-minus:before{content:""}.bi-telephone-outbound-fill:before{content:""}.bi-telephone-outbound:before{content:""}.bi-telephone-plus-fill:before{content:""}.bi-telephone-plus:before{content:""}.bi-telephone-x-fill:before{content:""}.bi-telephone-x:before{content:""}.bi-telephone:before{content:""}.bi-terminal-fill:before{content:""}.bi-terminal:before{content:""}.bi-text-center:before{content:""}.bi-text-indent-left:before{content:""}.bi-text-indent-right:before{content:""}.bi-text-left:before{content:""}.bi-text-paragraph:before{content:""}.bi-text-right:before{content:""}.bi-textarea-resize:before{content:""}.bi-textarea-t:before{content:""}.bi-textarea:before{content:""}.bi-thermometer-half:before{content:""}.bi-thermometer-high:before{content:""}.bi-thermometer-low:before{content:""}.bi-thermometer-snow:before{content:""}.bi-thermometer-sun:before{content:""}.bi-thermometer:before{content:""}.bi-three-dots-vertical:before{content:""}.bi-three-dots:before{content:""}.bi-toggle-off:before{content:""}.bi-toggle-on:before{content:""}.bi-toggle2-off:before{content:""}.bi-toggle2-on:before{content:""}.bi-toggles:before{content:""}.bi-toggles2:before{content:""}.bi-tools:before{content:""}.bi-tornado:before{content:""}.bi-trash-fill:before{content:""}.bi-trash:before{content:""}.bi-trash2-fill:before{content:""}.bi-trash2:before{content:""}.bi-tree-fill:before{content:""}.bi-tree:before{content:""}.bi-triangle-fill:before{content:""}.bi-triangle-half:before{content:""}.bi-triangle:before{content:""}.bi-trophy-fill:before{content:""}.bi-trophy:before{content:""}.bi-tropical-storm:before{content:""}.bi-truck-flatbed:before{content:""}.bi-truck:before{content:""}.bi-tsunami:before{content:""}.bi-tv-fill:before{content:""}.bi-tv:before{content:""}.bi-twitch:before{content:""}.bi-twitter:before{content:""}.bi-type-bold:before{content:""}.bi-type-h1:before{content:""}.bi-type-h2:before{content:""}.bi-type-h3:before{content:""}.bi-type-italic:before{content:""}.bi-type-strikethrough:before{content:""}.bi-type-underline:before{content:""}.bi-type:before{content:""}.bi-ui-checks-grid:before{content:""}.bi-ui-checks:before{content:""}.bi-ui-radios-grid:before{content:""}.bi-ui-radios:before{content:""}.bi-umbrella-fill:before{content:""}.bi-umbrella:before{content:""}.bi-union:before{content:""}.bi-unlock-fill:before{content:""}.bi-unlock:before{content:""}.bi-upc-scan:before{content:""}.bi-upc:before{content:""}.bi-upload:before{content:""}.bi-vector-pen:before{content:""}.bi-view-list:before{content:""}.bi-view-stacked:before{content:""}.bi-vinyl-fill:before{content:""}.bi-vinyl:before{content:""}.bi-voicemail:before{content:""}.bi-volume-down-fill:before{content:""}.bi-volume-down:before{content:""}.bi-volume-mute-fill:before{content:""}.bi-volume-mute:before{content:""}.bi-volume-off-fill:before{content:""}.bi-volume-off:before{content:""}.bi-volume-up-fill:before{content:""}.bi-volume-up:before{content:""}.bi-vr:before{content:""}.bi-wallet-fill:before{content:""}.bi-wallet:before{content:""}.bi-wallet2:before{content:""}.bi-watch:before{content:""}.bi-water:before{content:""}.bi-whatsapp:before{content:""}.bi-wifi-1:before{content:""}.bi-wifi-2:before{content:""}.bi-wifi-off:before{content:""}.bi-wifi:before{content:""}.bi-wind:before{content:""}.bi-window-dock:before{content:""}.bi-window-sidebar:before{content:""}.bi-window:before{content:""}.bi-wrench:before{content:""}.bi-x-circle-fill:before{content:""}.bi-x-circle:before{content:""}.bi-x-diamond-fill:before{content:""}.bi-x-diamond:before{content:""}.bi-x-octagon-fill:before{content:""}.bi-x-octagon:before{content:""}.bi-x-square-fill:before{content:""}.bi-x-square:before{content:""}.bi-x:before{content:""}.bi-youtube:before{content:""}.bi-zoom-in:before{content:""}.bi-zoom-out:before{content:""}.bi-bank:before{content:""}.bi-bank2:before{content:""}.bi-bell-slash-fill:before{content:""}.bi-bell-slash:before{content:""}.bi-cash-coin:before{content:""}.bi-check-lg:before{content:""}.bi-coin:before{content:""}.bi-currency-bitcoin:before{content:""}.bi-currency-dollar:before{content:""}.bi-currency-euro:before{content:""}.bi-currency-exchange:before{content:""}.bi-currency-pound:before{content:""}.bi-currency-yen:before{content:""}.bi-dash-lg:before{content:""}.bi-exclamation-lg:before{content:""}.bi-file-earmark-pdf-fill:before{content:""}.bi-file-earmark-pdf:before{content:""}.bi-file-pdf-fill:before{content:""}.bi-file-pdf:before{content:""}.bi-gender-ambiguous:before{content:""}.bi-gender-female:before{content:""}.bi-gender-male:before{content:""}.bi-gender-trans:before{content:""}.bi-headset-vr:before{content:""}.bi-info-lg:before{content:""}.bi-mastodon:before{content:""}.bi-messenger:before{content:""}.bi-piggy-bank-fill:before{content:""}.bi-piggy-bank:before{content:""}.bi-pin-map-fill:before{content:""}.bi-pin-map:before{content:""}.bi-plus-lg:before{content:""}.bi-question-lg:before{content:""}.bi-recycle:before{content:""}.bi-reddit:before{content:""}.bi-safe-fill:before{content:""}.bi-safe2-fill:before{content:""}.bi-safe2:before{content:""}.bi-sd-card-fill:before{content:""}.bi-sd-card:before{content:""}.bi-skype:before{content:""}.bi-slash-lg:before{content:""}.bi-translate:before{content:""}.bi-x-lg:before{content:""}.bi-safe:before{content:""}.bi-apple:before{content:""}.bi-microsoft:before{content:""}.bi-windows:before{content:""}.bi-behance:before{content:""}.bi-dribbble:before{content:""}.bi-line:before{content:""}.bi-medium:before{content:""}.bi-paypal:before{content:""}.bi-pinterest:before{content:""}.bi-signal:before{content:""}.bi-snapchat:before{content:""}.bi-spotify:before{content:""}.bi-stack-overflow:before{content:""}.bi-strava:before{content:""}.bi-wordpress:before{content:""}.bi-vimeo:before{content:""}.bi-activity:before{content:""}.bi-easel2-fill:before{content:""}.bi-easel2:before{content:""}.bi-easel3-fill:before{content:""}.bi-easel3:before{content:""}.bi-fan:before{content:""}.bi-fingerprint:before{content:""}.bi-graph-down-arrow:before{content:""}.bi-graph-up-arrow:before{content:""}.bi-hypnotize:before{content:""}.bi-magic:before{content:""}.bi-person-rolodex:before{content:""}.bi-person-video:before{content:""}.bi-person-video2:before{content:""}.bi-person-video3:before{content:""}.bi-person-workspace:before{content:""}.bi-radioactive:before{content:""}.bi-webcam-fill:before{content:""}.bi-webcam:before{content:""}.bi-yin-yang:before{content:""}.bi-bandaid-fill:before{content:""}.bi-bandaid:before{content:""}.bi-bluetooth:before{content:""}.bi-body-text:before{content:""}.bi-boombox:before{content:""}.bi-boxes:before{content:""}.bi-dpad-fill:before{content:""}.bi-dpad:before{content:""}.bi-ear-fill:before{content:""}.bi-ear:before{content:""}.bi-envelope-check-fill:before{content:""}.bi-envelope-check:before{content:""}.bi-envelope-dash-fill:before{content:""}.bi-envelope-dash:before{content:""}.bi-envelope-exclamation-fill:before{content:""}.bi-envelope-exclamation:before{content:""}.bi-envelope-plus-fill:before{content:""}.bi-envelope-plus:before{content:""}.bi-envelope-slash-fill:before{content:""}.bi-envelope-slash:before{content:""}.bi-envelope-x-fill:before{content:""}.bi-envelope-x:before{content:""}.bi-explicit-fill:before{content:""}.bi-explicit:before{content:""}.bi-git:before{content:""}.bi-infinity:before{content:""}.bi-list-columns-reverse:before{content:""}.bi-list-columns:before{content:""}.bi-meta:before{content:""}.bi-nintendo-switch:before{content:""}.bi-pc-display-horizontal:before{content:""}.bi-pc-display:before{content:""}.bi-pc-horizontal:before{content:""}.bi-pc:before{content:""}.bi-playstation:before{content:""}.bi-plus-slash-minus:before{content:""}.bi-projector-fill:before{content:""}.bi-projector:before{content:""}.bi-qr-code-scan:before{content:""}.bi-qr-code:before{content:""}.bi-quora:before{content:""}.bi-quote:before{content:""}.bi-robot:before{content:""}.bi-send-check-fill:before{content:""}.bi-send-check:before{content:""}.bi-send-dash-fill:before{content:""}.bi-send-dash:before{content:""}.bi-send-exclamation-fill:before{content:""}.bi-send-exclamation:before{content:""}.bi-send-fill:before{content:""}.bi-send-plus-fill:before{content:""}.bi-send-plus:before{content:""}.bi-send-slash-fill:before{content:""}.bi-send-slash:before{content:""}.bi-send-x-fill:before{content:""}.bi-send-x:before{content:""}.bi-send:before{content:""}.bi-steam:before{content:""}.bi-terminal-dash:before{content:""}.bi-terminal-plus:before{content:""}.bi-terminal-split:before{content:""}.bi-ticket-detailed-fill:before{content:""}.bi-ticket-detailed:before{content:""}.bi-ticket-fill:before{content:""}.bi-ticket-perforated-fill:before{content:""}.bi-ticket-perforated:before{content:""}.bi-ticket:before{content:""}.bi-tiktok:before{content:""}.bi-window-dash:before{content:""}.bi-window-desktop:before{content:""}.bi-window-fullscreen:before{content:""}.bi-window-plus:before{content:""}.bi-window-split:before{content:""}.bi-window-stack:before{content:""}.bi-window-x:before{content:""}.bi-xbox:before{content:""}.bi-ethernet:before{content:""}.bi-hdmi-fill:before{content:""}.bi-hdmi:before{content:""}.bi-usb-c-fill:before{content:""}.bi-usb-c:before{content:""}.bi-usb-fill:before{content:""}.bi-usb-plug-fill:before{content:""}.bi-usb-plug:before{content:""}.bi-usb-symbol:before{content:""}.bi-usb:before{content:""}.bi-boombox-fill:before{content:""}.bi-displayport:before{content:""}.bi-gpu-card:before{content:""}.bi-memory:before{content:""}.bi-modem-fill:before{content:""}.bi-modem:before{content:""}.bi-motherboard-fill:before{content:""}.bi-motherboard:before{content:""}.bi-optical-audio-fill:before{content:""}.bi-optical-audio:before{content:""}.bi-pci-card:before{content:""}.bi-router-fill:before{content:""}.bi-router:before{content:""}.bi-thunderbolt-fill:before{content:""}.bi-thunderbolt:before{content:""}.bi-usb-drive-fill:before{content:""}.bi-usb-drive:before{content:""}.bi-usb-micro-fill:before{content:""}.bi-usb-micro:before{content:""}.bi-usb-mini-fill:before{content:""}.bi-usb-mini:before{content:""}.bi-cloud-haze2:before{content:""}.bi-device-hdd-fill:before{content:""}.bi-device-hdd:before{content:""}.bi-device-ssd-fill:before{content:""}.bi-device-ssd:before{content:""}.bi-displayport-fill:before{content:""}.bi-mortarboard-fill:before{content:""}.bi-mortarboard:before{content:""}.bi-terminal-x:before{content:""}.bi-arrow-through-heart-fill:before{content:""}.bi-arrow-through-heart:before{content:""}.bi-badge-sd-fill:before{content:""}.bi-badge-sd:before{content:""}.bi-bag-heart-fill:before{content:""}.bi-bag-heart:before{content:""}.bi-balloon-fill:before{content:""}.bi-balloon-heart-fill:before{content:""}.bi-balloon-heart:before{content:""}.bi-balloon:before{content:""}.bi-box2-fill:before{content:""}.bi-box2-heart-fill:before{content:""}.bi-box2-heart:before{content:""}.bi-box2:before{content:""}.bi-braces-asterisk:before{content:""}.bi-calendar-heart-fill:before{content:""}.bi-calendar-heart:before{content:""}.bi-calendar2-heart-fill:before{content:""}.bi-calendar2-heart:before{content:""}.bi-chat-heart-fill:before{content:""}.bi-chat-heart:before{content:""}.bi-chat-left-heart-fill:before{content:""}.bi-chat-left-heart:before{content:""}.bi-chat-right-heart-fill:before{content:""}.bi-chat-right-heart:before{content:""}.bi-chat-square-heart-fill:before{content:""}.bi-chat-square-heart:before{content:""}.bi-clipboard-check-fill:before{content:""}.bi-clipboard-data-fill:before{content:""}.bi-clipboard-fill:before{content:""}.bi-clipboard-heart-fill:before{content:""}.bi-clipboard-heart:before{content:""}.bi-clipboard-minus-fill:before{content:""}.bi-clipboard-plus-fill:before{content:""}.bi-clipboard-pulse:before{content:""}.bi-clipboard-x-fill:before{content:""}.bi-clipboard2-check-fill:before{content:""}.bi-clipboard2-check:before{content:""}.bi-clipboard2-data-fill:before{content:""}.bi-clipboard2-data:before{content:""}.bi-clipboard2-fill:before{content:""}.bi-clipboard2-heart-fill:before{content:""}.bi-clipboard2-heart:before{content:""}.bi-clipboard2-minus-fill:before{content:""}.bi-clipboard2-minus:before{content:""}.bi-clipboard2-plus-fill:before{content:""}.bi-clipboard2-plus:before{content:""}.bi-clipboard2-pulse-fill:before{content:""}.bi-clipboard2-pulse:before{content:""}.bi-clipboard2-x-fill:before{content:""}.bi-clipboard2-x:before{content:""}.bi-clipboard2:before{content:""}.bi-emoji-kiss-fill:before{content:""}.bi-emoji-kiss:before{content:""}.bi-envelope-heart-fill:before{content:""}.bi-envelope-heart:before{content:""}.bi-envelope-open-heart-fill:before{content:""}.bi-envelope-open-heart:before{content:""}.bi-envelope-paper-fill:before{content:""}.bi-envelope-paper-heart-fill:before{content:""}.bi-envelope-paper-heart:before{content:""}.bi-envelope-paper:before{content:""}.bi-filetype-aac:before{content:""}.bi-filetype-ai:before{content:""}.bi-filetype-bmp:before{content:""}.bi-filetype-cs:before{content:""}.bi-filetype-css:before{content:""}.bi-filetype-csv:before{content:""}.bi-filetype-doc:before{content:""}.bi-filetype-docx:before{content:""}.bi-filetype-exe:before{content:""}.bi-filetype-gif:before{content:""}.bi-filetype-heic:before{content:""}.bi-filetype-html:before{content:""}.bi-filetype-java:before{content:""}.bi-filetype-jpg:before{content:""}.bi-filetype-js:before{content:""}.bi-filetype-jsx:before{content:""}.bi-filetype-key:before{content:""}.bi-filetype-m4p:before{content:""}.bi-filetype-md:before{content:""}.bi-filetype-mdx:before{content:""}.bi-filetype-mov:before{content:""}.bi-filetype-mp3:before{content:""}.bi-filetype-mp4:before{content:""}.bi-filetype-otf:before{content:""}.bi-filetype-pdf:before{content:""}.bi-filetype-php:before{content:""}.bi-filetype-png:before{content:""}.bi-filetype-ppt:before{content:""}.bi-filetype-psd:before{content:""}.bi-filetype-py:before{content:""}.bi-filetype-raw:before{content:""}.bi-filetype-rb:before{content:""}.bi-filetype-sass:before{content:""}.bi-filetype-scss:before{content:""}.bi-filetype-sh:before{content:""}.bi-filetype-svg:before{content:""}.bi-filetype-tiff:before{content:""}.bi-filetype-tsx:before{content:""}.bi-filetype-ttf:before{content:""}.bi-filetype-txt:before{content:""}.bi-filetype-wav:before{content:""}.bi-filetype-woff:before{content:""}.bi-filetype-xls:before{content:""}.bi-filetype-xml:before{content:""}.bi-filetype-yml:before{content:""}.bi-heart-arrow:before{content:""}.bi-heart-pulse-fill:before{content:""}.bi-heart-pulse:before{content:""}.bi-heartbreak-fill:before{content:""}.bi-heartbreak:before{content:""}.bi-hearts:before{content:""}.bi-hospital-fill:before{content:""}.bi-hospital:before{content:""}.bi-house-heart-fill:before{content:""}.bi-house-heart:before{content:""}.bi-incognito:before{content:""}.bi-magnet-fill:before{content:""}.bi-magnet:before{content:""}.bi-person-heart:before{content:""}.bi-person-hearts:before{content:""}.bi-phone-flip:before{content:""}.bi-plugin:before{content:""}.bi-postage-fill:before{content:""}.bi-postage-heart-fill:before{content:""}.bi-postage-heart:before{content:""}.bi-postage:before{content:""}.bi-postcard-fill:before{content:""}.bi-postcard-heart-fill:before{content:""}.bi-postcard-heart:before{content:""}.bi-postcard:before{content:""}.bi-search-heart-fill:before{content:""}.bi-search-heart:before{content:""}.bi-sliders2-vertical:before{content:""}.bi-sliders2:before{content:""}.bi-trash3-fill:before{content:""}.bi-trash3:before{content:""}.bi-valentine:before{content:""}.bi-valentine2:before{content:""}.bi-wrench-adjustable-circle-fill:before{content:""}.bi-wrench-adjustable-circle:before{content:""}.bi-wrench-adjustable:before{content:""}.bi-filetype-json:before{content:""}.bi-filetype-pptx:before{content:""}.bi-filetype-xlsx:before{content:""}.bi-1-circle-fill:before{content:""}.bi-1-circle:before{content:""}.bi-1-square-fill:before{content:""}.bi-1-square:before{content:""}.bi-2-circle-fill:before{content:""}.bi-2-circle:before{content:""}.bi-2-square-fill:before{content:""}.bi-2-square:before{content:""}.bi-3-circle-fill:before{content:""}.bi-3-circle:before{content:""}.bi-3-square-fill:before{content:""}.bi-3-square:before{content:""}.bi-4-circle-fill:before{content:""}.bi-4-circle:before{content:""}.bi-4-square-fill:before{content:""}.bi-4-square:before{content:""}.bi-5-circle-fill:before{content:""}.bi-5-circle:before{content:""}.bi-5-square-fill:before{content:""}.bi-5-square:before{content:""}.bi-6-circle-fill:before{content:""}.bi-6-circle:before{content:""}.bi-6-square-fill:before{content:""}.bi-6-square:before{content:""}.bi-7-circle-fill:before{content:""}.bi-7-circle:before{content:""}.bi-7-square-fill:before{content:""}.bi-7-square:before{content:""}.bi-8-circle-fill:before{content:""}.bi-8-circle:before{content:""}.bi-8-square-fill:before{content:""}.bi-8-square:before{content:""}.bi-9-circle-fill:before{content:""}.bi-9-circle:before{content:""}.bi-9-square-fill:before{content:""}.bi-9-square:before{content:""}.bi-airplane-engines-fill:before{content:""}.bi-airplane-engines:before{content:""}.bi-airplane-fill:before{content:""}.bi-airplane:before{content:""}.bi-alexa:before{content:""}.bi-alipay:before{content:""}.bi-android:before{content:""}.bi-android2:before{content:""}.bi-box-fill:before{content:""}.bi-box-seam-fill:before{content:""}.bi-browser-chrome:before{content:""}.bi-browser-edge:before{content:""}.bi-browser-firefox:before{content:""}.bi-browser-safari:before{content:""}.bi-c-circle-fill:before{content:""}.bi-c-circle:before{content:""}.bi-c-square-fill:before{content:""}.bi-c-square:before{content:""}.bi-capsule-pill:before{content:""}.bi-capsule:before{content:""}.bi-car-front-fill:before{content:""}.bi-car-front:before{content:""}.bi-cassette-fill:before{content:""}.bi-cassette:before{content:""}.bi-cc-circle-fill:before{content:""}.bi-cc-circle:before{content:""}.bi-cc-square-fill:before{content:""}.bi-cc-square:before{content:""}.bi-cup-hot-fill:before{content:""}.bi-cup-hot:before{content:""}.bi-currency-rupee:before{content:""}.bi-dropbox:before{content:""}.bi-escape:before{content:""}.bi-fast-forward-btn-fill:before{content:""}.bi-fast-forward-btn:before{content:""}.bi-fast-forward-circle-fill:before{content:""}.bi-fast-forward-circle:before{content:""}.bi-fast-forward-fill:before{content:""}.bi-fast-forward:before{content:""}.bi-filetype-sql:before{content:""}.bi-fire:before{content:""}.bi-google-play:before{content:""}.bi-h-circle-fill:before{content:""}.bi-h-circle:before{content:""}.bi-h-square-fill:before{content:""}.bi-h-square:before{content:""}.bi-indent:before{content:""}.bi-lungs-fill:before{content:""}.bi-lungs:before{content:""}.bi-microsoft-teams:before{content:""}.bi-p-circle-fill:before{content:""}.bi-p-circle:before{content:""}.bi-p-square-fill:before{content:""}.bi-p-square:before{content:""}.bi-pass-fill:before{content:""}.bi-pass:before{content:""}.bi-prescription:before{content:""}.bi-prescription2:before{content:""}.bi-r-circle-fill:before{content:""}.bi-r-circle:before{content:""}.bi-r-square-fill:before{content:""}.bi-r-square:before{content:""}.bi-repeat-1:before{content:""}.bi-repeat:before{content:""}.bi-rewind-btn-fill:before{content:""}.bi-rewind-btn:before{content:""}.bi-rewind-circle-fill:before{content:""}.bi-rewind-circle:before{content:""}.bi-rewind-fill:before{content:""}.bi-rewind:before{content:""}.bi-train-freight-front-fill:before{content:""}.bi-train-freight-front:before{content:""}.bi-train-front-fill:before{content:""}.bi-train-front:before{content:""}.bi-train-lightrail-front-fill:before{content:""}.bi-train-lightrail-front:before{content:""}.bi-truck-front-fill:before{content:""}.bi-truck-front:before{content:""}.bi-ubuntu:before{content:""}.bi-unindent:before{content:""}.bi-unity:before{content:""}.bi-universal-access-circle:before{content:""}.bi-universal-access:before{content:""}.bi-virus:before{content:""}.bi-virus2:before{content:""}.bi-wechat:before{content:""}.bi-yelp:before{content:""}.bi-sign-stop-fill:before{content:""}.bi-sign-stop-lights-fill:before{content:""}.bi-sign-stop-lights:before{content:""}.bi-sign-stop:before{content:""}.bi-sign-turn-left-fill:before{content:""}.bi-sign-turn-left:before{content:""}.bi-sign-turn-right-fill:before{content:""}.bi-sign-turn-right:before{content:""}.bi-sign-turn-slight-left-fill:before{content:""}.bi-sign-turn-slight-left:before{content:""}.bi-sign-turn-slight-right-fill:before{content:""}.bi-sign-turn-slight-right:before{content:""}.bi-sign-yield-fill:before{content:""}.bi-sign-yield:before{content:""}.bi-ev-station-fill:before{content:""}.bi-ev-station:before{content:""}.bi-fuel-pump-diesel-fill:before{content:""}.bi-fuel-pump-diesel:before{content:""}.bi-fuel-pump-fill:before{content:""}.bi-fuel-pump:before{content:""}.bi-0-circle-fill:before{content:""}.bi-0-circle:before{content:""}.bi-0-square-fill:before{content:""}.bi-0-square:before{content:""}.bi-rocket-fill:before{content:""}.bi-rocket-takeoff-fill:before{content:""}.bi-rocket-takeoff:before{content:""}.bi-rocket:before{content:""}.bi-stripe:before{content:""}.bi-subscript:before{content:""}.bi-superscript:before{content:""}.bi-trello:before{content:""}.bi-envelope-at-fill:before{content:""}.bi-envelope-at:before{content:""}.bi-regex:before{content:""}.bi-text-wrap:before{content:""}.bi-sign-dead-end-fill:before{content:""}.bi-sign-dead-end:before{content:""}.bi-sign-do-not-enter-fill:before{content:""}.bi-sign-do-not-enter:before{content:""}.bi-sign-intersection-fill:before{content:""}.bi-sign-intersection-side-fill:before{content:""}.bi-sign-intersection-side:before{content:""}.bi-sign-intersection-t-fill:before{content:""}.bi-sign-intersection-t:before{content:""}.bi-sign-intersection-y-fill:before{content:""}.bi-sign-intersection-y:before{content:""}.bi-sign-intersection:before{content:""}.bi-sign-merge-left-fill:before{content:""}.bi-sign-merge-left:before{content:""}.bi-sign-merge-right-fill:before{content:""}.bi-sign-merge-right:before{content:""}.bi-sign-no-left-turn-fill:before{content:""}.bi-sign-no-left-turn:before{content:""}.bi-sign-no-parking-fill:before{content:""}.bi-sign-no-parking:before{content:""}.bi-sign-no-right-turn-fill:before{content:""}.bi-sign-no-right-turn:before{content:""}.bi-sign-railroad-fill:before{content:""}.bi-sign-railroad:before{content:""}.bi-building-add:before{content:""}.bi-building-check:before{content:""}.bi-building-dash:before{content:""}.bi-building-down:before{content:""}.bi-building-exclamation:before{content:""}.bi-building-fill-add:before{content:""}.bi-building-fill-check:before{content:""}.bi-building-fill-dash:before{content:""}.bi-building-fill-down:before{content:""}.bi-building-fill-exclamation:before{content:""}.bi-building-fill-gear:before{content:""}.bi-building-fill-lock:before{content:""}.bi-building-fill-slash:before{content:""}.bi-building-fill-up:before{content:""}.bi-building-fill-x:before{content:""}.bi-building-fill:before{content:""}.bi-building-gear:before{content:""}.bi-building-lock:before{content:""}.bi-building-slash:before{content:""}.bi-building-up:before{content:""}.bi-building-x:before{content:""}.bi-buildings-fill:before{content:""}.bi-buildings:before{content:""}.bi-bus-front-fill:before{content:""}.bi-bus-front:before{content:""}.bi-ev-front-fill:before{content:""}.bi-ev-front:before{content:""}.bi-globe-americas:before{content:""}.bi-globe-asia-australia:before{content:""}.bi-globe-central-south-asia:before{content:""}.bi-globe-europe-africa:before{content:""}.bi-house-add-fill:before{content:""}.bi-house-add:before{content:""}.bi-house-check-fill:before{content:""}.bi-house-check:before{content:""}.bi-house-dash-fill:before{content:""}.bi-house-dash:before{content:""}.bi-house-down-fill:before{content:""}.bi-house-down:before{content:""}.bi-house-exclamation-fill:before{content:""}.bi-house-exclamation:before{content:""}.bi-house-gear-fill:before{content:""}.bi-house-gear:before{content:""}.bi-house-lock-fill:before{content:""}.bi-house-lock:before{content:""}.bi-house-slash-fill:before{content:""}.bi-house-slash:before{content:""}.bi-house-up-fill:before{content:""}.bi-house-up:before{content:""}.bi-house-x-fill:before{content:""}.bi-house-x:before{content:""}.bi-person-add:before{content:""}.bi-person-down:before{content:""}.bi-person-exclamation:before{content:""}.bi-person-fill-add:before{content:""}.bi-person-fill-check:before{content:""}.bi-person-fill-dash:before{content:""}.bi-person-fill-down:before{content:""}.bi-person-fill-exclamation:before{content:""}.bi-person-fill-gear:before{content:""}.bi-person-fill-lock:before{content:""}.bi-person-fill-slash:before{content:""}.bi-person-fill-up:before{content:""}.bi-person-fill-x:before{content:""}.bi-person-gear:before{content:""}.bi-person-lock:before{content:""}.bi-person-slash:before{content:""}.bi-person-up:before{content:""}.bi-scooter:before{content:""}.bi-taxi-front-fill:before{content:""}.bi-taxi-front:before{content:""}.bi-amd:before{content:""}.bi-database-add:before{content:""}.bi-database-check:before{content:""}.bi-database-dash:before{content:""}.bi-database-down:before{content:""}.bi-database-exclamation:before{content:""}.bi-database-fill-add:before{content:""}.bi-database-fill-check:before{content:""}.bi-database-fill-dash:before{content:""}.bi-database-fill-down:before{content:""}.bi-database-fill-exclamation:before{content:""}.bi-database-fill-gear:before{content:""}.bi-database-fill-lock:before{content:""}.bi-database-fill-slash:before{content:""}.bi-database-fill-up:before{content:""}.bi-database-fill-x:before{content:""}.bi-database-fill:before{content:""}.bi-database-gear:before{content:""}.bi-database-lock:before{content:""}.bi-database-slash:before{content:""}.bi-database-up:before{content:""}.bi-database-x:before{content:""}.bi-database:before{content:""}.bi-houses-fill:before{content:""}.bi-houses:before{content:""}.bi-nvidia:before{content:""}.bi-person-vcard-fill:before{content:""}.bi-person-vcard:before{content:""}.bi-sina-weibo:before{content:""}.bi-tencent-qq:before{content:""}.bi-wikipedia:before{content:""}.bi-alphabet-uppercase:before{content:""}.bi-alphabet:before{content:""}.bi-amazon:before{content:""}.bi-arrows-collapse-vertical:before{content:""}.bi-arrows-expand-vertical:before{content:""}.bi-arrows-vertical:before{content:""}.bi-arrows:before{content:""}.bi-ban-fill:before{content:""}.bi-ban:before{content:""}.bi-bing:before{content:""}.bi-cake:before{content:""}.bi-cake2:before{content:""}.bi-cookie:before{content:""}.bi-copy:before{content:""}.bi-crosshair:before{content:""}.bi-crosshair2:before{content:""}.bi-emoji-astonished-fill:before{content:""}.bi-emoji-astonished:before{content:""}.bi-emoji-grimace-fill:before{content:""}.bi-emoji-grimace:before{content:""}.bi-emoji-grin-fill:before{content:""}.bi-emoji-grin:before{content:""}.bi-emoji-surprise-fill:before{content:""}.bi-emoji-surprise:before{content:""}.bi-emoji-tear-fill:before{content:""}.bi-emoji-tear:before{content:""}.bi-envelope-arrow-down-fill:before{content:""}.bi-envelope-arrow-down:before{content:""}.bi-envelope-arrow-up-fill:before{content:""}.bi-envelope-arrow-up:before{content:""}.bi-feather:before{content:""}.bi-feather2:before{content:""}.bi-floppy-fill:before{content:""}.bi-floppy:before{content:""}.bi-floppy2-fill:before{content:""}.bi-floppy2:before{content:""}.bi-gitlab:before{content:""}.bi-highlighter:before{content:""}.bi-marker-tip:before{content:""}.bi-nvme-fill:before{content:""}.bi-nvme:before{content:""}.bi-opencollective:before{content:""}.bi-pci-card-network:before{content:""}.bi-pci-card-sound:before{content:""}.bi-radar:before{content:""}.bi-send-arrow-down-fill:before{content:""}.bi-send-arrow-down:before{content:""}.bi-send-arrow-up-fill:before{content:""}.bi-send-arrow-up:before{content:""}.bi-sim-slash-fill:before{content:""}.bi-sim-slash:before{content:""}.bi-sourceforge:before{content:""}.bi-substack:before{content:""}.bi-threads-fill:before{content:""}.bi-threads:before{content:""}.bi-transparency:before{content:""}.bi-twitter-x:before{content:""}.bi-type-h4:before{content:""}.bi-type-h5:before{content:""}.bi-type-h6:before{content:""}.bi-backpack-fill:before{content:""}.bi-backpack:before{content:""}.bi-backpack2-fill:before{content:""}.bi-backpack2:before{content:""}.bi-backpack3-fill:before{content:""}.bi-backpack3:before{content:""}.bi-backpack4-fill:before{content:""}.bi-backpack4:before{content:""}.bi-brilliance:before{content:""}.bi-cake-fill:before{content:""}.bi-cake2-fill:before{content:""}.bi-duffle-fill:before{content:""}.bi-duffle:before{content:""}.bi-exposure:before{content:""}.bi-gender-neuter:before{content:""}.bi-highlights:before{content:""}.bi-luggage-fill:before{content:""}.bi-luggage:before{content:""}.bi-mailbox-flag:before{content:""}.bi-mailbox2-flag:before{content:""}.bi-noise-reduction:before{content:""}.bi-passport-fill:before{content:""}.bi-passport:before{content:""}.bi-person-arms-up:before{content:""}.bi-person-raised-hand:before{content:""}.bi-person-standing-dress:before{content:""}.bi-person-standing:before{content:""}.bi-person-walking:before{content:""}.bi-person-wheelchair:before{content:""}.bi-shadows:before{content:""}.bi-suitcase-fill:before{content:""}.bi-suitcase-lg-fill:before{content:""}.bi-suitcase-lg:before{content:""}.bi-suitcase:before{content:"豈"}.bi-suitcase2-fill:before{content:"更"}.bi-suitcase2:before{content:"車"}.bi-vignette:before{content:"賈"}:root{--animate-duration:1s;--animate-delay:1s;--animate-repeat:1}.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animated.repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat)*2);animation-iteration-count:calc(var(--animate-repeat)*2)}.animated.repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat)*3);animation-iteration-count:calc(var(--animate-repeat)*3)}.animated.delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animated.delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay)*2);animation-delay:calc(var(--animate-delay)*2)}.animated.delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay)*3);animation-delay:calc(var(--animate-delay)*3)}.animated.delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay)*4);animation-delay:calc(var(--animate-delay)*4)}.animated.delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay)*5);animation-delay:calc(var(--animate-delay)*5)}.animated.faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration)/2);animation-duration:calc(var(--animate-duration)/2)}.animated.fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration)*.8);animation-duration:calc(var(--animate-duration)*.8)}.animated.slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration)*2);animation-duration:calc(var(--animate-duration)*2)}.animated.slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration)*3);animation-duration:calc(var(--animate-duration)*3)}@media (prefers-reduced-motion:reduce),print{.animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}.headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0)}}.swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}.heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration)*1.3);animation-duration:calc(var(--animate-duration)*1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}.bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}.bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:bounceOut;animation-name:bounceOut}.bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}.bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}.bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}.bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}.fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}.fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}.fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}.fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}.fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}.fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}.fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}.fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}.fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}.lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}.lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}.rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}.rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}.rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}.rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}.rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration)*2);animation-duration:calc(var(--animate-duration)*2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}.jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}.rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}.zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}.zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}.zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}.zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}.zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}.zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}.zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}.zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}.dp__input_wrap{position:relative;width:100%;box-sizing:unset}.dp__input_wrap:focus{border-color:var(--dp-border-color-hover);outline:none}.dp__input_valid{box-shadow:0 0 var(--dp-border-radius) var(--dp-success-color);border-color:var(--dp-success-color)}.dp__input_valid:hover{border-color:var(--dp-success-color)}.dp__input_invalid{box-shadow:0 0 var(--dp-border-radius) var(--dp-danger-color);border-color:var(--dp-danger-color)}.dp__input_invalid:hover{border-color:var(--dp-danger-color)}.dp__input{background-color:var(--dp-background-color);border-radius:var(--dp-border-radius);font-family:var(--dp-font-family);border:1px solid var(--dp-border-color);outline:none;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%;font-size:var(--dp-font-size);line-height:calc(var(--dp-font-size)*1.5);padding:var(--dp-input-padding);color:var(--dp-text-color);box-sizing:border-box}.dp__input::placeholder{opacity:.7}.dp__input:hover:not(.dp__input_focus){border-color:var(--dp-border-color-hover)}.dp__input_reg{caret-color:#0000}.dp__input_focus{border-color:var(--dp-border-color-focus)}.dp__disabled{background:var(--dp-disabled-color)}.dp__disabled::placeholder{color:var(--dp-disabled-color-text)}.dp__input_icons{display:inline-block;width:var(--dp-font-size);height:var(--dp-font-size);stroke-width:0;font-size:var(--dp-font-size);line-height:calc(var(--dp-font-size)*1.5);padding:6px 12px;color:var(--dp-icon-color);box-sizing:content-box}.dp__input_icon{cursor:pointer;position:absolute;top:50%;inset-inline-start:0;transform:translateY(-50%);color:var(--dp-icon-color)}.dp--clear-btn{position:absolute;top:50%;inset-inline-end:0;transform:translateY(-50%);cursor:pointer;color:var(--dp-icon-color);background:#0000;border:none;display:inline-flex;align-items:center;padding:0;margin:0}.dp__input_icon_pad{padding-inline-start:var(--dp-input-icon-padding)}.dp__menu{background:var(--dp-background-color);border-radius:var(--dp-border-radius);min-width:var(--dp-menu-min-width);font-family:var(--dp-font-family);font-size:var(--dp-font-size);user-select:none;border:1px solid var(--dp-menu-border-color);box-sizing:border-box}.dp__menu:after{box-sizing:border-box}.dp__menu:before{box-sizing:border-box}.dp__menu:focus{border:1px solid var(--dp-menu-border-color);outline:none}.dp--menu-wrapper{position:absolute;z-index:99999}.dp__menu_inner{padding:var(--dp-menu-padding)}.dp--menu--inner-stretched{padding:6px 0}.dp__menu_index{z-index:99999}.dp-menu-loading,.dp__menu_readonly,.dp__menu_disabled{position:absolute;inset:0;z-index:999999}.dp__menu_disabled{background:#ffffff80;cursor:not-allowed}.dp__menu_readonly{background:#0000;cursor:default}.dp-menu-loading{background:#ffffff80;cursor:default}.dp--menu-load-container{display:flex;height:100%;width:100%;justify-content:center;align-items:center}.dp--menu-loader{width:48px;height:48px;border:var(--dp-loader);border-bottom-color:#0000;border-radius:50%;display:inline-block;box-sizing:border-box;animation:dp-load-rotation 1s linear infinite;position:absolute}@keyframes dp-load-rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dp__arrow_top{left:var(--dp-arrow-left);top:0;height:12px;width:12px;background-color:var(--dp-background-color);position:absolute;border-inline-end:1px solid var(--dp-menu-border-color);border-top:1px solid var(--dp-menu-border-color);transform:translate(-50%,-50%) rotate(-45deg)}.dp__arrow_bottom{left:var(--dp-arrow-left);bottom:0;height:12px;width:12px;background-color:var(--dp-background-color);position:absolute;border-inline-end:1px solid var(--dp-menu-border-color);border-bottom:1px solid var(--dp-menu-border-color);transform:translate(-50%,50%) rotate(45deg)}.dp__action_extra{text-align:center;padding:2px 0}.dp--preset-dates{padding:5px;border-inline-end:1px solid var(--dp-border-color)}@media only screen and (width <= 600px){.dp--preset-dates{display:flex;align-self:center;border:none;overflow-x:auto;max-width:calc(var(--dp-menu-width) - var(--dp-action-row-padding)*2)}}.dp--preset-dates-collapsed{display:flex;align-self:center;border:none;overflow-x:auto;max-width:calc(var(--dp-menu-width) - var(--dp-action-row-padding)*2)}.dp__sidebar_left{padding:5px;border-inline-end:1px solid var(--dp-border-color)}.dp__sidebar_right{padding:5px;margin-inline-end:1px solid var(--dp-border-color)}.dp--preset-range{display:block;width:100%;padding:5px;text-align:left;white-space:nowrap;color:var(--dp-text-color);border-radius:var(--dp-border-radius);transition:var(--dp-common-transition)}.dp--preset-range:hover{background-color:var(--dp-hover-color);color:var(--dp-hover-text-color);cursor:pointer}@media only screen and (width <= 600px){.dp--preset-range{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range:first-child{margin-left:0}.dp--preset-range:last-child{margin-right:0}}.dp--preset-range-collapsed{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range-collapsed:first-child{margin-left:0}.dp--preset-range-collapsed:last-child{margin-right:0}.dp__menu_content_wrapper{display:flex}@media only screen and (width <= 600px){.dp__menu_content_wrapper{flex-direction:column-reverse}}.dp--menu-content-wrapper-collapsed{flex-direction:column-reverse}.dp__calendar_header{position:relative;display:flex;justify-content:center;align-items:center;color:var(--dp-text-color);white-space:nowrap;font-weight:700}.dp__calendar_header_item{text-align:center;flex-grow:1;height:var(--dp-cell-size);padding:var(--dp-cell-padding);width:var(--dp-cell-size);box-sizing:border-box}.dp__calendar_row{display:flex;justify-content:center;align-items:center;margin:var(--dp-row-margin)}.dp__calendar_item{text-align:center;flex-grow:1;box-sizing:border-box;color:var(--dp-text-color)}.dp__calendar{position:relative}.dp__calendar_header_cell{border-bottom:thin solid var(--dp-border-color);padding:var(--dp-calendar-header-cell-padding)}.dp__cell_inner{display:flex;align-items:center;text-align:center;justify-content:center;border-radius:var(--dp-cell-border-radius);height:var(--dp-cell-size);padding:var(--dp-cell-padding);width:var(--dp-cell-size);border:1px solid rgba(0,0,0,0);box-sizing:border-box;position:relative}.dp__cell_inner:hover{transition:all .2s}.dp__cell_auto_range_start,.dp__date_hover_start:hover,.dp__range_start{border-end-end-radius:0;border-start-end-radius:0}.dp__cell_auto_range_end,.dp__date_hover_end:hover,.dp__range_end{border-end-start-radius:0;border-start-start-radius:0}.dp__range_end,.dp__range_start,.dp__active_date{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__date_hover_end:hover,.dp__date_hover_start:hover,.dp__date_hover:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__cell_offset{color:var(--dp-secondary-color)}.dp__cell_disabled{color:var(--dp-secondary-color);cursor:not-allowed}.dp__range_between{background:var(--dp-range-between-dates-background-color);color:var(--dp-range-between-dates-text-color);border-radius:0;border:1px solid var(--dp-range-between-border-color)}.dp__range_between_week{background:var(--dp-primary-color);color:var(--dp-primary-text-color);border-radius:0;border-top:1px solid var(--dp-primary-color);border-bottom:1px solid var(--dp-primary-color)}.dp__today{border:1px solid var(--dp-primary-color)}.dp__week_num{color:var(--dp-secondary-color);text-align:center}.dp__cell_auto_range{border-radius:0;border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color)}.dp__cell_auto_range_start{border-start-start-radius:var(--dp-cell-border-radius);border-end-start-radius:var(--dp-cell-border-radius);border-inline-start:1px dashed var(--dp-primary-color);border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color)}.dp__cell_auto_range_end{border-start-end-radius:var(--dp-cell-border-radius);border-end-end-radius:var(--dp-cell-border-radius);border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color);border-inline-end:1px dashed var(--dp-primary-color)}.dp__calendar_header_separator{width:100%;height:1px;background:var(--dp-border-color)}.dp__calendar_next{margin-inline-start:var(--dp-multi-calendars-spacing)}.dp__marker_line,.dp__marker_dot{height:5px;background-color:var(--dp-marker-color);position:absolute;bottom:0}.dp__marker_dot{width:5px;border-radius:50%;left:50%;transform:translate(-50%)}.dp__marker_line{width:100%;left:0}.dp__marker_tooltip{position:absolute;border-radius:var(--dp-border-radius);background-color:var(--dp-tooltip-color);padding:5px;border:1px solid var(--dp-border-color);z-index:99999;box-sizing:border-box;cursor:default}.dp__tooltip_content{white-space:nowrap}.dp__tooltip_text{display:flex;align-items:center;flex-flow:row nowrap;color:var(--dp-text-color)}.dp__tooltip_mark{height:5px;width:5px;border-radius:50%;background-color:var(--dp-text-color);color:var(--dp-text-color);margin-inline-end:5px}.dp__arrow_bottom_tp{bottom:0;height:8px;width:8px;background-color:var(--dp-tooltip-color);position:absolute;border-inline-end:1px solid var(--dp-border-color);border-bottom:1px solid var(--dp-border-color);transform:translate(-50%,50%) rotate(45deg)}.dp__instance_calendar{position:relative;width:100%}@media only screen and (width <= 600px){.dp__flex_display{flex-direction:column}}.dp--flex-display-collapsed{flex-direction:column}.dp__cell_highlight{background-color:var(--dp-highlight-color)}.dp__month_year_row{display:flex;align-items:center;height:var(--dp-month-year-row-height);color:var(--dp-text-color);box-sizing:border-box}.dp__inner_nav{display:flex;align-items:center;justify-content:center;cursor:pointer;height:var(--dp-month-year-row-button-size);width:var(--dp-month-year-row-button-size);color:var(--dp-icon-color);text-align:center;border-radius:50%}.dp__inner_nav svg{height:var(--dp-button-icon-height);width:var(--dp-button-icon-height)}.dp__inner_nav:hover{background:var(--dp-hover-color);color:var(--dp-hover-icon-color)}[dir=rtl] .dp__inner_nav{transform:rotate(180deg)}.dp__inner_nav_disabled:hover,.dp__inner_nav_disabled{background:var(--dp-disabled-color);color:var(--dp-disabled-color-text);cursor:not-allowed}.dp--year-select,.dp__month_year_select{text-align:center;cursor:pointer;height:var(--dp-month-year-row-height);display:flex;align-items:center;justify-content:center;border-radius:var(--dp-border-radius);box-sizing:border-box;color:var(--dp-text-color)}.dp--year-select:hover,.dp__month_year_select:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp__month_year_select{width:50%}.dp--year-select{width:100%}.dp__month_year_wrap{display:flex;flex-direction:row;width:100%}.dp__year_disable_select{justify-content:space-around}.dp--header-wrap{display:flex;width:100%;flex-direction:column}.dp__overlay{width:100%;background:var(--dp-background-color);transition:opacity 1s ease-out;z-index:99999;font-family:var(--dp-font-family);color:var(--dp-text-color);box-sizing:border-box}.dp--overlay-absolute{position:absolute;height:100%;top:0;left:0}.dp--overlay-relative{position:relative}.dp__overlay_container::-webkit-scrollbar-track{box-shadow:var(--dp-scroll-bar-background);background-color:var(--dp-scroll-bar-background)}.dp__overlay_container::-webkit-scrollbar{width:5px;background-color:var(--dp-scroll-bar-background)}.dp__overlay_container::-webkit-scrollbar-thumb{background-color:var(--dp-scroll-bar-color);border-radius:10px}.dp__overlay:focus{border:none;outline:none}.dp__container_flex{display:flex}.dp__container_block{display:block}.dp__overlay_container{flex-direction:column;overflow-y:auto;height:var(--dp-overlay-height)}.dp__time_picker_overlay_container{height:100%}.dp__overlay_row{padding:0;box-sizing:border-box;display:flex;margin-inline:auto auto;flex-wrap:wrap;max-width:100%;width:100%;align-items:center}.dp__flex_row{flex:1}.dp__overlay_col{box-sizing:border-box;width:33%;padding:var(--dp-overlay-col-padding);white-space:nowrap}.dp__overlay_cell_pad{padding:var(--dp-common-padding) 0}.dp__overlay_cell_active{cursor:pointer;border-radius:var(--dp-border-radius);text-align:center;background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__overlay_cell{cursor:pointer;border-radius:var(--dp-border-radius);text-align:center}.dp__overlay_cell:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp__cell_in_between{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__over_action_scroll{right:5px;box-sizing:border-box}.dp__overlay_cell_disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp__overlay_cell_disabled:hover{background:var(--dp-disabled-color)}.dp__overlay_cell_active_disabled{cursor:not-allowed;background:var(--dp-primary-disabled-color)}.dp__overlay_cell_active_disabled:hover{background:var(--dp-primary-disabled-color)}.dp__btn,.dp--qr-btn,.dp--time-invalid,.dp--time-overlay-btn{border:none;font:inherit;transition:var(--dp-common-transition);line-height:normal}.dp--tp-wrap{max-width:var(--dp-menu-min-width)}.dp__time_input{width:100%;display:flex;align-items:center;justify-content:center;user-select:none;font-family:var(--dp-font-family);color:var(--dp-text-color)}.dp__time_col_reg_block{padding:0 20px}.dp__time_col_reg_inline{padding:0 10px}.dp__time_col_reg_with_button{padding:0 15px}.dp__time_col_sec{padding:0 10px}.dp__time_col_sec_with_button{padding:0 5px}.dp__time_col{text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.dp__time_col_block{font-size:var(--dp-time-font-size)}.dp__time_display_block{padding:0 3px}.dp__time_display_inline{padding:5px}.dp__time_picker_inline_container{display:flex;width:100%;justify-content:center}.dp__inc_dec_button{padding:5px;margin:0;height:var(--dp-time-inc-dec-button-size);width:var(--dp-time-inc-dec-button-size);display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%;color:var(--dp-icon-color);box-sizing:border-box}.dp__inc_dec_button svg{height:var(--dp-time-inc-dec-button-size);width:var(--dp-time-inc-dec-button-size)}.dp__inc_dec_button:hover{background:var(--dp-hover-color);color:var(--dp-primary-color)}.dp__time_display{cursor:pointer;color:var(--dp-text-color);border-radius:var(--dp-border-radius);display:flex;align-items:center;justify-content:center}.dp__time_display:hover:enabled{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__inc_dec_button_inline{width:100%;padding:0;height:8px;cursor:pointer;display:flex;align-items:center}.dp__inc_dec_button_disabled,.dp__inc_dec_button_disabled:hover{background:var(--dp-disabled-color);color:var(--dp-disabled-color-text);cursor:not-allowed}.dp__pm_am_button{background:var(--dp-primary-color);color:var(--dp-primary-text-color);border:none;padding:var(--dp-common-padding);border-radius:var(--dp-border-radius);cursor:pointer}.dp__tp_inline_btn_bar{width:100%;height:4px;background-color:var(--dp-secondary-color);transition:var(--dp-common-transition);border-collapse:collapse}.dp__tp_inline_btn_top:hover .dp__tp_btn_in_r{background-color:var(--dp-primary-color);transform:rotate(12deg) scale(1.15) translateY(-2px)}.dp__tp_inline_btn_top:hover .dp__tp_btn_in_l,.dp__tp_inline_btn_bottom:hover .dp__tp_btn_in_r{background-color:var(--dp-primary-color);transform:rotate(-12deg) scale(1.15) translateY(-2px)}.dp__tp_inline_btn_bottom:hover .dp__tp_btn_in_l{background-color:var(--dp-primary-color);transform:rotate(12deg) scale(1.15) translateY(-2px)}.dp--time-overlay-btn{background:none}.dp--time-invalid{background-color:var(--dp-disabled-color)}.dp__action_row{display:flex;align-items:center;width:100%;padding:var(--dp-action-row-padding);box-sizing:border-box;color:var(--dp-text-color);flex-flow:row nowrap}.dp__action_row svg{height:var(--dp-button-icon-height);width:auto}.dp__selection_preview{display:block;color:var(--dp-text-color);font-size:var(--dp-preview-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dp__action_buttons{display:flex;flex:0;white-space:nowrap;align-items:center;justify-content:flex-end;margin-inline-start:auto}.dp__action_button{display:inline-flex;align-items:center;background:#0000;border:1px solid rgba(0,0,0,0);padding:var(--dp-action-buttons-padding);line-height:var(--dp-action-button-height);margin-inline-start:3px;height:var(--dp-action-button-height);cursor:pointer;border-radius:var(--dp-border-radius);font-size:var(--dp-preview-font-size);font-family:var(--dp-font-family)}.dp__action_cancel{color:var(--dp-text-color);border:1px solid var(--dp-border-color)}.dp__action_cancel:hover{border-color:var(--dp-primary-color);transition:var(--dp-action-row-transtion)}.dp__action_buttons .dp__action_select{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__action_buttons .dp__action_select:hover{background:var(--dp-primary-color);transition:var(--dp-action-row-transtion)}.dp__action_buttons .dp__action_select:disabled{background:var(--dp-primary-disabled-color);cursor:not-allowed}.dp-quarter-picker-wrap{display:flex;flex-direction:column;height:100%;min-width:var(--dp-menu-min-width)}.dp--qr-btn-disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp--qr-btn-disabled:hover{background:var(--dp-disabled-color)}.dp--qr-btn{width:100%;padding:var(--dp-common-padding)}.dp--qr-btn:not(.dp--highlighted,.dp--qr-btn-active,.dp--qr-btn-disabled,.dp--qr-btn-between){background:none}.dp--qr-btn:hover:not(.dp--qr-btn-active,.dp--qr-btn-disabled){background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp--quarter-items{display:flex;flex-direction:column;flex:1;width:100%;height:100%;justify-content:space-evenly}.dp--qr-btn-active{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp--qr-btn-between{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__btn,.dp--time-overlay-btn,.dp--time-invalid,.dp--qr-btn{border:none;font:inherit;transition:var(--dp-common-transition);line-height:normal}.dp--year-mode-picker{display:flex;width:100%;align-items:center;justify-content:space-between;height:var(--dp-cell-size)}:root{--dp-common-transition: all .1s ease-in;--dp-menu-padding: 6px 8px;--dp-animation-duration: .1s;--dp-menu-appear-transition-timing: cubic-bezier(.4, 0, 1, 1);--dp-transition-timing: ease-out;--dp-action-row-transtion: all .2s ease-in;--dp-font-family: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Open Sans", "Helvetica Neue", sans-serif;--dp-border-radius: 4px;--dp-cell-border-radius: 4px;--dp-transition-length: 22px;--dp-transition-timing-general: .1s;--dp-button-height: 35px;--dp-month-year-row-height: 35px;--dp-month-year-row-button-size: 25px;--dp-button-icon-height: 20px;--dp-calendar-wrap-padding: 0 5px;--dp-cell-size: 35px;--dp-cell-padding: 5px;--dp-common-padding: 10px;--dp-input-icon-padding: 35px;--dp-input-padding: 6px 30px 6px 12px;--dp-menu-min-width: 260px;--dp-action-buttons-padding: 1px 6px;--dp-row-margin: 5px 0;--dp-calendar-header-cell-padding: .5rem;--dp-multi-calendars-spacing: 10px;--dp-overlay-col-padding: 3px;--dp-time-inc-dec-button-size: 32px;--dp-font-size: 1rem;--dp-preview-font-size: .8rem;--dp-time-font-size: 2rem;--dp-action-button-height: 22px;--dp-action-row-padding: 8px;--dp-direction: ltr}.dp__theme_dark{--dp-background-color: #212121;--dp-text-color: #fff;--dp-hover-color: #484848;--dp-hover-text-color: #fff;--dp-hover-icon-color: #959595;--dp-primary-color: #005cb2;--dp-primary-disabled-color: #61a8ea;--dp-primary-text-color: #fff;--dp-secondary-color: #a9a9a9;--dp-border-color: #2d2d2d;--dp-menu-border-color: #2d2d2d;--dp-border-color-hover: #aaaeb7;--dp-border-color-focus: #aaaeb7;--dp-disabled-color: #737373;--dp-disabled-color-text: #d0d0d0;--dp-scroll-bar-background: #212121;--dp-scroll-bar-color: #484848;--dp-success-color: #00701a;--dp-success-color-disabled: #428f59;--dp-icon-color: #959595;--dp-danger-color: #e53935;--dp-marker-color: #e53935;--dp-tooltip-color: #3e3e3e;--dp-highlight-color: rgb(0 92 178 / 20%);--dp-range-between-dates-background-color: var(--dp-hover-color, #484848);--dp-range-between-dates-text-color: var(--dp-hover-text-color, #fff);--dp-range-between-border-color: var(--dp-hover-color, #fff);--dp-loader: 5px solid #005cb2}.dp__theme_light{--dp-background-color: #fff;--dp-text-color: #212121;--dp-hover-color: #f3f3f3;--dp-hover-text-color: #212121;--dp-hover-icon-color: #959595;--dp-primary-color: #1976d2;--dp-primary-disabled-color: #6bacea;--dp-primary-text-color: #fff;--dp-secondary-color: #c0c4cc;--dp-border-color: #ddd;--dp-menu-border-color: #ddd;--dp-border-color-hover: #aaaeb7;--dp-border-color-focus: #aaaeb7;--dp-disabled-color: #f6f6f6;--dp-scroll-bar-background: #f3f3f3;--dp-scroll-bar-color: #959595;--dp-success-color: #76d275;--dp-success-color-disabled: #a3d9b1;--dp-icon-color: #959595;--dp-danger-color: #ff6f60;--dp-marker-color: #ff6f60;--dp-tooltip-color: #fafafa;--dp-disabled-color-text: #8e8e8e;--dp-highlight-color: rgb(25 118 210 / 10%);--dp-range-between-dates-background-color: var(--dp-hover-color, #f3f3f3);--dp-range-between-dates-text-color: var(--dp-hover-text-color, #212121);--dp-range-between-border-color: var(--dp-hover-color, #f3f3f3);--dp-loader: 5px solid #1976d2}.dp__flex{display:flex;align-items:center}.dp__btn{background:none}.dp__main{font-family:var(--dp-font-family);user-select:none;box-sizing:border-box;position:relative;width:100%}.dp__main *{direction:var(--dp-direction, ltr)}.dp__pointer{cursor:pointer}.dp__icon{stroke:currentcolor;fill:currentcolor}.dp__button{width:100%;text-align:center;color:var(--dp-icon-color);cursor:pointer;display:flex;align-items:center;place-content:center center;padding:var(--dp-common-padding);box-sizing:border-box;height:var(--dp-button-height)}.dp__button.dp__overlay_action{position:absolute;bottom:0}.dp__button:hover{background:var(--dp-hover-color);color:var(--dp-hover-icon-color)}.dp__button svg{height:var(--dp-button-icon-height);width:auto}.dp__button_bottom{border-bottom-left-radius:var(--dp-border-radius);border-bottom-right-radius:var(--dp-border-radius)}.dp__flex_display{display:flex}.dp__flex_display_with_input{flex-direction:column;align-items:flex-start}.dp__relative{position:relative}.calendar-next-enter-active,.calendar-next-leave-active,.calendar-prev-enter-active,.calendar-prev-leave-active{transition:all var(--dp-transition-timing-general) ease-out}.calendar-next-enter-from{opacity:0;transform:translate(var(--dp-transition-length))}.calendar-next-leave-to,.calendar-prev-enter-from{opacity:0;transform:translate(calc(var(--dp-transition-length) * -1))}.calendar-prev-leave-to{opacity:0;transform:translate(var(--dp-transition-length))}.dp-menu-appear-bottom-enter-active,.dp-menu-appear-bottom-leave-active,.dp-menu-appear-top-enter-active,.dp-menu-appear-top-leave-active,.dp-slide-up-enter-active,.dp-slide-up-leave-active,.dp-slide-down-enter-active,.dp-slide-down-leave-active{transition:all var(--dp-animation-duration) var(--dp-transition-timing)}.dp-menu-appear-top-enter-from,.dp-menu-appear-top-leave-to,.dp-slide-down-leave-to,.dp-slide-up-enter-from{opacity:0;transform:translateY(var(--dp-transition-length))}.dp-menu-appear-bottom-enter-from,.dp-menu-appear-bottom-leave-to,.dp-slide-down-enter-from,.dp-slide-up-leave-to{opacity:0;transform:translateY(calc(var(--dp-transition-length) * -1))}.dp--arrow-btn-nav{transition:var(--dp-common-transition)}.dp--highlighted{background-color:var(--dp-highlight-color)}.dp--hidden-el{visibility:hidden}@media screen and (max-width: 768px){.navbar-container[data-v-c16dfe93]{position:absolute;z-index:1000;animation-duration:.4s;animation-fill-mode:both;display:none;animation-timing-function:cubic-bezier(.82,.58,.17,.9)}.navbar-container.active[data-v-c16dfe93]{animation-direction:normal;display:block!important;animation-name:zoomInFade-c16dfe93}}@keyframes zoomInFade-c16dfe93{0%{opacity:0;transform:translateY(60px);filter:blur(3px)}to{opacity:1;transform:translateY(0);filter:blur(0px)}}.messageCentre[data-v-b776d181]{top:calc(50px + 1rem);right:1rem}.dot.inactive[data-v-ed7817c7]{background-color:#dc3545;box-shadow:0 0 0 .2rem #dc354545}.spin[data-v-ed7817c7]{animation:spin-ed7817c7 1s infinite cubic-bezier(.82,.58,.17,.9)}@keyframes spin-ed7817c7{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media screen and (max-width: 768px){.remoteServerContainer[data-v-ed7817c7]{flex-direction:column}.remoteServerContainer .button-group button[data-v-ed7817c7]{width:100%}}@media screen and (max-width: 768px){.login-box[data-v-2fa13e60]{width:100%!important}.login-box div[data-v-2fa13e60]{width:auto!important}}@media screen and (max-width: 768px){.configurationListTitle[data-v-106e7dee]{flex-direction:column;gap:.5rem;h3 span[data-v-106e7dee]{margin-left:auto!important}.btn[data-v-106e7dee]{width:100%}}}@media screen and (max-width: 992px){.apiKey-card-body[data-v-a76253c8]{flex-direction:column!important;align-items:start!important;div.ms-auto[data-v-a76253c8]{margin-left:0!important}div[data-v-a76253c8]{width:100%;align-items:start!important}small[data-v-a76253c8]{margin-right:auto}}}.apiKey-move[data-v-167c06a6],.apiKey-enter-active[data-v-167c06a6],.apiKey-leave-active[data-v-167c06a6]{transition:all .5s ease}.apiKey-enter-from[data-v-167c06a6],.apiKey-leave-to[data-v-167c06a6]{opacity:0;transform:translateY(30px) scale(.9)}.apiKey-leave-active[data-v-167c06a6]{position:absolute;width:100%}.animation__fadeInDropdown[data-v-c8fa0b7d]{animation-name:fadeInDropdown-c8fa0b7d;animation-duration:.2s;animation-timing-function:cubic-bezier(.82,.58,.17,.9)}@keyframes fadeInDropdown-c8fa0b7d{0%{opacity:0;filter:blur(3px);transform:translateY(-60px)}to{opacity:1;filter:blur(0px);transform:translateY(-40px)}}.displayModal .dashboardModal[data-v-c8fa0b7d]{width:400px!important}@media screen and (max-width: 768px){.peerSearchContainer[data-v-c8fa0b7d]{flex-direction:column}.peerSettingContainer .dashboardModal[data-v-c8fa0b7d]{width:100%!important}}/*! * animate.css - https://animate.style/ * Version - 4.1.1 * Licensed under the MIT license - http://opensource.org/licenses/MIT * * Copyright (c) 2020 Animate.css - */:root{--animate-duration: 1s;--animate-delay: 1s;--animate-repeat: 1}.animate__animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animate__animated.animate__infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animate__animated.animate__repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animate__animated.animate__repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 2);animation-iteration-count:calc(var(--animate-repeat) * 2)}.animate__animated.animate__repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 3);animation-iteration-count:calc(var(--animate-repeat) * 3)}.animate__animated.animate__delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animate__animated.animate__delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay) * 2);animation-delay:calc(var(--animate-delay) * 2)}.animate__animated.animate__delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay) * 3);animation-delay:calc(var(--animate-delay) * 3)}.animate__animated.animate__delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay) * 4);animation-delay:calc(var(--animate-delay) * 4)}.animate__animated.animate__delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay) * 5);animation-delay:calc(var(--animate-delay) * 5)}.animate__animated.animate__faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration) / 2);animation-duration:calc(var(--animate-duration) / 2)}.animate__animated.animate__fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration) * .8);animation-duration:calc(var(--animate-duration) * .8)}.animate__animated.animate__slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2)}.animate__animated.animate__slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration) * 3);animation-duration:calc(var(--animate-duration) * 3)}@media print,(prefers-reduced-motion: reduce){.animate__animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animate__animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.animate__bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.animate__flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.animate__shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.animate__shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}@-webkit-keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}.animate__headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}.animate__swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.animate__jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}.animate__heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration) * 1.3);animation-duration:calc(var(--animate-duration) * 1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.animate__backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.animate__backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.animate__backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.animate__backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.animate__bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceOut;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}.animate__bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}.animate__bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}.animate__bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}.animate__bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.animate__fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.animate__fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.animate__fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.animate__fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.animate__fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.animate__fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.animate__fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.animate__fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.animate__fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.animate__fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animate__animated.animate__flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.animate__flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.animate__flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}.animate__lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}.animate__lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.animate__rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}.animate__rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.animate__rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.animate__hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}@-webkit-keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate__jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.animate__rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.animate__zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.animate__zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}.animate__zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}.animate__zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}.dropdown-menu[data-v-772e5b77]{right:1rem;min-width:200px}.dropdown-item.disabled[data-v-772e5b77],.dropdown-item[data-v-772e5b77]:disabled{opacity:.7}.slide-fade-leave-active[data-v-f311ec95],.slide-fade-enter-active[data-v-f311ec95]{transition:all .2s cubic-bezier(.82,.58,.17,.9)}.slide-fade-enter-from[data-v-f311ec95],.slide-fade-leave-to[data-v-f311ec95]{transform:translateY(20px);opacity:0;filter:blur(3px)}.subMenuBtn.active[data-v-f311ec95]{background-color:#ffffff20}.peerCard[data-v-f311ec95]{transition:box-shadow .1s cubic-bezier(.82,.58,.17,.9)}.peerCard[data-v-f311ec95]:hover{box-shadow:var(--bs-box-shadow)!important}.toggleShowKey[data-v-5c34b056]{position:absolute;top:35px;right:12px}.list-move[data-v-f69c864a],.list-enter-active[data-v-f69c864a],.list-leave-active[data-v-f69c864a]{transition:all .3s ease}.list-enter-from[data-v-f69c864a],.list-leave-to[data-v-f69c864a]{opacity:0;transform:translateY(10px)}.list-leave-active[data-v-f69c864a]{position:absolute}.peerSettingContainer[data-v-7d433383]{background-color:#00000060;z-index:9998}div[data-v-7d433383]{transition:.2s ease-in-out}.inactiveField[data-v-7d433383]{opacity:.4}.card[data-v-7d433383]{max-height:100%}.btn.disabled[data-v-6a5aba2a]{opacity:1;background-color:#0d6efd17;border-color:transparent}[data-v-811b149e]{font-size:.875rem}input[data-v-811b149e]{padding:.1rem .4rem}input[data-v-811b149e]:disabled{border-color:transparent;background-color:#0d6efd17;color:#0d6efd}.dp__main[data-v-811b149e]{width:auto;flex-grow:1;--dp-input-padding: 2.5px 30px 2.5px 12px;--dp-border-radius: .5rem}.schedulePeerJobTransition-move[data-v-31a1606a],.schedulePeerJobTransition-enter-active[data-v-31a1606a],.schedulePeerJobTransition-leave-active[data-v-31a1606a]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.schedulePeerJobTransition-enter-from[data-v-31a1606a],.schedulePeerJobTransition-leave-to[data-v-31a1606a]{opacity:0;transform:scale(.9)}.schedulePeerJobTransition-leave-active[data-v-31a1606a]{position:absolute;width:100%}.peerNav .nav-link[data-v-0de09f6d]{&.active[data-v-0de09f6d]{//background: linear-gradient(var(--degree),var(--brandColor1) var(--distance2),var(--brandColor2) 100%);//color: white;background-color:#efefef}}.pingPlaceholder[data-v-7b32cdf7]{width:100%;height:79.98px}.ping-move[data-v-7b32cdf7],.ping-enter-active[data-v-7b32cdf7],.ping-leave-active[data-v-7b32cdf7]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.ping-enter-from[data-v-7b32cdf7],.ping-leave-to[data-v-7b32cdf7]{opacity:0;//transform: scale(.9)}.ping-leave-active[data-v-7b32cdf7]{position:absolute}.pingPlaceholder[data-v-606c2c93]{width:100%;height:40px}.ping-move[data-v-606c2c93],.ping-enter-active[data-v-606c2c93],.ping-leave-active[data-v-606c2c93]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.ping-enter-from[data-v-606c2c93],.ping-leave-to[data-v-606c2c93]{opacity:0;//transform: scale(.9)}.ping-leave-active[data-v-606c2c93]{position:absolute}table th[data-v-606c2c93],table td[data-v-606c2c93]{padding:.9rem}table tbody[data-v-606c2c93]{border-top:1em solid transparent}.table[data-v-606c2c93]>:not(caption)>*>*{background-color:transparent!important}.animate__fadeInUp[data-v-99d4b06a]{animation-timing-function:cubic-bezier(.42,0,.22,1)}.app-enter-active[data-v-822f113b],.app-leave-active[data-v-822f113b]{transition:all .3s cubic-bezier(.82,.58,.17,.9)}.app-enter-from[data-v-822f113b]{transform:translateY(20px);opacity:0}.app-leave-to[data-v-822f113b]{transform:translateY(-20px);opacity:0}@media screen and (min-width: 768px){.navbarBtn[data-v-822f113b]{display:none}} + */:root{--animate-duration: 1s;--animate-delay: 1s;--animate-repeat: 1}.animate__animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animate__animated.animate__infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animate__animated.animate__repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animate__animated.animate__repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 2);animation-iteration-count:calc(var(--animate-repeat) * 2)}.animate__animated.animate__repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 3);animation-iteration-count:calc(var(--animate-repeat) * 3)}.animate__animated.animate__delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animate__animated.animate__delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay) * 2);animation-delay:calc(var(--animate-delay) * 2)}.animate__animated.animate__delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay) * 3);animation-delay:calc(var(--animate-delay) * 3)}.animate__animated.animate__delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay) * 4);animation-delay:calc(var(--animate-delay) * 4)}.animate__animated.animate__delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay) * 5);animation-delay:calc(var(--animate-delay) * 5)}.animate__animated.animate__faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration) / 2);animation-duration:calc(var(--animate-duration) / 2)}.animate__animated.animate__fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration) * .8);animation-duration:calc(var(--animate-duration) * .8)}.animate__animated.animate__slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2)}.animate__animated.animate__slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration) * 3);animation-duration:calc(var(--animate-duration) * 3)}@media print,(prefers-reduced-motion: reduce){.animate__animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animate__animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.animate__bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.animate__flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.animate__shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.animate__shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}@-webkit-keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}.animate__headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}.animate__swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.animate__jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}.animate__heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration) * 1.3);animation-duration:calc(var(--animate-duration) * 1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.animate__backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.animate__backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.animate__backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.animate__backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.animate__bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceOut;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}.animate__bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}.animate__bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}.animate__bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}.animate__bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.animate__fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.animate__fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.animate__fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.animate__fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.animate__fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.animate__fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.animate__fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.animate__fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.animate__fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.animate__fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animate__animated.animate__flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.animate__flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.animate__flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}.animate__lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}.animate__lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.animate__rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}.animate__rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.animate__rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.animate__hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}@-webkit-keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate__jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.animate__rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.animate__zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.animate__zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}.animate__zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}.animate__zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}.dropdown-menu[data-v-e53c14b2]{right:1rem;min-width:200px}.dropdown-item.disabled[data-v-e53c14b2],.dropdown-item[data-v-e53c14b2]:disabled{opacity:.7}.slide-fade-leave-active[data-v-4a343fe2],.slide-fade-enter-active[data-v-4a343fe2]{transition:all .2s cubic-bezier(.82,.58,.17,.9)}.slide-fade-enter-from[data-v-4a343fe2],.slide-fade-leave-to[data-v-4a343fe2]{transform:translateY(20px);opacity:0;filter:blur(3px)}.subMenuBtn.active[data-v-4a343fe2]{background-color:#ffffff20}.peerCard[data-v-4a343fe2]{transition:box-shadow .1s cubic-bezier(.82,.58,.17,.9)}.peerCard[data-v-4a343fe2]:hover{box-shadow:var(--bs-box-shadow)!important}.toggleShowKey[data-v-2c571abb]{position:absolute;top:35px;right:12px}.list-move[data-v-6d5fc831],.list-enter-active[data-v-6d5fc831],.list-leave-active[data-v-6d5fc831]{transition:all .3s ease}.list-enter-from[data-v-6d5fc831],.list-leave-to[data-v-6d5fc831]{opacity:0;transform:translateY(10px)}.list-leave-active[data-v-6d5fc831]{position:absolute}.peerSettingContainer[data-v-9235694d]{background-color:#00000060;z-index:9998}div[data-v-9235694d]{transition:.2s ease-in-out}.inactiveField[data-v-9235694d]{opacity:.4}.card[data-v-9235694d]{max-height:100%}.btn.disabled[data-v-6a5aba2a]{opacity:1;background-color:#0d6efd17;border-color:transparent}[data-v-8f3f1b93]{font-size:.875rem}input[data-v-8f3f1b93]{padding:.1rem .4rem}input[data-v-8f3f1b93]:disabled{border-color:transparent;background-color:#0d6efd17;color:#0d6efd}.dp__main[data-v-8f3f1b93]{width:auto;flex-grow:1;--dp-input-padding: 2.5px 30px 2.5px 12px;--dp-border-radius: .5rem}.schedulePeerJobTransition-move[data-v-5bbdd42b],.schedulePeerJobTransition-enter-active[data-v-5bbdd42b],.schedulePeerJobTransition-leave-active[data-v-5bbdd42b]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.schedulePeerJobTransition-enter-from[data-v-5bbdd42b],.schedulePeerJobTransition-leave-to[data-v-5bbdd42b]{opacity:0;transform:scale(.9)}.schedulePeerJobTransition-leave-active[data-v-5bbdd42b]{position:absolute;width:100%}.peerNav .nav-link[data-v-dc7f794a]{&.active[data-v-dc7f794a]{//background: linear-gradient(var(--degree),var(--brandColor1) var(--distance2),var(--brandColor2) 100%);//color: white;background-color:#efefef}}.pingPlaceholder[data-v-7b32cdf7]{width:100%;height:79.98px}.ping-move[data-v-7b32cdf7],.ping-enter-active[data-v-7b32cdf7],.ping-leave-active[data-v-7b32cdf7]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.ping-enter-from[data-v-7b32cdf7],.ping-leave-to[data-v-7b32cdf7]{opacity:0;//transform: scale(.9)}.ping-leave-active[data-v-7b32cdf7]{position:absolute}.pingPlaceholder[data-v-606c2c93]{width:100%;height:40px}.ping-move[data-v-606c2c93],.ping-enter-active[data-v-606c2c93],.ping-leave-active[data-v-606c2c93]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.ping-enter-from[data-v-606c2c93],.ping-leave-to[data-v-606c2c93]{opacity:0;//transform: scale(.9)}.ping-leave-active[data-v-606c2c93]{position:absolute}table th[data-v-606c2c93],table td[data-v-606c2c93]{padding:.9rem}table tbody[data-v-606c2c93]{border-top:1em solid transparent}.table[data-v-606c2c93]>:not(caption)>*>*{background-color:transparent!important}.animate__fadeInUp[data-v-1b44aacd]{animation-timing-function:cubic-bezier(.42,0,.22,1)}.app-enter-active[data-v-822f113b],.app-leave-active[data-v-822f113b]{transition:all .3s cubic-bezier(.82,.58,.17,.9)}.app-enter-from[data-v-822f113b]{transform:translateY(20px);opacity:0}.app-leave-to[data-v-822f113b]{transform:translateY(-20px);opacity:0}@media screen and (min-width: 768px){.navbarBtn[data-v-822f113b]{display:none}} diff --git a/src/static/app/dist/assets/index.js b/src/static/app/dist/assets/index.js index 4a75fae..2c8de25 100644 --- a/src/static/app/dist/assets/index.js +++ b/src/static/app/dist/assets/index.js @@ -1,76 +1,67 @@ -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const r of o.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Q_=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sS(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function iS(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function s(){return this instanceof s?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var i=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,i.get?i:{enumerable:!0,get:function(){return t[s]}})}),n}var oS={exports:{}},bn="top",Ln="bottom",Nn="right",yn="left",Tc="auto",Dr=[bn,Ln,Nn,yn],So="start",lr="end",Z_="clippingParents",fh="viewport",Qo="popper",ev="reference",bd=Dr.reduce(function(t,e){return t.concat([e+"-"+So,e+"-"+lr])},[]),ph=[].concat(Dr,[Tc]).reduce(function(t,e){return t.concat([e,e+"-"+So,e+"-"+lr])},[]),tv="beforeRead",nv="read",sv="afterRead",iv="beforeMain",ov="main",rv="afterMain",av="beforeWrite",lv="write",cv="afterWrite",uv=[tv,nv,sv,iv,ov,rv,av,lv,cv];function Cs(t){return t?(t.nodeName||"").toLowerCase():null}function Fn(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function $o(t){var e=Fn(t).Element;return t instanceof e||t instanceof Element}function Gn(t){var e=Fn(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function gh(t){if(typeof ShadowRoot>"u")return!1;var e=Fn(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function rS(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var s=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!Gn(o)||!Cs(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(r){var a=i[r];a===!1?o.removeAttribute(r):o.setAttribute(r,a===!0?"":a)}))})}function aS(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(s){var i=e.elements[s],o=e.attributes[s]||{},r=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:n[s]),a=r.reduce(function(l,c){return l[c]="",l},{});!Gn(i)||!Cs(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const mh={name:"applyStyles",enabled:!0,phase:"write",fn:rS,effect:aS,requires:["computeStyles"]};function Ss(t){return t.split("-")[0]}var mo=Math.max,rc=Math.min,cr=Math.round;function yd(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function dv(){return!/^((?!chrome|android).)*safari/i.test(yd())}function ur(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),i=1,o=1;e&&Gn(t)&&(i=t.offsetWidth>0&&cr(s.width)/t.offsetWidth||1,o=t.offsetHeight>0&&cr(s.height)/t.offsetHeight||1);var r=$o(t)?Fn(t):window,a=r.visualViewport,l=!dv()&&n,c=(s.left+(l&&a?a.offsetLeft:0))/i,u=(s.top+(l&&a?a.offsetTop:0))/o,d=s.width/i,f=s.height/o;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function _h(t){var e=ur(t),n=t.offsetWidth,s=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:s}}function hv(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&gh(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Js(t){return Fn(t).getComputedStyle(t)}function lS(t){return["table","td","th"].indexOf(Cs(t))>=0}function Li(t){return(($o(t)?t.ownerDocument:t.document)||window.document).documentElement}function Mc(t){return Cs(t)==="html"?t:t.assignedSlot||t.parentNode||(gh(t)?t.host:null)||Li(t)}function Lp(t){return!Gn(t)||Js(t).position==="fixed"?null:t.offsetParent}function cS(t){var e=/firefox/i.test(yd()),n=/Trident/i.test(yd());if(n&&Gn(t)){var s=Js(t);if(s.position==="fixed")return null}var i=Mc(t);for(gh(i)&&(i=i.host);Gn(i)&&["html","body"].indexOf(Cs(i))<0;){var o=Js(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Ua(t){for(var e=Fn(t),n=Lp(t);n&&lS(n)&&Js(n).position==="static";)n=Lp(n);return n&&(Cs(n)==="html"||Cs(n)==="body"&&Js(n).position==="static")?e:n||cS(t)||e}function vh(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function la(t,e,n){return mo(t,rc(e,n))}function uS(t,e,n){var s=la(t,e,n);return s>n?n:s}function fv(){return{top:0,right:0,bottom:0,left:0}}function pv(t){return Object.assign({},fv(),t)}function gv(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var dS=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,pv(typeof e!="number"?e:gv(e,Dr))};function hS(t){var e,n=t.state,s=t.name,i=t.options,o=n.elements.arrow,r=n.modifiersData.popperOffsets,a=Ss(n.placement),l=vh(a),c=[yn,Nn].indexOf(a)>=0,u=c?"height":"width";if(!(!o||!r)){var d=dS(i.padding,n),f=_h(o),g=l==="y"?bn:yn,_=l==="y"?Ln:Nn,m=n.rects.reference[u]+n.rects.reference[l]-r[l]-n.rects.popper[u],b=r[l]-n.rects.reference[l],w=Ua(o),$=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,A=m/2-b/2,D=d[g],x=$-f[u]-d[_],y=$/2-f[u]/2+A,S=la(D,y,x),E=l;n.modifiersData[s]=(e={},e[E]=S,e.centerOffset=S-y,e)}}function fS(t){var e=t.state,n=t.options,s=n.element,i=s===void 0?"[data-popper-arrow]":s;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||hv(e.elements.popper,i)&&(e.elements.arrow=i))}const mv={name:"arrow",enabled:!0,phase:"main",fn:hS,effect:fS,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function dr(t){return t.split("-")[1]}var pS={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gS(t,e){var n=t.x,s=t.y,i=e.devicePixelRatio||1;return{x:cr(n*i)/i||0,y:cr(s*i)/i||0}}function Np(t){var e,n=t.popper,s=t.popperRect,i=t.placement,o=t.variation,r=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,d=t.isFixed,f=r.x,g=f===void 0?0:f,_=r.y,m=_===void 0?0:_,b=typeof u=="function"?u({x:g,y:m}):{x:g,y:m};g=b.x,m=b.y;var w=r.hasOwnProperty("x"),$=r.hasOwnProperty("y"),A=yn,D=bn,x=window;if(c){var y=Ua(n),S="clientHeight",E="clientWidth";if(y===Fn(n)&&(y=Li(n),Js(y).position!=="static"&&a==="absolute"&&(S="scrollHeight",E="scrollWidth")),y=y,i===bn||(i===yn||i===Nn)&&o===lr){D=Ln;var T=d&&y===x&&x.visualViewport?x.visualViewport.height:y[S];m-=T-s.height,m*=l?1:-1}if(i===yn||(i===bn||i===Ln)&&o===lr){A=Nn;var C=d&&y===x&&x.visualViewport?x.visualViewport.width:y[E];g-=C-s.width,g*=l?1:-1}}var B=Object.assign({position:a},c&&pS),J=u===!0?gS({x:g,y:m},Fn(n)):{x:g,y:m};if(g=J.x,m=J.y,l){var ae;return Object.assign({},B,(ae={},ae[D]=$?"0":"",ae[A]=w?"0":"",ae.transform=(x.devicePixelRatio||1)<=1?"translate("+g+"px, "+m+"px)":"translate3d("+g+"px, "+m+"px, 0)",ae))}return Object.assign({},B,(e={},e[D]=$?m+"px":"",e[A]=w?g+"px":"",e.transform="",e))}function mS(t){var e=t.state,n=t.options,s=n.gpuAcceleration,i=s===void 0?!0:s,o=n.adaptive,r=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Ss(e.placement),variation:dr(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Np(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Np(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const bh={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:mS,data:{}};var bl={passive:!0};function _S(t){var e=t.state,n=t.instance,s=t.options,i=s.scroll,o=i===void 0?!0:i,r=s.resize,a=r===void 0?!0:r,l=Fn(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,bl)}),a&&l.addEventListener("resize",n.update,bl),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,bl)}),a&&l.removeEventListener("resize",n.update,bl)}}const yh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:_S,data:{}};var vS={left:"right",right:"left",bottom:"top",top:"bottom"};function ql(t){return t.replace(/left|right|bottom|top/g,function(e){return vS[e]})}var bS={start:"end",end:"start"};function Fp(t){return t.replace(/start|end/g,function(e){return bS[e]})}function wh(t){var e=Fn(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function xh(t){return ur(Li(t)).left+wh(t).scrollLeft}function yS(t,e){var n=Fn(t),s=Li(t),i=n.visualViewport,o=s.clientWidth,r=s.clientHeight,a=0,l=0;if(i){o=i.width,r=i.height;var c=dv();(c||!c&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:r,x:a+xh(t),y:l}}function wS(t){var e,n=Li(t),s=wh(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=mo(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),r=mo(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-s.scrollLeft+xh(t),l=-s.scrollTop;return Js(i||n).direction==="rtl"&&(a+=mo(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}function kh(t){var e=Js(t),n=e.overflow,s=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+s)}function _v(t){return["html","body","#document"].indexOf(Cs(t))>=0?t.ownerDocument.body:Gn(t)&&kh(t)?t:_v(Mc(t))}function ca(t,e){var n;e===void 0&&(e=[]);var s=_v(t),i=s===((n=t.ownerDocument)==null?void 0:n.body),o=Fn(s),r=i?[o].concat(o.visualViewport||[],kh(s)?s:[]):s,a=e.concat(r);return i?a:a.concat(ca(Mc(r)))}function wd(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function xS(t,e){var n=ur(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Bp(t,e,n){return e===fh?wd(yS(t,n)):$o(e)?xS(e,n):wd(wS(Li(t)))}function kS(t){var e=ca(Mc(t)),n=["absolute","fixed"].indexOf(Js(t).position)>=0,s=n&&Gn(t)?Ua(t):t;return $o(s)?e.filter(function(i){return $o(i)&&hv(i,s)&&Cs(i)!=="body"}):[]}function SS(t,e,n,s){var i=e==="clippingParents"?kS(t):[].concat(e),o=[].concat(i,[n]),r=o[0],a=o.reduce(function(l,c){var u=Bp(t,c,s);return l.top=mo(u.top,l.top),l.right=rc(u.right,l.right),l.bottom=rc(u.bottom,l.bottom),l.left=mo(u.left,l.left),l},Bp(t,r,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function vv(t){var e=t.reference,n=t.element,s=t.placement,i=s?Ss(s):null,o=s?dr(s):null,r=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(i){case bn:l={x:r,y:e.y-n.height};break;case Ln:l={x:r,y:e.y+e.height};break;case Nn:l={x:e.x+e.width,y:a};break;case yn:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=i?vh(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case So:l[c]=l[c]-(e[u]/2-n[u]/2);break;case lr:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function hr(t,e){e===void 0&&(e={});var n=e,s=n.placement,i=s===void 0?t.placement:s,o=n.strategy,r=o===void 0?t.strategy:o,a=n.boundary,l=a===void 0?Z_:a,c=n.rootBoundary,u=c===void 0?fh:c,d=n.elementContext,f=d===void 0?Qo:d,g=n.altBoundary,_=g===void 0?!1:g,m=n.padding,b=m===void 0?0:m,w=pv(typeof b!="number"?b:gv(b,Dr)),$=f===Qo?ev:Qo,A=t.rects.popper,D=t.elements[_?$:f],x=SS($o(D)?D:D.contextElement||Li(t.elements.popper),l,u,r),y=ur(t.elements.reference),S=vv({reference:y,element:A,strategy:"absolute",placement:i}),E=wd(Object.assign({},A,S)),T=f===Qo?E:y,C={top:x.top-T.top+w.top,bottom:T.bottom-x.bottom+w.bottom,left:x.left-T.left+w.left,right:T.right-x.right+w.right},B=t.modifiersData.offset;if(f===Qo&&B){var J=B[i];Object.keys(C).forEach(function(ae){var Y=[Nn,Ln].indexOf(ae)>=0?1:-1,L=[bn,Ln].indexOf(ae)>=0?"y":"x";C[ae]+=J[L]*Y})}return C}function $S(t,e){e===void 0&&(e={});var n=e,s=n.placement,i=n.boundary,o=n.rootBoundary,r=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?ph:l,u=dr(s),d=u?a?bd:bd.filter(function(_){return dr(_)===u}):Dr,f=d.filter(function(_){return c.indexOf(_)>=0});f.length===0&&(f=d);var g=f.reduce(function(_,m){return _[m]=hr(t,{placement:m,boundary:i,rootBoundary:o,padding:r})[Ss(m)],_},{});return Object.keys(g).sort(function(_,m){return g[_]-g[m]})}function AS(t){if(Ss(t)===Tc)return[];var e=ql(t);return[Fp(t),e,Fp(e)]}function CS(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,r=n.altAxis,a=r===void 0?!0:r,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,g=n.flipVariations,_=g===void 0?!0:g,m=n.allowedAutoPlacements,b=e.options.placement,w=Ss(b),$=w===b,A=l||($||!_?[ql(b)]:AS(b)),D=[b].concat(A).reduce(function(R,ee){return R.concat(Ss(ee)===Tc?$S(e,{placement:ee,boundary:u,rootBoundary:d,padding:c,flipVariations:_,allowedAutoPlacements:m}):ee)},[]),x=e.rects.reference,y=e.rects.popper,S=new Map,E=!0,T=D[0],C=0;C=0,L=Y?"width":"height",I=hr(e,{placement:B,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),V=Y?ae?Nn:yn:ae?Ln:bn;x[L]>y[L]&&(V=ql(V));var Q=ql(V),Z=[];if(o&&Z.push(I[J]<=0),a&&Z.push(I[V]<=0,I[Q]<=0),Z.every(function(R){return R})){T=B,E=!1;break}S.set(B,Z)}if(E)for(var le=_?3:1,ye=function(ee){var oe=D.find(function(P){var se=S.get(P);if(se)return se.slice(0,ee).every(function(ue){return ue})});if(oe)return T=oe,"break"},U=le;U>0;U--){var X=ye(U);if(X==="break")break}e.placement!==T&&(e.modifiersData[s]._skip=!0,e.placement=T,e.reset=!0)}}const bv={name:"flip",enabled:!0,phase:"main",fn:CS,requiresIfExists:["offset"],data:{_skip:!1}};function Vp(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Hp(t){return[bn,Nn,Ln,yn].some(function(e){return t[e]>=0})}function ES(t){var e=t.state,n=t.name,s=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,r=hr(e,{elementContext:"reference"}),a=hr(e,{altBoundary:!0}),l=Vp(r,s),c=Vp(a,i,o),u=Hp(l),d=Hp(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const yv={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ES};function PS(t,e,n){var s=Ss(t),i=[yn,bn].indexOf(s)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,r=o[0],a=o[1];return r=r||0,a=(a||0)*i,[yn,Nn].indexOf(s)>=0?{x:a,y:r}:{x:r,y:a}}function TS(t){var e=t.state,n=t.options,s=t.name,i=n.offset,o=i===void 0?[0,0]:i,r=ph.reduce(function(u,d){return u[d]=PS(d,e.rects,o),u},{}),a=r[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[s]=r}const wv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:TS};function MS(t){var e=t.state,n=t.name;e.modifiersData[n]=vv({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Sh={name:"popperOffsets",enabled:!0,phase:"read",fn:MS,data:{}};function DS(t){return t==="x"?"y":"x"}function OS(t){var e=t.state,n=t.options,s=t.name,i=n.mainAxis,o=i===void 0?!0:i,r=n.altAxis,a=r===void 0?!1:r,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,g=f===void 0?!0:f,_=n.tetherOffset,m=_===void 0?0:_,b=hr(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),w=Ss(e.placement),$=dr(e.placement),A=!$,D=vh(w),x=DS(D),y=e.modifiersData.popperOffsets,S=e.rects.reference,E=e.rects.popper,T=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,C=typeof T=="number"?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),B=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,J={x:0,y:0};if(y){if(o){var ae,Y=D==="y"?bn:yn,L=D==="y"?Ln:Nn,I=D==="y"?"height":"width",V=y[D],Q=V+b[Y],Z=V-b[L],le=g?-E[I]/2:0,ye=$===So?S[I]:E[I],U=$===So?-E[I]:-S[I],X=e.elements.arrow,R=g&&X?_h(X):{width:0,height:0},ee=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:fv(),oe=ee[Y],P=ee[L],se=la(0,S[I],R[I]),ue=A?S[I]/2-le-se-oe-C.mainAxis:ye-se-oe-C.mainAxis,xe=A?-S[I]/2+le+se+P+C.mainAxis:U+se+P+C.mainAxis,N=e.elements.arrow&&Ua(e.elements.arrow),he=N?D==="y"?N.clientTop||0:N.clientLeft||0:0,v=(ae=B?.[D])!=null?ae:0,O=V+ue-v-he,H=V+xe-v,W=la(g?rc(Q,O):Q,V,g?mo(Z,H):Z);y[D]=W,J[D]=W-V}if(a){var ie,j=D==="x"?bn:yn,te=D==="x"?Ln:Nn,G=y[x],de=x==="y"?"height":"width",ge=G+b[j],fe=G-b[te],Re=[bn,yn].indexOf(w)!==-1,De=(ie=B?.[x])!=null?ie:0,Ve=Re?ge:G-S[de]-E[de]-De+C.altAxis,Be=Re?G+S[de]+E[de]-De-C.altAxis:fe,et=g&&Re?uS(Ve,G,Be):la(g?Ve:ge,G,g?Be:fe);y[x]=et,J[x]=et-G}e.modifiersData[s]=J}}const xv={name:"preventOverflow",enabled:!0,phase:"main",fn:OS,requiresIfExists:["offset"]};function IS(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function RS(t){return t===Fn(t)||!Gn(t)?wh(t):IS(t)}function LS(t){var e=t.getBoundingClientRect(),n=cr(e.width)/t.offsetWidth||1,s=cr(e.height)/t.offsetHeight||1;return n!==1||s!==1}function NS(t,e,n){n===void 0&&(n=!1);var s=Gn(e),i=Gn(e)&&LS(e),o=Li(e),r=ur(t,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Cs(e)!=="body"||kh(o))&&(a=RS(e)),Gn(e)?(l=ur(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=xh(o))),{x:r.left+a.scrollLeft-l.x,y:r.top+a.scrollTop-l.y,width:r.width,height:r.height}}function FS(t){var e=new Map,n=new Set,s=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var r=[].concat(o.requires||[],o.requiresIfExists||[]);r.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&i(l)}}),s.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),s}function BS(t){var e=FS(t);return uv.reduce(function(n,s){return n.concat(e.filter(function(i){return i.phase===s}))},[])}function VS(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function HS(t){var e=t.reduce(function(n,s){var i=n[s.name];return n[s.name]=i?Object.assign({},i,s,{options:Object.assign({},i.options,s.options),data:Object.assign({},i.data,s.data)}):s,n},{});return Object.keys(e).map(function(n){return e[n]})}var jp={placement:"bottom",modifiers:[],strategy:"absolute"};function Wp(){for(var t=arguments.length,e=new Array(t),n=0;n{for(const o of i)if(o.type==="childList")for(const r of o.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Q_=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function iS(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function oS(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function s(){return this instanceof s?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var i=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,i.get?i:{enumerable:!0,get:function(){return t[s]}})}),n}var rS={exports:{}},vn="top",Rn="bottom",Nn="right",yn="left",Ac="auto",Pr=[vn,Rn,Nn,yn],xo="start",rr="end",Z_="clippingParents",fh="viewport",Jo="popper",eb="reference",vd=Pr.reduce(function(t,e){return t.concat([e+"-"+xo,e+"-"+rr])},[]),ph=[].concat(Pr,[Ac]).reduce(function(t,e){return t.concat([e,e+"-"+xo,e+"-"+rr])},[]),tb="beforeRead",nb="read",sb="afterRead",ib="beforeMain",ob="main",rb="afterMain",ab="beforeWrite",lb="write",cb="afterWrite",ub=[tb,nb,sb,ib,ob,rb,ab,lb,cb];function As(t){return t?(t.nodeName||"").toLowerCase():null}function Fn(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ko(t){var e=Fn(t).Element;return t instanceof e||t instanceof Element}function Gn(t){var e=Fn(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function gh(t){if(typeof ShadowRoot>"u")return!1;var e=Fn(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function aS(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var s=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!Gn(o)||!As(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(r){var a=i[r];a===!1?o.removeAttribute(r):o.setAttribute(r,a===!0?"":a)}))})}function lS(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(s){var i=e.elements[s],o=e.attributes[s]||{},r=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:n[s]),a=r.reduce(function(l,c){return l[c]="",l},{});!Gn(i)||!As(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const mh={name:"applyStyles",enabled:!0,phase:"write",fn:aS,effect:lS,requires:["computeStyles"]};function ks(t){return t.split("-")[0]}var po=Math.max,nc=Math.min,ar=Math.round;function yd(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function db(){return!/^((?!chrome|android).)*safari/i.test(yd())}function lr(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),i=1,o=1;e&&Gn(t)&&(i=t.offsetWidth>0&&ar(s.width)/t.offsetWidth||1,o=t.offsetHeight>0&&ar(s.height)/t.offsetHeight||1);var r=ko(t)?Fn(t):window,a=r.visualViewport,l=!db()&&n,c=(s.left+(l&&a?a.offsetLeft:0))/i,u=(s.top+(l&&a?a.offsetTop:0))/o,d=s.width/i,f=s.height/o;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function _h(t){var e=lr(t),n=t.offsetWidth,s=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:s}}function hb(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&gh(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Js(t){return Fn(t).getComputedStyle(t)}function cS(t){return["table","td","th"].indexOf(As(t))>=0}function Ii(t){return((ko(t)?t.ownerDocument:t.document)||window.document).documentElement}function Cc(t){return As(t)==="html"?t:t.assignedSlot||t.parentNode||(gh(t)?t.host:null)||Ii(t)}function Rp(t){return!Gn(t)||Js(t).position==="fixed"?null:t.offsetParent}function uS(t){var e=/firefox/i.test(yd()),n=/Trident/i.test(yd());if(n&&Gn(t)){var s=Js(t);if(s.position==="fixed")return null}var i=Cc(t);for(gh(i)&&(i=i.host);Gn(i)&&["html","body"].indexOf(As(i))<0;){var o=Js(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function za(t){for(var e=Fn(t),n=Rp(t);n&&cS(n)&&Js(n).position==="static";)n=Rp(n);return n&&(As(n)==="html"||As(n)==="body"&&Js(n).position==="static")?e:n||uS(t)||e}function bh(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function ra(t,e,n){return po(t,nc(e,n))}function dS(t,e,n){var s=ra(t,e,n);return s>n?n:s}function fb(){return{top:0,right:0,bottom:0,left:0}}function pb(t){return Object.assign({},fb(),t)}function gb(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var hS=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,pb(typeof e!="number"?e:gb(e,Pr))};function fS(t){var e,n=t.state,s=t.name,i=t.options,o=n.elements.arrow,r=n.modifiersData.popperOffsets,a=ks(n.placement),l=bh(a),c=[yn,Nn].indexOf(a)>=0,u=c?"height":"width";if(!(!o||!r)){var d=hS(i.padding,n),f=_h(o),g=l==="y"?vn:yn,_=l==="y"?Rn:Nn,m=n.rects.reference[u]+n.rects.reference[l]-r[l]-n.rects.popper[u],y=r[l]-n.rects.reference[l],v=za(o),$=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,A=m/2-y/2,D=d[g],x=$-f[u]-d[_],w=$/2-f[u]/2+A,S=ra(D,w,x),T=l;n.modifiersData[s]=(e={},e[T]=S,e.centerOffset=S-w,e)}}function pS(t){var e=t.state,n=t.options,s=n.element,i=s===void 0?"[data-popper-arrow]":s;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||hb(e.elements.popper,i)&&(e.elements.arrow=i))}const mb={name:"arrow",enabled:!0,phase:"main",fn:fS,effect:pS,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function cr(t){return t.split("-")[1]}var gS={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mS(t,e){var n=t.x,s=t.y,i=e.devicePixelRatio||1;return{x:ar(n*i)/i||0,y:ar(s*i)/i||0}}function Np(t){var e,n=t.popper,s=t.popperRect,i=t.placement,o=t.variation,r=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,d=t.isFixed,f=r.x,g=f===void 0?0:f,_=r.y,m=_===void 0?0:_,y=typeof u=="function"?u({x:g,y:m}):{x:g,y:m};g=y.x,m=y.y;var v=r.hasOwnProperty("x"),$=r.hasOwnProperty("y"),A=yn,D=vn,x=window;if(c){var w=za(n),S="clientHeight",T="clientWidth";if(w===Fn(n)&&(w=Ii(n),Js(w).position!=="static"&&a==="absolute"&&(S="scrollHeight",T="scrollWidth")),w=w,i===vn||(i===yn||i===Nn)&&o===rr){D=Rn;var M=d&&w===x&&x.visualViewport?x.visualViewport.height:w[S];m-=M-s.height,m*=l?1:-1}if(i===yn||(i===vn||i===Rn)&&o===rr){A=Nn;var E=d&&w===x&&x.visualViewport?x.visualViewport.width:w[T];g-=E-s.width,g*=l?1:-1}}var V=Object.assign({position:a},c&&gS),X=u===!0?mS({x:g,y:m},Fn(n)):{x:g,y:m};if(g=X.x,m=X.y,l){var le;return Object.assign({},V,(le={},le[D]=$?"0":"",le[A]=v?"0":"",le.transform=(x.devicePixelRatio||1)<=1?"translate("+g+"px, "+m+"px)":"translate3d("+g+"px, "+m+"px, 0)",le))}return Object.assign({},V,(e={},e[D]=$?m+"px":"",e[A]=v?g+"px":"",e.transform="",e))}function _S(t){var e=t.state,n=t.options,s=n.gpuAcceleration,i=s===void 0?!0:s,o=n.adaptive,r=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:ks(e.placement),variation:cr(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Np(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Np(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const vh={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:_S,data:{}};var ml={passive:!0};function bS(t){var e=t.state,n=t.instance,s=t.options,i=s.scroll,o=i===void 0?!0:i,r=s.resize,a=r===void 0?!0:r,l=Fn(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,ml)}),a&&l.addEventListener("resize",n.update,ml),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,ml)}),a&&l.removeEventListener("resize",n.update,ml)}}const yh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:bS,data:{}};var vS={left:"right",right:"left",bottom:"top",top:"bottom"};function Kl(t){return t.replace(/left|right|bottom|top/g,function(e){return vS[e]})}var yS={start:"end",end:"start"};function Fp(t){return t.replace(/start|end/g,function(e){return yS[e]})}function wh(t){var e=Fn(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function xh(t){return lr(Ii(t)).left+wh(t).scrollLeft}function wS(t,e){var n=Fn(t),s=Ii(t),i=n.visualViewport,o=s.clientWidth,r=s.clientHeight,a=0,l=0;if(i){o=i.width,r=i.height;var c=db();(c||!c&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:r,x:a+xh(t),y:l}}function xS(t){var e,n=Ii(t),s=wh(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=po(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),r=po(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-s.scrollLeft+xh(t),l=-s.scrollTop;return Js(i||n).direction==="rtl"&&(a+=po(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}function kh(t){var e=Js(t),n=e.overflow,s=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+s)}function _b(t){return["html","body","#document"].indexOf(As(t))>=0?t.ownerDocument.body:Gn(t)&&kh(t)?t:_b(Cc(t))}function aa(t,e){var n;e===void 0&&(e=[]);var s=_b(t),i=s===((n=t.ownerDocument)==null?void 0:n.body),o=Fn(s),r=i?[o].concat(o.visualViewport||[],kh(s)?s:[]):s,a=e.concat(r);return i?a:a.concat(aa(Cc(r)))}function wd(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function kS(t,e){var n=lr(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Bp(t,e,n){return e===fh?wd(wS(t,n)):ko(e)?kS(e,n):wd(xS(Ii(t)))}function SS(t){var e=aa(Cc(t)),n=["absolute","fixed"].indexOf(Js(t).position)>=0,s=n&&Gn(t)?za(t):t;return ko(s)?e.filter(function(i){return ko(i)&&hb(i,s)&&As(i)!=="body"}):[]}function $S(t,e,n,s){var i=e==="clippingParents"?SS(t):[].concat(e),o=[].concat(i,[n]),r=o[0],a=o.reduce(function(l,c){var u=Bp(t,c,s);return l.top=po(u.top,l.top),l.right=nc(u.right,l.right),l.bottom=nc(u.bottom,l.bottom),l.left=po(u.left,l.left),l},Bp(t,r,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function bb(t){var e=t.reference,n=t.element,s=t.placement,i=s?ks(s):null,o=s?cr(s):null,r=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(i){case vn:l={x:r,y:e.y-n.height};break;case Rn:l={x:r,y:e.y+e.height};break;case Nn:l={x:e.x+e.width,y:a};break;case yn:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=i?bh(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case xo:l[c]=l[c]-(e[u]/2-n[u]/2);break;case rr:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function ur(t,e){e===void 0&&(e={});var n=e,s=n.placement,i=s===void 0?t.placement:s,o=n.strategy,r=o===void 0?t.strategy:o,a=n.boundary,l=a===void 0?Z_:a,c=n.rootBoundary,u=c===void 0?fh:c,d=n.elementContext,f=d===void 0?Jo:d,g=n.altBoundary,_=g===void 0?!1:g,m=n.padding,y=m===void 0?0:m,v=pb(typeof y!="number"?y:gb(y,Pr)),$=f===Jo?eb:Jo,A=t.rects.popper,D=t.elements[_?$:f],x=$S(ko(D)?D:D.contextElement||Ii(t.elements.popper),l,u,r),w=lr(t.elements.reference),S=bb({reference:w,element:A,strategy:"absolute",placement:i}),T=wd(Object.assign({},A,S)),M=f===Jo?T:w,E={top:x.top-M.top+v.top,bottom:M.bottom-x.bottom+v.bottom,left:x.left-M.left+v.left,right:M.right-x.right+v.right},V=t.modifiersData.offset;if(f===Jo&&V){var X=V[i];Object.keys(E).forEach(function(le){var Y=[Nn,Rn].indexOf(le)>=0?1:-1,R=[vn,Rn].indexOf(le)>=0?"y":"x";E[le]+=X[R]*Y})}return E}function AS(t,e){e===void 0&&(e={});var n=e,s=n.placement,i=n.boundary,o=n.rootBoundary,r=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?ph:l,u=cr(s),d=u?a?vd:vd.filter(function(_){return cr(_)===u}):Pr,f=d.filter(function(_){return c.indexOf(_)>=0});f.length===0&&(f=d);var g=f.reduce(function(_,m){return _[m]=ur(t,{placement:m,boundary:i,rootBoundary:o,padding:r})[ks(m)],_},{});return Object.keys(g).sort(function(_,m){return g[_]-g[m]})}function CS(t){if(ks(t)===Ac)return[];var e=Kl(t);return[Fp(t),e,Fp(e)]}function ES(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,r=n.altAxis,a=r===void 0?!0:r,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,g=n.flipVariations,_=g===void 0?!0:g,m=n.allowedAutoPlacements,y=e.options.placement,v=ks(y),$=v===y,A=l||($||!_?[Kl(y)]:CS(y)),D=[y].concat(A).reduce(function(L,te){return L.concat(ks(te)===Ac?AS(e,{placement:te,boundary:u,rootBoundary:d,padding:c,flipVariations:_,allowedAutoPlacements:m}):te)},[]),x=e.rects.reference,w=e.rects.popper,S=new Map,T=!0,M=D[0],E=0;E=0,R=Y?"width":"height",I=ur(e,{placement:V,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),H=Y?le?Nn:yn:le?Rn:vn;x[R]>w[R]&&(H=Kl(H));var Z=Kl(H),ee=[];if(o&&ee.push(I[X]<=0),a&&ee.push(I[H]<=0,I[Z]<=0),ee.every(function(L){return L})){M=V,T=!1;break}S.set(V,ee)}if(T)for(var ce=_?3:1,ve=function(te){var ae=D.find(function(P){var ie=S.get(P);if(ie)return ie.slice(0,te).every(function(de){return de})});if(ae)return M=ae,"break"},U=ce;U>0;U--){var Q=ve(U);if(Q==="break")break}e.placement!==M&&(e.modifiersData[s]._skip=!0,e.placement=M,e.reset=!0)}}const vb={name:"flip",enabled:!0,phase:"main",fn:ES,requiresIfExists:["offset"],data:{_skip:!1}};function Vp(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Hp(t){return[vn,Nn,Rn,yn].some(function(e){return t[e]>=0})}function TS(t){var e=t.state,n=t.name,s=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,r=ur(e,{elementContext:"reference"}),a=ur(e,{altBoundary:!0}),l=Vp(r,s),c=Vp(a,i,o),u=Hp(l),d=Hp(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const yb={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:TS};function PS(t,e,n){var s=ks(t),i=[yn,vn].indexOf(s)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,r=o[0],a=o[1];return r=r||0,a=(a||0)*i,[yn,Nn].indexOf(s)>=0?{x:a,y:r}:{x:r,y:a}}function MS(t){var e=t.state,n=t.options,s=t.name,i=n.offset,o=i===void 0?[0,0]:i,r=ph.reduce(function(u,d){return u[d]=PS(d,e.rects,o),u},{}),a=r[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[s]=r}const wb={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:MS};function DS(t){var e=t.state,n=t.name;e.modifiersData[n]=bb({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Sh={name:"popperOffsets",enabled:!0,phase:"read",fn:DS,data:{}};function OS(t){return t==="x"?"y":"x"}function IS(t){var e=t.state,n=t.options,s=t.name,i=n.mainAxis,o=i===void 0?!0:i,r=n.altAxis,a=r===void 0?!1:r,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,g=f===void 0?!0:f,_=n.tetherOffset,m=_===void 0?0:_,y=ur(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=ks(e.placement),$=cr(e.placement),A=!$,D=bh(v),x=OS(D),w=e.modifiersData.popperOffsets,S=e.rects.reference,T=e.rects.popper,M=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,E=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),V=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,X={x:0,y:0};if(w){if(o){var le,Y=D==="y"?vn:yn,R=D==="y"?Rn:Nn,I=D==="y"?"height":"width",H=w[D],Z=H+y[Y],ee=H-y[R],ce=g?-T[I]/2:0,ve=$===xo?S[I]:T[I],U=$===xo?-T[I]:-S[I],Q=e.elements.arrow,L=g&&Q?_h(Q):{width:0,height:0},te=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:fb(),ae=te[Y],P=te[R],ie=ra(0,S[I],L[I]),de=A?S[I]/2-ce-ie-ae-E.mainAxis:ve-ie-ae-E.mainAxis,we=A?-S[I]/2+ce+ie+P+E.mainAxis:U+ie+P+E.mainAxis,B=e.elements.arrow&&za(e.elements.arrow),fe=B?D==="y"?B.clientTop||0:B.clientLeft||0:0,b=(le=V?.[D])!=null?le:0,O=H+de-b-fe,j=H+we-b,z=ra(g?nc(Z,O):Z,H,g?po(ee,j):ee);w[D]=z,X[D]=z-H}if(a){var oe,W=D==="x"?vn:yn,ne=D==="x"?Rn:Nn,J=w[x],he=x==="y"?"height":"width",me=J+y[W],pe=J-y[ne],Re=[vn,yn].indexOf(v)!==-1,Oe=(oe=V?.[x])!=null?oe:0,Ve=Re?me:J-S[he]-T[he]-Oe+E.altAxis,Be=Re?J+S[he]+T[he]-Oe-E.altAxis:pe,tt=g&&Re?dS(Ve,J,Be):ra(g?Ve:me,J,g?Be:pe);w[x]=tt,X[x]=tt-J}e.modifiersData[s]=X}}const xb={name:"preventOverflow",enabled:!0,phase:"main",fn:IS,requiresIfExists:["offset"]};function LS(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function RS(t){return t===Fn(t)||!Gn(t)?wh(t):LS(t)}function NS(t){var e=t.getBoundingClientRect(),n=ar(e.width)/t.offsetWidth||1,s=ar(e.height)/t.offsetHeight||1;return n!==1||s!==1}function FS(t,e,n){n===void 0&&(n=!1);var s=Gn(e),i=Gn(e)&&NS(e),o=Ii(e),r=lr(t,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((As(e)!=="body"||kh(o))&&(a=RS(e)),Gn(e)?(l=lr(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=xh(o))),{x:r.left+a.scrollLeft-l.x,y:r.top+a.scrollTop-l.y,width:r.width,height:r.height}}function BS(t){var e=new Map,n=new Set,s=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var r=[].concat(o.requires||[],o.requiresIfExists||[]);r.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&i(l)}}),s.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),s}function VS(t){var e=BS(t);return ub.reduce(function(n,s){return n.concat(e.filter(function(i){return i.phase===s}))},[])}function HS(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function jS(t){var e=t.reduce(function(n,s){var i=n[s.name];return n[s.name]=i?Object.assign({},i,s,{options:Object.assign({},i.options,s.options),data:Object.assign({},i.data,s.data)}):s,n},{});return Object.keys(e).map(function(n){return e[n]})}var jp={placement:"bottom",modifiers:[],strategy:"absolute"};function Wp(){for(var t=arguments.length,e=new Array(t),n=0;nz[k]})}}return p.default=z,Object.freeze(p)}const i=s(n),o=new Map,r={set(z,p,k){o.has(z)||o.set(z,new Map);const K=o.get(z);if(!K.has(p)&&K.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(K.keys())[0]}.`);return}K.set(p,k)},get(z,p){return o.has(z)&&o.get(z).get(p)||null},remove(z,p){if(!o.has(z))return;const k=o.get(z);k.delete(p),k.size===0&&o.delete(z)}},a=1e6,l=1e3,c="transitionend",u=z=>(z&&window.CSS&&window.CSS.escape&&(z=z.replace(/#([^\s"#']+)/g,(p,k)=>`#${CSS.escape(k)}`)),z),d=z=>z==null?`${z}`:Object.prototype.toString.call(z).match(/\s([a-z]+)/i)[1].toLowerCase(),f=z=>{do z+=Math.floor(Math.random()*a);while(document.getElementById(z));return z},g=z=>{if(!z)return 0;let{transitionDuration:p,transitionDelay:k}=window.getComputedStyle(z);const K=Number.parseFloat(p),pe=Number.parseFloat(k);return!K&&!pe?0:(p=p.split(",")[0],k=k.split(",")[0],(Number.parseFloat(p)+Number.parseFloat(k))*l)},_=z=>{z.dispatchEvent(new Event(c))},m=z=>!z||typeof z!="object"?!1:(typeof z.jquery<"u"&&(z=z[0]),typeof z.nodeType<"u"),b=z=>m(z)?z.jquery?z[0]:z:typeof z=="string"&&z.length>0?document.querySelector(u(z)):null,w=z=>{if(!m(z)||z.getClientRects().length===0)return!1;const p=getComputedStyle(z).getPropertyValue("visibility")==="visible",k=z.closest("details:not([open])");if(!k)return p;if(k!==z){const K=z.closest("summary");if(K&&K.parentNode!==k||K===null)return!1}return p},$=z=>!z||z.nodeType!==Node.ELEMENT_NODE||z.classList.contains("disabled")?!0:typeof z.disabled<"u"?z.disabled:z.hasAttribute("disabled")&&z.getAttribute("disabled")!=="false",A=z=>{if(!document.documentElement.attachShadow)return null;if(typeof z.getRootNode=="function"){const p=z.getRootNode();return p instanceof ShadowRoot?p:null}return z instanceof ShadowRoot?z:z.parentNode?A(z.parentNode):null},D=()=>{},x=z=>{z.offsetHeight},y=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,S=[],E=z=>{document.readyState==="loading"?(S.length||document.addEventListener("DOMContentLoaded",()=>{for(const p of S)p()}),S.push(z)):z()},T=()=>document.documentElement.dir==="rtl",C=z=>{E(()=>{const p=y();if(p){const k=z.NAME,K=p.fn[k];p.fn[k]=z.jQueryInterface,p.fn[k].Constructor=z,p.fn[k].noConflict=()=>(p.fn[k]=K,z.jQueryInterface)}})},B=(z,p=[],k=z)=>typeof z=="function"?z(...p):k,J=(z,p,k=!0)=>{if(!k){B(z);return}const pe=g(p)+5;let Ee=!1;const Ae=({target:Je})=>{Je===p&&(Ee=!0,p.removeEventListener(c,Ae),B(z))};p.addEventListener(c,Ae),setTimeout(()=>{Ee||_(p)},pe)},ae=(z,p,k,K)=>{const pe=z.length;let Ee=z.indexOf(p);return Ee===-1?!k&&K?z[pe-1]:z[0]:(Ee+=k?1:-1,K&&(Ee=(Ee+pe)%pe),z[Math.max(0,Math.min(Ee,pe-1))])},Y=/[^.]*(?=\..*)\.|.*/,L=/\..*/,I=/::\d+$/,V={};let Q=1;const Z={mouseenter:"mouseover",mouseleave:"mouseout"},le=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ye(z,p){return p&&`${p}::${Q++}`||z.uidEvent||Q++}function U(z){const p=ye(z);return z.uidEvent=p,V[p]=V[p]||{},V[p]}function X(z,p){return function k(K){return he(K,{delegateTarget:z}),k.oneOff&&N.off(z,K.type,p),p.apply(z,[K])}}function R(z,p,k){return function K(pe){const Ee=z.querySelectorAll(p);for(let{target:Ae}=pe;Ae&&Ae!==this;Ae=Ae.parentNode)for(const Je of Ee)if(Je===Ae)return he(pe,{delegateTarget:Ae}),K.oneOff&&N.off(z,pe.type,p,k),k.apply(Ae,[pe])}}function ee(z,p,k=null){return Object.values(z).find(K=>K.callable===p&&K.delegationSelector===k)}function oe(z,p,k){const K=typeof p=="string",pe=K?k:p||k;let Ee=xe(z);return le.has(Ee)||(Ee=z),[K,pe,Ee]}function P(z,p,k,K,pe){if(typeof p!="string"||!z)return;let[Ee,Ae,Je]=oe(p,k,K);p in Z&&(Ae=(nS=>function(Yo){if(!Yo.relatedTarget||Yo.relatedTarget!==Yo.delegateTarget&&!Yo.delegateTarget.contains(Yo.relatedTarget))return nS.call(this,Yo)})(Ae));const kn=U(z),Wn=kn[Je]||(kn[Je]={}),Gt=ee(Wn,Ae,Ee?k:null);if(Gt){Gt.oneOff=Gt.oneOff&&pe;return}const ps=ye(Ae,p.replace(Y,"")),es=Ee?R(z,k,Ae):X(z,Ae);es.delegationSelector=Ee?k:null,es.callable=Ae,es.oneOff=pe,es.uidEvent=ps,Wn[ps]=es,z.addEventListener(Je,es,Ee)}function se(z,p,k,K,pe){const Ee=ee(p[k],K,pe);Ee&&(z.removeEventListener(k,Ee,!!pe),delete p[k][Ee.uidEvent])}function ue(z,p,k,K){const pe=p[k]||{};for(const[Ee,Ae]of Object.entries(pe))Ee.includes(K)&&se(z,p,k,Ae.callable,Ae.delegationSelector)}function xe(z){return z=z.replace(L,""),Z[z]||z}const N={on(z,p,k,K){P(z,p,k,K,!1)},one(z,p,k,K){P(z,p,k,K,!0)},off(z,p,k,K){if(typeof p!="string"||!z)return;const[pe,Ee,Ae]=oe(p,k,K),Je=Ae!==p,kn=U(z),Wn=kn[Ae]||{},Gt=p.startsWith(".");if(typeof Ee<"u"){if(!Object.keys(Wn).length)return;se(z,kn,Ae,Ee,pe?k:null);return}if(Gt)for(const ps of Object.keys(kn))ue(z,kn,ps,p.slice(1));for(const[ps,es]of Object.entries(Wn)){const vl=ps.replace(I,"");(!Je||p.includes(vl))&&se(z,kn,Ae,es.callable,es.delegationSelector)}},trigger(z,p,k){if(typeof p!="string"||!z)return null;const K=y(),pe=xe(p),Ee=p!==pe;let Ae=null,Je=!0,kn=!0,Wn=!1;Ee&&K&&(Ae=K.Event(p,k),K(z).trigger(Ae),Je=!Ae.isPropagationStopped(),kn=!Ae.isImmediatePropagationStopped(),Wn=Ae.isDefaultPrevented());const Gt=he(new Event(p,{bubbles:Je,cancelable:!0}),k);return Wn&&Gt.preventDefault(),kn&&z.dispatchEvent(Gt),Gt.defaultPrevented&&Ae&&Ae.preventDefault(),Gt}};function he(z,p={}){for(const[k,K]of Object.entries(p))try{z[k]=K}catch{Object.defineProperty(z,k,{configurable:!0,get(){return K}})}return z}function v(z){if(z==="true")return!0;if(z==="false")return!1;if(z===Number(z).toString())return Number(z);if(z===""||z==="null")return null;if(typeof z!="string")return z;try{return JSON.parse(decodeURIComponent(z))}catch{return z}}function O(z){return z.replace(/[A-Z]/g,p=>`-${p.toLowerCase()}`)}const H={setDataAttribute(z,p,k){z.setAttribute(`data-bs-${O(p)}`,k)},removeDataAttribute(z,p){z.removeAttribute(`data-bs-${O(p)}`)},getDataAttributes(z){if(!z)return{};const p={},k=Object.keys(z.dataset).filter(K=>K.startsWith("bs")&&!K.startsWith("bsConfig"));for(const K of k){let pe=K.replace(/^bs/,"");pe=pe.charAt(0).toLowerCase()+pe.slice(1,pe.length),p[pe]=v(z.dataset[K])}return p},getDataAttribute(z,p){return v(z.getAttribute(`data-bs-${O(p)}`))}};class W{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(p){return p=this._mergeConfigObj(p),p=this._configAfterMerge(p),this._typeCheckConfig(p),p}_configAfterMerge(p){return p}_mergeConfigObj(p,k){const K=m(k)?H.getDataAttribute(k,"config"):{};return{...this.constructor.Default,...typeof K=="object"?K:{},...m(k)?H.getDataAttributes(k):{},...typeof p=="object"?p:{}}}_typeCheckConfig(p,k=this.constructor.DefaultType){for(const[K,pe]of Object.entries(k)){const Ee=p[K],Ae=m(Ee)?"element":d(Ee);if(!new RegExp(pe).test(Ae))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${K}" provided type "${Ae}" but expected type "${pe}".`)}}}const ie="5.3.2";class j extends W{constructor(p,k){super(),p=b(p),p&&(this._element=p,this._config=this._getConfig(k),r.set(this._element,this.constructor.DATA_KEY,this))}dispose(){r.remove(this._element,this.constructor.DATA_KEY),N.off(this._element,this.constructor.EVENT_KEY);for(const p of Object.getOwnPropertyNames(this))this[p]=null}_queueCallback(p,k,K=!0){J(p,k,K)}_getConfig(p){return p=this._mergeConfigObj(p,this._element),p=this._configAfterMerge(p),this._typeCheckConfig(p),p}static getInstance(p){return r.get(b(p),this.DATA_KEY)}static getOrCreateInstance(p,k={}){return this.getInstance(p)||new this(p,typeof k=="object"?k:null)}static get VERSION(){return ie}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(p){return`${p}${this.EVENT_KEY}`}}const te=z=>{let p=z.getAttribute("data-bs-target");if(!p||p==="#"){let k=z.getAttribute("href");if(!k||!k.includes("#")&&!k.startsWith("."))return null;k.includes("#")&&!k.startsWith("#")&&(k=`#${k.split("#")[1]}`),p=k&&k!=="#"?u(k.trim()):null}return p},G={find(z,p=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(p,z))},findOne(z,p=document.documentElement){return Element.prototype.querySelector.call(p,z)},children(z,p){return[].concat(...z.children).filter(k=>k.matches(p))},parents(z,p){const k=[];let K=z.parentNode.closest(p);for(;K;)k.push(K),K=K.parentNode.closest(p);return k},prev(z,p){let k=z.previousElementSibling;for(;k;){if(k.matches(p))return[k];k=k.previousElementSibling}return[]},next(z,p){let k=z.nextElementSibling;for(;k;){if(k.matches(p))return[k];k=k.nextElementSibling}return[]},focusableChildren(z){const p=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(k=>`${k}:not([tabindex^="-"])`).join(",");return this.find(p,z).filter(k=>!$(k)&&w(k))},getSelectorFromElement(z){const p=te(z);return p&&G.findOne(p)?p:null},getElementFromSelector(z){const p=te(z);return p?G.findOne(p):null},getMultipleElementsFromSelector(z){const p=te(z);return p?G.find(p):[]}},de=(z,p="hide")=>{const k=`click.dismiss${z.EVENT_KEY}`,K=z.NAME;N.on(document,k,`[data-bs-dismiss="${K}"]`,function(pe){if(["A","AREA"].includes(this.tagName)&&pe.preventDefault(),$(this))return;const Ee=G.getElementFromSelector(this)||this.closest(`.${K}`);z.getOrCreateInstance(Ee)[p]()})},ge="alert",Re=".bs.alert",De=`close${Re}`,Ve=`closed${Re}`,Be="fade",et="show";class Ge extends j{static get NAME(){return ge}close(){if(N.trigger(this._element,De).defaultPrevented)return;this._element.classList.remove(et);const k=this._element.classList.contains(Be);this._queueCallback(()=>this._destroyElement(),this._element,k)}_destroyElement(){this._element.remove(),N.trigger(this._element,Ve),this.dispose()}static jQueryInterface(p){return this.each(function(){const k=Ge.getOrCreateInstance(this);if(typeof p=="string"){if(k[p]===void 0||p.startsWith("_")||p==="constructor")throw new TypeError(`No method named "${p}"`);k[p](this)}})}}de(Ge,"close"),C(Ge);const pt="button",Hn=".bs.button",ii=".data-api",Qn="active",Ds='[data-bs-toggle="button"]',Vt=`click${Hn}${ii}`;class ne extends j{static get NAME(){return pt}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Qn))}static jQueryInterface(p){return this.each(function(){const k=ne.getOrCreateInstance(this);p==="toggle"&&k[p]()})}}N.on(document,Vt,Ds,z=>{z.preventDefault();const p=z.target.closest(Ds);ne.getOrCreateInstance(p).toggle()}),C(ne);const ke="swipe",ce=".bs.swipe",$e=`touchstart${ce}`,Me=`touchmove${ce}`,nn=`touchend${ce}`,xn=`pointerdown${ce}`,Os=`pointerup${ce}`,No="touch",Ki="pen",fs="pointer-event",Br=40,gu={endCallback:null,leftCallback:null,rightCallback:null},N1={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class al extends W{constructor(p,k){super(),this._element=p,!(!p||!al.isSupported())&&(this._config=this._getConfig(k),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return gu}static get DefaultType(){return N1}static get NAME(){return ke}dispose(){N.off(this._element,ce)}_start(p){if(!this._supportPointerEvents){this._deltaX=p.touches[0].clientX;return}this._eventIsPointerPenTouch(p)&&(this._deltaX=p.clientX)}_end(p){this._eventIsPointerPenTouch(p)&&(this._deltaX=p.clientX-this._deltaX),this._handleSwipe(),B(this._config.endCallback)}_move(p){this._deltaX=p.touches&&p.touches.length>1?0:p.touches[0].clientX-this._deltaX}_handleSwipe(){const p=Math.abs(this._deltaX);if(p<=Br)return;const k=p/this._deltaX;this._deltaX=0,k&&B(k>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(N.on(this._element,xn,p=>this._start(p)),N.on(this._element,Os,p=>this._end(p)),this._element.classList.add(fs)):(N.on(this._element,$e,p=>this._start(p)),N.on(this._element,Me,p=>this._move(p)),N.on(this._element,nn,p=>this._end(p)))}_eventIsPointerPenTouch(p){return this._supportPointerEvents&&(p.pointerType===Ki||p.pointerType===No)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const F1="carousel",oi=".bs.carousel",Gf=".data-api",B1="ArrowLeft",V1="ArrowRight",H1=500,Vr="next",Fo="prev",Bo="left",ll="right",j1=`slide${oi}`,mu=`slid${oi}`,W1=`keydown${oi}`,z1=`mouseenter${oi}`,Y1=`mouseleave${oi}`,U1=`dragstart${oi}`,K1=`load${oi}${Gf}`,q1=`click${oi}${Gf}`,Jf="carousel",cl="active",G1="slide",J1="carousel-item-end",X1="carousel-item-start",Q1="carousel-item-next",Z1="carousel-item-prev",Xf=".active",Qf=".carousel-item",ew=Xf+Qf,tw=".carousel-item img",nw=".carousel-indicators",sw="[data-bs-slide], [data-bs-slide-to]",iw='[data-bs-ride="carousel"]',ow={[B1]:ll,[V1]:Bo},rw={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},aw={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Vo extends j{constructor(p,k){super(p,k),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=G.findOne(nw,this._element),this._addEventListeners(),this._config.ride===Jf&&this.cycle()}static get Default(){return rw}static get DefaultType(){return aw}static get NAME(){return F1}next(){this._slide(Vr)}nextWhenVisible(){!document.hidden&&w(this._element)&&this.next()}prev(){this._slide(Fo)}pause(){this._isSliding&&_(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){N.one(this._element,mu,()=>this.cycle());return}this.cycle()}}to(p){const k=this._getItems();if(p>k.length-1||p<0)return;if(this._isSliding){N.one(this._element,mu,()=>this.to(p));return}const K=this._getItemIndex(this._getActive());if(K===p)return;const pe=p>K?Vr:Fo;this._slide(pe,k[p])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(p){return p.defaultInterval=p.interval,p}_addEventListeners(){this._config.keyboard&&N.on(this._element,W1,p=>this._keydown(p)),this._config.pause==="hover"&&(N.on(this._element,z1,()=>this.pause()),N.on(this._element,Y1,()=>this._maybeEnableCycle())),this._config.touch&&al.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const K of G.find(tw,this._element))N.on(K,U1,pe=>pe.preventDefault());const k={leftCallback:()=>this._slide(this._directionToOrder(Bo)),rightCallback:()=>this._slide(this._directionToOrder(ll)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),H1+this._config.interval))}};this._swipeHelper=new al(this._element,k)}_keydown(p){if(/input|textarea/i.test(p.target.tagName))return;const k=ow[p.key];k&&(p.preventDefault(),this._slide(this._directionToOrder(k)))}_getItemIndex(p){return this._getItems().indexOf(p)}_setActiveIndicatorElement(p){if(!this._indicatorsElement)return;const k=G.findOne(Xf,this._indicatorsElement);k.classList.remove(cl),k.removeAttribute("aria-current");const K=G.findOne(`[data-bs-slide-to="${p}"]`,this._indicatorsElement);K&&(K.classList.add(cl),K.setAttribute("aria-current","true"))}_updateInterval(){const p=this._activeElement||this._getActive();if(!p)return;const k=Number.parseInt(p.getAttribute("data-bs-interval"),10);this._config.interval=k||this._config.defaultInterval}_slide(p,k=null){if(this._isSliding)return;const K=this._getActive(),pe=p===Vr,Ee=k||ae(this._getItems(),K,pe,this._config.wrap);if(Ee===K)return;const Ae=this._getItemIndex(Ee),Je=vl=>N.trigger(this._element,vl,{relatedTarget:Ee,direction:this._orderToDirection(p),from:this._getItemIndex(K),to:Ae});if(Je(j1).defaultPrevented||!K||!Ee)return;const Wn=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(Ae),this._activeElement=Ee;const Gt=pe?X1:J1,ps=pe?Q1:Z1;Ee.classList.add(ps),x(Ee),K.classList.add(Gt),Ee.classList.add(Gt);const es=()=>{Ee.classList.remove(Gt,ps),Ee.classList.add(cl),K.classList.remove(cl,ps,Gt),this._isSliding=!1,Je(mu)};this._queueCallback(es,K,this._isAnimated()),Wn&&this.cycle()}_isAnimated(){return this._element.classList.contains(G1)}_getActive(){return G.findOne(ew,this._element)}_getItems(){return G.find(Qf,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(p){return T()?p===Bo?Fo:Vr:p===Bo?Vr:Fo}_orderToDirection(p){return T()?p===Fo?Bo:ll:p===Fo?ll:Bo}static jQueryInterface(p){return this.each(function(){const k=Vo.getOrCreateInstance(this,p);if(typeof p=="number"){k.to(p);return}if(typeof p=="string"){if(k[p]===void 0||p.startsWith("_")||p==="constructor")throw new TypeError(`No method named "${p}"`);k[p]()}})}}N.on(document,q1,sw,function(z){const p=G.getElementFromSelector(this);if(!p||!p.classList.contains(Jf))return;z.preventDefault();const k=Vo.getOrCreateInstance(p),K=this.getAttribute("data-bs-slide-to");if(K){k.to(K),k._maybeEnableCycle();return}if(H.getDataAttribute(this,"slide")==="next"){k.next(),k._maybeEnableCycle();return}k.prev(),k._maybeEnableCycle()}),N.on(window,K1,()=>{const z=G.find(iw);for(const p of z)Vo.getOrCreateInstance(p)}),C(Vo);const lw="collapse",Hr=".bs.collapse",cw=".data-api",uw=`show${Hr}`,dw=`shown${Hr}`,hw=`hide${Hr}`,fw=`hidden${Hr}`,pw=`click${Hr}${cw}`,_u="show",Ho="collapse",ul="collapsing",gw="collapsed",mw=`:scope .${Ho} .${Ho}`,_w="collapse-horizontal",vw="width",bw="height",yw=".collapse.show, .collapse.collapsing",vu='[data-bs-toggle="collapse"]',ww={parent:null,toggle:!0},xw={parent:"(null|element)",toggle:"boolean"};class jo extends j{constructor(p,k){super(p,k),this._isTransitioning=!1,this._triggerArray=[];const K=G.find(vu);for(const pe of K){const Ee=G.getSelectorFromElement(pe),Ae=G.find(Ee).filter(Je=>Je===this._element);Ee!==null&&Ae.length&&this._triggerArray.push(pe)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ww}static get DefaultType(){return xw}static get NAME(){return lw}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let p=[];if(this._config.parent&&(p=this._getFirstLevelChildren(yw).filter(Je=>Je!==this._element).map(Je=>jo.getOrCreateInstance(Je,{toggle:!1}))),p.length&&p[0]._isTransitioning||N.trigger(this._element,uw).defaultPrevented)return;for(const Je of p)Je.hide();const K=this._getDimension();this._element.classList.remove(Ho),this._element.classList.add(ul),this._element.style[K]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const pe=()=>{this._isTransitioning=!1,this._element.classList.remove(ul),this._element.classList.add(Ho,_u),this._element.style[K]="",N.trigger(this._element,dw)},Ae=`scroll${K[0].toUpperCase()+K.slice(1)}`;this._queueCallback(pe,this._element,!0),this._element.style[K]=`${this._element[Ae]}px`}hide(){if(this._isTransitioning||!this._isShown()||N.trigger(this._element,hw).defaultPrevented)return;const k=this._getDimension();this._element.style[k]=`${this._element.getBoundingClientRect()[k]}px`,x(this._element),this._element.classList.add(ul),this._element.classList.remove(Ho,_u);for(const pe of this._triggerArray){const Ee=G.getElementFromSelector(pe);Ee&&!this._isShown(Ee)&&this._addAriaAndCollapsedClass([pe],!1)}this._isTransitioning=!0;const K=()=>{this._isTransitioning=!1,this._element.classList.remove(ul),this._element.classList.add(Ho),N.trigger(this._element,fw)};this._element.style[k]="",this._queueCallback(K,this._element,!0)}_isShown(p=this._element){return p.classList.contains(_u)}_configAfterMerge(p){return p.toggle=!!p.toggle,p.parent=b(p.parent),p}_getDimension(){return this._element.classList.contains(_w)?vw:bw}_initializeChildren(){if(!this._config.parent)return;const p=this._getFirstLevelChildren(vu);for(const k of p){const K=G.getElementFromSelector(k);K&&this._addAriaAndCollapsedClass([k],this._isShown(K))}}_getFirstLevelChildren(p){const k=G.find(mw,this._config.parent);return G.find(p,this._config.parent).filter(K=>!k.includes(K))}_addAriaAndCollapsedClass(p,k){if(p.length)for(const K of p)K.classList.toggle(gw,!k),K.setAttribute("aria-expanded",k)}static jQueryInterface(p){const k={};return typeof p=="string"&&/show|hide/.test(p)&&(k.toggle=!1),this.each(function(){const K=jo.getOrCreateInstance(this,k);if(typeof p=="string"){if(typeof K[p]>"u")throw new TypeError(`No method named "${p}"`);K[p]()}})}}N.on(document,pw,vu,function(z){(z.target.tagName==="A"||z.delegateTarget&&z.delegateTarget.tagName==="A")&&z.preventDefault();for(const p of G.getMultipleElementsFromSelector(this))jo.getOrCreateInstance(p,{toggle:!1}).toggle()}),C(jo);const Zf="dropdown",qi=".bs.dropdown",bu=".data-api",kw="Escape",ep="Tab",Sw="ArrowUp",tp="ArrowDown",$w=2,Aw=`hide${qi}`,Cw=`hidden${qi}`,Ew=`show${qi}`,Pw=`shown${qi}`,np=`click${qi}${bu}`,sp=`keydown${qi}${bu}`,Tw=`keyup${qi}${bu}`,Wo="show",Mw="dropup",Dw="dropend",Ow="dropstart",Iw="dropup-center",Rw="dropdown-center",Gi='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Lw=`${Gi}.${Wo}`,dl=".dropdown-menu",Nw=".navbar",Fw=".navbar-nav",Bw=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Vw=T()?"top-end":"top-start",Hw=T()?"top-start":"top-end",jw=T()?"bottom-end":"bottom-start",Ww=T()?"bottom-start":"bottom-end",zw=T()?"left-start":"right-start",Yw=T()?"right-start":"left-start",Uw="top",Kw="bottom",qw={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Gw={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Zn extends j{constructor(p,k){super(p,k),this._popper=null,this._parent=this._element.parentNode,this._menu=G.next(this._element,dl)[0]||G.prev(this._element,dl)[0]||G.findOne(dl,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return qw}static get DefaultType(){return Gw}static get NAME(){return Zf}toggle(){return this._isShown()?this.hide():this.show()}show(){if($(this._element)||this._isShown())return;const p={relatedTarget:this._element};if(!N.trigger(this._element,Ew,p).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Fw))for(const K of[].concat(...document.body.children))N.on(K,"mouseover",D);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Wo),this._element.classList.add(Wo),N.trigger(this._element,Pw,p)}}hide(){if($(this._element)||!this._isShown())return;const p={relatedTarget:this._element};this._completeHide(p)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(p){if(!N.trigger(this._element,Aw,p).defaultPrevented){if("ontouchstart"in document.documentElement)for(const K of[].concat(...document.body.children))N.off(K,"mouseover",D);this._popper&&this._popper.destroy(),this._menu.classList.remove(Wo),this._element.classList.remove(Wo),this._element.setAttribute("aria-expanded","false"),H.removeDataAttribute(this._menu,"popper"),N.trigger(this._element,Cw,p)}}_getConfig(p){if(p=super._getConfig(p),typeof p.reference=="object"&&!m(p.reference)&&typeof p.reference.getBoundingClientRect!="function")throw new TypeError(`${Zf.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return p}_createPopper(){if(typeof i>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let p=this._element;this._config.reference==="parent"?p=this._parent:m(this._config.reference)?p=b(this._config.reference):typeof this._config.reference=="object"&&(p=this._config.reference);const k=this._getPopperConfig();this._popper=i.createPopper(p,this._menu,k)}_isShown(){return this._menu.classList.contains(Wo)}_getPlacement(){const p=this._parent;if(p.classList.contains(Dw))return zw;if(p.classList.contains(Ow))return Yw;if(p.classList.contains(Iw))return Uw;if(p.classList.contains(Rw))return Kw;const k=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return p.classList.contains(Mw)?k?Hw:Vw:k?Ww:jw}_detectNavbar(){return this._element.closest(Nw)!==null}_getOffset(){const{offset:p}=this._config;return typeof p=="string"?p.split(",").map(k=>Number.parseInt(k,10)):typeof p=="function"?k=>p(k,this._element):p}_getPopperConfig(){const p={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(H.setDataAttribute(this._menu,"popper","static"),p.modifiers=[{name:"applyStyles",enabled:!1}]),{...p,...B(this._config.popperConfig,[p])}}_selectMenuItem({key:p,target:k}){const K=G.find(Bw,this._menu).filter(pe=>w(pe));K.length&&ae(K,k,p===tp,!K.includes(k)).focus()}static jQueryInterface(p){return this.each(function(){const k=Zn.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof k[p]>"u")throw new TypeError(`No method named "${p}"`);k[p]()}})}static clearMenus(p){if(p.button===$w||p.type==="keyup"&&p.key!==ep)return;const k=G.find(Lw);for(const K of k){const pe=Zn.getInstance(K);if(!pe||pe._config.autoClose===!1)continue;const Ee=p.composedPath(),Ae=Ee.includes(pe._menu);if(Ee.includes(pe._element)||pe._config.autoClose==="inside"&&!Ae||pe._config.autoClose==="outside"&&Ae||pe._menu.contains(p.target)&&(p.type==="keyup"&&p.key===ep||/input|select|option|textarea|form/i.test(p.target.tagName)))continue;const Je={relatedTarget:pe._element};p.type==="click"&&(Je.clickEvent=p),pe._completeHide(Je)}}static dataApiKeydownHandler(p){const k=/input|textarea/i.test(p.target.tagName),K=p.key===kw,pe=[Sw,tp].includes(p.key);if(!pe&&!K||k&&!K)return;p.preventDefault();const Ee=this.matches(Gi)?this:G.prev(this,Gi)[0]||G.next(this,Gi)[0]||G.findOne(Gi,p.delegateTarget.parentNode),Ae=Zn.getOrCreateInstance(Ee);if(pe){p.stopPropagation(),Ae.show(),Ae._selectMenuItem(p);return}Ae._isShown()&&(p.stopPropagation(),Ae.hide(),Ee.focus())}}N.on(document,sp,Gi,Zn.dataApiKeydownHandler),N.on(document,sp,dl,Zn.dataApiKeydownHandler),N.on(document,np,Zn.clearMenus),N.on(document,Tw,Zn.clearMenus),N.on(document,np,Gi,function(z){z.preventDefault(),Zn.getOrCreateInstance(this).toggle()}),C(Zn);const ip="backdrop",Jw="fade",op="show",rp=`mousedown.bs.${ip}`,Xw={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Qw={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ap extends W{constructor(p){super(),this._config=this._getConfig(p),this._isAppended=!1,this._element=null}static get Default(){return Xw}static get DefaultType(){return Qw}static get NAME(){return ip}show(p){if(!this._config.isVisible){B(p);return}this._append();const k=this._getElement();this._config.isAnimated&&x(k),k.classList.add(op),this._emulateAnimation(()=>{B(p)})}hide(p){if(!this._config.isVisible){B(p);return}this._getElement().classList.remove(op),this._emulateAnimation(()=>{this.dispose(),B(p)})}dispose(){this._isAppended&&(N.off(this._element,rp),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const p=document.createElement("div");p.className=this._config.className,this._config.isAnimated&&p.classList.add(Jw),this._element=p}return this._element}_configAfterMerge(p){return p.rootElement=b(p.rootElement),p}_append(){if(this._isAppended)return;const p=this._getElement();this._config.rootElement.append(p),N.on(p,rp,()=>{B(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(p){J(p,this._getElement(),this._config.isAnimated)}}const Zw="focustrap",hl=".bs.focustrap",ex=`focusin${hl}`,tx=`keydown.tab${hl}`,nx="Tab",sx="forward",lp="backward",ix={autofocus:!0,trapElement:null},ox={autofocus:"boolean",trapElement:"element"};class cp extends W{constructor(p){super(),this._config=this._getConfig(p),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ix}static get DefaultType(){return ox}static get NAME(){return Zw}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),N.off(document,hl),N.on(document,ex,p=>this._handleFocusin(p)),N.on(document,tx,p=>this._handleKeydown(p)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,N.off(document,hl))}_handleFocusin(p){const{trapElement:k}=this._config;if(p.target===document||p.target===k||k.contains(p.target))return;const K=G.focusableChildren(k);K.length===0?k.focus():this._lastTabNavDirection===lp?K[K.length-1].focus():K[0].focus()}_handleKeydown(p){p.key===nx&&(this._lastTabNavDirection=p.shiftKey?lp:sx)}}const up=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",dp=".sticky-top",fl="padding-right",hp="margin-right";class yu{constructor(){this._element=document.body}getWidth(){const p=document.documentElement.clientWidth;return Math.abs(window.innerWidth-p)}hide(){const p=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,fl,k=>k+p),this._setElementAttributes(up,fl,k=>k+p),this._setElementAttributes(dp,hp,k=>k-p)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,fl),this._resetElementAttributes(up,fl),this._resetElementAttributes(dp,hp)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(p,k,K){const pe=this.getWidth(),Ee=Ae=>{if(Ae!==this._element&&window.innerWidth>Ae.clientWidth+pe)return;this._saveInitialAttribute(Ae,k);const Je=window.getComputedStyle(Ae).getPropertyValue(k);Ae.style.setProperty(k,`${K(Number.parseFloat(Je))}px`)};this._applyManipulationCallback(p,Ee)}_saveInitialAttribute(p,k){const K=p.style.getPropertyValue(k);K&&H.setDataAttribute(p,k,K)}_resetElementAttributes(p,k){const K=pe=>{const Ee=H.getDataAttribute(pe,k);if(Ee===null){pe.style.removeProperty(k);return}H.removeDataAttribute(pe,k),pe.style.setProperty(k,Ee)};this._applyManipulationCallback(p,K)}_applyManipulationCallback(p,k){if(m(p)){k(p);return}for(const K of G.find(p,this._element))k(K)}}const rx="modal",jn=".bs.modal",ax=".data-api",lx="Escape",cx=`hide${jn}`,ux=`hidePrevented${jn}`,fp=`hidden${jn}`,pp=`show${jn}`,dx=`shown${jn}`,hx=`resize${jn}`,fx=`click.dismiss${jn}`,px=`mousedown.dismiss${jn}`,gx=`keydown.dismiss${jn}`,mx=`click${jn}${ax}`,gp="modal-open",_x="fade",mp="show",wu="modal-static",vx=".modal.show",bx=".modal-dialog",yx=".modal-body",wx='[data-bs-toggle="modal"]',xx={backdrop:!0,focus:!0,keyboard:!0},kx={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ji extends j{constructor(p,k){super(p,k),this._dialog=G.findOne(bx,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new yu,this._addEventListeners()}static get Default(){return xx}static get DefaultType(){return kx}static get NAME(){return rx}toggle(p){return this._isShown?this.hide():this.show(p)}show(p){this._isShown||this._isTransitioning||N.trigger(this._element,pp,{relatedTarget:p}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(gp),this._adjustDialog(),this._backdrop.show(()=>this._showElement(p)))}hide(){!this._isShown||this._isTransitioning||N.trigger(this._element,cx).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(mp),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){N.off(window,jn),N.off(this._dialog,jn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ap({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new cp({trapElement:this._element})}_showElement(p){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const k=G.findOne(yx,this._dialog);k&&(k.scrollTop=0),x(this._element),this._element.classList.add(mp);const K=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,N.trigger(this._element,dx,{relatedTarget:p})};this._queueCallback(K,this._dialog,this._isAnimated())}_addEventListeners(){N.on(this._element,gx,p=>{if(p.key===lx){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),N.on(window,hx,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),N.on(this._element,px,p=>{N.one(this._element,fx,k=>{if(!(this._element!==p.target||this._element!==k.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(gp),this._resetAdjustments(),this._scrollBar.reset(),N.trigger(this._element,fp)})}_isAnimated(){return this._element.classList.contains(_x)}_triggerBackdropTransition(){if(N.trigger(this._element,ux).defaultPrevented)return;const k=this._element.scrollHeight>document.documentElement.clientHeight,K=this._element.style.overflowY;K==="hidden"||this._element.classList.contains(wu)||(k||(this._element.style.overflowY="hidden"),this._element.classList.add(wu),this._queueCallback(()=>{this._element.classList.remove(wu),this._queueCallback(()=>{this._element.style.overflowY=K},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const p=this._element.scrollHeight>document.documentElement.clientHeight,k=this._scrollBar.getWidth(),K=k>0;if(K&&!p){const pe=T()?"paddingLeft":"paddingRight";this._element.style[pe]=`${k}px`}if(!K&&p){const pe=T()?"paddingRight":"paddingLeft";this._element.style[pe]=`${k}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(p,k){return this.each(function(){const K=Ji.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof K[p]>"u")throw new TypeError(`No method named "${p}"`);K[p](k)}})}}N.on(document,mx,wx,function(z){const p=G.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&z.preventDefault(),N.one(p,pp,pe=>{pe.defaultPrevented||N.one(p,fp,()=>{w(this)&&this.focus()})});const k=G.findOne(vx);k&&Ji.getInstance(k).hide(),Ji.getOrCreateInstance(p).toggle(this)}),de(Ji),C(Ji);const Sx="offcanvas",Is=".bs.offcanvas",_p=".data-api",$x=`load${Is}${_p}`,Ax="Escape",vp="show",bp="showing",yp="hiding",Cx="offcanvas-backdrop",wp=".offcanvas.show",Ex=`show${Is}`,Px=`shown${Is}`,Tx=`hide${Is}`,xp=`hidePrevented${Is}`,kp=`hidden${Is}`,Mx=`resize${Is}`,Dx=`click${Is}${_p}`,Ox=`keydown.dismiss${Is}`,Ix='[data-bs-toggle="offcanvas"]',Rx={backdrop:!0,keyboard:!0,scroll:!1},Lx={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Rs extends j{constructor(p,k){super(p,k),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Rx}static get DefaultType(){return Lx}static get NAME(){return Sx}toggle(p){return this._isShown?this.hide():this.show(p)}show(p){if(this._isShown||N.trigger(this._element,Ex,{relatedTarget:p}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new yu().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(bp);const K=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(vp),this._element.classList.remove(bp),N.trigger(this._element,Px,{relatedTarget:p})};this._queueCallback(K,this._element,!0)}hide(){if(!this._isShown||N.trigger(this._element,Tx).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(yp),this._backdrop.hide();const k=()=>{this._element.classList.remove(vp,yp),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new yu().reset(),N.trigger(this._element,kp)};this._queueCallback(k,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const p=()=>{if(this._config.backdrop==="static"){N.trigger(this._element,xp);return}this.hide()},k=!!this._config.backdrop;return new ap({className:Cx,isVisible:k,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:k?p:null})}_initializeFocusTrap(){return new cp({trapElement:this._element})}_addEventListeners(){N.on(this._element,Ox,p=>{if(p.key===Ax){if(this._config.keyboard){this.hide();return}N.trigger(this._element,xp)}})}static jQueryInterface(p){return this.each(function(){const k=Rs.getOrCreateInstance(this,p);if(typeof p=="string"){if(k[p]===void 0||p.startsWith("_")||p==="constructor")throw new TypeError(`No method named "${p}"`);k[p](this)}})}}N.on(document,Dx,Ix,function(z){const p=G.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&z.preventDefault(),$(this))return;N.one(p,kp,()=>{w(this)&&this.focus()});const k=G.findOne(wp);k&&k!==p&&Rs.getInstance(k).hide(),Rs.getOrCreateInstance(p).toggle(this)}),N.on(window,$x,()=>{for(const z of G.find(wp))Rs.getOrCreateInstance(z).show()}),N.on(window,Mx,()=>{for(const z of G.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(z).position!=="fixed"&&Rs.getOrCreateInstance(z).hide()}),de(Rs),C(Rs);const Sp={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Nx=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Fx=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Bx=(z,p)=>{const k=z.nodeName.toLowerCase();return p.includes(k)?Nx.has(k)?!!Fx.test(z.nodeValue):!0:p.filter(K=>K instanceof RegExp).some(K=>K.test(k))};function Vx(z,p,k){if(!z.length)return z;if(k&&typeof k=="function")return k(z);const pe=new window.DOMParser().parseFromString(z,"text/html"),Ee=[].concat(...pe.body.querySelectorAll("*"));for(const Ae of Ee){const Je=Ae.nodeName.toLowerCase();if(!Object.keys(p).includes(Je)){Ae.remove();continue}const kn=[].concat(...Ae.attributes),Wn=[].concat(p["*"]||[],p[Je]||[]);for(const Gt of kn)Bx(Gt,Wn)||Ae.removeAttribute(Gt.nodeName)}return pe.body.innerHTML}const Hx="TemplateFactory",jx={allowList:Sp,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Wx={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},zx={entry:"(string|element|function|null)",selector:"(string|element)"};class Yx extends W{constructor(p){super(),this._config=this._getConfig(p)}static get Default(){return jx}static get DefaultType(){return Wx}static get NAME(){return Hx}getContent(){return Object.values(this._config.content).map(p=>this._resolvePossibleFunction(p)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(p){return this._checkContent(p),this._config.content={...this._config.content,...p},this}toHtml(){const p=document.createElement("div");p.innerHTML=this._maybeSanitize(this._config.template);for(const[pe,Ee]of Object.entries(this._config.content))this._setContent(p,Ee,pe);const k=p.children[0],K=this._resolvePossibleFunction(this._config.extraClass);return K&&k.classList.add(...K.split(" ")),k}_typeCheckConfig(p){super._typeCheckConfig(p),this._checkContent(p.content)}_checkContent(p){for(const[k,K]of Object.entries(p))super._typeCheckConfig({selector:k,entry:K},zx)}_setContent(p,k,K){const pe=G.findOne(K,p);if(pe){if(k=this._resolvePossibleFunction(k),!k){pe.remove();return}if(m(k)){this._putElementInTemplate(b(k),pe);return}if(this._config.html){pe.innerHTML=this._maybeSanitize(k);return}pe.textContent=k}}_maybeSanitize(p){return this._config.sanitize?Vx(p,this._config.allowList,this._config.sanitizeFn):p}_resolvePossibleFunction(p){return B(p,[this])}_putElementInTemplate(p,k){if(this._config.html){k.innerHTML="",k.append(p);return}k.textContent=p.textContent}}const Ux="tooltip",Kx=new Set(["sanitize","allowList","sanitizeFn"]),xu="fade",qx="modal",pl="show",Gx=".tooltip-inner",$p=`.${qx}`,Ap="hide.bs.modal",jr="hover",ku="focus",Jx="click",Xx="manual",Qx="hide",Zx="hidden",ek="show",tk="shown",nk="inserted",sk="click",ik="focusin",ok="focusout",rk="mouseenter",ak="mouseleave",lk={AUTO:"auto",TOP:"top",RIGHT:T()?"left":"right",BOTTOM:"bottom",LEFT:T()?"right":"left"},ck={allowList:Sp,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},uk={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Xi extends j{constructor(p,k){if(typeof i>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(p,k),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return ck}static get DefaultType(){return uk}static get NAME(){return Ux}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),N.off(this._element.closest($p),Ap,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const p=N.trigger(this._element,this.constructor.eventName(ek)),K=(A(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(p.defaultPrevented||!K)return;this._disposePopper();const pe=this._getTipElement();this._element.setAttribute("aria-describedby",pe.getAttribute("id"));const{container:Ee}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(Ee.append(pe),N.trigger(this._element,this.constructor.eventName(nk))),this._popper=this._createPopper(pe),pe.classList.add(pl),"ontouchstart"in document.documentElement)for(const Je of[].concat(...document.body.children))N.on(Je,"mouseover",D);const Ae=()=>{N.trigger(this._element,this.constructor.eventName(tk)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(Ae,this.tip,this._isAnimated())}hide(){if(!this._isShown()||N.trigger(this._element,this.constructor.eventName(Qx)).defaultPrevented)return;if(this._getTipElement().classList.remove(pl),"ontouchstart"in document.documentElement)for(const pe of[].concat(...document.body.children))N.off(pe,"mouseover",D);this._activeTrigger[Jx]=!1,this._activeTrigger[ku]=!1,this._activeTrigger[jr]=!1,this._isHovered=null;const K=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),N.trigger(this._element,this.constructor.eventName(Zx)))};this._queueCallback(K,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(p){const k=this._getTemplateFactory(p).toHtml();if(!k)return null;k.classList.remove(xu,pl),k.classList.add(`bs-${this.constructor.NAME}-auto`);const K=f(this.constructor.NAME).toString();return k.setAttribute("id",K),this._isAnimated()&&k.classList.add(xu),k}setContent(p){this._newContent=p,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(p){return this._templateFactory?this._templateFactory.changeContent(p):this._templateFactory=new Yx({...this._config,content:p,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Gx]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(p){return this.constructor.getOrCreateInstance(p.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(xu)}_isShown(){return this.tip&&this.tip.classList.contains(pl)}_createPopper(p){const k=B(this._config.placement,[this,p,this._element]),K=lk[k.toUpperCase()];return i.createPopper(this._element,p,this._getPopperConfig(K))}_getOffset(){const{offset:p}=this._config;return typeof p=="string"?p.split(",").map(k=>Number.parseInt(k,10)):typeof p=="function"?k=>p(k,this._element):p}_resolvePossibleFunction(p){return B(p,[this._element])}_getPopperConfig(p){const k={placement:p,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:K=>{this._getTipElement().setAttribute("data-popper-placement",K.state.placement)}}]};return{...k,...B(this._config.popperConfig,[k])}}_setListeners(){const p=this._config.trigger.split(" ");for(const k of p)if(k==="click")N.on(this._element,this.constructor.eventName(sk),this._config.selector,K=>{this._initializeOnDelegatedTarget(K).toggle()});else if(k!==Xx){const K=k===jr?this.constructor.eventName(rk):this.constructor.eventName(ik),pe=k===jr?this.constructor.eventName(ak):this.constructor.eventName(ok);N.on(this._element,K,this._config.selector,Ee=>{const Ae=this._initializeOnDelegatedTarget(Ee);Ae._activeTrigger[Ee.type==="focusin"?ku:jr]=!0,Ae._enter()}),N.on(this._element,pe,this._config.selector,Ee=>{const Ae=this._initializeOnDelegatedTarget(Ee);Ae._activeTrigger[Ee.type==="focusout"?ku:jr]=Ae._element.contains(Ee.relatedTarget),Ae._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},N.on(this._element.closest($p),Ap,this._hideModalHandler)}_fixTitle(){const p=this._element.getAttribute("title");p&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",p),this._element.setAttribute("data-bs-original-title",p),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(p,k){clearTimeout(this._timeout),this._timeout=setTimeout(p,k)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(p){const k=H.getDataAttributes(this._element);for(const K of Object.keys(k))Kx.has(K)&&delete k[K];return p={...k,...typeof p=="object"&&p?p:{}},p=this._mergeConfigObj(p),p=this._configAfterMerge(p),this._typeCheckConfig(p),p}_configAfterMerge(p){return p.container=p.container===!1?document.body:b(p.container),typeof p.delay=="number"&&(p.delay={show:p.delay,hide:p.delay}),typeof p.title=="number"&&(p.title=p.title.toString()),typeof p.content=="number"&&(p.content=p.content.toString()),p}_getDelegateConfig(){const p={};for(const[k,K]of Object.entries(this._config))this.constructor.Default[k]!==K&&(p[k]=K);return p.selector=!1,p.trigger="manual",p}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(p){return this.each(function(){const k=Xi.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof k[p]>"u")throw new TypeError(`No method named "${p}"`);k[p]()}})}}C(Xi);const dk="popover",hk=".popover-header",fk=".popover-body",pk={...Xi.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},gk={...Xi.DefaultType,content:"(null|string|element|function)"};class gl extends Xi{static get Default(){return pk}static get DefaultType(){return gk}static get NAME(){return dk}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[hk]:this._getTitle(),[fk]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(p){return this.each(function(){const k=gl.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof k[p]>"u")throw new TypeError(`No method named "${p}"`);k[p]()}})}}C(gl);const mk="scrollspy",Su=".bs.scrollspy",_k=".data-api",vk=`activate${Su}`,Cp=`click${Su}`,bk=`load${Su}${_k}`,yk="dropdown-item",zo="active",wk='[data-bs-spy="scroll"]',$u="[href]",xk=".nav, .list-group",Ep=".nav-link",kk=`${Ep}, .nav-item > ${Ep}, .list-group-item`,Sk=".dropdown",$k=".dropdown-toggle",Ak={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ck={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Wr extends j{constructor(p,k){super(p,k),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Ak}static get DefaultType(){return Ck}static get NAME(){return mk}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const p of this._observableSections.values())this._observer.observe(p)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(p){return p.target=b(p.target)||document.body,p.rootMargin=p.offset?`${p.offset}px 0px -30%`:p.rootMargin,typeof p.threshold=="string"&&(p.threshold=p.threshold.split(",").map(k=>Number.parseFloat(k))),p}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(N.off(this._config.target,Cp),N.on(this._config.target,Cp,$u,p=>{const k=this._observableSections.get(p.target.hash);if(k){p.preventDefault();const K=this._rootElement||window,pe=k.offsetTop-this._element.offsetTop;if(K.scrollTo){K.scrollTo({top:pe,behavior:"smooth"});return}K.scrollTop=pe}}))}_getNewObserver(){const p={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(k=>this._observerCallback(k),p)}_observerCallback(p){const k=Ae=>this._targetLinks.get(`#${Ae.target.id}`),K=Ae=>{this._previousScrollData.visibleEntryTop=Ae.target.offsetTop,this._process(k(Ae))},pe=(this._rootElement||document.documentElement).scrollTop,Ee=pe>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=pe;for(const Ae of p){if(!Ae.isIntersecting){this._activeTarget=null,this._clearActiveClass(k(Ae));continue}const Je=Ae.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(Ee&&Je){if(K(Ae),!pe)return;continue}!Ee&&!Je&&K(Ae)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const p=G.find($u,this._config.target);for(const k of p){if(!k.hash||$(k))continue;const K=G.findOne(decodeURI(k.hash),this._element);w(K)&&(this._targetLinks.set(decodeURI(k.hash),k),this._observableSections.set(k.hash,K))}}_process(p){this._activeTarget!==p&&(this._clearActiveClass(this._config.target),this._activeTarget=p,p.classList.add(zo),this._activateParents(p),N.trigger(this._element,vk,{relatedTarget:p}))}_activateParents(p){if(p.classList.contains(yk)){G.findOne($k,p.closest(Sk)).classList.add(zo);return}for(const k of G.parents(p,xk))for(const K of G.prev(k,kk))K.classList.add(zo)}_clearActiveClass(p){p.classList.remove(zo);const k=G.find(`${$u}.${zo}`,p);for(const K of k)K.classList.remove(zo)}static jQueryInterface(p){return this.each(function(){const k=Wr.getOrCreateInstance(this,p);if(typeof p=="string"){if(k[p]===void 0||p.startsWith("_")||p==="constructor")throw new TypeError(`No method named "${p}"`);k[p]()}})}}N.on(window,bk,()=>{for(const z of G.find(wk))Wr.getOrCreateInstance(z)}),C(Wr);const Ek="tab",Qi=".bs.tab",Pk=`hide${Qi}`,Tk=`hidden${Qi}`,Mk=`show${Qi}`,Dk=`shown${Qi}`,Ok=`click${Qi}`,Ik=`keydown${Qi}`,Rk=`load${Qi}`,Lk="ArrowLeft",Pp="ArrowRight",Nk="ArrowUp",Tp="ArrowDown",Au="Home",Mp="End",Zi="active",Dp="fade",Cu="show",Fk="dropdown",Op=".dropdown-toggle",Bk=".dropdown-menu",Eu=`:not(${Op})`,Vk='.list-group, .nav, [role="tablist"]',Hk=".nav-item, .list-group-item",jk=`.nav-link${Eu}, .list-group-item${Eu}, [role="tab"]${Eu}`,Ip='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Pu=`${jk}, ${Ip}`,Wk=`.${Zi}[data-bs-toggle="tab"], .${Zi}[data-bs-toggle="pill"], .${Zi}[data-bs-toggle="list"]`;class eo extends j{constructor(p){super(p),this._parent=this._element.closest(Vk),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),N.on(this._element,Ik,k=>this._keydown(k)))}static get NAME(){return Ek}show(){const p=this._element;if(this._elemIsActive(p))return;const k=this._getActiveElem(),K=k?N.trigger(k,Pk,{relatedTarget:p}):null;N.trigger(p,Mk,{relatedTarget:k}).defaultPrevented||K&&K.defaultPrevented||(this._deactivate(k,p),this._activate(p,k))}_activate(p,k){if(!p)return;p.classList.add(Zi),this._activate(G.getElementFromSelector(p));const K=()=>{if(p.getAttribute("role")!=="tab"){p.classList.add(Cu);return}p.removeAttribute("tabindex"),p.setAttribute("aria-selected",!0),this._toggleDropDown(p,!0),N.trigger(p,Dk,{relatedTarget:k})};this._queueCallback(K,p,p.classList.contains(Dp))}_deactivate(p,k){if(!p)return;p.classList.remove(Zi),p.blur(),this._deactivate(G.getElementFromSelector(p));const K=()=>{if(p.getAttribute("role")!=="tab"){p.classList.remove(Cu);return}p.setAttribute("aria-selected",!1),p.setAttribute("tabindex","-1"),this._toggleDropDown(p,!1),N.trigger(p,Tk,{relatedTarget:k})};this._queueCallback(K,p,p.classList.contains(Dp))}_keydown(p){if(![Lk,Pp,Nk,Tp,Au,Mp].includes(p.key))return;p.stopPropagation(),p.preventDefault();const k=this._getChildren().filter(pe=>!$(pe));let K;if([Au,Mp].includes(p.key))K=k[p.key===Au?0:k.length-1];else{const pe=[Pp,Tp].includes(p.key);K=ae(k,p.target,pe,!0)}K&&(K.focus({preventScroll:!0}),eo.getOrCreateInstance(K).show())}_getChildren(){return G.find(Pu,this._parent)}_getActiveElem(){return this._getChildren().find(p=>this._elemIsActive(p))||null}_setInitialAttributes(p,k){this._setAttributeIfNotExists(p,"role","tablist");for(const K of k)this._setInitialAttributesOnChild(K)}_setInitialAttributesOnChild(p){p=this._getInnerElement(p);const k=this._elemIsActive(p),K=this._getOuterElement(p);p.setAttribute("aria-selected",k),K!==p&&this._setAttributeIfNotExists(K,"role","presentation"),k||p.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(p,"role","tab"),this._setInitialAttributesOnTargetPanel(p)}_setInitialAttributesOnTargetPanel(p){const k=G.getElementFromSelector(p);k&&(this._setAttributeIfNotExists(k,"role","tabpanel"),p.id&&this._setAttributeIfNotExists(k,"aria-labelledby",`${p.id}`))}_toggleDropDown(p,k){const K=this._getOuterElement(p);if(!K.classList.contains(Fk))return;const pe=(Ee,Ae)=>{const Je=G.findOne(Ee,K);Je&&Je.classList.toggle(Ae,k)};pe(Op,Zi),pe(Bk,Cu),K.setAttribute("aria-expanded",k)}_setAttributeIfNotExists(p,k,K){p.hasAttribute(k)||p.setAttribute(k,K)}_elemIsActive(p){return p.classList.contains(Zi)}_getInnerElement(p){return p.matches(Pu)?p:G.findOne(Pu,p)}_getOuterElement(p){return p.closest(Hk)||p}static jQueryInterface(p){return this.each(function(){const k=eo.getOrCreateInstance(this);if(typeof p=="string"){if(k[p]===void 0||p.startsWith("_")||p==="constructor")throw new TypeError(`No method named "${p}"`);k[p]()}})}}N.on(document,Ok,Ip,function(z){["A","AREA"].includes(this.tagName)&&z.preventDefault(),!$(this)&&eo.getOrCreateInstance(this).show()}),N.on(window,Rk,()=>{for(const z of G.find(Wk))eo.getOrCreateInstance(z)}),C(eo);const zk="toast",ri=".bs.toast",Yk=`mouseover${ri}`,Uk=`mouseout${ri}`,Kk=`focusin${ri}`,qk=`focusout${ri}`,Gk=`hide${ri}`,Jk=`hidden${ri}`,Xk=`show${ri}`,Qk=`shown${ri}`,Zk="fade",Rp="hide",ml="show",_l="showing",eS={animation:"boolean",autohide:"boolean",delay:"number"},tS={animation:!0,autohide:!0,delay:5e3};class zr extends j{constructor(p,k){super(p,k),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return tS}static get DefaultType(){return eS}static get NAME(){return zk}show(){if(N.trigger(this._element,Xk).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Zk);const k=()=>{this._element.classList.remove(_l),N.trigger(this._element,Qk),this._maybeScheduleHide()};this._element.classList.remove(Rp),x(this._element),this._element.classList.add(ml,_l),this._queueCallback(k,this._element,this._config.animation)}hide(){if(!this.isShown()||N.trigger(this._element,Gk).defaultPrevented)return;const k=()=>{this._element.classList.add(Rp),this._element.classList.remove(_l,ml),N.trigger(this._element,Jk)};this._element.classList.add(_l),this._queueCallback(k,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ml),super.dispose()}isShown(){return this._element.classList.contains(ml)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(p,k){switch(p.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=k;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=k;break}}if(k){this._clearTimeout();return}const K=p.relatedTarget;this._element===K||this._element.contains(K)||this._maybeScheduleHide()}_setListeners(){N.on(this._element,Yk,p=>this._onInteraction(p,!0)),N.on(this._element,Uk,p=>this._onInteraction(p,!1)),N.on(this._element,Kk,p=>this._onInteraction(p,!0)),N.on(this._element,qk,p=>this._onInteraction(p,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(p){return this.each(function(){const k=zr.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof k[p]>"u")throw new TypeError(`No method named "${p}"`);k[p](this)}})}}return de(zr),C(zr),{Alert:Ge,Button:ne,Carousel:Vo,Collapse:jo,Dropdown:Zn,Modal:Ji,Offcanvas:Rs,Popover:gl,ScrollSpy:Wr,Tab:eo,Toast:zr,Tooltip:Xi}})})(oS);/** + */(function(t,e){(function(n,s){t.exports=s(GS)})(Q_,function(n){function s(K){const p=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(K){for(const k in K)if(k!=="default"){const q=Object.getOwnPropertyDescriptor(K,k);Object.defineProperty(p,k,q.get?q:{enumerable:!0,get:()=>K[k]})}}return p.default=K,Object.freeze(p)}const i=s(n),o=new Map,r={set(K,p,k){o.has(K)||o.set(K,new Map);const q=o.get(K);if(!q.has(p)&&q.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(q.keys())[0]}.`);return}q.set(p,k)},get(K,p){return o.has(K)&&o.get(K).get(p)||null},remove(K,p){if(!o.has(K))return;const k=o.get(K);k.delete(p),k.size===0&&o.delete(K)}},a=1e6,l=1e3,c="transitionend",u=K=>(K&&window.CSS&&window.CSS.escape&&(K=K.replace(/#([^\s"#']+)/g,(p,k)=>`#${CSS.escape(k)}`)),K),d=K=>K==null?`${K}`:Object.prototype.toString.call(K).match(/\s([a-z]+)/i)[1].toLowerCase(),f=K=>{do K+=Math.floor(Math.random()*a);while(document.getElementById(K));return K},g=K=>{if(!K)return 0;let{transitionDuration:p,transitionDelay:k}=window.getComputedStyle(K);const q=Number.parseFloat(p),ge=Number.parseFloat(k);return!q&&!ge?0:(p=p.split(",")[0],k=k.split(",")[0],(Number.parseFloat(p)+Number.parseFloat(k))*l)},_=K=>{K.dispatchEvent(new Event(c))},m=K=>!K||typeof K!="object"?!1:(typeof K.jquery<"u"&&(K=K[0]),typeof K.nodeType<"u"),y=K=>m(K)?K.jquery?K[0]:K:typeof K=="string"&&K.length>0?document.querySelector(u(K)):null,v=K=>{if(!m(K)||K.getClientRects().length===0)return!1;const p=getComputedStyle(K).getPropertyValue("visibility")==="visible",k=K.closest("details:not([open])");if(!k)return p;if(k!==K){const q=K.closest("summary");if(q&&q.parentNode!==k||q===null)return!1}return p},$=K=>!K||K.nodeType!==Node.ELEMENT_NODE||K.classList.contains("disabled")?!0:typeof K.disabled<"u"?K.disabled:K.hasAttribute("disabled")&&K.getAttribute("disabled")!=="false",A=K=>{if(!document.documentElement.attachShadow)return null;if(typeof K.getRootNode=="function"){const p=K.getRootNode();return p instanceof ShadowRoot?p:null}return K instanceof ShadowRoot?K:K.parentNode?A(K.parentNode):null},D=()=>{},x=K=>{K.offsetHeight},w=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,S=[],T=K=>{document.readyState==="loading"?(S.length||document.addEventListener("DOMContentLoaded",()=>{for(const p of S)p()}),S.push(K)):K()},M=()=>document.documentElement.dir==="rtl",E=K=>{T(()=>{const p=w();if(p){const k=K.NAME,q=p.fn[k];p.fn[k]=K.jQueryInterface,p.fn[k].Constructor=K,p.fn[k].noConflict=()=>(p.fn[k]=q,K.jQueryInterface)}})},V=(K,p=[],k=K)=>typeof K=="function"?K(...p):k,X=(K,p,k=!0)=>{if(!k){V(K);return}const ge=g(p)+5;let Te=!1;const Ce=({target:Qe})=>{Qe===p&&(Te=!0,p.removeEventListener(c,Ce),V(K))};p.addEventListener(c,Ce),setTimeout(()=>{Te||_(p)},ge)},le=(K,p,k,q)=>{const ge=K.length;let Te=K.indexOf(p);return Te===-1?!k&&q?K[ge-1]:K[0]:(Te+=k?1:-1,q&&(Te=(Te+ge)%ge),K[Math.max(0,Math.min(Te,ge-1))])},Y=/[^.]*(?=\..*)\.|.*/,R=/\..*/,I=/::\d+$/,H={};let Z=1;const ee={mouseenter:"mouseover",mouseleave:"mouseout"},ce=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ve(K,p){return p&&`${p}::${Z++}`||K.uidEvent||Z++}function U(K){const p=ve(K);return K.uidEvent=p,H[p]=H[p]||{},H[p]}function Q(K,p){return function k(q){return fe(q,{delegateTarget:K}),k.oneOff&&B.off(K,q.type,p),p.apply(K,[q])}}function L(K,p,k){return function q(ge){const Te=K.querySelectorAll(p);for(let{target:Ce}=ge;Ce&&Ce!==this;Ce=Ce.parentNode)for(const Qe of Te)if(Qe===Ce)return fe(ge,{delegateTarget:Ce}),q.oneOff&&B.off(K,ge.type,p,k),k.apply(Ce,[ge])}}function te(K,p,k=null){return Object.values(K).find(q=>q.callable===p&&q.delegationSelector===k)}function ae(K,p,k){const q=typeof p=="string",ge=q?k:p||k;let Te=we(K);return ce.has(Te)||(Te=K),[q,ge,Te]}function P(K,p,k,q,ge){if(typeof p!="string"||!K)return;let[Te,Ce,Qe]=ae(p,k,q);p in ee&&(Ce=(sS=>function(Wo){if(!Wo.relatedTarget||Wo.relatedTarget!==Wo.delegateTarget&&!Wo.delegateTarget.contains(Wo.relatedTarget))return sS.call(this,Wo)})(Ce));const kn=U(K),Wn=kn[Qe]||(kn[Qe]={}),Xt=te(Wn,Ce,Te?k:null);if(Xt){Xt.oneOff=Xt.oneOff&≥return}const fs=ve(Ce,p.replace(Y,"")),es=Te?L(K,k,Ce):Q(K,Ce);es.delegationSelector=Te?k:null,es.callable=Ce,es.oneOff=ge,es.uidEvent=fs,Wn[fs]=es,K.addEventListener(Qe,es,Te)}function ie(K,p,k,q,ge){const Te=te(p[k],q,ge);Te&&(K.removeEventListener(k,Te,!!ge),delete p[k][Te.uidEvent])}function de(K,p,k,q){const ge=p[k]||{};for(const[Te,Ce]of Object.entries(ge))Te.includes(q)&&ie(K,p,k,Ce.callable,Ce.delegationSelector)}function we(K){return K=K.replace(R,""),ee[K]||K}const B={on(K,p,k,q){P(K,p,k,q,!1)},one(K,p,k,q){P(K,p,k,q,!0)},off(K,p,k,q){if(typeof p!="string"||!K)return;const[ge,Te,Ce]=ae(p,k,q),Qe=Ce!==p,kn=U(K),Wn=kn[Ce]||{},Xt=p.startsWith(".");if(typeof Te<"u"){if(!Object.keys(Wn).length)return;ie(K,kn,Ce,Te,ge?k:null);return}if(Xt)for(const fs of Object.keys(kn))de(K,kn,fs,p.slice(1));for(const[fs,es]of Object.entries(Wn)){const gl=fs.replace(I,"");(!Qe||p.includes(gl))&&ie(K,kn,Ce,es.callable,es.delegationSelector)}},trigger(K,p,k){if(typeof p!="string"||!K)return null;const q=w(),ge=we(p),Te=p!==ge;let Ce=null,Qe=!0,kn=!0,Wn=!1;Te&&q&&(Ce=q.Event(p,k),q(K).trigger(Ce),Qe=!Ce.isPropagationStopped(),kn=!Ce.isImmediatePropagationStopped(),Wn=Ce.isDefaultPrevented());const Xt=fe(new Event(p,{bubbles:Qe,cancelable:!0}),k);return Wn&&Xt.preventDefault(),kn&&K.dispatchEvent(Xt),Xt.defaultPrevented&&Ce&&Ce.preventDefault(),Xt}};function fe(K,p={}){for(const[k,q]of Object.entries(p))try{K[k]=q}catch{Object.defineProperty(K,k,{configurable:!0,get(){return q}})}return K}function b(K){if(K==="true")return!0;if(K==="false")return!1;if(K===Number(K).toString())return Number(K);if(K===""||K==="null")return null;if(typeof K!="string")return K;try{return JSON.parse(decodeURIComponent(K))}catch{return K}}function O(K){return K.replace(/[A-Z]/g,p=>`-${p.toLowerCase()}`)}const j={setDataAttribute(K,p,k){K.setAttribute(`data-bs-${O(p)}`,k)},removeDataAttribute(K,p){K.removeAttribute(`data-bs-${O(p)}`)},getDataAttributes(K){if(!K)return{};const p={},k=Object.keys(K.dataset).filter(q=>q.startsWith("bs")&&!q.startsWith("bsConfig"));for(const q of k){let ge=q.replace(/^bs/,"");ge=ge.charAt(0).toLowerCase()+ge.slice(1,ge.length),p[ge]=b(K.dataset[q])}return p},getDataAttribute(K,p){return b(K.getAttribute(`data-bs-${O(p)}`))}};class z{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(p){return p=this._mergeConfigObj(p),p=this._configAfterMerge(p),this._typeCheckConfig(p),p}_configAfterMerge(p){return p}_mergeConfigObj(p,k){const q=m(k)?j.getDataAttribute(k,"config"):{};return{...this.constructor.Default,...typeof q=="object"?q:{},...m(k)?j.getDataAttributes(k):{},...typeof p=="object"?p:{}}}_typeCheckConfig(p,k=this.constructor.DefaultType){for(const[q,ge]of Object.entries(k)){const Te=p[q],Ce=m(Te)?"element":d(Te);if(!new RegExp(ge).test(Ce))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${q}" provided type "${Ce}" but expected type "${ge}".`)}}}const oe="5.3.2";class W extends z{constructor(p,k){super(),p=y(p),p&&(this._element=p,this._config=this._getConfig(k),r.set(this._element,this.constructor.DATA_KEY,this))}dispose(){r.remove(this._element,this.constructor.DATA_KEY),B.off(this._element,this.constructor.EVENT_KEY);for(const p of Object.getOwnPropertyNames(this))this[p]=null}_queueCallback(p,k,q=!0){X(p,k,q)}_getConfig(p){return p=this._mergeConfigObj(p,this._element),p=this._configAfterMerge(p),this._typeCheckConfig(p),p}static getInstance(p){return r.get(y(p),this.DATA_KEY)}static getOrCreateInstance(p,k={}){return this.getInstance(p)||new this(p,typeof k=="object"?k:null)}static get VERSION(){return oe}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(p){return`${p}${this.EVENT_KEY}`}}const ne=K=>{let p=K.getAttribute("data-bs-target");if(!p||p==="#"){let k=K.getAttribute("href");if(!k||!k.includes("#")&&!k.startsWith("."))return null;k.includes("#")&&!k.startsWith("#")&&(k=`#${k.split("#")[1]}`),p=k&&k!=="#"?u(k.trim()):null}return p},J={find(K,p=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(p,K))},findOne(K,p=document.documentElement){return Element.prototype.querySelector.call(p,K)},children(K,p){return[].concat(...K.children).filter(k=>k.matches(p))},parents(K,p){const k=[];let q=K.parentNode.closest(p);for(;q;)k.push(q),q=q.parentNode.closest(p);return k},prev(K,p){let k=K.previousElementSibling;for(;k;){if(k.matches(p))return[k];k=k.previousElementSibling}return[]},next(K,p){let k=K.nextElementSibling;for(;k;){if(k.matches(p))return[k];k=k.nextElementSibling}return[]},focusableChildren(K){const p=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(k=>`${k}:not([tabindex^="-"])`).join(",");return this.find(p,K).filter(k=>!$(k)&&v(k))},getSelectorFromElement(K){const p=ne(K);return p&&J.findOne(p)?p:null},getElementFromSelector(K){const p=ne(K);return p?J.findOne(p):null},getMultipleElementsFromSelector(K){const p=ne(K);return p?J.find(p):[]}},he=(K,p="hide")=>{const k=`click.dismiss${K.EVENT_KEY}`,q=K.NAME;B.on(document,k,`[data-bs-dismiss="${q}"]`,function(ge){if(["A","AREA"].includes(this.tagName)&&ge.preventDefault(),$(this))return;const Te=J.getElementFromSelector(this)||this.closest(`.${q}`);K.getOrCreateInstance(Te)[p]()})},me="alert",Re=".bs.alert",Oe=`close${Re}`,Ve=`closed${Re}`,Be="fade",tt="show";class Je extends W{static get NAME(){return me}close(){if(B.trigger(this._element,Oe).defaultPrevented)return;this._element.classList.remove(tt);const k=this._element.classList.contains(Be);this._queueCallback(()=>this._destroyElement(),this._element,k)}_destroyElement(){this._element.remove(),B.trigger(this._element,Ve),this.dispose()}static jQueryInterface(p){return this.each(function(){const k=Je.getOrCreateInstance(this);if(typeof p=="string"){if(k[p]===void 0||p.startsWith("_")||p==="constructor")throw new TypeError(`No method named "${p}"`);k[p](this)}})}}he(Je,"close"),E(Je);const mt="button",Hn=".bs.button",ni=".data-api",Qn="active",Ds='[data-bs-toggle="button"]',jt=`click${Hn}${ni}`;class se extends W{static get NAME(){return mt}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Qn))}static jQueryInterface(p){return this.each(function(){const k=se.getOrCreateInstance(this);p==="toggle"&&k[p]()})}}B.on(document,jt,Ds,K=>{K.preventDefault();const p=K.target.closest(Ds);se.getOrCreateInstance(p).toggle()}),E(se);const $e="swipe",ue=".bs.swipe",Ae=`touchstart${ue}`,De=`touchmove${ue}`,sn=`touchend${ue}`,xn=`pointerdown${ue}`,Os=`pointerup${ue}`,Lo="touch",Ki="pen",hs="pointer-event",Nr=40,pu={endCallback:null,leftCallback:null,rightCallback:null},F1={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class il extends z{constructor(p,k){super(),this._element=p,!(!p||!il.isSupported())&&(this._config=this._getConfig(k),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return pu}static get DefaultType(){return F1}static get NAME(){return $e}dispose(){B.off(this._element,ue)}_start(p){if(!this._supportPointerEvents){this._deltaX=p.touches[0].clientX;return}this._eventIsPointerPenTouch(p)&&(this._deltaX=p.clientX)}_end(p){this._eventIsPointerPenTouch(p)&&(this._deltaX=p.clientX-this._deltaX),this._handleSwipe(),V(this._config.endCallback)}_move(p){this._deltaX=p.touches&&p.touches.length>1?0:p.touches[0].clientX-this._deltaX}_handleSwipe(){const p=Math.abs(this._deltaX);if(p<=Nr)return;const k=p/this._deltaX;this._deltaX=0,k&&V(k>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(B.on(this._element,xn,p=>this._start(p)),B.on(this._element,Os,p=>this._end(p)),this._element.classList.add(hs)):(B.on(this._element,Ae,p=>this._start(p)),B.on(this._element,De,p=>this._move(p)),B.on(this._element,sn,p=>this._end(p)))}_eventIsPointerPenTouch(p){return this._supportPointerEvents&&(p.pointerType===Ki||p.pointerType===Lo)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const B1="carousel",si=".bs.carousel",Gf=".data-api",V1="ArrowLeft",H1="ArrowRight",j1=500,Fr="next",Ro="prev",No="left",ol="right",W1=`slide${si}`,gu=`slid${si}`,z1=`keydown${si}`,K1=`mouseenter${si}`,Y1=`mouseleave${si}`,U1=`dragstart${si}`,q1=`load${si}${Gf}`,G1=`click${si}${Gf}`,Jf="carousel",rl="active",J1="slide",X1="carousel-item-end",Q1="carousel-item-start",Z1="carousel-item-next",ew="carousel-item-prev",Xf=".active",Qf=".carousel-item",tw=Xf+Qf,nw=".carousel-item img",sw=".carousel-indicators",iw="[data-bs-slide], [data-bs-slide-to]",ow='[data-bs-ride="carousel"]',rw={[V1]:ol,[H1]:No},aw={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},lw={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Fo extends W{constructor(p,k){super(p,k),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=J.findOne(sw,this._element),this._addEventListeners(),this._config.ride===Jf&&this.cycle()}static get Default(){return aw}static get DefaultType(){return lw}static get NAME(){return B1}next(){this._slide(Fr)}nextWhenVisible(){!document.hidden&&v(this._element)&&this.next()}prev(){this._slide(Ro)}pause(){this._isSliding&&_(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){B.one(this._element,gu,()=>this.cycle());return}this.cycle()}}to(p){const k=this._getItems();if(p>k.length-1||p<0)return;if(this._isSliding){B.one(this._element,gu,()=>this.to(p));return}const q=this._getItemIndex(this._getActive());if(q===p)return;const ge=p>q?Fr:Ro;this._slide(ge,k[p])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(p){return p.defaultInterval=p.interval,p}_addEventListeners(){this._config.keyboard&&B.on(this._element,z1,p=>this._keydown(p)),this._config.pause==="hover"&&(B.on(this._element,K1,()=>this.pause()),B.on(this._element,Y1,()=>this._maybeEnableCycle())),this._config.touch&&il.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const q of J.find(nw,this._element))B.on(q,U1,ge=>ge.preventDefault());const k={leftCallback:()=>this._slide(this._directionToOrder(No)),rightCallback:()=>this._slide(this._directionToOrder(ol)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),j1+this._config.interval))}};this._swipeHelper=new il(this._element,k)}_keydown(p){if(/input|textarea/i.test(p.target.tagName))return;const k=rw[p.key];k&&(p.preventDefault(),this._slide(this._directionToOrder(k)))}_getItemIndex(p){return this._getItems().indexOf(p)}_setActiveIndicatorElement(p){if(!this._indicatorsElement)return;const k=J.findOne(Xf,this._indicatorsElement);k.classList.remove(rl),k.removeAttribute("aria-current");const q=J.findOne(`[data-bs-slide-to="${p}"]`,this._indicatorsElement);q&&(q.classList.add(rl),q.setAttribute("aria-current","true"))}_updateInterval(){const p=this._activeElement||this._getActive();if(!p)return;const k=Number.parseInt(p.getAttribute("data-bs-interval"),10);this._config.interval=k||this._config.defaultInterval}_slide(p,k=null){if(this._isSliding)return;const q=this._getActive(),ge=p===Fr,Te=k||le(this._getItems(),q,ge,this._config.wrap);if(Te===q)return;const Ce=this._getItemIndex(Te),Qe=gl=>B.trigger(this._element,gl,{relatedTarget:Te,direction:this._orderToDirection(p),from:this._getItemIndex(q),to:Ce});if(Qe(W1).defaultPrevented||!q||!Te)return;const Wn=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(Ce),this._activeElement=Te;const Xt=ge?Q1:X1,fs=ge?Z1:ew;Te.classList.add(fs),x(Te),q.classList.add(Xt),Te.classList.add(Xt);const es=()=>{Te.classList.remove(Xt,fs),Te.classList.add(rl),q.classList.remove(rl,fs,Xt),this._isSliding=!1,Qe(gu)};this._queueCallback(es,q,this._isAnimated()),Wn&&this.cycle()}_isAnimated(){return this._element.classList.contains(J1)}_getActive(){return J.findOne(tw,this._element)}_getItems(){return J.find(Qf,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(p){return M()?p===No?Ro:Fr:p===No?Fr:Ro}_orderToDirection(p){return M()?p===Ro?No:ol:p===Ro?ol:No}static jQueryInterface(p){return this.each(function(){const k=Fo.getOrCreateInstance(this,p);if(typeof p=="number"){k.to(p);return}if(typeof p=="string"){if(k[p]===void 0||p.startsWith("_")||p==="constructor")throw new TypeError(`No method named "${p}"`);k[p]()}})}}B.on(document,G1,iw,function(K){const p=J.getElementFromSelector(this);if(!p||!p.classList.contains(Jf))return;K.preventDefault();const k=Fo.getOrCreateInstance(p),q=this.getAttribute("data-bs-slide-to");if(q){k.to(q),k._maybeEnableCycle();return}if(j.getDataAttribute(this,"slide")==="next"){k.next(),k._maybeEnableCycle();return}k.prev(),k._maybeEnableCycle()}),B.on(window,q1,()=>{const K=J.find(ow);for(const p of K)Fo.getOrCreateInstance(p)}),E(Fo);const cw="collapse",Br=".bs.collapse",uw=".data-api",dw=`show${Br}`,hw=`shown${Br}`,fw=`hide${Br}`,pw=`hidden${Br}`,gw=`click${Br}${uw}`,mu="show",Bo="collapse",al="collapsing",mw="collapsed",_w=`:scope .${Bo} .${Bo}`,bw="collapse-horizontal",vw="width",yw="height",ww=".collapse.show, .collapse.collapsing",_u='[data-bs-toggle="collapse"]',xw={parent:null,toggle:!0},kw={parent:"(null|element)",toggle:"boolean"};class Vo extends W{constructor(p,k){super(p,k),this._isTransitioning=!1,this._triggerArray=[];const q=J.find(_u);for(const ge of q){const Te=J.getSelectorFromElement(ge),Ce=J.find(Te).filter(Qe=>Qe===this._element);Te!==null&&Ce.length&&this._triggerArray.push(ge)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return xw}static get DefaultType(){return kw}static get NAME(){return cw}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let p=[];if(this._config.parent&&(p=this._getFirstLevelChildren(ww).filter(Qe=>Qe!==this._element).map(Qe=>Vo.getOrCreateInstance(Qe,{toggle:!1}))),p.length&&p[0]._isTransitioning||B.trigger(this._element,dw).defaultPrevented)return;for(const Qe of p)Qe.hide();const q=this._getDimension();this._element.classList.remove(Bo),this._element.classList.add(al),this._element.style[q]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const ge=()=>{this._isTransitioning=!1,this._element.classList.remove(al),this._element.classList.add(Bo,mu),this._element.style[q]="",B.trigger(this._element,hw)},Ce=`scroll${q[0].toUpperCase()+q.slice(1)}`;this._queueCallback(ge,this._element,!0),this._element.style[q]=`${this._element[Ce]}px`}hide(){if(this._isTransitioning||!this._isShown()||B.trigger(this._element,fw).defaultPrevented)return;const k=this._getDimension();this._element.style[k]=`${this._element.getBoundingClientRect()[k]}px`,x(this._element),this._element.classList.add(al),this._element.classList.remove(Bo,mu);for(const ge of this._triggerArray){const Te=J.getElementFromSelector(ge);Te&&!this._isShown(Te)&&this._addAriaAndCollapsedClass([ge],!1)}this._isTransitioning=!0;const q=()=>{this._isTransitioning=!1,this._element.classList.remove(al),this._element.classList.add(Bo),B.trigger(this._element,pw)};this._element.style[k]="",this._queueCallback(q,this._element,!0)}_isShown(p=this._element){return p.classList.contains(mu)}_configAfterMerge(p){return p.toggle=!!p.toggle,p.parent=y(p.parent),p}_getDimension(){return this._element.classList.contains(bw)?vw:yw}_initializeChildren(){if(!this._config.parent)return;const p=this._getFirstLevelChildren(_u);for(const k of p){const q=J.getElementFromSelector(k);q&&this._addAriaAndCollapsedClass([k],this._isShown(q))}}_getFirstLevelChildren(p){const k=J.find(_w,this._config.parent);return J.find(p,this._config.parent).filter(q=>!k.includes(q))}_addAriaAndCollapsedClass(p,k){if(p.length)for(const q of p)q.classList.toggle(mw,!k),q.setAttribute("aria-expanded",k)}static jQueryInterface(p){const k={};return typeof p=="string"&&/show|hide/.test(p)&&(k.toggle=!1),this.each(function(){const q=Vo.getOrCreateInstance(this,k);if(typeof p=="string"){if(typeof q[p]>"u")throw new TypeError(`No method named "${p}"`);q[p]()}})}}B.on(document,gw,_u,function(K){(K.target.tagName==="A"||K.delegateTarget&&K.delegateTarget.tagName==="A")&&K.preventDefault();for(const p of J.getMultipleElementsFromSelector(this))Vo.getOrCreateInstance(p,{toggle:!1}).toggle()}),E(Vo);const Zf="dropdown",Yi=".bs.dropdown",bu=".data-api",Sw="Escape",ep="Tab",$w="ArrowUp",tp="ArrowDown",Aw=2,Cw=`hide${Yi}`,Ew=`hidden${Yi}`,Tw=`show${Yi}`,Pw=`shown${Yi}`,np=`click${Yi}${bu}`,sp=`keydown${Yi}${bu}`,Mw=`keyup${Yi}${bu}`,Ho="show",Dw="dropup",Ow="dropend",Iw="dropstart",Lw="dropup-center",Rw="dropdown-center",Ui='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Nw=`${Ui}.${Ho}`,ll=".dropdown-menu",Fw=".navbar",Bw=".navbar-nav",Vw=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Hw=M()?"top-end":"top-start",jw=M()?"top-start":"top-end",Ww=M()?"bottom-end":"bottom-start",zw=M()?"bottom-start":"bottom-end",Kw=M()?"left-start":"right-start",Yw=M()?"right-start":"left-start",Uw="top",qw="bottom",Gw={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Jw={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Zn extends W{constructor(p,k){super(p,k),this._popper=null,this._parent=this._element.parentNode,this._menu=J.next(this._element,ll)[0]||J.prev(this._element,ll)[0]||J.findOne(ll,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Gw}static get DefaultType(){return Jw}static get NAME(){return Zf}toggle(){return this._isShown()?this.hide():this.show()}show(){if($(this._element)||this._isShown())return;const p={relatedTarget:this._element};if(!B.trigger(this._element,Tw,p).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Bw))for(const q of[].concat(...document.body.children))B.on(q,"mouseover",D);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ho),this._element.classList.add(Ho),B.trigger(this._element,Pw,p)}}hide(){if($(this._element)||!this._isShown())return;const p={relatedTarget:this._element};this._completeHide(p)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(p){if(!B.trigger(this._element,Cw,p).defaultPrevented){if("ontouchstart"in document.documentElement)for(const q of[].concat(...document.body.children))B.off(q,"mouseover",D);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ho),this._element.classList.remove(Ho),this._element.setAttribute("aria-expanded","false"),j.removeDataAttribute(this._menu,"popper"),B.trigger(this._element,Ew,p)}}_getConfig(p){if(p=super._getConfig(p),typeof p.reference=="object"&&!m(p.reference)&&typeof p.reference.getBoundingClientRect!="function")throw new TypeError(`${Zf.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return p}_createPopper(){if(typeof i>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let p=this._element;this._config.reference==="parent"?p=this._parent:m(this._config.reference)?p=y(this._config.reference):typeof this._config.reference=="object"&&(p=this._config.reference);const k=this._getPopperConfig();this._popper=i.createPopper(p,this._menu,k)}_isShown(){return this._menu.classList.contains(Ho)}_getPlacement(){const p=this._parent;if(p.classList.contains(Ow))return Kw;if(p.classList.contains(Iw))return Yw;if(p.classList.contains(Lw))return Uw;if(p.classList.contains(Rw))return qw;const k=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return p.classList.contains(Dw)?k?jw:Hw:k?zw:Ww}_detectNavbar(){return this._element.closest(Fw)!==null}_getOffset(){const{offset:p}=this._config;return typeof p=="string"?p.split(",").map(k=>Number.parseInt(k,10)):typeof p=="function"?k=>p(k,this._element):p}_getPopperConfig(){const p={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(j.setDataAttribute(this._menu,"popper","static"),p.modifiers=[{name:"applyStyles",enabled:!1}]),{...p,...V(this._config.popperConfig,[p])}}_selectMenuItem({key:p,target:k}){const q=J.find(Vw,this._menu).filter(ge=>v(ge));q.length&&le(q,k,p===tp,!q.includes(k)).focus()}static jQueryInterface(p){return this.each(function(){const k=Zn.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof k[p]>"u")throw new TypeError(`No method named "${p}"`);k[p]()}})}static clearMenus(p){if(p.button===Aw||p.type==="keyup"&&p.key!==ep)return;const k=J.find(Nw);for(const q of k){const ge=Zn.getInstance(q);if(!ge||ge._config.autoClose===!1)continue;const Te=p.composedPath(),Ce=Te.includes(ge._menu);if(Te.includes(ge._element)||ge._config.autoClose==="inside"&&!Ce||ge._config.autoClose==="outside"&&Ce||ge._menu.contains(p.target)&&(p.type==="keyup"&&p.key===ep||/input|select|option|textarea|form/i.test(p.target.tagName)))continue;const Qe={relatedTarget:ge._element};p.type==="click"&&(Qe.clickEvent=p),ge._completeHide(Qe)}}static dataApiKeydownHandler(p){const k=/input|textarea/i.test(p.target.tagName),q=p.key===Sw,ge=[$w,tp].includes(p.key);if(!ge&&!q||k&&!q)return;p.preventDefault();const Te=this.matches(Ui)?this:J.prev(this,Ui)[0]||J.next(this,Ui)[0]||J.findOne(Ui,p.delegateTarget.parentNode),Ce=Zn.getOrCreateInstance(Te);if(ge){p.stopPropagation(),Ce.show(),Ce._selectMenuItem(p);return}Ce._isShown()&&(p.stopPropagation(),Ce.hide(),Te.focus())}}B.on(document,sp,Ui,Zn.dataApiKeydownHandler),B.on(document,sp,ll,Zn.dataApiKeydownHandler),B.on(document,np,Zn.clearMenus),B.on(document,Mw,Zn.clearMenus),B.on(document,np,Ui,function(K){K.preventDefault(),Zn.getOrCreateInstance(this).toggle()}),E(Zn);const ip="backdrop",Xw="fade",op="show",rp=`mousedown.bs.${ip}`,Qw={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Zw={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ap extends z{constructor(p){super(),this._config=this._getConfig(p),this._isAppended=!1,this._element=null}static get Default(){return Qw}static get DefaultType(){return Zw}static get NAME(){return ip}show(p){if(!this._config.isVisible){V(p);return}this._append();const k=this._getElement();this._config.isAnimated&&x(k),k.classList.add(op),this._emulateAnimation(()=>{V(p)})}hide(p){if(!this._config.isVisible){V(p);return}this._getElement().classList.remove(op),this._emulateAnimation(()=>{this.dispose(),V(p)})}dispose(){this._isAppended&&(B.off(this._element,rp),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const p=document.createElement("div");p.className=this._config.className,this._config.isAnimated&&p.classList.add(Xw),this._element=p}return this._element}_configAfterMerge(p){return p.rootElement=y(p.rootElement),p}_append(){if(this._isAppended)return;const p=this._getElement();this._config.rootElement.append(p),B.on(p,rp,()=>{V(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(p){X(p,this._getElement(),this._config.isAnimated)}}const ex="focustrap",cl=".bs.focustrap",tx=`focusin${cl}`,nx=`keydown.tab${cl}`,sx="Tab",ix="forward",lp="backward",ox={autofocus:!0,trapElement:null},rx={autofocus:"boolean",trapElement:"element"};class cp extends z{constructor(p){super(),this._config=this._getConfig(p),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ox}static get DefaultType(){return rx}static get NAME(){return ex}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),B.off(document,cl),B.on(document,tx,p=>this._handleFocusin(p)),B.on(document,nx,p=>this._handleKeydown(p)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,B.off(document,cl))}_handleFocusin(p){const{trapElement:k}=this._config;if(p.target===document||p.target===k||k.contains(p.target))return;const q=J.focusableChildren(k);q.length===0?k.focus():this._lastTabNavDirection===lp?q[q.length-1].focus():q[0].focus()}_handleKeydown(p){p.key===sx&&(this._lastTabNavDirection=p.shiftKey?lp:ix)}}const up=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",dp=".sticky-top",ul="padding-right",hp="margin-right";class vu{constructor(){this._element=document.body}getWidth(){const p=document.documentElement.clientWidth;return Math.abs(window.innerWidth-p)}hide(){const p=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ul,k=>k+p),this._setElementAttributes(up,ul,k=>k+p),this._setElementAttributes(dp,hp,k=>k-p)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ul),this._resetElementAttributes(up,ul),this._resetElementAttributes(dp,hp)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(p,k,q){const ge=this.getWidth(),Te=Ce=>{if(Ce!==this._element&&window.innerWidth>Ce.clientWidth+ge)return;this._saveInitialAttribute(Ce,k);const Qe=window.getComputedStyle(Ce).getPropertyValue(k);Ce.style.setProperty(k,`${q(Number.parseFloat(Qe))}px`)};this._applyManipulationCallback(p,Te)}_saveInitialAttribute(p,k){const q=p.style.getPropertyValue(k);q&&j.setDataAttribute(p,k,q)}_resetElementAttributes(p,k){const q=ge=>{const Te=j.getDataAttribute(ge,k);if(Te===null){ge.style.removeProperty(k);return}j.removeDataAttribute(ge,k),ge.style.setProperty(k,Te)};this._applyManipulationCallback(p,q)}_applyManipulationCallback(p,k){if(m(p)){k(p);return}for(const q of J.find(p,this._element))k(q)}}const ax="modal",jn=".bs.modal",lx=".data-api",cx="Escape",ux=`hide${jn}`,dx=`hidePrevented${jn}`,fp=`hidden${jn}`,pp=`show${jn}`,hx=`shown${jn}`,fx=`resize${jn}`,px=`click.dismiss${jn}`,gx=`mousedown.dismiss${jn}`,mx=`keydown.dismiss${jn}`,_x=`click${jn}${lx}`,gp="modal-open",bx="fade",mp="show",yu="modal-static",vx=".modal.show",yx=".modal-dialog",wx=".modal-body",xx='[data-bs-toggle="modal"]',kx={backdrop:!0,focus:!0,keyboard:!0},Sx={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class qi extends W{constructor(p,k){super(p,k),this._dialog=J.findOne(yx,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new vu,this._addEventListeners()}static get Default(){return kx}static get DefaultType(){return Sx}static get NAME(){return ax}toggle(p){return this._isShown?this.hide():this.show(p)}show(p){this._isShown||this._isTransitioning||B.trigger(this._element,pp,{relatedTarget:p}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(gp),this._adjustDialog(),this._backdrop.show(()=>this._showElement(p)))}hide(){!this._isShown||this._isTransitioning||B.trigger(this._element,ux).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(mp),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){B.off(window,jn),B.off(this._dialog,jn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ap({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new cp({trapElement:this._element})}_showElement(p){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const k=J.findOne(wx,this._dialog);k&&(k.scrollTop=0),x(this._element),this._element.classList.add(mp);const q=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,B.trigger(this._element,hx,{relatedTarget:p})};this._queueCallback(q,this._dialog,this._isAnimated())}_addEventListeners(){B.on(this._element,mx,p=>{if(p.key===cx){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),B.on(window,fx,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),B.on(this._element,gx,p=>{B.one(this._element,px,k=>{if(!(this._element!==p.target||this._element!==k.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(gp),this._resetAdjustments(),this._scrollBar.reset(),B.trigger(this._element,fp)})}_isAnimated(){return this._element.classList.contains(bx)}_triggerBackdropTransition(){if(B.trigger(this._element,dx).defaultPrevented)return;const k=this._element.scrollHeight>document.documentElement.clientHeight,q=this._element.style.overflowY;q==="hidden"||this._element.classList.contains(yu)||(k||(this._element.style.overflowY="hidden"),this._element.classList.add(yu),this._queueCallback(()=>{this._element.classList.remove(yu),this._queueCallback(()=>{this._element.style.overflowY=q},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const p=this._element.scrollHeight>document.documentElement.clientHeight,k=this._scrollBar.getWidth(),q=k>0;if(q&&!p){const ge=M()?"paddingLeft":"paddingRight";this._element.style[ge]=`${k}px`}if(!q&&p){const ge=M()?"paddingRight":"paddingLeft";this._element.style[ge]=`${k}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(p,k){return this.each(function(){const q=qi.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof q[p]>"u")throw new TypeError(`No method named "${p}"`);q[p](k)}})}}B.on(document,_x,xx,function(K){const p=J.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&K.preventDefault(),B.one(p,pp,ge=>{ge.defaultPrevented||B.one(p,fp,()=>{v(this)&&this.focus()})});const k=J.findOne(vx);k&&qi.getInstance(k).hide(),qi.getOrCreateInstance(p).toggle(this)}),he(qi),E(qi);const $x="offcanvas",Is=".bs.offcanvas",_p=".data-api",Ax=`load${Is}${_p}`,Cx="Escape",bp="show",vp="showing",yp="hiding",Ex="offcanvas-backdrop",wp=".offcanvas.show",Tx=`show${Is}`,Px=`shown${Is}`,Mx=`hide${Is}`,xp=`hidePrevented${Is}`,kp=`hidden${Is}`,Dx=`resize${Is}`,Ox=`click${Is}${_p}`,Ix=`keydown.dismiss${Is}`,Lx='[data-bs-toggle="offcanvas"]',Rx={backdrop:!0,keyboard:!0,scroll:!1},Nx={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ls extends W{constructor(p,k){super(p,k),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Rx}static get DefaultType(){return Nx}static get NAME(){return $x}toggle(p){return this._isShown?this.hide():this.show(p)}show(p){if(this._isShown||B.trigger(this._element,Tx,{relatedTarget:p}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new vu().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(vp);const q=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(bp),this._element.classList.remove(vp),B.trigger(this._element,Px,{relatedTarget:p})};this._queueCallback(q,this._element,!0)}hide(){if(!this._isShown||B.trigger(this._element,Mx).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(yp),this._backdrop.hide();const k=()=>{this._element.classList.remove(bp,yp),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new vu().reset(),B.trigger(this._element,kp)};this._queueCallback(k,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const p=()=>{if(this._config.backdrop==="static"){B.trigger(this._element,xp);return}this.hide()},k=!!this._config.backdrop;return new ap({className:Ex,isVisible:k,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:k?p:null})}_initializeFocusTrap(){return new cp({trapElement:this._element})}_addEventListeners(){B.on(this._element,Ix,p=>{if(p.key===Cx){if(this._config.keyboard){this.hide();return}B.trigger(this._element,xp)}})}static jQueryInterface(p){return this.each(function(){const k=Ls.getOrCreateInstance(this,p);if(typeof p=="string"){if(k[p]===void 0||p.startsWith("_")||p==="constructor")throw new TypeError(`No method named "${p}"`);k[p](this)}})}}B.on(document,Ox,Lx,function(K){const p=J.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&K.preventDefault(),$(this))return;B.one(p,kp,()=>{v(this)&&this.focus()});const k=J.findOne(wp);k&&k!==p&&Ls.getInstance(k).hide(),Ls.getOrCreateInstance(p).toggle(this)}),B.on(window,Ax,()=>{for(const K of J.find(wp))Ls.getOrCreateInstance(K).show()}),B.on(window,Dx,()=>{for(const K of J.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(K).position!=="fixed"&&Ls.getOrCreateInstance(K).hide()}),he(Ls),E(Ls);const Sp={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Fx=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Bx=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Vx=(K,p)=>{const k=K.nodeName.toLowerCase();return p.includes(k)?Fx.has(k)?!!Bx.test(K.nodeValue):!0:p.filter(q=>q instanceof RegExp).some(q=>q.test(k))};function Hx(K,p,k){if(!K.length)return K;if(k&&typeof k=="function")return k(K);const ge=new window.DOMParser().parseFromString(K,"text/html"),Te=[].concat(...ge.body.querySelectorAll("*"));for(const Ce of Te){const Qe=Ce.nodeName.toLowerCase();if(!Object.keys(p).includes(Qe)){Ce.remove();continue}const kn=[].concat(...Ce.attributes),Wn=[].concat(p["*"]||[],p[Qe]||[]);for(const Xt of kn)Vx(Xt,Wn)||Ce.removeAttribute(Xt.nodeName)}return ge.body.innerHTML}const jx="TemplateFactory",Wx={allowList:Sp,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},zx={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Kx={entry:"(string|element|function|null)",selector:"(string|element)"};class Yx extends z{constructor(p){super(),this._config=this._getConfig(p)}static get Default(){return Wx}static get DefaultType(){return zx}static get NAME(){return jx}getContent(){return Object.values(this._config.content).map(p=>this._resolvePossibleFunction(p)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(p){return this._checkContent(p),this._config.content={...this._config.content,...p},this}toHtml(){const p=document.createElement("div");p.innerHTML=this._maybeSanitize(this._config.template);for(const[ge,Te]of Object.entries(this._config.content))this._setContent(p,Te,ge);const k=p.children[0],q=this._resolvePossibleFunction(this._config.extraClass);return q&&k.classList.add(...q.split(" ")),k}_typeCheckConfig(p){super._typeCheckConfig(p),this._checkContent(p.content)}_checkContent(p){for(const[k,q]of Object.entries(p))super._typeCheckConfig({selector:k,entry:q},Kx)}_setContent(p,k,q){const ge=J.findOne(q,p);if(ge){if(k=this._resolvePossibleFunction(k),!k){ge.remove();return}if(m(k)){this._putElementInTemplate(y(k),ge);return}if(this._config.html){ge.innerHTML=this._maybeSanitize(k);return}ge.textContent=k}}_maybeSanitize(p){return this._config.sanitize?Hx(p,this._config.allowList,this._config.sanitizeFn):p}_resolvePossibleFunction(p){return V(p,[this])}_putElementInTemplate(p,k){if(this._config.html){k.innerHTML="",k.append(p);return}k.textContent=p.textContent}}const Ux="tooltip",qx=new Set(["sanitize","allowList","sanitizeFn"]),wu="fade",Gx="modal",dl="show",Jx=".tooltip-inner",$p=`.${Gx}`,Ap="hide.bs.modal",Vr="hover",xu="focus",Xx="click",Qx="manual",Zx="hide",ek="hidden",tk="show",nk="shown",sk="inserted",ik="click",ok="focusin",rk="focusout",ak="mouseenter",lk="mouseleave",ck={AUTO:"auto",TOP:"top",RIGHT:M()?"left":"right",BOTTOM:"bottom",LEFT:M()?"right":"left"},uk={allowList:Sp,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},dk={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Gi extends W{constructor(p,k){if(typeof i>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(p,k),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return uk}static get DefaultType(){return dk}static get NAME(){return Ux}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),B.off(this._element.closest($p),Ap,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const p=B.trigger(this._element,this.constructor.eventName(tk)),q=(A(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(p.defaultPrevented||!q)return;this._disposePopper();const ge=this._getTipElement();this._element.setAttribute("aria-describedby",ge.getAttribute("id"));const{container:Te}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(Te.append(ge),B.trigger(this._element,this.constructor.eventName(sk))),this._popper=this._createPopper(ge),ge.classList.add(dl),"ontouchstart"in document.documentElement)for(const Qe of[].concat(...document.body.children))B.on(Qe,"mouseover",D);const Ce=()=>{B.trigger(this._element,this.constructor.eventName(nk)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(Ce,this.tip,this._isAnimated())}hide(){if(!this._isShown()||B.trigger(this._element,this.constructor.eventName(Zx)).defaultPrevented)return;if(this._getTipElement().classList.remove(dl),"ontouchstart"in document.documentElement)for(const ge of[].concat(...document.body.children))B.off(ge,"mouseover",D);this._activeTrigger[Xx]=!1,this._activeTrigger[xu]=!1,this._activeTrigger[Vr]=!1,this._isHovered=null;const q=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),B.trigger(this._element,this.constructor.eventName(ek)))};this._queueCallback(q,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(p){const k=this._getTemplateFactory(p).toHtml();if(!k)return null;k.classList.remove(wu,dl),k.classList.add(`bs-${this.constructor.NAME}-auto`);const q=f(this.constructor.NAME).toString();return k.setAttribute("id",q),this._isAnimated()&&k.classList.add(wu),k}setContent(p){this._newContent=p,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(p){return this._templateFactory?this._templateFactory.changeContent(p):this._templateFactory=new Yx({...this._config,content:p,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Jx]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(p){return this.constructor.getOrCreateInstance(p.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(wu)}_isShown(){return this.tip&&this.tip.classList.contains(dl)}_createPopper(p){const k=V(this._config.placement,[this,p,this._element]),q=ck[k.toUpperCase()];return i.createPopper(this._element,p,this._getPopperConfig(q))}_getOffset(){const{offset:p}=this._config;return typeof p=="string"?p.split(",").map(k=>Number.parseInt(k,10)):typeof p=="function"?k=>p(k,this._element):p}_resolvePossibleFunction(p){return V(p,[this._element])}_getPopperConfig(p){const k={placement:p,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:q=>{this._getTipElement().setAttribute("data-popper-placement",q.state.placement)}}]};return{...k,...V(this._config.popperConfig,[k])}}_setListeners(){const p=this._config.trigger.split(" ");for(const k of p)if(k==="click")B.on(this._element,this.constructor.eventName(ik),this._config.selector,q=>{this._initializeOnDelegatedTarget(q).toggle()});else if(k!==Qx){const q=k===Vr?this.constructor.eventName(ak):this.constructor.eventName(ok),ge=k===Vr?this.constructor.eventName(lk):this.constructor.eventName(rk);B.on(this._element,q,this._config.selector,Te=>{const Ce=this._initializeOnDelegatedTarget(Te);Ce._activeTrigger[Te.type==="focusin"?xu:Vr]=!0,Ce._enter()}),B.on(this._element,ge,this._config.selector,Te=>{const Ce=this._initializeOnDelegatedTarget(Te);Ce._activeTrigger[Te.type==="focusout"?xu:Vr]=Ce._element.contains(Te.relatedTarget),Ce._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},B.on(this._element.closest($p),Ap,this._hideModalHandler)}_fixTitle(){const p=this._element.getAttribute("title");p&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",p),this._element.setAttribute("data-bs-original-title",p),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(p,k){clearTimeout(this._timeout),this._timeout=setTimeout(p,k)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(p){const k=j.getDataAttributes(this._element);for(const q of Object.keys(k))qx.has(q)&&delete k[q];return p={...k,...typeof p=="object"&&p?p:{}},p=this._mergeConfigObj(p),p=this._configAfterMerge(p),this._typeCheckConfig(p),p}_configAfterMerge(p){return p.container=p.container===!1?document.body:y(p.container),typeof p.delay=="number"&&(p.delay={show:p.delay,hide:p.delay}),typeof p.title=="number"&&(p.title=p.title.toString()),typeof p.content=="number"&&(p.content=p.content.toString()),p}_getDelegateConfig(){const p={};for(const[k,q]of Object.entries(this._config))this.constructor.Default[k]!==q&&(p[k]=q);return p.selector=!1,p.trigger="manual",p}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(p){return this.each(function(){const k=Gi.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof k[p]>"u")throw new TypeError(`No method named "${p}"`);k[p]()}})}}E(Gi);const hk="popover",fk=".popover-header",pk=".popover-body",gk={...Gi.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},mk={...Gi.DefaultType,content:"(null|string|element|function)"};class hl extends Gi{static get Default(){return gk}static get DefaultType(){return mk}static get NAME(){return hk}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[fk]:this._getTitle(),[pk]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(p){return this.each(function(){const k=hl.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof k[p]>"u")throw new TypeError(`No method named "${p}"`);k[p]()}})}}E(hl);const _k="scrollspy",ku=".bs.scrollspy",bk=".data-api",vk=`activate${ku}`,Cp=`click${ku}`,yk=`load${ku}${bk}`,wk="dropdown-item",jo="active",xk='[data-bs-spy="scroll"]',Su="[href]",kk=".nav, .list-group",Ep=".nav-link",Sk=`${Ep}, .nav-item > ${Ep}, .list-group-item`,$k=".dropdown",Ak=".dropdown-toggle",Ck={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ek={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Hr extends W{constructor(p,k){super(p,k),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Ck}static get DefaultType(){return Ek}static get NAME(){return _k}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const p of this._observableSections.values())this._observer.observe(p)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(p){return p.target=y(p.target)||document.body,p.rootMargin=p.offset?`${p.offset}px 0px -30%`:p.rootMargin,typeof p.threshold=="string"&&(p.threshold=p.threshold.split(",").map(k=>Number.parseFloat(k))),p}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(B.off(this._config.target,Cp),B.on(this._config.target,Cp,Su,p=>{const k=this._observableSections.get(p.target.hash);if(k){p.preventDefault();const q=this._rootElement||window,ge=k.offsetTop-this._element.offsetTop;if(q.scrollTo){q.scrollTo({top:ge,behavior:"smooth"});return}q.scrollTop=ge}}))}_getNewObserver(){const p={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(k=>this._observerCallback(k),p)}_observerCallback(p){const k=Ce=>this._targetLinks.get(`#${Ce.target.id}`),q=Ce=>{this._previousScrollData.visibleEntryTop=Ce.target.offsetTop,this._process(k(Ce))},ge=(this._rootElement||document.documentElement).scrollTop,Te=ge>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=ge;for(const Ce of p){if(!Ce.isIntersecting){this._activeTarget=null,this._clearActiveClass(k(Ce));continue}const Qe=Ce.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(Te&&Qe){if(q(Ce),!ge)return;continue}!Te&&!Qe&&q(Ce)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const p=J.find(Su,this._config.target);for(const k of p){if(!k.hash||$(k))continue;const q=J.findOne(decodeURI(k.hash),this._element);v(q)&&(this._targetLinks.set(decodeURI(k.hash),k),this._observableSections.set(k.hash,q))}}_process(p){this._activeTarget!==p&&(this._clearActiveClass(this._config.target),this._activeTarget=p,p.classList.add(jo),this._activateParents(p),B.trigger(this._element,vk,{relatedTarget:p}))}_activateParents(p){if(p.classList.contains(wk)){J.findOne(Ak,p.closest($k)).classList.add(jo);return}for(const k of J.parents(p,kk))for(const q of J.prev(k,Sk))q.classList.add(jo)}_clearActiveClass(p){p.classList.remove(jo);const k=J.find(`${Su}.${jo}`,p);for(const q of k)q.classList.remove(jo)}static jQueryInterface(p){return this.each(function(){const k=Hr.getOrCreateInstance(this,p);if(typeof p=="string"){if(k[p]===void 0||p.startsWith("_")||p==="constructor")throw new TypeError(`No method named "${p}"`);k[p]()}})}}B.on(window,yk,()=>{for(const K of J.find(xk))Hr.getOrCreateInstance(K)}),E(Hr);const Tk="tab",Ji=".bs.tab",Pk=`hide${Ji}`,Mk=`hidden${Ji}`,Dk=`show${Ji}`,Ok=`shown${Ji}`,Ik=`click${Ji}`,Lk=`keydown${Ji}`,Rk=`load${Ji}`,Nk="ArrowLeft",Tp="ArrowRight",Fk="ArrowUp",Pp="ArrowDown",$u="Home",Mp="End",Xi="active",Dp="fade",Au="show",Bk="dropdown",Op=".dropdown-toggle",Vk=".dropdown-menu",Cu=`:not(${Op})`,Hk='.list-group, .nav, [role="tablist"]',jk=".nav-item, .list-group-item",Wk=`.nav-link${Cu}, .list-group-item${Cu}, [role="tab"]${Cu}`,Ip='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Eu=`${Wk}, ${Ip}`,zk=`.${Xi}[data-bs-toggle="tab"], .${Xi}[data-bs-toggle="pill"], .${Xi}[data-bs-toggle="list"]`;class Qi extends W{constructor(p){super(p),this._parent=this._element.closest(Hk),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),B.on(this._element,Lk,k=>this._keydown(k)))}static get NAME(){return Tk}show(){const p=this._element;if(this._elemIsActive(p))return;const k=this._getActiveElem(),q=k?B.trigger(k,Pk,{relatedTarget:p}):null;B.trigger(p,Dk,{relatedTarget:k}).defaultPrevented||q&&q.defaultPrevented||(this._deactivate(k,p),this._activate(p,k))}_activate(p,k){if(!p)return;p.classList.add(Xi),this._activate(J.getElementFromSelector(p));const q=()=>{if(p.getAttribute("role")!=="tab"){p.classList.add(Au);return}p.removeAttribute("tabindex"),p.setAttribute("aria-selected",!0),this._toggleDropDown(p,!0),B.trigger(p,Ok,{relatedTarget:k})};this._queueCallback(q,p,p.classList.contains(Dp))}_deactivate(p,k){if(!p)return;p.classList.remove(Xi),p.blur(),this._deactivate(J.getElementFromSelector(p));const q=()=>{if(p.getAttribute("role")!=="tab"){p.classList.remove(Au);return}p.setAttribute("aria-selected",!1),p.setAttribute("tabindex","-1"),this._toggleDropDown(p,!1),B.trigger(p,Mk,{relatedTarget:k})};this._queueCallback(q,p,p.classList.contains(Dp))}_keydown(p){if(![Nk,Tp,Fk,Pp,$u,Mp].includes(p.key))return;p.stopPropagation(),p.preventDefault();const k=this._getChildren().filter(ge=>!$(ge));let q;if([$u,Mp].includes(p.key))q=k[p.key===$u?0:k.length-1];else{const ge=[Tp,Pp].includes(p.key);q=le(k,p.target,ge,!0)}q&&(q.focus({preventScroll:!0}),Qi.getOrCreateInstance(q).show())}_getChildren(){return J.find(Eu,this._parent)}_getActiveElem(){return this._getChildren().find(p=>this._elemIsActive(p))||null}_setInitialAttributes(p,k){this._setAttributeIfNotExists(p,"role","tablist");for(const q of k)this._setInitialAttributesOnChild(q)}_setInitialAttributesOnChild(p){p=this._getInnerElement(p);const k=this._elemIsActive(p),q=this._getOuterElement(p);p.setAttribute("aria-selected",k),q!==p&&this._setAttributeIfNotExists(q,"role","presentation"),k||p.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(p,"role","tab"),this._setInitialAttributesOnTargetPanel(p)}_setInitialAttributesOnTargetPanel(p){const k=J.getElementFromSelector(p);k&&(this._setAttributeIfNotExists(k,"role","tabpanel"),p.id&&this._setAttributeIfNotExists(k,"aria-labelledby",`${p.id}`))}_toggleDropDown(p,k){const q=this._getOuterElement(p);if(!q.classList.contains(Bk))return;const ge=(Te,Ce)=>{const Qe=J.findOne(Te,q);Qe&&Qe.classList.toggle(Ce,k)};ge(Op,Xi),ge(Vk,Au),q.setAttribute("aria-expanded",k)}_setAttributeIfNotExists(p,k,q){p.hasAttribute(k)||p.setAttribute(k,q)}_elemIsActive(p){return p.classList.contains(Xi)}_getInnerElement(p){return p.matches(Eu)?p:J.findOne(Eu,p)}_getOuterElement(p){return p.closest(jk)||p}static jQueryInterface(p){return this.each(function(){const k=Qi.getOrCreateInstance(this);if(typeof p=="string"){if(k[p]===void 0||p.startsWith("_")||p==="constructor")throw new TypeError(`No method named "${p}"`);k[p]()}})}}B.on(document,Ik,Ip,function(K){["A","AREA"].includes(this.tagName)&&K.preventDefault(),!$(this)&&Qi.getOrCreateInstance(this).show()}),B.on(window,Rk,()=>{for(const K of J.find(zk))Qi.getOrCreateInstance(K)}),E(Qi);const Kk="toast",ii=".bs.toast",Yk=`mouseover${ii}`,Uk=`mouseout${ii}`,qk=`focusin${ii}`,Gk=`focusout${ii}`,Jk=`hide${ii}`,Xk=`hidden${ii}`,Qk=`show${ii}`,Zk=`shown${ii}`,eS="fade",Lp="hide",fl="show",pl="showing",tS={animation:"boolean",autohide:"boolean",delay:"number"},nS={animation:!0,autohide:!0,delay:5e3};class jr extends W{constructor(p,k){super(p,k),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return nS}static get DefaultType(){return tS}static get NAME(){return Kk}show(){if(B.trigger(this._element,Qk).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(eS);const k=()=>{this._element.classList.remove(pl),B.trigger(this._element,Zk),this._maybeScheduleHide()};this._element.classList.remove(Lp),x(this._element),this._element.classList.add(fl,pl),this._queueCallback(k,this._element,this._config.animation)}hide(){if(!this.isShown()||B.trigger(this._element,Jk).defaultPrevented)return;const k=()=>{this._element.classList.add(Lp),this._element.classList.remove(pl,fl),B.trigger(this._element,Xk)};this._element.classList.add(pl),this._queueCallback(k,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(fl),super.dispose()}isShown(){return this._element.classList.contains(fl)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(p,k){switch(p.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=k;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=k;break}}if(k){this._clearTimeout();return}const q=p.relatedTarget;this._element===q||this._element.contains(q)||this._maybeScheduleHide()}_setListeners(){B.on(this._element,Yk,p=>this._onInteraction(p,!0)),B.on(this._element,Uk,p=>this._onInteraction(p,!1)),B.on(this._element,qk,p=>this._onInteraction(p,!0)),B.on(this._element,Gk,p=>this._onInteraction(p,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(p){return this.each(function(){const k=jr.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof k[p]>"u")throw new TypeError(`No method named "${p}"`);k[p](this)}})}}return he(jr),E(jr),{Alert:Je,Button:se,Carousel:Fo,Collapse:Vo,Dropdown:Zn,Modal:qi,Offcanvas:Ls,Popover:hl,ScrollSpy:Hr,Tab:Qi,Toast:jr,Tooltip:Gi}})})(rS);/** * @vue/shared v3.4.29 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function $h(t,e){const n=new Set(t.split(","));return e?s=>n.has(s.toLowerCase()):s=>n.has(s)}const _t={},nr=[],Un=()=>{},GS=()=>!1,Oc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Ah=t=>t.startsWith("onUpdate:"),Lt=Object.assign,Ch=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},JS=Object.prototype.hasOwnProperty,st=(t,e)=>JS.call(t,e),Fe=Array.isArray,sr=t=>Ka(t)==="[object Map]",Or=t=>Ka(t)==="[object Set]",zp=t=>Ka(t)==="[object Date]",Ye=t=>typeof t=="function",St=t=>typeof t=="string",Xs=t=>typeof t=="symbol",ut=t=>t!==null&&typeof t=="object",kv=t=>(ut(t)||Ye(t))&&Ye(t.then)&&Ye(t.catch),Sv=Object.prototype.toString,Ka=t=>Sv.call(t),XS=t=>Ka(t).slice(8,-1),$v=t=>Ka(t)==="[object Object]",Eh=t=>St(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ua=$h(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ic=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},QS=/-(\w)/g,Es=Ic(t=>t.replace(QS,(e,n)=>n?n.toUpperCase():"")),ZS=/\B([A-Z])/g,To=Ic(t=>t.replace(ZS,"-$1").toLowerCase()),Rc=Ic(t=>t.charAt(0).toUpperCase()+t.slice(1)),Tu=Ic(t=>t?`on${Rc(t)}`:""),Ti=(t,e)=>!Object.is(t,e),Gl=(t,...e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:s,value:n})},ac=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Cv=t=>{const e=St(t)?Number(t):NaN;return isNaN(e)?t:e};let Yp;const Ev=()=>Yp||(Yp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function jt(t){if(Fe(t)){const e={};for(let n=0;n{if(n){const s=n.split(t$);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Ce(t){let e="";if(St(t))e=t;else if(Fe(t))for(let n=0;nAo(n,e))}const me=t=>St(t)?t:t==null?"":Fe(t)||ut(t)&&(t.toString===Sv||!Ye(t.toString))?JSON.stringify(t,Tv,2):String(t),Tv=(t,e)=>e&&e.__v_isRef?Tv(t,e.value):sr(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,i],o)=>(n[Mu(s,o)+" =>"]=i,n),{})}:Or(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Mu(n))}:Xs(e)?Mu(e):ut(e)&&!Fe(e)&&!$v(e)?String(e):e,Mu=(t,e="")=>{var n;return Xs(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/** +**//*! #__NO_SIDE_EFFECTS__ */function $h(t,e){const n=new Set(t.split(","));return e?s=>n.has(s.toLowerCase()):s=>n.has(s)}const vt={},er=[],Yn=()=>{},JS=()=>!1,Tc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Ah=t=>t.startsWith("onUpdate:"),Ft=Object.assign,Ch=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},XS=Object.prototype.hasOwnProperty,it=(t,e)=>XS.call(t,e),Fe=Array.isArray,tr=t=>Ka(t)==="[object Map]",Mr=t=>Ka(t)==="[object Set]",zp=t=>Ka(t)==="[object Date]",Ye=t=>typeof t=="function",At=t=>typeof t=="string",Xs=t=>typeof t=="symbol",ft=t=>t!==null&&typeof t=="object",kb=t=>(ft(t)||Ye(t))&&Ye(t.then)&&Ye(t.catch),Sb=Object.prototype.toString,Ka=t=>Sb.call(t),QS=t=>Ka(t).slice(8,-1),$b=t=>Ka(t)==="[object Object]",Eh=t=>At(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,la=$h(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pc=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},ZS=/-(\w)/g,Cs=Pc(t=>t.replace(ZS,(e,n)=>n?n.toUpperCase():"")),e$=/\B([A-Z])/g,Eo=Pc(t=>t.replace(e$,"-$1").toLowerCase()),Mc=Pc(t=>t.charAt(0).toUpperCase()+t.slice(1)),Tu=Pc(t=>t?`on${Mc(t)}`:""),Ei=(t,e)=>!Object.is(t,e),Yl=(t,...e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:s,value:n})},sc=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Cb=t=>{const e=At(t)?Number(t):NaN;return isNaN(e)?t:e};let Kp;const Eb=()=>Kp||(Kp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function zt(t){if(Fe(t)){const e={};for(let n=0;n{if(n){const s=n.split(n$);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Ee(t){let e="";if(At(t))e=t;else if(Fe(t))for(let n=0;nSo(n,e))}const xe=t=>At(t)?t:t==null?"":Fe(t)||ft(t)&&(t.toString===Sb||!Ye(t.toString))?JSON.stringify(t,Pb,2):String(t),Pb=(t,e)=>e&&e.__v_isRef?Pb(t,e.value):tr(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,i],o)=>(n[Pu(s,o)+" =>"]=i,n),{})}:Mr(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Pu(n))}:Xs(e)?Pu(e):ft(e)&&!Fe(e)&&!$b(e)?String(e):e,Pu=(t,e="")=>{var n;return Xs(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/** * @vue/reactivity v3.4.29 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Dn;class Mv{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Dn,!e&&Dn&&(this.index=(Dn.scopes||(Dn.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Dn;try{return Dn=this,e()}finally{Dn=n}}}on(){Dn=this}off(){Dn=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),Fi()}return this._dirtyLevel>=5}set dirty(e){this._dirtyLevel=e?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=$i,n=_o;try{return $i=!0,_o=this,this._runnings++,Up(this),this.fn()}finally{Kp(this),this._runnings--,_o=n,$i=e}}stop(){this.active&&(Up(this),Kp(this),this.onStop&&this.onStop(),this.active=!1)}}function l$(t){return t.value}function Up(t){t._trackId++,t._depsLength=0}function Kp(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e0){s._dirtyLevel=2;continue}let i;s._dirtyLevel{const n=new Map;return n.cleanup=t,n.computed=e,n},lc=new WeakMap,vo=Symbol(""),Sd=Symbol("");function Pn(t,e,n){if($i&&_o){let s=lc.get(t);s||lc.set(t,s=new Map);let i=s.get(n);i||s.set(n,i=Nv(()=>s.delete(n))),Rv(_o,i)}}function Gs(t,e,n,s,i,o){const r=lc.get(t);if(!r)return;let a=[];if(e==="clear")a=[...r.values()];else if(n==="length"&&Fe(t)){const l=Number(s);r.forEach((c,u)=>{(u==="length"||!Xs(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(r.get(n)),e){case"add":Fe(t)?Eh(n)&&a.push(r.get("length")):(a.push(r.get(vo)),sr(t)&&a.push(r.get(Sd)));break;case"delete":Fe(t)||(a.push(r.get(vo)),sr(t)&&a.push(r.get(Sd)));break;case"set":sr(t)&&a.push(r.get(vo));break}Dh();for(const l of a)l&&Lv(l,5);Oh()}function c$(t,e){const n=lc.get(t);return n&&n.get(e)}const u$=$h("__proto__,__v_isRef,__isVue"),Fv=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Xs)),qp=d$();function d$(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=Ze(this);for(let o=0,r=this.length;o{t[e]=function(...n){Ni(),Dh();const s=Ze(this)[e].apply(this,n);return Oh(),Fi(),s}}),t}function h$(t){Xs(t)||(t=String(t));const e=Ze(this);return Pn(e,"has",t),e.hasOwnProperty(t)}class Bv{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,s){const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(i?o?$$:Wv:o?jv:Hv).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const r=Fe(e);if(!i){if(r&&st(qp,n))return Reflect.get(qp,n,s);if(n==="hasOwnProperty")return h$}const a=Reflect.get(e,n,s);return(Xs(n)?Fv.has(n):u$(n))||(i||Pn(e,"get",n),o)?a:Pt(a)?r&&Eh(n)?a:a.value:ut(a)?i?Yv(a):Ts(a):a}}class Vv extends Bv{constructor(e=!1){super(!1,e)}set(e,n,s,i){let o=e[n];if(!this._isShallow){const l=$a(o);if(!cc(s)&&!$a(s)&&(o=Ze(o),s=Ze(s)),!Fe(e)&&Pt(o)&&!Pt(s))return l?!1:(o.value=s,!0)}const r=Fe(e)&&Eh(n)?Number(n)t,Nc=t=>Reflect.getPrototypeOf(t);function yl(t,e,n=!1,s=!1){t=t.__v_raw;const i=Ze(t),o=Ze(e);n||(Ti(e,o)&&Pn(i,"get",e),Pn(i,"get",o));const{has:r}=Nc(i),a=s?Ih:n?Nh:Aa;if(r.call(i,e))return a(t.get(e));if(r.call(i,o))return a(t.get(o));t!==i&&t.get(e)}function wl(t,e=!1){const n=this.__v_raw,s=Ze(n),i=Ze(t);return e||(Ti(t,i)&&Pn(s,"has",t),Pn(s,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)}function xl(t,e=!1){return t=t.__v_raw,!e&&Pn(Ze(t),"iterate",vo),Reflect.get(t,"size",t)}function Gp(t){t=Ze(t);const e=Ze(this);return Nc(e).has.call(e,t)||(e.add(t),Gs(e,"add",t,t)),this}function Jp(t,e){e=Ze(e);const n=Ze(this),{has:s,get:i}=Nc(n);let o=s.call(n,t);o||(t=Ze(t),o=s.call(n,t));const r=i.call(n,t);return n.set(t,e),o?Ti(e,r)&&Gs(n,"set",t,e):Gs(n,"add",t,e),this}function Xp(t){const e=Ze(this),{has:n,get:s}=Nc(e);let i=n.call(e,t);i||(t=Ze(t),i=n.call(e,t)),s&&s.call(e,t);const o=e.delete(t);return i&&Gs(e,"delete",t,void 0),o}function Qp(){const t=Ze(this),e=t.size!==0,n=t.clear();return e&&Gs(t,"clear",void 0,void 0),n}function kl(t,e){return function(s,i){const o=this,r=o.__v_raw,a=Ze(r),l=e?Ih:t?Nh:Aa;return!t&&Pn(a,"iterate",vo),r.forEach((c,u)=>s.call(i,l(c),l(u),o))}}function Sl(t,e,n){return function(...s){const i=this.__v_raw,o=Ze(i),r=sr(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,c=i[t](...s),u=n?Ih:e?Nh:Aa;return!e&&Pn(o,"iterate",l?Sd:vo),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function ai(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function _$(){const t={get(o){return yl(this,o)},get size(){return xl(this)},has:wl,add:Gp,set:Jp,delete:Xp,clear:Qp,forEach:kl(!1,!1)},e={get(o){return yl(this,o,!1,!0)},get size(){return xl(this)},has:wl,add:Gp,set:Jp,delete:Xp,clear:Qp,forEach:kl(!1,!0)},n={get(o){return yl(this,o,!0)},get size(){return xl(this,!0)},has(o){return wl.call(this,o,!0)},add:ai("add"),set:ai("set"),delete:ai("delete"),clear:ai("clear"),forEach:kl(!0,!1)},s={get(o){return yl(this,o,!0,!0)},get size(){return xl(this,!0)},has(o){return wl.call(this,o,!0)},add:ai("add"),set:ai("set"),delete:ai("delete"),clear:ai("clear"),forEach:kl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=Sl(o,!1,!1),n[o]=Sl(o,!0,!1),e[o]=Sl(o,!1,!0),s[o]=Sl(o,!0,!0)}),[t,n,e,s]}const[v$,b$,y$,w$]=_$();function Rh(t,e){const n=e?t?w$:y$:t?b$:v$;return(s,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?s:Reflect.get(st(n,i)&&i in s?n:s,i,o)}const x$={get:Rh(!1,!1)},k$={get:Rh(!1,!0)},S$={get:Rh(!0,!1)};const Hv=new WeakMap,jv=new WeakMap,Wv=new WeakMap,$$=new WeakMap;function A$(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function C$(t){return t.__v_skip||!Object.isExtensible(t)?0:A$(XS(t))}function Ts(t){return $a(t)?t:Lh(t,!1,p$,x$,Hv)}function zv(t){return Lh(t,!1,m$,k$,jv)}function Yv(t){return Lh(t,!0,g$,S$,Wv)}function Lh(t,e,n,s,i){if(!ut(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=i.get(t);if(o)return o;const r=C$(t);if(r===0)return t;const a=new Proxy(t,r===2?s:n);return i.set(t,a),a}function bo(t){return $a(t)?bo(t.__v_raw):!!(t&&t.__v_isReactive)}function $a(t){return!!(t&&t.__v_isReadonly)}function cc(t){return!!(t&&t.__v_isShallow)}function Fc(t){return t?!!t.__v_raw:!1}function Ze(t){const e=t&&t.__v_raw;return e?Ze(e):t}function Bc(t){return Object.isExtensible(t)&&Av(t,"__v_skip",!0),t}const Aa=t=>ut(t)?Ts(t):t,Nh=t=>ut(t)?Yv(t):t;class Uv{constructor(e,n,s,i){this.getter=e,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Mh(()=>e(this._value),()=>Jl(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=s}get value(){const e=Ze(this);return(!e._cacheable||e.effect.dirty)&&Ti(e._value,e._value=e.effect.run())&&Jl(e,5),Kv(e),e.effect._dirtyLevel>=2&&Jl(e,3),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function E$(t,e,n=!1){let s,i;const o=Ye(t);return o?(s=t,i=Un):(s=t.get,i=t.set),new Uv(s,i,o||!i,n)}function Kv(t){var e;$i&&_o&&(t=Ze(t),Rv(_o,(e=t.dep)!=null?e:t.dep=Nv(()=>t.dep=void 0,t instanceof Uv?t:void 0)))}function Jl(t,e=5,n,s){t=Ze(t);const i=t.dep;i&&Lv(i,e)}function Pt(t){return!!(t&&t.__v_isRef===!0)}function ve(t){return qv(t,!1)}function Fh(t){return qv(t,!0)}function qv(t,e){return Pt(t)?t:new P$(t,e)}class P${constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Ze(e),this._value=n?e:Aa(e)}get value(){return Kv(this),this._value}set value(e){const n=this.__v_isShallow||cc(e)||$a(e);e=n?e:Ze(e),Ti(e,this._rawValue)&&(this._rawValue,this._rawValue=e,this._value=n?e:Aa(e),Jl(this,5))}}function q(t){return Pt(t)?t.value:t}const T$={get:(t,e,n)=>q(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const i=t[e];return Pt(i)&&!Pt(n)?(i.value=n,!0):Reflect.set(t,e,n,s)}};function Gv(t){return bo(t)?t:new Proxy(t,T$)}function M$(t){const e=Fe(t)?new Array(t.length):{};for(const n in t)e[n]=Jv(t,n);return e}class D${constructor(e,n,s){this._object=e,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return c$(Ze(this._object),this._key)}}class O${constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ca(t,e,n){return Pt(t)?t:Ye(t)?new O$(t):ut(t)&&arguments.length>1?Jv(t,e,n):ve(t)}function Jv(t,e,n){const s=t[e];return Pt(s)?s:new D$(t,e,n)}/** +**/let Dn;class Mb{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Dn,!e&&Dn&&(this.index=(Dn.scopes||(Dn.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Dn;try{return Dn=this,e()}finally{Dn=n}}}on(){Dn=this}off(){Dn=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),Ri()}return this._dirtyLevel>=5}set dirty(e){this._dirtyLevel=e?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=ki,n=go;try{return ki=!0,go=this,this._runnings++,Yp(this),this.fn()}finally{Up(this),this._runnings--,go=n,ki=e}}stop(){this.active&&(Yp(this),Up(this),this.onStop&&this.onStop(),this.active=!1)}}function c$(t){return t.value}function Yp(t){t._trackId++,t._depsLength=0}function Up(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e0){s._dirtyLevel=2;continue}let i;s._dirtyLevel{const n=new Map;return n.cleanup=t,n.computed=e,n},ic=new WeakMap,mo=Symbol(""),Sd=Symbol("");function Tn(t,e,n){if(ki&&go){let s=ic.get(t);s||ic.set(t,s=new Map);let i=s.get(n);i||s.set(n,i=Nb(()=>s.delete(n))),Lb(go,i)}}function Gs(t,e,n,s,i,o){const r=ic.get(t);if(!r)return;let a=[];if(e==="clear")a=[...r.values()];else if(n==="length"&&Fe(t)){const l=Number(s);r.forEach((c,u)=>{(u==="length"||!Xs(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(r.get(n)),e){case"add":Fe(t)?Eh(n)&&a.push(r.get("length")):(a.push(r.get(mo)),tr(t)&&a.push(r.get(Sd)));break;case"delete":Fe(t)||(a.push(r.get(mo)),tr(t)&&a.push(r.get(Sd)));break;case"set":tr(t)&&a.push(r.get(mo));break}Dh();for(const l of a)l&&Rb(l,5);Oh()}function u$(t,e){const n=ic.get(t);return n&&n.get(e)}const d$=$h("__proto__,__v_isRef,__isVue"),Fb=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Xs)),qp=h$();function h$(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=et(this);for(let o=0,r=this.length;o{t[e]=function(...n){Li(),Dh();const s=et(this)[e].apply(this,n);return Oh(),Ri(),s}}),t}function f$(t){Xs(t)||(t=String(t));const e=et(this);return Tn(e,"has",t),e.hasOwnProperty(t)}class Bb{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,s){const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(i?o?A$:Wb:o?jb:Hb).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const r=Fe(e);if(!i){if(r&&it(qp,n))return Reflect.get(qp,n,s);if(n==="hasOwnProperty")return f$}const a=Reflect.get(e,n,s);return(Xs(n)?Fb.has(n):d$(n))||(i||Tn(e,"get",n),o)?a:Mt(a)?r&&Eh(n)?a:a.value:ft(a)?i?Kb(a):Ts(a):a}}class Vb extends Bb{constructor(e=!1){super(!1,e)}set(e,n,s,i){let o=e[n];if(!this._isShallow){const l=ka(o);if(!oc(s)&&!ka(s)&&(o=et(o),s=et(s)),!Fe(e)&&Mt(o)&&!Mt(s))return l?!1:(o.value=s,!0)}const r=Fe(e)&&Eh(n)?Number(n)t,Oc=t=>Reflect.getPrototypeOf(t);function _l(t,e,n=!1,s=!1){t=t.__v_raw;const i=et(t),o=et(e);n||(Ei(e,o)&&Tn(i,"get",e),Tn(i,"get",o));const{has:r}=Oc(i),a=s?Ih:n?Nh:Sa;if(r.call(i,e))return a(t.get(e));if(r.call(i,o))return a(t.get(o));t!==i&&t.get(e)}function bl(t,e=!1){const n=this.__v_raw,s=et(n),i=et(t);return e||(Ei(t,i)&&Tn(s,"has",t),Tn(s,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)}function vl(t,e=!1){return t=t.__v_raw,!e&&Tn(et(t),"iterate",mo),Reflect.get(t,"size",t)}function Gp(t){t=et(t);const e=et(this);return Oc(e).has.call(e,t)||(e.add(t),Gs(e,"add",t,t)),this}function Jp(t,e){e=et(e);const n=et(this),{has:s,get:i}=Oc(n);let o=s.call(n,t);o||(t=et(t),o=s.call(n,t));const r=i.call(n,t);return n.set(t,e),o?Ei(e,r)&&Gs(n,"set",t,e):Gs(n,"add",t,e),this}function Xp(t){const e=et(this),{has:n,get:s}=Oc(e);let i=n.call(e,t);i||(t=et(t),i=n.call(e,t)),s&&s.call(e,t);const o=e.delete(t);return i&&Gs(e,"delete",t,void 0),o}function Qp(){const t=et(this),e=t.size!==0,n=t.clear();return e&&Gs(t,"clear",void 0,void 0),n}function yl(t,e){return function(s,i){const o=this,r=o.__v_raw,a=et(r),l=e?Ih:t?Nh:Sa;return!t&&Tn(a,"iterate",mo),r.forEach((c,u)=>s.call(i,l(c),l(u),o))}}function wl(t,e,n){return function(...s){const i=this.__v_raw,o=et(i),r=tr(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,c=i[t](...s),u=n?Ih:e?Nh:Sa;return!e&&Tn(o,"iterate",l?Sd:mo),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function oi(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function b$(){const t={get(o){return _l(this,o)},get size(){return vl(this)},has:bl,add:Gp,set:Jp,delete:Xp,clear:Qp,forEach:yl(!1,!1)},e={get(o){return _l(this,o,!1,!0)},get size(){return vl(this)},has:bl,add:Gp,set:Jp,delete:Xp,clear:Qp,forEach:yl(!1,!0)},n={get(o){return _l(this,o,!0)},get size(){return vl(this,!0)},has(o){return bl.call(this,o,!0)},add:oi("add"),set:oi("set"),delete:oi("delete"),clear:oi("clear"),forEach:yl(!0,!1)},s={get(o){return _l(this,o,!0,!0)},get size(){return vl(this,!0)},has(o){return bl.call(this,o,!0)},add:oi("add"),set:oi("set"),delete:oi("delete"),clear:oi("clear"),forEach:yl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=wl(o,!1,!1),n[o]=wl(o,!0,!1),e[o]=wl(o,!1,!0),s[o]=wl(o,!0,!0)}),[t,n,e,s]}const[v$,y$,w$,x$]=b$();function Lh(t,e){const n=e?t?x$:w$:t?y$:v$;return(s,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?s:Reflect.get(it(n,i)&&i in s?n:s,i,o)}const k$={get:Lh(!1,!1)},S$={get:Lh(!1,!0)},$$={get:Lh(!0,!1)};const Hb=new WeakMap,jb=new WeakMap,Wb=new WeakMap,A$=new WeakMap;function C$(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function E$(t){return t.__v_skip||!Object.isExtensible(t)?0:C$(QS(t))}function Ts(t){return ka(t)?t:Rh(t,!1,g$,k$,Hb)}function zb(t){return Rh(t,!1,_$,S$,jb)}function Kb(t){return Rh(t,!0,m$,$$,Wb)}function Rh(t,e,n,s,i){if(!ft(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=i.get(t);if(o)return o;const r=E$(t);if(r===0)return t;const a=new Proxy(t,r===2?s:n);return i.set(t,a),a}function _o(t){return ka(t)?_o(t.__v_raw):!!(t&&t.__v_isReactive)}function ka(t){return!!(t&&t.__v_isReadonly)}function oc(t){return!!(t&&t.__v_isShallow)}function Ic(t){return t?!!t.__v_raw:!1}function et(t){const e=t&&t.__v_raw;return e?et(e):t}function Lc(t){return Object.isExtensible(t)&&Ab(t,"__v_skip",!0),t}const Sa=t=>ft(t)?Ts(t):t,Nh=t=>ft(t)?Kb(t):t;class Yb{constructor(e,n,s,i){this.getter=e,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Mh(()=>e(this._value),()=>Ul(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=s}get value(){const e=et(this);return(!e._cacheable||e.effect.dirty)&&Ei(e._value,e._value=e.effect.run())&&Ul(e,5),Ub(e),e.effect._dirtyLevel>=2&&Ul(e,3),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function T$(t,e,n=!1){let s,i;const o=Ye(t);return o?(s=t,i=Yn):(s=t.get,i=t.set),new Yb(s,i,o||!i,n)}function Ub(t){var e;ki&&go&&(t=et(t),Lb(go,(e=t.dep)!=null?e:t.dep=Nb(()=>t.dep=void 0,t instanceof Yb?t:void 0)))}function Ul(t,e=5,n,s){t=et(t);const i=t.dep;i&&Rb(i,e)}function Mt(t){return!!(t&&t.__v_isRef===!0)}function be(t){return qb(t,!1)}function Fh(t){return qb(t,!0)}function qb(t,e){return Mt(t)?t:new P$(t,e)}class P${constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:et(e),this._value=n?e:Sa(e)}get value(){return Ub(this),this._value}set value(e){const n=this.__v_isShallow||oc(e)||ka(e);e=n?e:et(e),Ei(e,this._rawValue)&&(this._rawValue,this._rawValue=e,this._value=n?e:Sa(e),Ul(this,5))}}function G(t){return Mt(t)?t.value:t}const M$={get:(t,e,n)=>G(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const i=t[e];return Mt(i)&&!Mt(n)?(i.value=n,!0):Reflect.set(t,e,n,s)}};function Gb(t){return _o(t)?t:new Proxy(t,M$)}function D$(t){const e=Fe(t)?new Array(t.length):{};for(const n in t)e[n]=Jb(t,n);return e}class O${constructor(e,n,s){this._object=e,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return u$(et(this._object),this._key)}}class I${constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function $a(t,e,n){return Mt(t)?t:Ye(t)?new I$(t):ft(t)&&arguments.length>1?Jb(t,e,n):be(t)}function Jb(t,e,n){const s=t[e];return Mt(s)?s:new O$(t,e,n)}/** * @vue/runtime-core v3.4.29 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Ai(t,e,n,s){try{return s?t(...s):t()}catch(i){qa(i,e,n)}}function Jn(t,e,n,s){if(Ye(t)){const i=Ai(t,e,n,s);return i&&kv(i)&&i.catch(o=>{qa(o,e,n)}),i}if(Fe(t)){const i=[];for(let o=0;o>>1,i=cn[s],o=Pa(i);ovs&&cn.splice(e,1)}function Ad(t){Fe(t)?ir.push(...t):(!pi||!pi.includes(t,t.allowRecurse?fo+1:fo))&&ir.push(t),Qv()}function Zp(t,e,n=Ea?vs+1:0){for(;nPa(n)-Pa(s));if(ir.length=0,pi){pi.push(...e);return}for(pi=e,fo=0;fot.id==null?1/0:t.id,N$=(t,e)=>{const n=Pa(t)-Pa(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function eb(t){$d=!1,Ea=!0,cn.sort(N$);try{for(vs=0;vsSt(g)?g.trim():g)),d&&(i=n.map(ac))}let a,l=s[a=Tu(e)]||s[a=Tu(Es(e))];!l&&o&&(l=s[a=Tu(To(e))]),l&&Jn(l,t,6,i);const c=s[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Jn(c,t,6,i)}}function tb(t,e,n=!1){const s=e.emitsCache,i=s.get(t);if(i!==void 0)return i;const o=t.emits;let r={},a=!1;if(!Ye(t)){const l=c=>{const u=tb(c,e,!0);u&&(a=!0,Lt(r,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(ut(t)&&s.set(t,null),null):(Fe(o)?o.forEach(l=>r[l]=null):Lt(r,o),ut(t)&&s.set(t,r),r)}function Vc(t,e){return!t||!Oc(e)?!1:(e=e.slice(2).replace(/Once$/,""),st(t,e[0].toLowerCase()+e.slice(1))||st(t,To(e))||st(t,e))}let Wt=null,Hc=null;function uc(t){const e=Wt;return Wt=t,Hc=t&&t.type.__scopeId||null,e}function Ut(t){Hc=t}function Kt(){Hc=null}function Pe(t,e=Wt,n){if(!e||t._n)return t;const s=(...i)=>{s._d&&gg(-1);const o=uc(e);let r;try{r=t(...i)}finally{uc(o),s._d&&gg(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function Du(t){const{type:e,vnode:n,proxy:s,withProxy:i,propsOptions:[o],slots:r,attrs:a,emit:l,render:c,renderCache:u,props:d,data:f,setupState:g,ctx:_,inheritAttrs:m}=t,b=uc(t);let w,$;try{if(n.shapeFlag&4){const D=i||s,x=D;w=ss(c.call(x,D,u,d,g,f,_)),$=a}else{const D=e;w=ss(D.length>1?D(d,{attrs:a,slots:r,emit:l}):D(d,null)),$=e.props?a:V$(a)}}catch(D){pa.length=0,qa(D,t,1),w=Se(un)}let A=w;if($&&m!==!1){const D=Object.keys($),{shapeFlag:x}=A;D.length&&x&7&&(o&&D.some(Ah)&&($=H$($,o)),A=Mi(A,$,!1,!0))}return n.dirs&&(A=Mi(A,null,!1,!0),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&(A.transition=n.transition),w=A,uc(b),w}function B$(t,e=!0){let n;for(let s=0;s{let e;for(const n in t)(n==="class"||n==="style"||Oc(n))&&((e||(e={}))[n]=t[n]);return e},H$=(t,e)=>{const n={};for(const s in t)(!Ah(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function j$(t,e,n){const{props:s,children:i,component:o}=t,{props:r,children:a,patchFlag:l}=e,c=o.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?eg(s,r,c):!!r;if(l&8){const u=e.dynamicProps;for(let d=0;dt.__isSuspense;let Cd=0;const z$={name:"Suspense",__isSuspense:!0,process(t,e,n,s,i,o,r,a,l,c){if(t==null)Y$(e,n,s,i,o,r,a,l,c);else{if(o&&o.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}U$(t,e,n,s,i,r,a,l,c)}},hydrate:K$,create:zh,normalize:q$},Wh=z$;function Ta(t,e){const n=t.props&&t.props[e];Ye(n)&&n()}function Y$(t,e,n,s,i,o,r,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),f=t.suspense=zh(t,i,s,e,d,n,o,r,a,l);c(null,f.pendingBranch=t.ssContent,d,null,s,f,o,r),f.deps>0?(Ta(t,"onPending"),Ta(t,"onFallback"),c(null,t.ssFallback,e,n,s,null,o,r),or(f,t.ssFallback)):f.resolve(!1,!0)}function U$(t,e,n,s,i,o,r,a,{p:l,um:c,o:{createElement:u}}){const d=e.suspense=t.suspense;d.vnode=e,e.el=t.el;const f=e.ssContent,g=e.ssFallback,{activeBranch:_,pendingBranch:m,isInFallback:b,isHydrating:w}=d;if(m)d.pendingBranch=f,bs(f,m)?(l(m,f,d.hiddenContainer,null,i,d,o,r,a),d.deps<=0?d.resolve():b&&(w||(l(_,g,n,s,i,null,o,r,a),or(d,g)))):(d.pendingId=Cd++,w?(d.isHydrating=!1,d.activeBranch=m):c(m,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),b?(l(null,f,d.hiddenContainer,null,i,d,o,r,a),d.deps<=0?d.resolve():(l(_,g,n,s,i,null,o,r,a),or(d,g))):_&&bs(f,_)?(l(_,f,n,s,i,d,o,r,a),d.resolve(!0)):(l(null,f,d.hiddenContainer,null,i,d,o,r,a),d.deps<=0&&d.resolve()));else if(_&&bs(f,_))l(_,f,n,s,i,d,o,r,a),or(d,f);else if(Ta(e,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=Cd++,l(null,f,d.hiddenContainer,null,i,d,o,r,a),d.deps<=0)d.resolve();else{const{timeout:$,pendingId:A}=d;$>0?setTimeout(()=>{d.pendingId===A&&d.fallback(g)},$):$===0&&d.fallback(g)}}function zh(t,e,n,s,i,o,r,a,l,c,u=!1){const{p:d,m:f,um:g,n:_,o:{parentNode:m,remove:b}}=c;let w;const $=J$(t);$&&e&&e.pendingBranch&&(w=e.pendingId,e.deps++);const A=t.props?Cv(t.props.timeout):void 0,D=o,x={vnode:t,parent:e,parentComponent:n,namespace:r,container:s,hiddenContainer:i,deps:0,pendingId:Cd++,timeout:typeof A=="number"?A:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(y=!1,S=!1){const{vnode:E,activeBranch:T,pendingBranch:C,pendingId:B,effects:J,parentComponent:ae,container:Y}=x;let L=!1;x.isHydrating?x.isHydrating=!1:y||(L=T&&C.transition&&C.transition.mode==="out-in",L&&(T.transition.afterLeave=()=>{B===x.pendingId&&(f(C,Y,o===D?_(T):o,0),Ad(J))}),T&&(m(T.el)!==x.hiddenContainer&&(o=_(T)),g(T,ae,x,!0)),L||f(C,Y,o,0)),or(x,C),x.pendingBranch=null,x.isInFallback=!1;let I=x.parent,V=!1;for(;I;){if(I.pendingBranch){I.effects.push(...J),V=!0;break}I=I.parent}!V&&!L&&Ad(J),x.effects=[],$&&e&&e.pendingBranch&&w===e.pendingId&&(e.deps--,e.deps===0&&!S&&e.resolve()),Ta(E,"onResolve")},fallback(y){if(!x.pendingBranch)return;const{vnode:S,activeBranch:E,parentComponent:T,container:C,namespace:B}=x;Ta(S,"onFallback");const J=_(E),ae=()=>{x.isInFallback&&(d(null,y,C,J,T,null,B,a,l),or(x,y))},Y=y.transition&&y.transition.mode==="out-in";Y&&(E.transition.afterLeave=ae),x.isInFallback=!0,g(E,T,null,!0),Y||ae()},move(y,S,E){x.activeBranch&&f(x.activeBranch,y,S,E),x.container=y},next(){return x.activeBranch&&_(x.activeBranch)},registerDep(y,S,E){const T=!!x.pendingBranch;T&&x.deps++;const C=y.vnode.el;y.asyncDep.catch(B=>{qa(B,y,0)}).then(B=>{if(y.isUnmounted||x.isUnmounted||x.pendingId!==y.suspenseId)return;y.asyncResolved=!0;const{vnode:J}=y;Rd(y,B,!1),C&&(J.el=C);const ae=!C&&y.subTree.el;S(y,J,m(C||y.subTree.el),C?null:_(y.subTree),x,r,E),ae&&b(ae),Hh(y,J.el),T&&--x.deps===0&&x.resolve()})},unmount(y,S){x.isUnmounted=!0,x.activeBranch&&g(x.activeBranch,n,y,S),x.pendingBranch&&g(x.pendingBranch,n,y,S)}};return x}function K$(t,e,n,s,i,o,r,a,l){const c=e.suspense=zh(e,s,n,t.parentNode,document.createElement("div"),null,i,o,r,a,!0),u=l(t,c.pendingBranch=e.ssContent,n,c,o,r);return c.deps===0&&c.resolve(!1,!0),u}function q$(t){const{shapeFlag:e,children:n}=t,s=e&32;t.ssContent=ng(s?n.default:n),t.ssFallback=s?ng(n.fallback):Se(un)}function ng(t){let e;if(Ye(t)){const n=pr&&t._c;n&&(t._d=!1,M()),t=t(),n&&(t._d=!0,e=Kn,Cb())}return Fe(t)&&(t=B$(t)),t=ss(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function G$(t,e){e&&e.pendingBranch?Fe(t)?e.effects.push(...t):e.effects.push(t):Ad(t)}function or(t,e){t.activeBranch=e;const{vnode:n,parentComponent:s}=t;let i=e.el;for(;!i&&e.component;)e=e.component.subTree,i=e.el;n.el=i,s&&s.subTree===n&&(s.vnode.el=i,Hh(s,i))}function J$(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}function jc(t,e,n=Xt,s=!1){if(n){const i=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...r)=>{Ni();const a=Ga(n),l=Jn(e,n,t,r);return a(),Fi(),l});return s?i.unshift(o):i.push(o),o}}const ei=t=>(e,n=Xt)=>{(!Yc||t==="sp")&&jc(t,(...s)=>e(...s),n)},X$=ei("bm"),qt=ei("m"),ib=ei("bu"),ob=ei("u"),Yh=ei("bum"),Ir=ei("um"),Q$=ei("sp"),Z$=ei("rtg"),eA=ei("rtc");function tA(t,e=Xt){jc("ec",t,e)}function Oe(t,e){if(Wt===null)return t;const n=Uc(Wt),s=t.dirs||(t.dirs=[]);for(let i=0;ie(r,a,void 0,o&&o[a]));else{const r=Object.keys(t);i=new Array(r.length);for(let a=0,l=r.length;a{const o=s.fn(...i);return o&&(o.key=s.key),o}:s.fn)}return t}/*! #__NO_SIDE_EFFECTS__ */function Nt(t,e){return Ye(t)?Lt({name:t.name},e,{setup:t}):t}const da=t=>!!t.type.__asyncLoader;function Ie(t,e,n={},s,i){if(Wt.isCE||Wt.parent&&da(Wt.parent)&&Wt.parent.isCE)return e!=="default"&&(n.name=e),Se("slot",n,s&&s());let o=t[e];o&&o._c&&(o._d=!1),M();const r=o&&rb(o(n)),a=Le(Te,{key:n.key||r&&r.key||`_${e}`},r||(s?s():[]),r&&t._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function rb(t){return t.some(e=>Da(e)?!(e.type===un||e.type===Te&&!rb(e.children)):!0)?t:null}const Ed=t=>t?Tb(t)?Uc(t):Ed(t.parent):null,ha=Lt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Ed(t.parent),$root:t=>Ed(t.root),$emit:t=>t.emit,$options:t=>Uh(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,Vh(t.update)}),$nextTick:t=>t.n||(t.n=en.bind(t.proxy)),$watch:t=>kA.bind(t)}),Ou=(t,e)=>t!==_t&&!t.__isScriptSetup&&st(t,e),nA={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:o,accessCache:r,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const g=r[e];if(g!==void 0)switch(g){case 1:return s[e];case 2:return i[e];case 4:return n[e];case 3:return o[e]}else{if(Ou(s,e))return r[e]=1,s[e];if(i!==_t&&st(i,e))return r[e]=2,i[e];if((c=t.propsOptions[0])&&st(c,e))return r[e]=3,o[e];if(n!==_t&&st(n,e))return r[e]=4,n[e];Pd&&(r[e]=0)}}const u=ha[e];let d,f;if(u)return e==="$attrs"&&Pn(t.attrs,"get",""),u(t);if((d=a.__cssModules)&&(d=d[e]))return d;if(n!==_t&&st(n,e))return r[e]=4,n[e];if(f=l.config.globalProperties,st(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:i,ctx:o}=t;return Ou(i,e)?(i[e]=n,!0):s!==_t&&st(s,e)?(s[e]=n,!0):st(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:i,propsOptions:o}},r){let a;return!!n[r]||t!==_t&&st(t,r)||Ou(e,r)||(a=o[0])&&st(a,r)||st(s,r)||st(ha,r)||st(i.config.globalProperties,r)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:st(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function Do(){return ab().slots}function sA(){return ab().attrs}function ab(){const t=Xh();return t.setupContext||(t.setupContext=Db(t))}function sg(t){return Fe(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let Pd=!0;function iA(t){const e=Uh(t),n=t.proxy,s=t.ctx;Pd=!1,e.beforeCreate&&ig(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:g,updated:_,activated:m,deactivated:b,beforeDestroy:w,beforeUnmount:$,destroyed:A,unmounted:D,render:x,renderTracked:y,renderTriggered:S,errorCaptured:E,serverPrefetch:T,expose:C,inheritAttrs:B,components:J,directives:ae,filters:Y}=e;if(c&&oA(c,s,null),r)for(const V in r){const Q=r[V];Ye(Q)&&(s[V]=Q.bind(n))}if(i){const V=i.call(n,n);ut(V)&&(t.data=Ts(V))}if(Pd=!0,o)for(const V in o){const Q=o[V],Z=Ye(Q)?Q.bind(n,n):Ye(Q.get)?Q.get.bind(n,n):Un,le=!Ye(Q)&&Ye(Q.set)?Q.set.bind(n):Un,ye=_e({get:Z,set:le});Object.defineProperty(s,V,{enumerable:!0,configurable:!0,get:()=>ye.value,set:U=>ye.value=U})}if(a)for(const V in a)lb(a[V],s,n,V);if(l){const V=Ye(l)?l.call(n):l;Reflect.ownKeys(V).forEach(Q=>{Xl(Q,V[Q])})}u&&ig(u,t,"c");function I(V,Q){Fe(Q)?Q.forEach(Z=>V(Z.bind(n))):Q&&V(Q.bind(n))}if(I(X$,d),I(qt,f),I(ib,g),I(ob,_),I(SA,m),I($A,b),I(tA,E),I(eA,y),I(Z$,S),I(Yh,$),I(Ir,D),I(Q$,T),Fe(C))if(C.length){const V=t.exposed||(t.exposed={});C.forEach(Q=>{Object.defineProperty(V,Q,{get:()=>n[Q],set:Z=>n[Q]=Z})})}else t.exposed||(t.exposed={});x&&t.render===Un&&(t.render=x),B!=null&&(t.inheritAttrs=B),J&&(t.components=J),ae&&(t.directives=ae)}function oA(t,e,n=Un){Fe(t)&&(t=Td(t));for(const s in t){const i=t[s];let o;ut(i)?"default"in i?o=as(i.from||s,i.default,!0):o=as(i.from||s):o=as(i),Pt(o)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[s]=o}}function ig(t,e,n){Jn(Fe(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function lb(t,e,n,s){const i=s.includes(".")?yb(n,s):()=>n[s];if(St(t)){const o=e[t];Ye(o)&&Bt(i,o)}else if(Ye(t))Bt(i,t.bind(n));else if(ut(t))if(Fe(t))t.forEach(o=>lb(o,e,n,s));else{const o=Ye(t.handler)?t.handler.bind(n):e[t.handler];Ye(o)&&Bt(i,o,t)}}function Uh(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=t.appContext,a=o.get(e);let l;return a?l=a:!i.length&&!n&&!s?l=e:(l={},i.length&&i.forEach(c=>dc(l,c,r,!0)),dc(l,e,r)),ut(e)&&o.set(e,l),l}function dc(t,e,n,s=!1){const{mixins:i,extends:o}=e;o&&dc(t,o,n,!0),i&&i.forEach(r=>dc(t,r,n,!0));for(const r in e)if(!(s&&r==="expose")){const a=rA[r]||n&&n[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const rA={data:og,props:rg,emits:rg,methods:na,computed:na,beforeCreate:pn,created:pn,beforeMount:pn,mounted:pn,beforeUpdate:pn,updated:pn,beforeDestroy:pn,beforeUnmount:pn,destroyed:pn,unmounted:pn,activated:pn,deactivated:pn,errorCaptured:pn,serverPrefetch:pn,components:na,directives:na,watch:lA,provide:og,inject:aA};function og(t,e){return e?t?function(){return Lt(Ye(t)?t.call(this,this):t,Ye(e)?e.call(this,this):e)}:e:t}function aA(t,e){return na(Td(t),Td(e))}function Td(t){if(Fe(t)){const e={};for(let n=0;n1)return n&&Ye(e)?e.call(s&&s.proxy):e}}function dA(){return!!(Xt||Wt||rr)}const ub={},db=()=>Object.create(ub),hb=t=>Object.getPrototypeOf(t)===ub;function hA(t,e,n,s=!1){const i={},o=db();t.propsDefaults=Object.create(null),fb(t,e,i,o);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);n?t.props=s?i:zv(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function fA(t,e,n,s){const{props:i,attrs:o,vnode:{patchFlag:r}}=t,a=Ze(i),[l]=t.propsOptions;let c=!1;if((s||r>0)&&!(r&16)){if(r&8){const u=t.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,g]=pb(d,e,!0);Lt(r,f),g&&a.push(...g)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!o&&!l)return ut(t)&&s.set(t,nr),nr;if(Fe(o))for(let u=0;u-1,g[1]=m<0||_-1||st(g,"default"))&&a.push(d)}}}const c=[r,a];return ut(t)&&s.set(t,c),c}function ag(t){return t[0]!=="$"&&!ua(t)}function lg(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function cg(t,e){return lg(t)===lg(e)}function ug(t,e){return Fe(e)?e.findIndex(n=>cg(n,t)):Ye(e)&&cg(e,t)?0:-1}const gb=t=>t[0]==="_"||t==="$stable",Kh=t=>Fe(t)?t.map(ss):[ss(t)],pA=(t,e,n)=>{if(e._n)return e;const s=Pe((...i)=>Kh(e(...i)),n);return s._c=!1,s},mb=(t,e,n)=>{const s=t._ctx;for(const i in t){if(gb(i))continue;const o=t[i];if(Ye(o))e[i]=pA(i,o,s);else if(o!=null){const r=Kh(o);e[i]=()=>r}}},_b=(t,e)=>{const n=Kh(e);t.slots.default=()=>n},gA=(t,e)=>{const n=t.slots=db();if(t.vnode.shapeFlag&32){const s=e._;s?(Lt(n,e),Av(n,"_",s,!0)):mb(e,n)}else e&&_b(t,e)},mA=(t,e,n)=>{const{vnode:s,slots:i}=t;let o=!0,r=_t;if(s.shapeFlag&32){const a=e._;a?n&&a===1?o=!1:(Lt(i,e),!n&&a===1&&delete i._):(o=!e.$stable,mb(e,i)),r=e}else e&&(_b(t,e),r={default:1});if(o)for(const a in i)!gb(a)&&r[a]==null&&delete i[a]};function Dd(t,e,n,s,i=!1){if(Fe(t)){t.forEach((f,g)=>Dd(f,e&&(Fe(e)?e[g]:e),n,s,i));return}if(da(s)&&!i)return;const o=s.shapeFlag&4?Uc(s.component):s.el,r=i?null:o,{i:a,r:l}=t,c=e&&e.r,u=a.refs===_t?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(St(c)?(u[c]=null,st(d,c)&&(d[c]=null)):Pt(c)&&(c.value=null)),Ye(l))Ai(l,a,12,[r,u]);else{const f=St(l),g=Pt(l);if(f||g){const _=()=>{if(t.f){const m=f?st(d,l)?d[l]:u[l]:l.value;i?Fe(m)&&Ch(m,o):Fe(m)?m.includes(o)||m.push(o):f?(u[l]=[o],st(d,l)&&(d[l]=u[l])):(l.value=[o],t.k&&(u[t.k]=l.value))}else f?(u[l]=r,st(d,l)&&(d[l]=r)):g&&(l.value=r,t.k&&(u[t.k]=r))};r?(_.id=-1,$n(_,n)):_()}}}const $n=G$;function _A(t){return vA(t)}function vA(t,e){const n=Ev();n.__VUE__=!0;const{insert:s,remove:i,patchProp:o,createElement:r,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:g=Un,insertStaticContent:_}=t,m=(v,O,H,W=null,ie=null,j=null,te=void 0,G=null,de=!!O.dynamicChildren)=>{if(v===O)return;v&&!bs(v,O)&&(W=P(v),U(v,ie,j,!0),v=null),O.patchFlag===-2&&(de=!1,O.dynamicChildren=null);const{type:ge,ref:fe,shapeFlag:Re}=O;switch(ge){case zc:b(v,O,H,W);break;case un:w(v,O,H,W);break;case Ql:v==null&&$(O,H,W,te);break;case Te:J(v,O,H,W,ie,j,te,G,de);break;default:Re&1?x(v,O,H,W,ie,j,te,G,de):Re&6?ae(v,O,H,W,ie,j,te,G,de):(Re&64||Re&128)&&ge.process(v,O,H,W,ie,j,te,G,de,xe)}fe!=null&&ie&&Dd(fe,v&&v.ref,j,O||v,!O)},b=(v,O,H,W)=>{if(v==null)s(O.el=a(O.children),H,W);else{const ie=O.el=v.el;O.children!==v.children&&c(ie,O.children)}},w=(v,O,H,W)=>{v==null?s(O.el=l(O.children||""),H,W):O.el=v.el},$=(v,O,H,W)=>{[v.el,v.anchor]=_(v.children,O,H,W,v.el,v.anchor)},A=({el:v,anchor:O},H,W)=>{let ie;for(;v&&v!==O;)ie=f(v),s(v,H,W),v=ie;s(O,H,W)},D=({el:v,anchor:O})=>{let H;for(;v&&v!==O;)H=f(v),i(v),v=H;i(O)},x=(v,O,H,W,ie,j,te,G,de)=>{O.type==="svg"?te="svg":O.type==="math"&&(te="mathml"),v==null?y(O,H,W,ie,j,te,G,de):T(v,O,ie,j,te,G,de)},y=(v,O,H,W,ie,j,te,G)=>{let de,ge;const{props:fe,shapeFlag:Re,transition:De,dirs:Ve}=v;if(de=v.el=r(v.type,j,fe&&fe.is,fe),Re&8?u(de,v.children):Re&16&&E(v.children,de,null,W,ie,Iu(v,j),te,G),Ve&&to(v,null,W,"created"),S(de,v,v.scopeId,te,W),fe){for(const et in fe)et!=="value"&&!ua(et)&&o(de,et,null,fe[et],j,v.children,W,ie,oe);"value"in fe&&o(de,"value",null,fe.value,j),(ge=fe.onVnodeBeforeMount)&&gs(ge,W,v)}Ve&&to(v,null,W,"beforeMount");const Be=bA(ie,De);Be&&De.beforeEnter(de),s(de,O,H),((ge=fe&&fe.onVnodeMounted)||Be||Ve)&&$n(()=>{ge&&gs(ge,W,v),Be&&De.enter(de),Ve&&to(v,null,W,"mounted")},ie)},S=(v,O,H,W,ie)=>{if(H&&g(v,H),W)for(let j=0;j{for(let ge=de;ge{const G=O.el=v.el;let{patchFlag:de,dynamicChildren:ge,dirs:fe}=O;de|=v.patchFlag&16;const Re=v.props||_t,De=O.props||_t;let Ve;if(H&&no(H,!1),(Ve=De.onVnodeBeforeUpdate)&&gs(Ve,H,O,v),fe&&to(O,v,H,"beforeUpdate"),H&&no(H,!0),ge?C(v.dynamicChildren,ge,G,H,W,Iu(O,ie),j):te||Q(v,O,G,null,H,W,Iu(O,ie),j,!1),de>0){if(de&16)B(G,O,Re,De,H,W,ie);else if(de&2&&Re.class!==De.class&&o(G,"class",null,De.class,ie),de&4&&o(G,"style",Re.style,De.style,ie),de&8){const Be=O.dynamicProps;for(let et=0;et{Ve&&gs(Ve,H,O,v),fe&&to(O,v,H,"updated")},W)},C=(v,O,H,W,ie,j,te)=>{for(let G=0;G{if(H!==W){if(H!==_t)for(const G in H)!ua(G)&&!(G in W)&&o(v,G,H[G],null,te,O.children,ie,j,oe);for(const G in W){if(ua(G))continue;const de=W[G],ge=H[G];de!==ge&&G!=="value"&&o(v,G,ge,de,te,O.children,ie,j,oe)}"value"in W&&o(v,"value",H.value,W.value,te)}},J=(v,O,H,W,ie,j,te,G,de)=>{const ge=O.el=v?v.el:a(""),fe=O.anchor=v?v.anchor:a("");let{patchFlag:Re,dynamicChildren:De,slotScopeIds:Ve}=O;Ve&&(G=G?G.concat(Ve):Ve),v==null?(s(ge,H,W),s(fe,H,W),E(O.children||[],H,fe,ie,j,te,G,de)):Re>0&&Re&64&&De&&v.dynamicChildren?(C(v.dynamicChildren,De,H,ie,j,te,G),(O.key!=null||ie&&O===ie.subTree)&&qh(v,O,!0)):Q(v,O,H,fe,ie,j,te,G,de)},ae=(v,O,H,W,ie,j,te,G,de)=>{O.slotScopeIds=G,v==null?O.shapeFlag&512?ie.ctx.activate(O,H,W,te,de):Y(O,H,W,ie,j,te,de):L(v,O,de)},Y=(v,O,H,W,ie,j,te)=>{const G=v.component=NA(v,W,ie);if(Wc(v)&&(G.ctx.renderer=xe),FA(G),G.asyncDep){if(ie&&ie.registerDep(G,I,te),!v.el){const de=G.subTree=Se(un);w(null,de,O,H)}}else I(G,v,O,H,ie,j,te)},L=(v,O,H)=>{const W=O.component=v.component;if(j$(v,O,H))if(W.asyncDep&&!W.asyncResolved){V(W,O,H);return}else W.next=O,L$(W.update),W.effect.dirty=!0,W.update();else O.el=v.el,W.vnode=O},I=(v,O,H,W,ie,j,te)=>{const G=()=>{if(v.isMounted){let{next:fe,bu:Re,u:De,parent:Ve,vnode:Be}=v;{const Hn=vb(v);if(Hn){fe&&(fe.el=Be.el,V(v,fe,te)),Hn.asyncDep.then(()=>{v.isUnmounted||G()});return}}let et=fe,Ge;no(v,!1),fe?(fe.el=Be.el,V(v,fe,te)):fe=Be,Re&&Gl(Re),(Ge=fe.props&&fe.props.onVnodeBeforeUpdate)&&gs(Ge,Ve,fe,Be),no(v,!0);const pt=Du(v),on=v.subTree;v.subTree=pt,m(on,pt,d(on.el),P(on),v,ie,j),fe.el=pt.el,et===null&&Hh(v,pt.el),De&&$n(De,ie),(Ge=fe.props&&fe.props.onVnodeUpdated)&&$n(()=>gs(Ge,Ve,fe,Be),ie)}else{let fe;const{el:Re,props:De}=O,{bm:Ve,m:Be,parent:et}=v,Ge=da(O);if(no(v,!1),Ve&&Gl(Ve),!Ge&&(fe=De&&De.onVnodeBeforeMount)&&gs(fe,et,O),no(v,!0),Re&&he){const pt=()=>{v.subTree=Du(v),he(Re,v.subTree,v,ie,null)};Ge?O.type.__asyncLoader().then(()=>!v.isUnmounted&&pt()):pt()}else{const pt=v.subTree=Du(v);m(null,pt,H,W,v,ie,j),O.el=pt.el}if(Be&&$n(Be,ie),!Ge&&(fe=De&&De.onVnodeMounted)){const pt=O;$n(()=>gs(fe,et,pt),ie)}(O.shapeFlag&256||et&&da(et.vnode)&&et.vnode.shapeFlag&256)&&v.a&&$n(v.a,ie),v.isMounted=!0,O=H=W=null}},de=v.effect=new Mh(G,Un,()=>Vh(ge),v.scope),ge=v.update=()=>{de.dirty&&de.run()};ge.id=v.uid,no(v,!0),ge()},V=(v,O,H)=>{O.component=v;const W=v.vnode.props;v.vnode=O,v.next=null,fA(v,O.props,W,H),mA(v,O.children,H),Ni(),Zp(v),Fi()},Q=(v,O,H,W,ie,j,te,G,de=!1)=>{const ge=v&&v.children,fe=v?v.shapeFlag:0,Re=O.children,{patchFlag:De,shapeFlag:Ve}=O;if(De>0){if(De&128){le(ge,Re,H,W,ie,j,te,G,de);return}else if(De&256){Z(ge,Re,H,W,ie,j,te,G,de);return}}Ve&8?(fe&16&&oe(ge,ie,j),Re!==ge&&u(H,Re)):fe&16?Ve&16?le(ge,Re,H,W,ie,j,te,G,de):oe(ge,ie,j,!0):(fe&8&&u(H,""),Ve&16&&E(Re,H,W,ie,j,te,G,de))},Z=(v,O,H,W,ie,j,te,G,de)=>{v=v||nr,O=O||nr;const ge=v.length,fe=O.length,Re=Math.min(ge,fe);let De;for(De=0;Defe?oe(v,ie,j,!0,!1,Re):E(O,H,W,ie,j,te,G,de,Re)},le=(v,O,H,W,ie,j,te,G,de)=>{let ge=0;const fe=O.length;let Re=v.length-1,De=fe-1;for(;ge<=Re&&ge<=De;){const Ve=v[ge],Be=O[ge]=de?mi(O[ge]):ss(O[ge]);if(bs(Ve,Be))m(Ve,Be,H,null,ie,j,te,G,de);else break;ge++}for(;ge<=Re&&ge<=De;){const Ve=v[Re],Be=O[De]=de?mi(O[De]):ss(O[De]);if(bs(Ve,Be))m(Ve,Be,H,null,ie,j,te,G,de);else break;Re--,De--}if(ge>Re){if(ge<=De){const Ve=De+1,Be=VeDe)for(;ge<=Re;)U(v[ge],ie,j,!0),ge++;else{const Ve=ge,Be=ge,et=new Map;for(ge=Be;ge<=De;ge++){const Vt=O[ge]=de?mi(O[ge]):ss(O[ge]);Vt.key!=null&&et.set(Vt.key,ge)}let Ge,pt=0;const on=De-Be+1;let Hn=!1,ii=0;const Qn=new Array(on);for(ge=0;ge=on){U(Vt,ie,j,!0);continue}let ne;if(Vt.key!=null)ne=et.get(Vt.key);else for(Ge=Be;Ge<=De;Ge++)if(Qn[Ge-Be]===0&&bs(Vt,O[Ge])){ne=Ge;break}ne===void 0?U(Vt,ie,j,!0):(Qn[ne-Be]=ge+1,ne>=ii?ii=ne:Hn=!0,m(Vt,O[ne],H,null,ie,j,te,G,de),pt++)}const Ds=Hn?yA(Qn):nr;for(Ge=Ds.length-1,ge=on-1;ge>=0;ge--){const Vt=Be+ge,ne=O[Vt],ke=Vt+1{const{el:j,type:te,transition:G,children:de,shapeFlag:ge}=v;if(ge&6){ye(v.component.subTree,O,H,W);return}if(ge&128){v.suspense.move(O,H,W);return}if(ge&64){te.move(v,O,H,xe);return}if(te===Te){s(j,O,H);for(let Re=0;ReG.enter(j),ie);else{const{leave:Re,delayLeave:De,afterLeave:Ve}=G,Be=()=>s(j,O,H),et=()=>{Re(j,()=>{Be(),Ve&&Ve()})};De?De(j,Be,et):et()}else s(j,O,H)},U=(v,O,H,W=!1,ie=!1)=>{const{type:j,props:te,ref:G,children:de,dynamicChildren:ge,shapeFlag:fe,patchFlag:Re,dirs:De,memoIndex:Ve}=v;if(G!=null&&Dd(G,null,H,v,!0),Ve!=null&&(O.renderCache[Ve]=void 0),fe&256){O.ctx.deactivate(v);return}const Be=fe&1&&De,et=!da(v);let Ge;if(et&&(Ge=te&&te.onVnodeBeforeUnmount)&&gs(Ge,O,v),fe&6)ee(v.component,H,W);else{if(fe&128){v.suspense.unmount(H,W);return}Be&&to(v,null,O,"beforeUnmount"),fe&64?v.type.remove(v,O,H,ie,xe,W):ge&&(j!==Te||Re>0&&Re&64)?oe(ge,O,H,!1,!0):(j===Te&&Re&384||!ie&&fe&16)&&oe(de,O,H),W&&X(v)}(et&&(Ge=te&&te.onVnodeUnmounted)||Be)&&$n(()=>{Ge&&gs(Ge,O,v),Be&&to(v,null,O,"unmounted")},H)},X=v=>{const{type:O,el:H,anchor:W,transition:ie}=v;if(O===Te){R(H,W);return}if(O===Ql){D(v);return}const j=()=>{i(H),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(v.shapeFlag&1&&ie&&!ie.persisted){const{leave:te,delayLeave:G}=ie,de=()=>te(H,j);G?G(v.el,j,de):de()}else j()},R=(v,O)=>{let H;for(;v!==O;)H=f(v),i(v),v=H;i(O)},ee=(v,O,H)=>{const{bum:W,scope:ie,update:j,subTree:te,um:G,m:de,a:ge}=v;dg(de),dg(ge),W&&Gl(W),ie.stop(),j&&(j.active=!1,U(te,v,O,H)),G&&$n(G,O),$n(()=>{v.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},oe=(v,O,H,W=!1,ie=!1,j=0)=>{for(let te=j;tev.shapeFlag&6?P(v.component.subTree):v.shapeFlag&128?v.suspense.next():f(v.anchor||v.el);let se=!1;const ue=(v,O,H)=>{v==null?O._vnode&&U(O._vnode,null,null,!0):m(O._vnode||null,v,O,null,null,null,H),se||(se=!0,Zp(),Zv(),se=!1),O._vnode=v},xe={p:m,um:U,m:ye,r:X,mt:Y,mc:E,pc:Q,pbc:C,n:P,o:t};let N,he;return e&&([N,he]=e(xe)),{render:ue,hydrate:N,createApp:uA(ue,N)}}function Iu({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function no({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function bA(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function qh(t,e,n=!1){const s=t.children,i=e.children;if(Fe(s)&&Fe(i))for(let o=0;o>1,t[n[a]]0&&(e[s]=n[o-1]),n[o]=s)}}for(o=n.length,r=n[o-1];o-- >0;)n[o]=r,r=e[r];return n}function vb(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:vb(e)}function dg(t){if(t)for(let e=0;eas(wA),$l={};function Bt(t,e,n){return bb(t,e,n)}function bb(t,e,{immediate:n,deep:s,flush:i,once:o,onTrack:r,onTrigger:a}=_t){if(e&&o){const y=e;e=(...S)=>{y(...S),x()}}const l=Xt,c=y=>s===!0?y:vi(y,s===!1?1:void 0);let u,d=!1,f=!1;if(Pt(t)?(u=()=>t.value,d=cc(t)):bo(t)?(u=()=>c(t),d=!0):Fe(t)?(f=!0,d=t.some(y=>bo(y)||cc(y)),u=()=>t.map(y=>{if(Pt(y))return y.value;if(bo(y))return c(y);if(Ye(y))return Ai(y,l,2)})):Ye(t)?e?u=()=>Ai(t,l,2):u=()=>(g&&g(),Jn(t,l,3,[_])):u=Un,e&&s){const y=u;u=()=>vi(y())}let g,_=y=>{g=A.onStop=()=>{Ai(y,l,4),g=A.onStop=void 0}},m;if(Yc)if(_=Un,e?n&&Jn(e,l,3,[u(),f?[]:void 0,_]):u(),i==="sync"){const y=xA();m=y.__watcherHandles||(y.__watcherHandles=[])}else return Un;let b=f?new Array(t.length).fill($l):$l;const w=()=>{if(!(!A.active||!A.dirty))if(e){const y=A.run();(s||d||(f?y.some((S,E)=>Ti(S,b[E])):Ti(y,b)))&&(g&&g(),Jn(e,l,3,[y,b===$l?void 0:f&&b[0]===$l?[]:b,_]),b=y)}else A.run()};w.allowRecurse=!!e;let $;i==="sync"?$=w:i==="post"?$=()=>$n(w,l&&l.suspense):(w.pre=!0,l&&(w.id=l.uid),$=()=>Vh(w));const A=new Mh(u,Un,$),D=Lc(),x=()=>{A.stop(),D&&Ch(D.effects,A)};return e?n?w():b=A.run():i==="post"?$n(A.run.bind(A),l&&l.suspense):A.run(),m&&m.push(x),x}function kA(t,e,n){const s=this.proxy,i=St(t)?t.includes(".")?yb(s,t):()=>s[t]:t.bind(s,s);let o;Ye(e)?o=e:(o=e.handler,n=e);const r=Ga(this),a=bb(i,o.bind(s),n);return r(),a}function yb(t,e){const n=e.split(".");return()=>{let s=t;for(let i=0;i{vi(s,e,n)});else if($v(t)){for(const s in t)vi(t[s],e,n);for(const s of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,s)&&vi(t[s],e,n)}return t}const Wc=t=>t.type.__isKeepAlive;function SA(t,e){wb(t,"a",e)}function $A(t,e){wb(t,"da",e)}function wb(t,e,n=Xt){const s=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(jc(e,s,n),n){let i=n.parent;for(;i&&i.parent;)Wc(i.parent.vnode)&&AA(s,e,n,i),i=i.parent}}function AA(t,e,n,s){const i=jc(e,t,s,!0);Ir(()=>{Ch(s[e],i)},n)}const gi=Symbol("_leaveCb"),Al=Symbol("_enterCb");function xb(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return qt(()=>{t.isMounted=!0}),Yh(()=>{t.isUnmounting=!0}),t}const zn=[Function,Array],kb={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:zn,onEnter:zn,onAfterEnter:zn,onEnterCancelled:zn,onBeforeLeave:zn,onLeave:zn,onAfterLeave:zn,onLeaveCancelled:zn,onBeforeAppear:zn,onAppear:zn,onAfterAppear:zn,onAppearCancelled:zn},Sb=t=>{const e=t.subTree;return e.component?Sb(e.component):e},CA={name:"BaseTransition",props:kb,setup(t,{slots:e}){const n=Xh(),s=xb();return()=>{const i=e.default&&Gh(e.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const f of i)if(f.type!==un){o=f;break}}const r=Ze(t),{mode:a}=r;if(s.isLeaving)return Ru(o);const l=hg(o);if(!l)return Ru(o);let c=Ma(l,r,s,n,f=>c=f);fr(l,c);const u=n.subTree,d=u&&hg(u);if(d&&d.type!==un&&!bs(l,d)&&Sb(n).type!==un){const f=Ma(d,r,s,n);if(fr(d,f),a==="out-in"&&l.type!==un)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Ru(o);a==="in-out"&&l.type!==un&&(f.delayLeave=(g,_,m)=>{const b=$b(s,d);b[String(d.key)]=d,g[gi]=()=>{_(),g[gi]=void 0,delete c.delayedLeave},c.delayedLeave=m})}return o}}},EA=CA;function $b(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function Ma(t,e,n,s,i){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:g,onAfterLeave:_,onLeaveCancelled:m,onBeforeAppear:b,onAppear:w,onAfterAppear:$,onAppearCancelled:A}=e,D=String(t.key),x=$b(n,t),y=(T,C)=>{T&&Jn(T,s,9,C)},S=(T,C)=>{const B=C[1];y(T,C),Fe(T)?T.every(J=>J.length<=1)&&B():T.length<=1&&B()},E={mode:r,persisted:a,beforeEnter(T){let C=l;if(!n.isMounted)if(o)C=b||l;else return;T[gi]&&T[gi](!0);const B=x[D];B&&bs(t,B)&&B.el[gi]&&B.el[gi](),y(C,[T])},enter(T){let C=c,B=u,J=d;if(!n.isMounted)if(o)C=w||c,B=$||u,J=A||d;else return;let ae=!1;const Y=T[Al]=L=>{ae||(ae=!0,L?y(J,[T]):y(B,[T]),E.delayedLeave&&E.delayedLeave(),T[Al]=void 0)};C?S(C,[T,Y]):Y()},leave(T,C){const B=String(t.key);if(T[Al]&&T[Al](!0),n.isUnmounting)return C();y(f,[T]);let J=!1;const ae=T[gi]=Y=>{J||(J=!0,C(),Y?y(m,[T]):y(_,[T]),T[gi]=void 0,x[B]===t&&delete x[B])};x[B]=t,g?S(g,[T,ae]):ae()},clone(T){const C=Ma(T,e,n,s,i);return i&&i(C),C}};return E}function Ru(t){if(Wc(t))return t=Mi(t),t.children=null,t}function hg(t){if(!Wc(t))return t;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&Ye(n.default))return n.default()}}function fr(t,e){t.shapeFlag&6&&t.component?fr(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Gh(t,e=!1,n){let s=[],i=0;for(let o=0;o1)for(let o=0;ot.__isTeleport,fa=t=>t&&(t.disabled||t.disabled===""),fg=t=>typeof SVGElement<"u"&&t instanceof SVGElement,pg=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Od=(t,e)=>{const n=t&&t.to;return St(n)?e?e(n):null:n},TA={name:"Teleport",__isTeleport:!0,process(t,e,n,s,i,o,r,a,l,c){const{mc:u,pc:d,pbc:f,o:{insert:g,querySelector:_,createText:m,createComment:b}}=c,w=fa(e.props);let{shapeFlag:$,children:A,dynamicChildren:D}=e;if(t==null){const x=e.el=m(""),y=e.anchor=m("");g(x,n,s),g(y,n,s);const S=e.target=Od(e.props,_),E=e.targetAnchor=m("");S&&(g(E,S),r==="svg"||fg(S)?r="svg":(r==="mathml"||pg(S))&&(r="mathml"));const T=(C,B)=>{$&16&&u(A,C,B,i,o,r,a,l)};w?T(n,y):S&&T(S,E)}else{e.el=t.el;const x=e.anchor=t.anchor,y=e.target=t.target,S=e.targetAnchor=t.targetAnchor,E=fa(t.props),T=E?n:y,C=E?x:S;if(r==="svg"||fg(y)?r="svg":(r==="mathml"||pg(y))&&(r="mathml"),D?(f(t.dynamicChildren,D,T,i,o,r,a),qh(t,e,!0)):l||d(t,e,T,C,i,o,r,a,!1),w)E?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Cl(e,n,x,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const B=e.target=Od(e.props,_);B&&Cl(e,B,null,c,0)}else E&&Cl(e,y,S,c,1)}Ab(e)},remove(t,e,n,s,{um:i,o:{remove:o}},r){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:f}=t;if(d&&o(u),r&&o(c),a&16){const g=r||!fa(f);for(let _=0;_0?Kn||nr:null,Cb(),pr>0&&Kn&&Kn.push(t),t}function F(t,e,n,s,i,o){return Eb(h(t,e,n,s,i,o,!0))}function Le(t,e,n,s,i){return Eb(Se(t,e,n,s,i,!0))}function Da(t){return t?t.__v_isVNode===!0:!1}function bs(t,e){return t.type===e.type&&t.key===e.key}const Pb=({key:t})=>t??null,Zl=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?St(t)||Pt(t)||Ye(t)?{i:Wt,r:t,k:e,f:!!n}:t:null);function h(t,e=null,n=null,s=0,i=null,o=t===Te?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Pb(e),ref:e&&Zl(e),scopeId:Hc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Wt};return a?(Jh(l,n),o&128&&t.normalize(l)):n&&(l.shapeFlag|=St(n)?8:16),pr>0&&!r&&Kn&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Kn.push(l),l}const Se=OA;function OA(t,e=null,n=null,s=0,i=null,o=!1){if((!t||t===nb)&&(t=un),Da(t)){const a=Mi(t,e,!0);return n&&Jh(a,n),pr>0&&!o&&Kn&&(a.shapeFlag&6?Kn[Kn.indexOf(t)]=a:Kn.push(a)),a.patchFlag=-2,a}if(jA(t)&&(t=t.__vccOpts),e){e=mn(e);let{class:a,style:l}=e;a&&!St(a)&&(e.class=Ce(a)),ut(l)&&(Fc(l)&&!Fe(l)&&(l=Lt({},l)),e.style=jt(l))}const r=St(t)?1:W$(t)?128:PA(t)?64:ut(t)?4:Ye(t)?2:0;return h(t,e,n,s,i,r,o,!0)}function mn(t){return t?Fc(t)||hb(t)?Lt({},t):t:null}function Mi(t,e,n=!1,s=!1){const{props:i,ref:o,patchFlag:r,children:a,transition:l}=t,c=e?zt(i||{},e):i,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&Pb(c),ref:e&&e.ref?n&&o?Fe(o)?o.concat(Zl(e)):[o,Zl(e)]:Zl(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Te?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Mi(t.ssContent),ssFallback:t.ssFallback&&Mi(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&s&&fr(u,l.clone(u)),u}function be(t=" ",e=0){return Se(zc,null,t,e)}function IA(t,e){const n=Se(Ql,null,t);return n.staticCount=e,n}function re(t="",e=!1){return e?(M(),Le(un,null,t)):Se(un,null,t)}function ss(t){return t==null||typeof t=="boolean"?Se(un):Fe(t)?Se(Te,null,t.slice()):typeof t=="object"?mi(t):Se(zc,null,String(t))}function mi(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Mi(t)}function Jh(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(Fe(e))n=16;else if(typeof e=="object")if(s&65){const i=e.default;i&&(i._c&&(i._d=!1),Jh(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!hb(e)?e._ctx=Wt:i===3&&Wt&&(Wt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Ye(e)?(e={default:e,_ctx:Wt},n=32):(e=String(e),s&64?(n=16,e=[be(e)]):n=8);t.children=e,t.shapeFlag|=n}function zt(...t){const e={};for(let n=0;nXt||Wt;let hc,Id;{const t=Ev(),e=(n,s)=>{let i;return(i=t[n])||(i=t[n]=[]),i.push(s),o=>{i.length>1?i.forEach(r=>r(o)):i[0](o)}};hc=e("__VUE_INSTANCE_SETTERS__",n=>Xt=n),Id=e("__VUE_SSR_SETTERS__",n=>Yc=n)}const Ga=t=>{const e=Xt;return hc(t),t.scope.on(),()=>{t.scope.off(),hc(e)}},mg=()=>{Xt&&Xt.scope.off(),hc(null)};function Tb(t){return t.vnode.shapeFlag&4}let Yc=!1;function FA(t,e=!1){e&&Id(e);const{props:n,children:s}=t.vnode,i=Tb(t);hA(t,n,i,e),gA(t,s);const o=i?BA(t,e):void 0;return e&&Id(!1),o}function BA(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,nA);const{setup:s}=n;if(s){const i=t.setupContext=s.length>1?Db(t):null,o=Ga(t);Ni();const r=Ai(s,t,0,[t.props,i]);if(Fi(),o(),kv(r)){if(r.then(mg,mg),e)return r.then(a=>{Rd(t,a,e)}).catch(a=>{qa(a,t,0)});t.asyncDep=r}else Rd(t,r,e)}else Mb(t,e)}function Rd(t,e,n){Ye(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:ut(e)&&(t.setupState=Gv(e)),Mb(t,n)}let _g;function Mb(t,e,n){const s=t.type;if(!t.render){if(!e&&_g&&!s.render){const i=s.template||Uh(t).template;if(i){const{isCustomElement:o,compilerOptions:r}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Lt(Lt({isCustomElement:o,delimiters:a},r),l);s.render=_g(i,c)}}t.render=s.render||Un}{const i=Ga(t);Ni();try{iA(t)}finally{Fi(),i()}}}const VA={get(t,e){return Pn(t,"get",""),t[e]}};function Db(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,VA),slots:t.slots,emit:t.emit,expose:e}}function Uc(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Gv(Bc(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in ha)return ha[n](t)},has(e,n){return n in e||n in ha}})):t.proxy}function HA(t,e=!0){return Ye(t)?t.displayName||t.name:t.name||e&&t.__name}function jA(t){return Ye(t)&&"__vccOpts"in t}const _e=(t,e)=>E$(t,e,Yc);function Co(t,e,n){const s=arguments.length;return s===2?ut(e)&&!Fe(e)?Da(e)?Se(t,null,[e]):Se(t,e):Se(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Da(n)&&(n=[n]),Se(t,e,n))}const Ob="3.4.29";/** +**/function Si(t,e,n,s){try{return s?t(...s):t()}catch(i){Ya(i,e,n)}}function Jn(t,e,n,s){if(Ye(t)){const i=Si(t,e,n,s);return i&&kb(i)&&i.catch(o=>{Ya(o,e,n)}),i}if(Fe(t)){const i=[];for(let o=0;o>>1,i=un[s],o=Ca(i);o_s&&un.splice(e,1)}function Ad(t){Fe(t)?nr.push(...t):(!hi||!hi.includes(t,t.allowRecurse?uo+1:uo))&&nr.push(t),Qb()}function Zp(t,e,n=Aa?_s+1:0){for(;nCa(n)-Ca(s));if(nr.length=0,hi){hi.push(...e);return}for(hi=e,uo=0;uot.id==null?1/0:t.id,F$=(t,e)=>{const n=Ca(t)-Ca(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function ev(t){$d=!1,Aa=!0,un.sort(F$);try{for(_s=0;_sAt(g)?g.trim():g)),d&&(i=n.map(sc))}let a,l=s[a=Tu(e)]||s[a=Tu(Cs(e))];!l&&o&&(l=s[a=Tu(Eo(e))]),l&&Jn(l,t,6,i);const c=s[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Jn(c,t,6,i)}}function tv(t,e,n=!1){const s=e.emitsCache,i=s.get(t);if(i!==void 0)return i;const o=t.emits;let r={},a=!1;if(!Ye(t)){const l=c=>{const u=tv(c,e,!0);u&&(a=!0,Ft(r,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(ft(t)&&s.set(t,null),null):(Fe(o)?o.forEach(l=>r[l]=null):Ft(r,o),ft(t)&&s.set(t,r),r)}function Rc(t,e){return!t||!Tc(e)?!1:(e=e.slice(2).replace(/Once$/,""),it(t,e[0].toLowerCase()+e.slice(1))||it(t,Eo(e))||it(t,e))}let Kt=null,Nc=null;function rc(t){const e=Kt;return Kt=t,Nc=t&&t.type.__scopeId||null,e}function qt(t){Nc=t}function Gt(){Nc=null}function Pe(t,e=Kt,n){if(!e||t._n)return t;const s=(...i)=>{s._d&&gg(-1);const o=rc(e);let r;try{r=t(...i)}finally{rc(o),s._d&&gg(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function Mu(t){const{type:e,vnode:n,proxy:s,withProxy:i,propsOptions:[o],slots:r,attrs:a,emit:l,render:c,renderCache:u,props:d,data:f,setupState:g,ctx:_,inheritAttrs:m}=t,y=rc(t);let v,$;try{if(n.shapeFlag&4){const D=i||s,x=D;v=ss(c.call(x,D,u,d,g,f,_)),$=a}else{const D=e;v=ss(D.length>1?D(d,{attrs:a,slots:r,emit:l}):D(d,null)),$=e.props?a:H$(a)}}catch(D){ha.length=0,Ya(D,t,1),v=N(dn)}let A=v;if($&&m!==!1){const D=Object.keys($),{shapeFlag:x}=A;D.length&&x&7&&(o&&D.some(Ah)&&($=j$($,o)),A=Ti(A,$,!1,!0))}return n.dirs&&(A=Ti(A,null,!1,!0),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&(A.transition=n.transition),v=A,rc(y),v}function V$(t,e=!0){let n;for(let s=0;s{let e;for(const n in t)(n==="class"||n==="style"||Tc(n))&&((e||(e={}))[n]=t[n]);return e},j$=(t,e)=>{const n={};for(const s in t)(!Ah(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function W$(t,e,n){const{props:s,children:i,component:o}=t,{props:r,children:a,patchFlag:l}=e,c=o.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?eg(s,r,c):!!r;if(l&8){const u=e.dynamicProps;for(let d=0;dt.__isSuspense;let Cd=0;const K$={name:"Suspense",__isSuspense:!0,process(t,e,n,s,i,o,r,a,l,c){if(t==null)Y$(e,n,s,i,o,r,a,l,c);else{if(o&&o.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}U$(t,e,n,s,i,r,a,l,c)}},hydrate:q$,create:zh,normalize:G$},Wh=K$;function Ea(t,e){const n=t.props&&t.props[e];Ye(n)&&n()}function Y$(t,e,n,s,i,o,r,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),f=t.suspense=zh(t,i,s,e,d,n,o,r,a,l);c(null,f.pendingBranch=t.ssContent,d,null,s,f,o,r),f.deps>0?(Ea(t,"onPending"),Ea(t,"onFallback"),c(null,t.ssFallback,e,n,s,null,o,r),sr(f,t.ssFallback)):f.resolve(!1,!0)}function U$(t,e,n,s,i,o,r,a,{p:l,um:c,o:{createElement:u}}){const d=e.suspense=t.suspense;d.vnode=e,e.el=t.el;const f=e.ssContent,g=e.ssFallback,{activeBranch:_,pendingBranch:m,isInFallback:y,isHydrating:v}=d;if(m)d.pendingBranch=f,bs(f,m)?(l(m,f,d.hiddenContainer,null,i,d,o,r,a),d.deps<=0?d.resolve():y&&(v||(l(_,g,n,s,i,null,o,r,a),sr(d,g)))):(d.pendingId=Cd++,v?(d.isHydrating=!1,d.activeBranch=m):c(m,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),y?(l(null,f,d.hiddenContainer,null,i,d,o,r,a),d.deps<=0?d.resolve():(l(_,g,n,s,i,null,o,r,a),sr(d,g))):_&&bs(f,_)?(l(_,f,n,s,i,d,o,r,a),d.resolve(!0)):(l(null,f,d.hiddenContainer,null,i,d,o,r,a),d.deps<=0&&d.resolve()));else if(_&&bs(f,_))l(_,f,n,s,i,d,o,r,a),sr(d,f);else if(Ea(e,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=Cd++,l(null,f,d.hiddenContainer,null,i,d,o,r,a),d.deps<=0)d.resolve();else{const{timeout:$,pendingId:A}=d;$>0?setTimeout(()=>{d.pendingId===A&&d.fallback(g)},$):$===0&&d.fallback(g)}}function zh(t,e,n,s,i,o,r,a,l,c,u=!1){const{p:d,m:f,um:g,n:_,o:{parentNode:m,remove:y}}=c;let v;const $=X$(t);$&&e&&e.pendingBranch&&(v=e.pendingId,e.deps++);const A=t.props?Cb(t.props.timeout):void 0,D=o,x={vnode:t,parent:e,parentComponent:n,namespace:r,container:s,hiddenContainer:i,deps:0,pendingId:Cd++,timeout:typeof A=="number"?A:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(w=!1,S=!1){const{vnode:T,activeBranch:M,pendingBranch:E,pendingId:V,effects:X,parentComponent:le,container:Y}=x;let R=!1;x.isHydrating?x.isHydrating=!1:w||(R=M&&E.transition&&E.transition.mode==="out-in",R&&(M.transition.afterLeave=()=>{V===x.pendingId&&(f(E,Y,o===D?_(M):o,0),Ad(X))}),M&&(m(M.el)!==x.hiddenContainer&&(o=_(M)),g(M,le,x,!0)),R||f(E,Y,o,0)),sr(x,E),x.pendingBranch=null,x.isInFallback=!1;let I=x.parent,H=!1;for(;I;){if(I.pendingBranch){I.effects.push(...X),H=!0;break}I=I.parent}!H&&!R&&Ad(X),x.effects=[],$&&e&&e.pendingBranch&&v===e.pendingId&&(e.deps--,e.deps===0&&!S&&e.resolve()),Ea(T,"onResolve")},fallback(w){if(!x.pendingBranch)return;const{vnode:S,activeBranch:T,parentComponent:M,container:E,namespace:V}=x;Ea(S,"onFallback");const X=_(T),le=()=>{x.isInFallback&&(d(null,w,E,X,M,null,V,a,l),sr(x,w))},Y=w.transition&&w.transition.mode==="out-in";Y&&(T.transition.afterLeave=le),x.isInFallback=!0,g(T,M,null,!0),Y||le()},move(w,S,T){x.activeBranch&&f(x.activeBranch,w,S,T),x.container=w},next(){return x.activeBranch&&_(x.activeBranch)},registerDep(w,S,T){const M=!!x.pendingBranch;M&&x.deps++;const E=w.vnode.el;w.asyncDep.catch(V=>{Ya(V,w,0)}).then(V=>{if(w.isUnmounted||x.isUnmounted||x.pendingId!==w.suspenseId)return;w.asyncResolved=!0;const{vnode:X}=w;Ld(w,V,!1),E&&(X.el=E);const le=!E&&w.subTree.el;S(w,X,m(E||w.subTree.el),E?null:_(w.subTree),x,r,T),le&&y(le),Hh(w,X.el),M&&--x.deps===0&&x.resolve()})},unmount(w,S){x.isUnmounted=!0,x.activeBranch&&g(x.activeBranch,n,w,S),x.pendingBranch&&g(x.pendingBranch,n,w,S)}};return x}function q$(t,e,n,s,i,o,r,a,l){const c=e.suspense=zh(e,s,n,t.parentNode,document.createElement("div"),null,i,o,r,a,!0),u=l(t,c.pendingBranch=e.ssContent,n,c,o,r);return c.deps===0&&c.resolve(!1,!0),u}function G$(t){const{shapeFlag:e,children:n}=t,s=e&32;t.ssContent=ng(s?n.default:n),t.ssFallback=s?ng(n.fallback):N(dn)}function ng(t){let e;if(Ye(t)){const n=hr&&t._c;n&&(t._d=!1,C()),t=t(),n&&(t._d=!0,e=Un,Cv())}return Fe(t)&&(t=V$(t)),t=ss(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function J$(t,e){e&&e.pendingBranch?Fe(t)?e.effects.push(...t):e.effects.push(t):Ad(t)}function sr(t,e){t.activeBranch=e;const{vnode:n,parentComponent:s}=t;let i=e.el;for(;!i&&e.component;)e=e.component.subTree,i=e.el;n.el=i,s&&s.subTree===n&&(s.vnode.el=i,Hh(s,i))}function X$(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}function Fc(t,e,n=Zt,s=!1){if(n){const i=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...r)=>{Li();const a=Ua(n),l=Jn(e,n,t,r);return a(),Ri(),l});return s?i.unshift(o):i.push(o),o}}const ei=t=>(e,n=Zt)=>{(!Hc||t==="sp")&&Fc(t,(...s)=>e(...s),n)},Q$=ei("bm"),Jt=ei("m"),iv=ei("bu"),ov=ei("u"),Kh=ei("bum"),Dr=ei("um"),Z$=ei("sp"),eA=ei("rtg"),tA=ei("rtc");function nA(t,e=Zt){Fc("ec",t,e)}function Le(t,e){if(Kt===null)return t;const n=jc(Kt),s=t.dirs||(t.dirs=[]);for(let i=0;ie(r,a,void 0,o&&o[a]));else{const r=Object.keys(t);i=new Array(r.length);for(let a=0,l=r.length;a{const o=s.fn(...i);return o&&(o.key=s.key),o}:s.fn)}return t}/*! #__NO_SIDE_EFFECTS__ */function Bt(t,e){return Ye(t)?Ft({name:t.name},e,{setup:t}):t}const ca=t=>!!t.type.__asyncLoader;function Ie(t,e,n={},s,i){if(Kt.isCE||Kt.parent&&ca(Kt.parent)&&Kt.parent.isCE)return e!=="default"&&(n.name=e),N("slot",n,s&&s());let o=t[e];o&&o._c&&(o._d=!1),C();const r=o&&rv(o(n)),a=Se(Me,{key:n.key||r&&r.key||`_${e}`},r||(s?s():[]),r&&t._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function rv(t){return t.some(e=>Pa(e)?!(e.type===dn||e.type===Me&&!rv(e.children)):!0)?t:null}const Ed=t=>t?Pv(t)?jc(t):Ed(t.parent):null,ua=Ft(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Ed(t.parent),$root:t=>Ed(t.root),$emit:t=>t.emit,$options:t=>Yh(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,Vh(t.update)}),$nextTick:t=>t.n||(t.n=nn.bind(t.proxy)),$watch:t=>SA.bind(t)}),Du=(t,e)=>t!==vt&&!t.__isScriptSetup&&it(t,e),sA={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:o,accessCache:r,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const g=r[e];if(g!==void 0)switch(g){case 1:return s[e];case 2:return i[e];case 4:return n[e];case 3:return o[e]}else{if(Du(s,e))return r[e]=1,s[e];if(i!==vt&&it(i,e))return r[e]=2,i[e];if((c=t.propsOptions[0])&&it(c,e))return r[e]=3,o[e];if(n!==vt&&it(n,e))return r[e]=4,n[e];Td&&(r[e]=0)}}const u=ua[e];let d,f;if(u)return e==="$attrs"&&Tn(t.attrs,"get",""),u(t);if((d=a.__cssModules)&&(d=d[e]))return d;if(n!==vt&&it(n,e))return r[e]=4,n[e];if(f=l.config.globalProperties,it(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:i,ctx:o}=t;return Du(i,e)?(i[e]=n,!0):s!==vt&&it(s,e)?(s[e]=n,!0):it(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:i,propsOptions:o}},r){let a;return!!n[r]||t!==vt&&it(t,r)||Du(e,r)||(a=o[0])&&it(a,r)||it(s,r)||it(ua,r)||it(i.config.globalProperties,r)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:it(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function Po(){return av().slots}function iA(){return av().attrs}function av(){const t=Xh();return t.setupContext||(t.setupContext=Dv(t))}function sg(t){return Fe(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let Td=!0;function oA(t){const e=Yh(t),n=t.proxy,s=t.ctx;Td=!1,e.beforeCreate&&ig(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:g,updated:_,activated:m,deactivated:y,beforeDestroy:v,beforeUnmount:$,destroyed:A,unmounted:D,render:x,renderTracked:w,renderTriggered:S,errorCaptured:T,serverPrefetch:M,expose:E,inheritAttrs:V,components:X,directives:le,filters:Y}=e;if(c&&rA(c,s,null),r)for(const H in r){const Z=r[H];Ye(Z)&&(s[H]=Z.bind(n))}if(i){const H=i.call(n,n);ft(H)&&(t.data=Ts(H))}if(Td=!0,o)for(const H in o){const Z=o[H],ee=Ye(Z)?Z.bind(n,n):Ye(Z.get)?Z.get.bind(n,n):Yn,ce=!Ye(Z)&&Ye(Z.set)?Z.set.bind(n):Yn,ve=_e({get:ee,set:ce});Object.defineProperty(s,H,{enumerable:!0,configurable:!0,get:()=>ve.value,set:U=>ve.value=U})}if(a)for(const H in a)lv(a[H],s,n,H);if(l){const H=Ye(l)?l.call(n):l;Reflect.ownKeys(H).forEach(Z=>{ql(Z,H[Z])})}u&&ig(u,t,"c");function I(H,Z){Fe(Z)?Z.forEach(ee=>H(ee.bind(n))):Z&&H(Z.bind(n))}if(I(Q$,d),I(Jt,f),I(iv,g),I(ov,_),I($A,m),I(AA,y),I(nA,T),I(tA,w),I(eA,S),I(Kh,$),I(Dr,D),I(Z$,M),Fe(E))if(E.length){const H=t.exposed||(t.exposed={});E.forEach(Z=>{Object.defineProperty(H,Z,{get:()=>n[Z],set:ee=>n[Z]=ee})})}else t.exposed||(t.exposed={});x&&t.render===Yn&&(t.render=x),V!=null&&(t.inheritAttrs=V),X&&(t.components=X),le&&(t.directives=le)}function rA(t,e,n=Yn){Fe(t)&&(t=Pd(t));for(const s in t){const i=t[s];let o;ft(i)?"default"in i?o=as(i.from||s,i.default,!0):o=as(i.from||s):o=as(i),Mt(o)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[s]=o}}function ig(t,e,n){Jn(Fe(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function lv(t,e,n,s){const i=s.includes(".")?yv(n,s):()=>n[s];if(At(t)){const o=e[t];Ye(o)&&Ht(i,o)}else if(Ye(t))Ht(i,t.bind(n));else if(ft(t))if(Fe(t))t.forEach(o=>lv(o,e,n,s));else{const o=Ye(t.handler)?t.handler.bind(n):e[t.handler];Ye(o)&&Ht(i,o,t)}}function Yh(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=t.appContext,a=o.get(e);let l;return a?l=a:!i.length&&!n&&!s?l=e:(l={},i.length&&i.forEach(c=>ac(l,c,r,!0)),ac(l,e,r)),ft(e)&&o.set(e,l),l}function ac(t,e,n,s=!1){const{mixins:i,extends:o}=e;o&&ac(t,o,n,!0),i&&i.forEach(r=>ac(t,r,n,!0));for(const r in e)if(!(s&&r==="expose")){const a=aA[r]||n&&n[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const aA={data:og,props:rg,emits:rg,methods:ea,computed:ea,beforeCreate:pn,created:pn,beforeMount:pn,mounted:pn,beforeUpdate:pn,updated:pn,beforeDestroy:pn,beforeUnmount:pn,destroyed:pn,unmounted:pn,activated:pn,deactivated:pn,errorCaptured:pn,serverPrefetch:pn,components:ea,directives:ea,watch:cA,provide:og,inject:lA};function og(t,e){return e?t?function(){return Ft(Ye(t)?t.call(this,this):t,Ye(e)?e.call(this,this):e)}:e:t}function lA(t,e){return ea(Pd(t),Pd(e))}function Pd(t){if(Fe(t)){const e={};for(let n=0;n1)return n&&Ye(e)?e.call(s&&s.proxy):e}}function hA(){return!!(Zt||Kt||ir)}const uv={},dv=()=>Object.create(uv),hv=t=>Object.getPrototypeOf(t)===uv;function fA(t,e,n,s=!1){const i={},o=dv();t.propsDefaults=Object.create(null),fv(t,e,i,o);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);n?t.props=s?i:zb(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function pA(t,e,n,s){const{props:i,attrs:o,vnode:{patchFlag:r}}=t,a=et(i),[l]=t.propsOptions;let c=!1;if((s||r>0)&&!(r&16)){if(r&8){const u=t.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,g]=pv(d,e,!0);Ft(r,f),g&&a.push(...g)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!o&&!l)return ft(t)&&s.set(t,er),er;if(Fe(o))for(let u=0;u-1,g[1]=m<0||_-1||it(g,"default"))&&a.push(d)}}}const c=[r,a];return ft(t)&&s.set(t,c),c}function ag(t){return t[0]!=="$"&&!la(t)}function lg(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function cg(t,e){return lg(t)===lg(e)}function ug(t,e){return Fe(e)?e.findIndex(n=>cg(n,t)):Ye(e)&&cg(e,t)?0:-1}const gv=t=>t[0]==="_"||t==="$stable",Uh=t=>Fe(t)?t.map(ss):[ss(t)],gA=(t,e,n)=>{if(e._n)return e;const s=Pe((...i)=>Uh(e(...i)),n);return s._c=!1,s},mv=(t,e,n)=>{const s=t._ctx;for(const i in t){if(gv(i))continue;const o=t[i];if(Ye(o))e[i]=gA(i,o,s);else if(o!=null){const r=Uh(o);e[i]=()=>r}}},_v=(t,e)=>{const n=Uh(e);t.slots.default=()=>n},mA=(t,e)=>{const n=t.slots=dv();if(t.vnode.shapeFlag&32){const s=e._;s?(Ft(n,e),Ab(n,"_",s,!0)):mv(e,n)}else e&&_v(t,e)},_A=(t,e,n)=>{const{vnode:s,slots:i}=t;let o=!0,r=vt;if(s.shapeFlag&32){const a=e._;a?n&&a===1?o=!1:(Ft(i,e),!n&&a===1&&delete i._):(o=!e.$stable,mv(e,i)),r=e}else e&&(_v(t,e),r={default:1});if(o)for(const a in i)!gv(a)&&r[a]==null&&delete i[a]};function Dd(t,e,n,s,i=!1){if(Fe(t)){t.forEach((f,g)=>Dd(f,e&&(Fe(e)?e[g]:e),n,s,i));return}if(ca(s)&&!i)return;const o=s.shapeFlag&4?jc(s.component):s.el,r=i?null:o,{i:a,r:l}=t,c=e&&e.r,u=a.refs===vt?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(At(c)?(u[c]=null,it(d,c)&&(d[c]=null)):Mt(c)&&(c.value=null)),Ye(l))Si(l,a,12,[r,u]);else{const f=At(l),g=Mt(l);if(f||g){const _=()=>{if(t.f){const m=f?it(d,l)?d[l]:u[l]:l.value;i?Fe(m)&&Ch(m,o):Fe(m)?m.includes(o)||m.push(o):f?(u[l]=[o],it(d,l)&&(d[l]=u[l])):(l.value=[o],t.k&&(u[t.k]=l.value))}else f?(u[l]=r,it(d,l)&&(d[l]=r)):g&&(l.value=r,t.k&&(u[t.k]=r))};r?(_.id=-1,$n(_,n)):_()}}}const $n=J$;function bA(t){return vA(t)}function vA(t,e){const n=Eb();n.__VUE__=!0;const{insert:s,remove:i,patchProp:o,createElement:r,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:g=Yn,insertStaticContent:_}=t,m=(b,O,j,z=null,oe=null,W=null,ne=void 0,J=null,he=!!O.dynamicChildren)=>{if(b===O)return;b&&!bs(b,O)&&(z=P(b),U(b,oe,W,!0),b=null),O.patchFlag===-2&&(he=!1,O.dynamicChildren=null);const{type:me,ref:pe,shapeFlag:Re}=O;switch(me){case Vc:y(b,O,j,z);break;case dn:v(b,O,j,z);break;case Lu:b==null&&$(O,j,z,ne);break;case Me:X(b,O,j,z,oe,W,ne,J,he);break;default:Re&1?x(b,O,j,z,oe,W,ne,J,he):Re&6?le(b,O,j,z,oe,W,ne,J,he):(Re&64||Re&128)&&me.process(b,O,j,z,oe,W,ne,J,he,we)}pe!=null&&oe&&Dd(pe,b&&b.ref,W,O||b,!O)},y=(b,O,j,z)=>{if(b==null)s(O.el=a(O.children),j,z);else{const oe=O.el=b.el;O.children!==b.children&&c(oe,O.children)}},v=(b,O,j,z)=>{b==null?s(O.el=l(O.children||""),j,z):O.el=b.el},$=(b,O,j,z)=>{[b.el,b.anchor]=_(b.children,O,j,z,b.el,b.anchor)},A=({el:b,anchor:O},j,z)=>{let oe;for(;b&&b!==O;)oe=f(b),s(b,j,z),b=oe;s(O,j,z)},D=({el:b,anchor:O})=>{let j;for(;b&&b!==O;)j=f(b),i(b),b=j;i(O)},x=(b,O,j,z,oe,W,ne,J,he)=>{O.type==="svg"?ne="svg":O.type==="math"&&(ne="mathml"),b==null?w(O,j,z,oe,W,ne,J,he):M(b,O,oe,W,ne,J,he)},w=(b,O,j,z,oe,W,ne,J)=>{let he,me;const{props:pe,shapeFlag:Re,transition:Oe,dirs:Ve}=b;if(he=b.el=r(b.type,W,pe&&pe.is,pe),Re&8?u(he,b.children):Re&16&&T(b.children,he,null,z,oe,Ou(b,W),ne,J),Ve&&Zi(b,null,z,"created"),S(he,b,b.scopeId,ne,z),pe){for(const tt in pe)tt!=="value"&&!la(tt)&&o(he,tt,null,pe[tt],W,b.children,z,oe,ae);"value"in pe&&o(he,"value",null,pe.value,W),(me=pe.onVnodeBeforeMount)&&ps(me,z,b)}Ve&&Zi(b,null,z,"beforeMount");const Be=yA(oe,Oe);Be&&Oe.beforeEnter(he),s(he,O,j),((me=pe&&pe.onVnodeMounted)||Be||Ve)&&$n(()=>{me&&ps(me,z,b),Be&&Oe.enter(he),Ve&&Zi(b,null,z,"mounted")},oe)},S=(b,O,j,z,oe)=>{if(j&&g(b,j),z)for(let W=0;W{for(let me=he;me{const J=O.el=b.el;let{patchFlag:he,dynamicChildren:me,dirs:pe}=O;he|=b.patchFlag&16;const Re=b.props||vt,Oe=O.props||vt;let Ve;if(j&&eo(j,!1),(Ve=Oe.onVnodeBeforeUpdate)&&ps(Ve,j,O,b),pe&&Zi(O,b,j,"beforeUpdate"),j&&eo(j,!0),me?E(b.dynamicChildren,me,J,j,z,Ou(O,oe),W):ne||Z(b,O,J,null,j,z,Ou(O,oe),W,!1),he>0){if(he&16)V(J,O,Re,Oe,j,z,oe);else if(he&2&&Re.class!==Oe.class&&o(J,"class",null,Oe.class,oe),he&4&&o(J,"style",Re.style,Oe.style,oe),he&8){const Be=O.dynamicProps;for(let tt=0;tt{Ve&&ps(Ve,j,O,b),pe&&Zi(O,b,j,"updated")},z)},E=(b,O,j,z,oe,W,ne)=>{for(let J=0;J{if(j!==z){if(j!==vt)for(const J in j)!la(J)&&!(J in z)&&o(b,J,j[J],null,ne,O.children,oe,W,ae);for(const J in z){if(la(J))continue;const he=z[J],me=j[J];he!==me&&J!=="value"&&o(b,J,me,he,ne,O.children,oe,W,ae)}"value"in z&&o(b,"value",j.value,z.value,ne)}},X=(b,O,j,z,oe,W,ne,J,he)=>{const me=O.el=b?b.el:a(""),pe=O.anchor=b?b.anchor:a("");let{patchFlag:Re,dynamicChildren:Oe,slotScopeIds:Ve}=O;Ve&&(J=J?J.concat(Ve):Ve),b==null?(s(me,j,z),s(pe,j,z),T(O.children||[],j,pe,oe,W,ne,J,he)):Re>0&&Re&64&&Oe&&b.dynamicChildren?(E(b.dynamicChildren,Oe,j,oe,W,ne,J),(O.key!=null||oe&&O===oe.subTree)&&qh(b,O,!0)):Z(b,O,j,pe,oe,W,ne,J,he)},le=(b,O,j,z,oe,W,ne,J,he)=>{O.slotScopeIds=J,b==null?O.shapeFlag&512?oe.ctx.activate(O,j,z,ne,he):Y(O,j,z,oe,W,ne,he):R(b,O,he)},Y=(b,O,j,z,oe,W,ne)=>{const J=b.component=NA(b,z,oe);if(Bc(b)&&(J.ctx.renderer=we),FA(J),J.asyncDep){if(oe&&oe.registerDep(J,I,ne),!b.el){const he=J.subTree=N(dn);v(null,he,O,j)}}else I(J,b,O,j,oe,W,ne)},R=(b,O,j)=>{const z=O.component=b.component;if(W$(b,O,j))if(z.asyncDep&&!z.asyncResolved){H(z,O,j);return}else z.next=O,N$(z.update),z.effect.dirty=!0,z.update();else O.el=b.el,z.vnode=O},I=(b,O,j,z,oe,W,ne)=>{const J=()=>{if(b.isMounted){let{next:pe,bu:Re,u:Oe,parent:Ve,vnode:Be}=b;{const Hn=bv(b);if(Hn){pe&&(pe.el=Be.el,H(b,pe,ne)),Hn.asyncDep.then(()=>{b.isUnmounted||J()});return}}let tt=pe,Je;eo(b,!1),pe?(pe.el=Be.el,H(b,pe,ne)):pe=Be,Re&&Yl(Re),(Je=pe.props&&pe.props.onVnodeBeforeUpdate)&&ps(Je,Ve,pe,Be),eo(b,!0);const mt=Mu(b),rn=b.subTree;b.subTree=mt,m(rn,mt,d(rn.el),P(rn),b,oe,W),pe.el=mt.el,tt===null&&Hh(b,mt.el),Oe&&$n(Oe,oe),(Je=pe.props&&pe.props.onVnodeUpdated)&&$n(()=>ps(Je,Ve,pe,Be),oe)}else{let pe;const{el:Re,props:Oe}=O,{bm:Ve,m:Be,parent:tt}=b,Je=ca(O);if(eo(b,!1),Ve&&Yl(Ve),!Je&&(pe=Oe&&Oe.onVnodeBeforeMount)&&ps(pe,tt,O),eo(b,!0),Re&&fe){const mt=()=>{b.subTree=Mu(b),fe(Re,b.subTree,b,oe,null)};Je?O.type.__asyncLoader().then(()=>!b.isUnmounted&&mt()):mt()}else{const mt=b.subTree=Mu(b);m(null,mt,j,z,b,oe,W),O.el=mt.el}if(Be&&$n(Be,oe),!Je&&(pe=Oe&&Oe.onVnodeMounted)){const mt=O;$n(()=>ps(pe,tt,mt),oe)}(O.shapeFlag&256||tt&&ca(tt.vnode)&&tt.vnode.shapeFlag&256)&&b.a&&$n(b.a,oe),b.isMounted=!0,O=j=z=null}},he=b.effect=new Mh(J,Yn,()=>Vh(me),b.scope),me=b.update=()=>{he.dirty&&he.run()};me.id=b.uid,eo(b,!0),me()},H=(b,O,j)=>{O.component=b;const z=b.vnode.props;b.vnode=O,b.next=null,pA(b,O.props,z,j),_A(b,O.children,j),Li(),Zp(b),Ri()},Z=(b,O,j,z,oe,W,ne,J,he=!1)=>{const me=b&&b.children,pe=b?b.shapeFlag:0,Re=O.children,{patchFlag:Oe,shapeFlag:Ve}=O;if(Oe>0){if(Oe&128){ce(me,Re,j,z,oe,W,ne,J,he);return}else if(Oe&256){ee(me,Re,j,z,oe,W,ne,J,he);return}}Ve&8?(pe&16&&ae(me,oe,W),Re!==me&&u(j,Re)):pe&16?Ve&16?ce(me,Re,j,z,oe,W,ne,J,he):ae(me,oe,W,!0):(pe&8&&u(j,""),Ve&16&&T(Re,j,z,oe,W,ne,J,he))},ee=(b,O,j,z,oe,W,ne,J,he)=>{b=b||er,O=O||er;const me=b.length,pe=O.length,Re=Math.min(me,pe);let Oe;for(Oe=0;Oepe?ae(b,oe,W,!0,!1,Re):T(O,j,z,oe,W,ne,J,he,Re)},ce=(b,O,j,z,oe,W,ne,J,he)=>{let me=0;const pe=O.length;let Re=b.length-1,Oe=pe-1;for(;me<=Re&&me<=Oe;){const Ve=b[me],Be=O[me]=he?pi(O[me]):ss(O[me]);if(bs(Ve,Be))m(Ve,Be,j,null,oe,W,ne,J,he);else break;me++}for(;me<=Re&&me<=Oe;){const Ve=b[Re],Be=O[Oe]=he?pi(O[Oe]):ss(O[Oe]);if(bs(Ve,Be))m(Ve,Be,j,null,oe,W,ne,J,he);else break;Re--,Oe--}if(me>Re){if(me<=Oe){const Ve=Oe+1,Be=VeOe)for(;me<=Re;)U(b[me],oe,W,!0),me++;else{const Ve=me,Be=me,tt=new Map;for(me=Be;me<=Oe;me++){const jt=O[me]=he?pi(O[me]):ss(O[me]);jt.key!=null&&tt.set(jt.key,me)}let Je,mt=0;const rn=Oe-Be+1;let Hn=!1,ni=0;const Qn=new Array(rn);for(me=0;me=rn){U(jt,oe,W,!0);continue}let se;if(jt.key!=null)se=tt.get(jt.key);else for(Je=Be;Je<=Oe;Je++)if(Qn[Je-Be]===0&&bs(jt,O[Je])){se=Je;break}se===void 0?U(jt,oe,W,!0):(Qn[se-Be]=me+1,se>=ni?ni=se:Hn=!0,m(jt,O[se],j,null,oe,W,ne,J,he),mt++)}const Ds=Hn?wA(Qn):er;for(Je=Ds.length-1,me=rn-1;me>=0;me--){const jt=Be+me,se=O[jt],$e=jt+1{const{el:W,type:ne,transition:J,children:he,shapeFlag:me}=b;if(me&6){ve(b.component.subTree,O,j,z);return}if(me&128){b.suspense.move(O,j,z);return}if(me&64){ne.move(b,O,j,we);return}if(ne===Me){s(W,O,j);for(let Re=0;ReJ.enter(W),oe);else{const{leave:Re,delayLeave:Oe,afterLeave:Ve}=J,Be=()=>s(W,O,j),tt=()=>{Re(W,()=>{Be(),Ve&&Ve()})};Oe?Oe(W,Be,tt):tt()}else s(W,O,j)},U=(b,O,j,z=!1,oe=!1)=>{const{type:W,props:ne,ref:J,children:he,dynamicChildren:me,shapeFlag:pe,patchFlag:Re,dirs:Oe,memoIndex:Ve}=b;if(J!=null&&Dd(J,null,j,b,!0),Ve!=null&&(O.renderCache[Ve]=void 0),pe&256){O.ctx.deactivate(b);return}const Be=pe&1&&Oe,tt=!ca(b);let Je;if(tt&&(Je=ne&&ne.onVnodeBeforeUnmount)&&ps(Je,O,b),pe&6)te(b.component,j,z);else{if(pe&128){b.suspense.unmount(j,z);return}Be&&Zi(b,null,O,"beforeUnmount"),pe&64?b.type.remove(b,O,j,oe,we,z):me&&(W!==Me||Re>0&&Re&64)?ae(me,O,j,!1,!0):(W===Me&&Re&384||!oe&&pe&16)&&ae(he,O,j),z&&Q(b)}(tt&&(Je=ne&&ne.onVnodeUnmounted)||Be)&&$n(()=>{Je&&ps(Je,O,b),Be&&Zi(b,null,O,"unmounted")},j)},Q=b=>{const{type:O,el:j,anchor:z,transition:oe}=b;if(O===Me){L(j,z);return}if(O===Lu){D(b);return}const W=()=>{i(j),oe&&!oe.persisted&&oe.afterLeave&&oe.afterLeave()};if(b.shapeFlag&1&&oe&&!oe.persisted){const{leave:ne,delayLeave:J}=oe,he=()=>ne(j,W);J?J(b.el,W,he):he()}else W()},L=(b,O)=>{let j;for(;b!==O;)j=f(b),i(b),b=j;i(O)},te=(b,O,j)=>{const{bum:z,scope:oe,update:W,subTree:ne,um:J,m:he,a:me}=b;dg(he),dg(me),z&&Yl(z),oe.stop(),W&&(W.active=!1,U(ne,b,O,j)),J&&$n(J,O),$n(()=>{b.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},ae=(b,O,j,z=!1,oe=!1,W=0)=>{for(let ne=W;neb.shapeFlag&6?P(b.component.subTree):b.shapeFlag&128?b.suspense.next():f(b.anchor||b.el);let ie=!1;const de=(b,O,j)=>{b==null?O._vnode&&U(O._vnode,null,null,!0):m(O._vnode||null,b,O,null,null,null,j),ie||(ie=!0,Zp(),Zb(),ie=!1),O._vnode=b},we={p:m,um:U,m:ve,r:Q,mt:Y,mc:T,pc:Z,pbc:E,n:P,o:t};let B,fe;return e&&([B,fe]=e(we)),{render:de,hydrate:B,createApp:dA(de,B)}}function Ou({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function eo({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function yA(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function qh(t,e,n=!1){const s=t.children,i=e.children;if(Fe(s)&&Fe(i))for(let o=0;o>1,t[n[a]]0&&(e[s]=n[o-1]),n[o]=s)}}for(o=n.length,r=n[o-1];o-- >0;)n[o]=r,r=e[r];return n}function bv(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:bv(e)}function dg(t){if(t)for(let e=0;eas(xA),xl={};function Ht(t,e,n){return vv(t,e,n)}function vv(t,e,{immediate:n,deep:s,flush:i,once:o,onTrack:r,onTrigger:a}=vt){if(e&&o){const w=e;e=(...S)=>{w(...S),x()}}const l=Zt,c=w=>s===!0?w:mi(w,s===!1?1:void 0);let u,d=!1,f=!1;if(Mt(t)?(u=()=>t.value,d=oc(t)):_o(t)?(u=()=>c(t),d=!0):Fe(t)?(f=!0,d=t.some(w=>_o(w)||oc(w)),u=()=>t.map(w=>{if(Mt(w))return w.value;if(_o(w))return c(w);if(Ye(w))return Si(w,l,2)})):Ye(t)?e?u=()=>Si(t,l,2):u=()=>(g&&g(),Jn(t,l,3,[_])):u=Yn,e&&s){const w=u;u=()=>mi(w())}let g,_=w=>{g=A.onStop=()=>{Si(w,l,4),g=A.onStop=void 0}},m;if(Hc)if(_=Yn,e?n&&Jn(e,l,3,[u(),f?[]:void 0,_]):u(),i==="sync"){const w=kA();m=w.__watcherHandles||(w.__watcherHandles=[])}else return Yn;let y=f?new Array(t.length).fill(xl):xl;const v=()=>{if(!(!A.active||!A.dirty))if(e){const w=A.run();(s||d||(f?w.some((S,T)=>Ei(S,y[T])):Ei(w,y)))&&(g&&g(),Jn(e,l,3,[w,y===xl?void 0:f&&y[0]===xl?[]:y,_]),y=w)}else A.run()};v.allowRecurse=!!e;let $;i==="sync"?$=v:i==="post"?$=()=>$n(v,l&&l.suspense):(v.pre=!0,l&&(v.id=l.uid),$=()=>Vh(v));const A=new Mh(u,Yn,$),D=Dc(),x=()=>{A.stop(),D&&Ch(D.effects,A)};return e?n?v():y=A.run():i==="post"?$n(A.run.bind(A),l&&l.suspense):A.run(),m&&m.push(x),x}function SA(t,e,n){const s=this.proxy,i=At(t)?t.includes(".")?yv(s,t):()=>s[t]:t.bind(s,s);let o;Ye(e)?o=e:(o=e.handler,n=e);const r=Ua(this),a=vv(i,o.bind(s),n);return r(),a}function yv(t,e){const n=e.split(".");return()=>{let s=t;for(let i=0;i{mi(s,e,n)});else if($b(t)){for(const s in t)mi(t[s],e,n);for(const s of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,s)&&mi(t[s],e,n)}return t}const Bc=t=>t.type.__isKeepAlive;function $A(t,e){wv(t,"a",e)}function AA(t,e){wv(t,"da",e)}function wv(t,e,n=Zt){const s=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Fc(e,s,n),n){let i=n.parent;for(;i&&i.parent;)Bc(i.parent.vnode)&&CA(s,e,n,i),i=i.parent}}function CA(t,e,n,s){const i=Fc(e,t,s,!0);Dr(()=>{Ch(s[e],i)},n)}const fi=Symbol("_leaveCb"),kl=Symbol("_enterCb");function xv(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Jt(()=>{t.isMounted=!0}),Kh(()=>{t.isUnmounting=!0}),t}const zn=[Function,Array],kv={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:zn,onEnter:zn,onAfterEnter:zn,onEnterCancelled:zn,onBeforeLeave:zn,onLeave:zn,onAfterLeave:zn,onLeaveCancelled:zn,onBeforeAppear:zn,onAppear:zn,onAfterAppear:zn,onAppearCancelled:zn},Sv=t=>{const e=t.subTree;return e.component?Sv(e.component):e},EA={name:"BaseTransition",props:kv,setup(t,{slots:e}){const n=Xh(),s=xv();return()=>{const i=e.default&&Gh(e.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const f of i)if(f.type!==dn){o=f;break}}const r=et(t),{mode:a}=r;if(s.isLeaving)return Iu(o);const l=hg(o);if(!l)return Iu(o);let c=Ta(l,r,s,n,f=>c=f);dr(l,c);const u=n.subTree,d=u&&hg(u);if(d&&d.type!==dn&&!bs(l,d)&&Sv(n).type!==dn){const f=Ta(d,r,s,n);if(dr(d,f),a==="out-in"&&l.type!==dn)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Iu(o);a==="in-out"&&l.type!==dn&&(f.delayLeave=(g,_,m)=>{const y=$v(s,d);y[String(d.key)]=d,g[fi]=()=>{_(),g[fi]=void 0,delete c.delayedLeave},c.delayedLeave=m})}return o}}},TA=EA;function $v(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function Ta(t,e,n,s,i){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:g,onAfterLeave:_,onLeaveCancelled:m,onBeforeAppear:y,onAppear:v,onAfterAppear:$,onAppearCancelled:A}=e,D=String(t.key),x=$v(n,t),w=(M,E)=>{M&&Jn(M,s,9,E)},S=(M,E)=>{const V=E[1];w(M,E),Fe(M)?M.every(X=>X.length<=1)&&V():M.length<=1&&V()},T={mode:r,persisted:a,beforeEnter(M){let E=l;if(!n.isMounted)if(o)E=y||l;else return;M[fi]&&M[fi](!0);const V=x[D];V&&bs(t,V)&&V.el[fi]&&V.el[fi](),w(E,[M])},enter(M){let E=c,V=u,X=d;if(!n.isMounted)if(o)E=v||c,V=$||u,X=A||d;else return;let le=!1;const Y=M[kl]=R=>{le||(le=!0,R?w(X,[M]):w(V,[M]),T.delayedLeave&&T.delayedLeave(),M[kl]=void 0)};E?S(E,[M,Y]):Y()},leave(M,E){const V=String(t.key);if(M[kl]&&M[kl](!0),n.isUnmounting)return E();w(f,[M]);let X=!1;const le=M[fi]=Y=>{X||(X=!0,E(),Y?w(m,[M]):w(_,[M]),M[fi]=void 0,x[V]===t&&delete x[V])};x[V]=t,g?S(g,[M,le]):le()},clone(M){const E=Ta(M,e,n,s,i);return i&&i(E),E}};return T}function Iu(t){if(Bc(t))return t=Ti(t),t.children=null,t}function hg(t){if(!Bc(t))return t;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&Ye(n.default))return n.default()}}function dr(t,e){t.shapeFlag&6&&t.component?dr(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Gh(t,e=!1,n){let s=[],i=0;for(let o=0;o1)for(let o=0;ot.__isTeleport,da=t=>t&&(t.disabled||t.disabled===""),fg=t=>typeof SVGElement<"u"&&t instanceof SVGElement,pg=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Od=(t,e)=>{const n=t&&t.to;return At(n)?e?e(n):null:n},MA={name:"Teleport",__isTeleport:!0,process(t,e,n,s,i,o,r,a,l,c){const{mc:u,pc:d,pbc:f,o:{insert:g,querySelector:_,createText:m,createComment:y}}=c,v=da(e.props);let{shapeFlag:$,children:A,dynamicChildren:D}=e;if(t==null){const x=e.el=m(""),w=e.anchor=m("");g(x,n,s),g(w,n,s);const S=e.target=Od(e.props,_),T=e.targetAnchor=m("");S&&(g(T,S),r==="svg"||fg(S)?r="svg":(r==="mathml"||pg(S))&&(r="mathml"));const M=(E,V)=>{$&16&&u(A,E,V,i,o,r,a,l)};v?M(n,w):S&&M(S,T)}else{e.el=t.el;const x=e.anchor=t.anchor,w=e.target=t.target,S=e.targetAnchor=t.targetAnchor,T=da(t.props),M=T?n:w,E=T?x:S;if(r==="svg"||fg(w)?r="svg":(r==="mathml"||pg(w))&&(r="mathml"),D?(f(t.dynamicChildren,D,M,i,o,r,a),qh(t,e,!0)):l||d(t,e,M,E,i,o,r,a,!1),v)T?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Sl(e,n,x,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const V=e.target=Od(e.props,_);V&&Sl(e,V,null,c,0)}else T&&Sl(e,w,S,c,1)}Av(e)},remove(t,e,n,s,{um:i,o:{remove:o}},r){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:f}=t;if(d&&o(u),r&&o(c),a&16){const g=r||!da(f);for(let _=0;_0?Un||er:null,Cv(),hr>0&&Un&&Un.push(t),t}function F(t,e,n,s,i,o){return Ev(h(t,e,n,s,i,o,!0))}function Se(t,e,n,s,i){return Ev(N(t,e,n,s,i,!0))}function Pa(t){return t?t.__v_isVNode===!0:!1}function bs(t,e){return t.type===e.type&&t.key===e.key}const Tv=({key:t})=>t??null,Gl=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?At(t)||Mt(t)||Ye(t)?{i:Kt,r:t,k:e,f:!!n}:t:null);function h(t,e=null,n=null,s=0,i=null,o=t===Me?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Tv(e),ref:e&&Gl(e),scopeId:Nc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Kt};return a?(Jh(l,n),o&128&&t.normalize(l)):n&&(l.shapeFlag|=At(n)?8:16),hr>0&&!r&&Un&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Un.push(l),l}const N=IA;function IA(t,e=null,n=null,s=0,i=null,o=!1){if((!t||t===nv)&&(t=dn),Pa(t)){const a=Ti(t,e,!0);return n&&Jh(a,n),hr>0&&!o&&Un&&(a.shapeFlag&6?Un[Un.indexOf(t)]=a:Un.push(a)),a.patchFlag=-2,a}if(jA(t)&&(t=t.__vccOpts),e){e=mn(e);let{class:a,style:l}=e;a&&!At(a)&&(e.class=Ee(a)),ft(l)&&(Ic(l)&&!Fe(l)&&(l=Ft({},l)),e.style=zt(l))}const r=At(t)?1:z$(t)?128:PA(t)?64:ft(t)?4:Ye(t)?2:0;return h(t,e,n,s,i,r,o,!0)}function mn(t){return t?Ic(t)||hv(t)?Ft({},t):t:null}function Ti(t,e,n=!1,s=!1){const{props:i,ref:o,patchFlag:r,children:a,transition:l}=t,c=e?Yt(i||{},e):i,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&Tv(c),ref:e&&e.ref?n&&o?Fe(o)?o.concat(Gl(e)):[o,Gl(e)]:Gl(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Me?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ti(t.ssContent),ssFallback:t.ssFallback&&Ti(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&s&&dr(u,l.clone(u)),u}function He(t=" ",e=0){return N(Vc,null,t,e)}function re(t="",e=!1){return e?(C(),Se(dn,null,t)):N(dn,null,t)}function ss(t){return t==null||typeof t=="boolean"?N(dn):Fe(t)?N(Me,null,t.slice()):typeof t=="object"?pi(t):N(Vc,null,String(t))}function pi(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Ti(t)}function Jh(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(Fe(e))n=16;else if(typeof e=="object")if(s&65){const i=e.default;i&&(i._c&&(i._d=!1),Jh(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!hv(e)?e._ctx=Kt:i===3&&Kt&&(Kt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Ye(e)?(e={default:e,_ctx:Kt},n=32):(e=String(e),s&64?(n=16,e=[He(e)]):n=8);t.children=e,t.shapeFlag|=n}function Yt(...t){const e={};for(let n=0;nZt||Kt;let lc,Id;{const t=Eb(),e=(n,s)=>{let i;return(i=t[n])||(i=t[n]=[]),i.push(s),o=>{i.length>1?i.forEach(r=>r(o)):i[0](o)}};lc=e("__VUE_INSTANCE_SETTERS__",n=>Zt=n),Id=e("__VUE_SSR_SETTERS__",n=>Hc=n)}const Ua=t=>{const e=Zt;return lc(t),t.scope.on(),()=>{t.scope.off(),lc(e)}},mg=()=>{Zt&&Zt.scope.off(),lc(null)};function Pv(t){return t.vnode.shapeFlag&4}let Hc=!1;function FA(t,e=!1){e&&Id(e);const{props:n,children:s}=t.vnode,i=Pv(t);fA(t,n,i,e),mA(t,s);const o=i?BA(t,e):void 0;return e&&Id(!1),o}function BA(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,sA);const{setup:s}=n;if(s){const i=t.setupContext=s.length>1?Dv(t):null,o=Ua(t);Li();const r=Si(s,t,0,[t.props,i]);if(Ri(),o(),kb(r)){if(r.then(mg,mg),e)return r.then(a=>{Ld(t,a,e)}).catch(a=>{Ya(a,t,0)});t.asyncDep=r}else Ld(t,r,e)}else Mv(t,e)}function Ld(t,e,n){Ye(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:ft(e)&&(t.setupState=Gb(e)),Mv(t,n)}let _g;function Mv(t,e,n){const s=t.type;if(!t.render){if(!e&&_g&&!s.render){const i=s.template||Yh(t).template;if(i){const{isCustomElement:o,compilerOptions:r}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Ft(Ft({isCustomElement:o,delimiters:a},r),l);s.render=_g(i,c)}}t.render=s.render||Yn}{const i=Ua(t);Li();try{oA(t)}finally{Ri(),i()}}}const VA={get(t,e){return Tn(t,"get",""),t[e]}};function Dv(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,VA),slots:t.slots,emit:t.emit,expose:e}}function jc(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Gb(Lc(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in ua)return ua[n](t)},has(e,n){return n in e||n in ua}})):t.proxy}function HA(t,e=!0){return Ye(t)?t.displayName||t.name:t.name||e&&t.__name}function jA(t){return Ye(t)&&"__vccOpts"in t}const _e=(t,e)=>T$(t,e,Hc);function $o(t,e,n){const s=arguments.length;return s===2?ft(e)&&!Fe(e)?Pa(e)?N(t,null,[e]):N(t,e):N(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Pa(n)&&(n=[n]),N(t,e,n))}const Ov="3.4.29";/** * @vue/runtime-dom v3.4.29 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const WA="http://www.w3.org/2000/svg",zA="http://www.w3.org/1998/Math/MathML",Hs=typeof document<"u"?document:null,vg=Hs&&Hs.createElement("template"),YA={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const i=e==="svg"?Hs.createElementNS(WA,t):e==="mathml"?Hs.createElementNS(zA,t):n?Hs.createElement(t,{is:n}):Hs.createElement(t);return t==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:t=>Hs.createTextNode(t),createComment:t=>Hs.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Hs.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,i,o){const r=n?n.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{vg.innerHTML=s==="svg"?`${t}`:s==="mathml"?`${t}`:t;const a=vg.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[r?r.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},li="transition",Yr="animation",gr=Symbol("_vtc"),At=(t,{slots:e})=>Co(EA,Rb(t),e);At.displayName="Transition";const Ib={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},UA=At.props=Lt({},kb,Ib),so=(t,e=[])=>{Fe(t)?t.forEach(n=>n(...e)):t&&t(...e)},bg=t=>t?Fe(t)?t.some(e=>e.length>1):t.length>1:!1;function Rb(t){const e={};for(const J in t)J in Ib||(e[J]=t[J]);if(t.css===!1)return e;const{name:n="v",type:s,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=r,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=t,_=KA(i),m=_&&_[0],b=_&&_[1],{onBeforeEnter:w,onEnter:$,onEnterCancelled:A,onLeave:D,onLeaveCancelled:x,onBeforeAppear:y=w,onAppear:S=$,onAppearCancelled:E=A}=e,T=(J,ae,Y)=>{hi(J,ae?u:a),hi(J,ae?c:r),Y&&Y()},C=(J,ae)=>{J._isLeaving=!1,hi(J,d),hi(J,g),hi(J,f),ae&&ae()},B=J=>(ae,Y)=>{const L=J?S:$,I=()=>T(ae,J,Y);so(L,[ae,I]),yg(()=>{hi(ae,J?l:o),Fs(ae,J?u:a),bg(L)||wg(ae,s,m,I)})};return Lt(e,{onBeforeEnter(J){so(w,[J]),Fs(J,o),Fs(J,r)},onBeforeAppear(J){so(y,[J]),Fs(J,l),Fs(J,c)},onEnter:B(!1),onAppear:B(!0),onLeave(J,ae){J._isLeaving=!0;const Y=()=>C(J,ae);Fs(J,d),Fs(J,f),Nb(),yg(()=>{J._isLeaving&&(hi(J,d),Fs(J,g),bg(D)||wg(J,s,b,Y))}),so(D,[J,Y])},onEnterCancelled(J){T(J,!1),so(A,[J])},onAppearCancelled(J){T(J,!0),so(E,[J])},onLeaveCancelled(J){C(J),so(x,[J])}})}function KA(t){if(t==null)return null;if(ut(t))return[Lu(t.enter),Lu(t.leave)];{const e=Lu(t);return[e,e]}}function Lu(t){return Cv(t)}function Fs(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[gr]||(t[gr]=new Set)).add(e)}function hi(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const n=t[gr];n&&(n.delete(e),n.size||(t[gr]=void 0))}function yg(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let qA=0;function wg(t,e,n,s){const i=t._endId=++qA,o=()=>{i===t._endId&&s()};if(n)return setTimeout(o,n);const{type:r,timeout:a,propCount:l}=Lb(t,e);if(!r)return s();const c=r+"end";let u=0;const d=()=>{t.removeEventListener(c,f),o()},f=g=>{g.target===t&&++u>=l&&d()};setTimeout(()=>{u(n[_]||"").split(", "),i=s(`${li}Delay`),o=s(`${li}Duration`),r=xg(i,o),a=s(`${Yr}Delay`),l=s(`${Yr}Duration`),c=xg(a,l);let u=null,d=0,f=0;e===li?r>0&&(u=li,d=r,f=o.length):e===Yr?c>0&&(u=Yr,d=c,f=l.length):(d=Math.max(r,c),u=d>0?r>c?li:Yr:null,f=u?u===li?o.length:l.length:0);const g=u===li&&/\b(transform|all)(,|$)/.test(s(`${li}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:g}}function xg(t,e){for(;t.lengthkg(n)+kg(t[s])))}function kg(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Nb(){return document.body.offsetHeight}function GA(t,e,n){const s=t[gr];s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const fc=Symbol("_vod"),Fb=Symbol("_vsh"),ec={beforeMount(t,{value:e},{transition:n}){t[fc]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Ur(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),Ur(t,!0),s.enter(t)):s.leave(t,()=>{Ur(t,!1)}):Ur(t,e))},beforeUnmount(t,{value:e}){Ur(t,e)}};function Ur(t,e){t.style.display=e?t[fc]:"none",t[Fb]=!e}const JA=Symbol(""),XA=/(^|;)\s*display\s*:/;function QA(t,e,n){const s=t.style,i=St(n);let o=!1;if(n&&!i){if(e)if(St(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();n[a]==null&&tc(s,a,"")}else for(const r in e)n[r]==null&&tc(s,r,"");for(const r in n)r==="display"&&(o=!0),tc(s,r,n[r])}else if(i){if(e!==n){const r=s[JA];r&&(n+=";"+r),s.cssText=n,o=XA.test(n)}}else e&&t.removeAttribute("style");fc in t&&(t[fc]=o?s.display:"",t[Fb]&&(s.display="none"))}const Sg=/\s*!important$/;function tc(t,e,n){if(Fe(n))n.forEach(s=>tc(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=ZA(t,e);Sg.test(n)?t.setProperty(To(s),n.replace(Sg,""),"important"):t[s]=n}}const $g=["Webkit","Moz","ms"],Nu={};function ZA(t,e){const n=Nu[e];if(n)return n;let s=Es(e);if(s!=="filter"&&s in t)return Nu[e]=s;s=Rc(s);for(let i=0;i<$g.length;i++){const o=$g[i]+s;if(o in t)return Nu[e]=o}return e}const Ag="http://www.w3.org/1999/xlink";function Cg(t,e,n,s,i,o=o$(e)){s&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(Ag,e.slice(6,e.length)):t.setAttributeNS(Ag,e,n):n==null||o&&!Pv(n)?t.removeAttribute(e):t.setAttribute(e,o?"":String(n))}function eC(t,e,n,s,i,o,r){if(e==="innerHTML"||e==="textContent"){s&&r(s,i,o),t[e]=n??"";return}const a=t.tagName;if(e==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?t.getAttribute("value")||"":t.value,u=n==null?"":String(n);(c!==u||!("_value"in t))&&(t.value=u),n==null&&t.removeAttribute(e),t._value=n;return}let l=!1;if(n===""||n==null){const c=typeof t[e];c==="boolean"?n=Pv(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{t[e]=n}catch{}l&&t.removeAttribute(e)}function zs(t,e,n,s){t.addEventListener(e,n,s)}function tC(t,e,n,s){t.removeEventListener(e,n,s)}const Eg=Symbol("_vei");function nC(t,e,n,s,i=null){const o=t[Eg]||(t[Eg]={}),r=o[e];if(s&&r)r.value=s;else{const[a,l]=sC(e);if(s){const c=o[e]=rC(s,i);zs(t,a,c,l)}else r&&(tC(t,a,r,l),o[e]=void 0)}}const Pg=/(?:Once|Passive|Capture)$/;function sC(t){let e;if(Pg.test(t)){e={};let s;for(;s=t.match(Pg);)t=t.slice(0,t.length-s[0].length),e[s[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):To(t.slice(2)),e]}let Fu=0;const iC=Promise.resolve(),oC=()=>Fu||(iC.then(()=>Fu=0),Fu=Date.now());function rC(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Jn(aC(s,n.value),e,5,[s])};return n.value=t,n.attached=oC(),n}function aC(t,e){if(Fe(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>i=>!i._stopped&&s&&s(i))}else return e}const Tg=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,lC=(t,e,n,s,i,o,r,a,l)=>{const c=i==="svg";e==="class"?GA(t,s,c):e==="style"?QA(t,n,s):Oc(e)?Ah(e)||nC(t,e,n,s,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):cC(t,e,s,c))?(eC(t,e,s,o,r,a,l),(e==="value"||e==="checked"||e==="selected")&&Cg(t,e,s,c,r,e!=="value")):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),Cg(t,e,s,c))};function cC(t,e,n,s){if(s)return!!(e==="innerHTML"||e==="textContent"||e in t&&Tg(e)&&Ye(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Tg(e)&&St(n)?!1:e in t}const Bb=new WeakMap,Vb=new WeakMap,pc=Symbol("_moveCb"),Mg=Symbol("_enterCb"),Hb={name:"TransitionGroup",props:Lt({},UA,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Xh(),s=xb();let i,o;return ob(()=>{if(!i.length)return;const r=t.moveClass||`${t.name||"v"}-move`;if(!pC(i[0].el,n.vnode.el,r))return;i.forEach(dC),i.forEach(hC);const a=i.filter(fC);Nb(),a.forEach(l=>{const c=l.el,u=c.style;Fs(c,r),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[pc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[pc]=null,hi(c,r))};c.addEventListener("transitionend",d)})}),()=>{const r=Ze(t),a=Rb(r);let l=r.tag||Te;if(i=[],o)for(let c=0;cdelete t.mode;Hb.props;const Bi=Hb;function dC(t){const e=t.el;e[pc]&&e[pc](),e[Mg]&&e[Mg]()}function hC(t){Vb.set(t,t.el.getBoundingClientRect())}function fC(t){const e=Bb.get(t),n=Vb.get(t),s=e.left-n.left,i=e.top-n.top;if(s||i){const o=t.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${i}px)`,o.transitionDuration="0s",t}}function pC(t,e,n){const s=t.cloneNode(),i=t[gr];i&&i.forEach(a=>{a.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&s.classList.add(a)),s.style.display="none";const o=e.nodeType===1?e:e.parentNode;o.appendChild(s);const{hasTransform:r}=Lb(s);return o.removeChild(s),r}const Di=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Fe(e)?n=>Gl(e,n):e};function gC(t){t.target.composing=!0}function Dg(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Xn=Symbol("_assign"),je={created(t,{modifiers:{lazy:e,trim:n,number:s}},i){t[Xn]=Di(i);const o=s||i.props&&i.props.type==="number";zs(t,e?"change":"input",r=>{if(r.target.composing)return;let a=t.value;n&&(a=a.trim()),o&&(a=ac(a)),t[Xn](a)}),n&&zs(t,"change",()=>{t.value=t.value.trim()}),e||(zs(t,"compositionstart",gC),zs(t,"compositionend",Dg),zs(t,"change",Dg))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:s,trim:i,number:o}},r){if(t[Xn]=Di(r),t.composing)return;const a=(o||t.type==="number")&&!/^0\d/.test(t.value)?ac(t.value):t.value,l=e??"";a!==l&&(document.activeElement===t&&t.type!=="range"&&(s&&e===n||i&&t.value.trim()===l)||(t.value=l))}},_n={deep:!0,created(t,e,n){t[Xn]=Di(n),zs(t,"change",()=>{const s=t._modelValue,i=mr(t),o=t.checked,r=t[Xn];if(Fe(s)){const a=Ph(s,i),l=a!==-1;if(o&&!l)r(s.concat(i));else if(!o&&l){const c=[...s];c.splice(a,1),r(c)}}else if(Or(s)){const a=new Set(s);o?a.add(i):a.delete(i),r(a)}else r(jb(t,o))})},mounted:Og,beforeUpdate(t,e,n){t[Xn]=Di(n),Og(t,e,n)}};function Og(t,{value:e,oldValue:n},s){t._modelValue=e,Fe(e)?t.checked=Ph(e,s.props.value)>-1:Or(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=Ao(e,jb(t,!0)))}const mC={created(t,{value:e},n){t.checked=Ao(e,n.props.value),t[Xn]=Di(n),zs(t,"change",()=>{t[Xn](mr(t))})},beforeUpdate(t,{value:e,oldValue:n},s){t[Xn]=Di(s),e!==n&&(t.checked=Ao(e,s.props.value))}},nc={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const i=Or(e);zs(t,"change",()=>{const o=Array.prototype.filter.call(t.options,r=>r.selected).map(r=>n?ac(mr(r)):mr(r));t[Xn](t.multiple?i?new Set(o):o:o[0]),t._assigning=!0,en(()=>{t._assigning=!1})}),t[Xn]=Di(s)},mounted(t,{value:e,modifiers:{number:n}}){Ig(t,e)},beforeUpdate(t,e,n){t[Xn]=Di(n)},updated(t,{value:e,modifiers:{number:n}}){t._assigning||Ig(t,e)}};function Ig(t,e,n){const s=t.multiple,i=Fe(e);if(!(s&&!i&&!Or(e))){for(let o=0,r=t.options.length;oString(u)===String(l)):a.selected=Ph(e,l)>-1}else a.selected=e.has(l);else if(Ao(mr(a),e)){t.selectedIndex!==o&&(t.selectedIndex=o);return}}!s&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function mr(t){return"_value"in t?t._value:t.value}function jb(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const _C={created(t,e,n){El(t,e,n,null,"created")},mounted(t,e,n){El(t,e,n,null,"mounted")},beforeUpdate(t,e,n,s){El(t,e,n,s,"beforeUpdate")},updated(t,e,n,s){El(t,e,n,s,"updated")}};function vC(t,e){switch(t){case"SELECT":return nc;case"TEXTAREA":return je;default:switch(e){case"checkbox":return _n;case"radio":return mC;default:return je}}}function El(t,e,n,s,i){const r=vC(t.tagName,n.props&&n.props.type)[i];r&&r(t,e,n,s)}const bC=["ctrl","shift","alt","meta"],yC={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>bC.some(n=>t[`${n}Key`]&&!e.includes(n))},Oa=(t,e)=>{const n=t._withMods||(t._withMods={}),s=e.join(".");return n[s]||(n[s]=(i,...o)=>{for(let r=0;r{const n=t._withKeys||(t._withKeys={}),s=e.join(".");return n[s]||(n[s]=i=>{if(!("key"in i))return;const o=To(i.key);if(e.some(r=>r===o||wC[r]===o))return t(i)})},kC=Lt({patchProp:lC},YA);let Rg;function Wb(){return Rg||(Rg=_A(kC))}const Lg=(...t)=>{Wb().render(...t)},SC=(...t)=>{const e=Wb().createApp(...t),{mount:n}=e;return e.mount=s=>{const i=AC(s);if(!i)return;const o=e._component;!Ye(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const r=n(i,!1,$C(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},e};function $C(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function AC(t){return St(t)?document.querySelector(t):t}var CC=!1;/*! +**/const WA="http://www.w3.org/2000/svg",zA="http://www.w3.org/1998/Math/MathML",Hs=typeof document<"u"?document:null,bg=Hs&&Hs.createElement("template"),KA={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const i=e==="svg"?Hs.createElementNS(WA,t):e==="mathml"?Hs.createElementNS(zA,t):n?Hs.createElement(t,{is:n}):Hs.createElement(t);return t==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:t=>Hs.createTextNode(t),createComment:t=>Hs.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Hs.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,i,o){const r=n?n.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{bg.innerHTML=s==="svg"?`${t}`:s==="mathml"?`${t}`:t;const a=bg.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[r?r.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},ri="transition",Wr="animation",fr=Symbol("_vtc"),Et=(t,{slots:e})=>$o(TA,Lv(t),e);Et.displayName="Transition";const Iv={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},YA=Et.props=Ft({},kv,Iv),to=(t,e=[])=>{Fe(t)?t.forEach(n=>n(...e)):t&&t(...e)},vg=t=>t?Fe(t)?t.some(e=>e.length>1):t.length>1:!1;function Lv(t){const e={};for(const X in t)X in Iv||(e[X]=t[X]);if(t.css===!1)return e;const{name:n="v",type:s,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=r,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=t,_=UA(i),m=_&&_[0],y=_&&_[1],{onBeforeEnter:v,onEnter:$,onEnterCancelled:A,onLeave:D,onLeaveCancelled:x,onBeforeAppear:w=v,onAppear:S=$,onAppearCancelled:T=A}=e,M=(X,le,Y)=>{ui(X,le?u:a),ui(X,le?c:r),Y&&Y()},E=(X,le)=>{X._isLeaving=!1,ui(X,d),ui(X,g),ui(X,f),le&&le()},V=X=>(le,Y)=>{const R=X?S:$,I=()=>M(le,X,Y);to(R,[le,I]),yg(()=>{ui(le,X?l:o),Fs(le,X?u:a),vg(R)||wg(le,s,m,I)})};return Ft(e,{onBeforeEnter(X){to(v,[X]),Fs(X,o),Fs(X,r)},onBeforeAppear(X){to(w,[X]),Fs(X,l),Fs(X,c)},onEnter:V(!1),onAppear:V(!0),onLeave(X,le){X._isLeaving=!0;const Y=()=>E(X,le);Fs(X,d),Fs(X,f),Nv(),yg(()=>{X._isLeaving&&(ui(X,d),Fs(X,g),vg(D)||wg(X,s,y,Y))}),to(D,[X,Y])},onEnterCancelled(X){M(X,!1),to(A,[X])},onAppearCancelled(X){M(X,!0),to(T,[X])},onLeaveCancelled(X){E(X),to(x,[X])}})}function UA(t){if(t==null)return null;if(ft(t))return[Ru(t.enter),Ru(t.leave)];{const e=Ru(t);return[e,e]}}function Ru(t){return Cb(t)}function Fs(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[fr]||(t[fr]=new Set)).add(e)}function ui(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const n=t[fr];n&&(n.delete(e),n.size||(t[fr]=void 0))}function yg(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let qA=0;function wg(t,e,n,s){const i=t._endId=++qA,o=()=>{i===t._endId&&s()};if(n)return setTimeout(o,n);const{type:r,timeout:a,propCount:l}=Rv(t,e);if(!r)return s();const c=r+"end";let u=0;const d=()=>{t.removeEventListener(c,f),o()},f=g=>{g.target===t&&++u>=l&&d()};setTimeout(()=>{u(n[_]||"").split(", "),i=s(`${ri}Delay`),o=s(`${ri}Duration`),r=xg(i,o),a=s(`${Wr}Delay`),l=s(`${Wr}Duration`),c=xg(a,l);let u=null,d=0,f=0;e===ri?r>0&&(u=ri,d=r,f=o.length):e===Wr?c>0&&(u=Wr,d=c,f=l.length):(d=Math.max(r,c),u=d>0?r>c?ri:Wr:null,f=u?u===ri?o.length:l.length:0);const g=u===ri&&/\b(transform|all)(,|$)/.test(s(`${ri}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:g}}function xg(t,e){for(;t.lengthkg(n)+kg(t[s])))}function kg(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Nv(){return document.body.offsetHeight}function GA(t,e,n){const s=t[fr];s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const cc=Symbol("_vod"),Fv=Symbol("_vsh"),Jl={beforeMount(t,{value:e},{transition:n}){t[cc]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):zr(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),zr(t,!0),s.enter(t)):s.leave(t,()=>{zr(t,!1)}):zr(t,e))},beforeUnmount(t,{value:e}){zr(t,e)}};function zr(t,e){t.style.display=e?t[cc]:"none",t[Fv]=!e}const JA=Symbol(""),XA=/(^|;)\s*display\s*:/;function QA(t,e,n){const s=t.style,i=At(n);let o=!1;if(n&&!i){if(e)if(At(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();n[a]==null&&Xl(s,a,"")}else for(const r in e)n[r]==null&&Xl(s,r,"");for(const r in n)r==="display"&&(o=!0),Xl(s,r,n[r])}else if(i){if(e!==n){const r=s[JA];r&&(n+=";"+r),s.cssText=n,o=XA.test(n)}}else e&&t.removeAttribute("style");cc in t&&(t[cc]=o?s.display:"",t[Fv]&&(s.display="none"))}const Sg=/\s*!important$/;function Xl(t,e,n){if(Fe(n))n.forEach(s=>Xl(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=ZA(t,e);Sg.test(n)?t.setProperty(Eo(s),n.replace(Sg,""),"important"):t[s]=n}}const $g=["Webkit","Moz","ms"],Nu={};function ZA(t,e){const n=Nu[e];if(n)return n;let s=Cs(e);if(s!=="filter"&&s in t)return Nu[e]=s;s=Mc(s);for(let i=0;i<$g.length;i++){const o=$g[i]+s;if(o in t)return Nu[e]=o}return e}const Ag="http://www.w3.org/1999/xlink";function Cg(t,e,n,s,i,o=r$(e)){s&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(Ag,e.slice(6,e.length)):t.setAttributeNS(Ag,e,n):n==null||o&&!Tb(n)?t.removeAttribute(e):t.setAttribute(e,o?"":String(n))}function eC(t,e,n,s,i,o,r){if(e==="innerHTML"||e==="textContent"){s&&r(s,i,o),t[e]=n??"";return}const a=t.tagName;if(e==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?t.getAttribute("value")||"":t.value,u=n==null?"":String(n);(c!==u||!("_value"in t))&&(t.value=u),n==null&&t.removeAttribute(e),t._value=n;return}let l=!1;if(n===""||n==null){const c=typeof t[e];c==="boolean"?n=Tb(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{t[e]=n}catch{}l&&t.removeAttribute(e)}function zs(t,e,n,s){t.addEventListener(e,n,s)}function tC(t,e,n,s){t.removeEventListener(e,n,s)}const Eg=Symbol("_vei");function nC(t,e,n,s,i=null){const o=t[Eg]||(t[Eg]={}),r=o[e];if(s&&r)r.value=s;else{const[a,l]=sC(e);if(s){const c=o[e]=rC(s,i);zs(t,a,c,l)}else r&&(tC(t,a,r,l),o[e]=void 0)}}const Tg=/(?:Once|Passive|Capture)$/;function sC(t){let e;if(Tg.test(t)){e={};let s;for(;s=t.match(Tg);)t=t.slice(0,t.length-s[0].length),e[s[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Eo(t.slice(2)),e]}let Fu=0;const iC=Promise.resolve(),oC=()=>Fu||(iC.then(()=>Fu=0),Fu=Date.now());function rC(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Jn(aC(s,n.value),e,5,[s])};return n.value=t,n.attached=oC(),n}function aC(t,e){if(Fe(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>i=>!i._stopped&&s&&s(i))}else return e}const Pg=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,lC=(t,e,n,s,i,o,r,a,l)=>{const c=i==="svg";e==="class"?GA(t,s,c):e==="style"?QA(t,n,s):Tc(e)?Ah(e)||nC(t,e,n,s,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):cC(t,e,s,c))?(eC(t,e,s,o,r,a,l),(e==="value"||e==="checked"||e==="selected")&&Cg(t,e,s,c,r,e!=="value")):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),Cg(t,e,s,c))};function cC(t,e,n,s){if(s)return!!(e==="innerHTML"||e==="textContent"||e in t&&Pg(e)&&Ye(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Pg(e)&&At(n)?!1:e in t}const Bv=new WeakMap,Vv=new WeakMap,uc=Symbol("_moveCb"),Mg=Symbol("_enterCb"),Hv={name:"TransitionGroup",props:Ft({},YA,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Xh(),s=xv();let i,o;return ov(()=>{if(!i.length)return;const r=t.moveClass||`${t.name||"v"}-move`;if(!pC(i[0].el,n.vnode.el,r))return;i.forEach(dC),i.forEach(hC);const a=i.filter(fC);Nv(),a.forEach(l=>{const c=l.el,u=c.style;Fs(c,r),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[uc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[uc]=null,ui(c,r))};c.addEventListener("transitionend",d)})}),()=>{const r=et(t),a=Lv(r);let l=r.tag||Me;if(i=[],o)for(let c=0;cdelete t.mode;Hv.props;const Ni=Hv;function dC(t){const e=t.el;e[uc]&&e[uc](),e[Mg]&&e[Mg]()}function hC(t){Vv.set(t,t.el.getBoundingClientRect())}function fC(t){const e=Bv.get(t),n=Vv.get(t),s=e.left-n.left,i=e.top-n.top;if(s||i){const o=t.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${i}px)`,o.transitionDuration="0s",t}}function pC(t,e,n){const s=t.cloneNode(),i=t[fr];i&&i.forEach(a=>{a.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&s.classList.add(a)),s.style.display="none";const o=e.nodeType===1?e:e.parentNode;o.appendChild(s);const{hasTransform:r}=Rv(s);return o.removeChild(s),r}const Pi=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Fe(e)?n=>Yl(e,n):e};function gC(t){t.target.composing=!0}function Dg(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Xn=Symbol("_assign"),We={created(t,{modifiers:{lazy:e,trim:n,number:s}},i){t[Xn]=Pi(i);const o=s||i.props&&i.props.type==="number";zs(t,e?"change":"input",r=>{if(r.target.composing)return;let a=t.value;n&&(a=a.trim()),o&&(a=sc(a)),t[Xn](a)}),n&&zs(t,"change",()=>{t.value=t.value.trim()}),e||(zs(t,"compositionstart",gC),zs(t,"compositionend",Dg),zs(t,"change",Dg))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:s,trim:i,number:o}},r){if(t[Xn]=Pi(r),t.composing)return;const a=(o||t.type==="number")&&!/^0\d/.test(t.value)?sc(t.value):t.value,l=e??"";a!==l&&(document.activeElement===t&&t.type!=="range"&&(s&&e===n||i&&t.value.trim()===l)||(t.value=l))}},_n={deep:!0,created(t,e,n){t[Xn]=Pi(n),zs(t,"change",()=>{const s=t._modelValue,i=pr(t),o=t.checked,r=t[Xn];if(Fe(s)){const a=Th(s,i),l=a!==-1;if(o&&!l)r(s.concat(i));else if(!o&&l){const c=[...s];c.splice(a,1),r(c)}}else if(Mr(s)){const a=new Set(s);o?a.add(i):a.delete(i),r(a)}else r(jv(t,o))})},mounted:Og,beforeUpdate(t,e,n){t[Xn]=Pi(n),Og(t,e,n)}};function Og(t,{value:e,oldValue:n},s){t._modelValue=e,Fe(e)?t.checked=Th(e,s.props.value)>-1:Mr(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=So(e,jv(t,!0)))}const mC={created(t,{value:e},n){t.checked=So(e,n.props.value),t[Xn]=Pi(n),zs(t,"change",()=>{t[Xn](pr(t))})},beforeUpdate(t,{value:e,oldValue:n},s){t[Xn]=Pi(s),e!==n&&(t.checked=So(e,s.props.value))}},Ql={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const i=Mr(e);zs(t,"change",()=>{const o=Array.prototype.filter.call(t.options,r=>r.selected).map(r=>n?sc(pr(r)):pr(r));t[Xn](t.multiple?i?new Set(o):o:o[0]),t._assigning=!0,nn(()=>{t._assigning=!1})}),t[Xn]=Pi(s)},mounted(t,{value:e,modifiers:{number:n}}){Ig(t,e)},beforeUpdate(t,e,n){t[Xn]=Pi(n)},updated(t,{value:e,modifiers:{number:n}}){t._assigning||Ig(t,e)}};function Ig(t,e,n){const s=t.multiple,i=Fe(e);if(!(s&&!i&&!Mr(e))){for(let o=0,r=t.options.length;oString(u)===String(l)):a.selected=Th(e,l)>-1}else a.selected=e.has(l);else if(So(pr(a),e)){t.selectedIndex!==o&&(t.selectedIndex=o);return}}!s&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function pr(t){return"_value"in t?t._value:t.value}function jv(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const Wv={created(t,e,n){$l(t,e,n,null,"created")},mounted(t,e,n){$l(t,e,n,null,"mounted")},beforeUpdate(t,e,n,s){$l(t,e,n,s,"beforeUpdate")},updated(t,e,n,s){$l(t,e,n,s,"updated")}};function _C(t,e){switch(t){case"SELECT":return Ql;case"TEXTAREA":return We;default:switch(e){case"checkbox":return _n;case"radio":return mC;default:return We}}}function $l(t,e,n,s,i){const r=_C(t.tagName,n.props&&n.props.type)[i];r&&r(t,e,n,s)}const bC=["ctrl","shift","alt","meta"],vC={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>bC.some(n=>t[`${n}Key`]&&!e.includes(n))},Ma=(t,e)=>{const n=t._withMods||(t._withMods={}),s=e.join(".");return n[s]||(n[s]=(i,...o)=>{for(let r=0;r{const n=t._withKeys||(t._withKeys={}),s=e.join(".");return n[s]||(n[s]=i=>{if(!("key"in i))return;const o=Eo(i.key);if(e.some(r=>r===o||yC[r]===o))return t(i)})},xC=Ft({patchProp:lC},KA);let Lg;function zv(){return Lg||(Lg=bA(xC))}const Rg=(...t)=>{zv().render(...t)},kC=(...t)=>{const e=zv().createApp(...t),{mount:n}=e;return e.mount=s=>{const i=$C(s);if(!i)return;const o=e._component;!Ye(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const r=n(i,!1,SC(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},e};function SC(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function $C(t){return At(t)?document.querySelector(t):t}var AC=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let zb;const Kc=t=>zb=t,Yb=Symbol();function Ld(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var ga;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(ga||(ga={}));function EC(){const t=Dv(!0),e=t.run(()=>ve({}));let n=[],s=[];const i=Bc({install(o){Kc(i),i._a=o,o.provide(Yb,i),o.config.globalProperties.$pinia=i,s.forEach(r=>n.push(r)),s=[]},use(o){return!this._a&&!CC?s.push(o):n.push(o),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return i}const Ub=()=>{};function Ng(t,e,n,s=Ub){t.push(e);const i=()=>{const o=t.indexOf(e);o>-1&&(t.splice(o,1),s())};return!n&&Lc()&&Th(i),i}function Uo(t,...e){t.slice().forEach(n=>{n(...e)})}const PC=t=>t();function Nd(t,e){t instanceof Map&&e instanceof Map&&e.forEach((n,s)=>t.set(s,n)),t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const s=e[n],i=t[n];Ld(i)&&Ld(s)&&t.hasOwnProperty(n)&&!Pt(s)&&!bo(s)?t[n]=Nd(i,s):t[n]=s}return t}const TC=Symbol();function MC(t){return!Ld(t)||!t.hasOwnProperty(TC)}const{assign:fi}=Object;function DC(t){return!!(Pt(t)&&t.effect)}function OC(t,e,n,s){const{state:i,actions:o,getters:r}=e,a=n.state.value[t];let l;function c(){a||(n.state.value[t]=i?i():{});const u=M$(n.state.value[t]);return fi(u,o,Object.keys(r||{}).reduce((d,f)=>(d[f]=Bc(_e(()=>{Kc(n);const g=n._s.get(t);return r[f].call(g,g)})),d),{}))}return l=Kb(t,c,e,n,s,!0),l}function Kb(t,e,n={},s,i,o){let r;const a=fi({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],g;const _=s.state.value[t];!o&&!_&&(s.state.value[t]={}),ve({});let m;function b(E){let T;c=u=!1,typeof E=="function"?(E(s.state.value[t]),T={type:ga.patchFunction,storeId:t,events:g}):(Nd(s.state.value[t],E),T={type:ga.patchObject,payload:E,storeId:t,events:g});const C=m=Symbol();en().then(()=>{m===C&&(c=!0)}),u=!0,Uo(d,T,s.state.value[t])}const w=o?function(){const{state:T}=n,C=T?T():{};this.$patch(B=>{fi(B,C)})}:Ub;function $(){r.stop(),d=[],f=[],s._s.delete(t)}function A(E,T){return function(){Kc(s);const C=Array.from(arguments),B=[],J=[];function ae(I){B.push(I)}function Y(I){J.push(I)}Uo(f,{args:C,name:E,store:x,after:ae,onError:Y});let L;try{L=T.apply(this&&this.$id===t?this:x,C)}catch(I){throw Uo(J,I),I}return L instanceof Promise?L.then(I=>(Uo(B,I),I)).catch(I=>(Uo(J,I),Promise.reject(I))):(Uo(B,L),L)}}const D={_p:s,$id:t,$onAction:Ng.bind(null,f),$patch:b,$reset:w,$subscribe(E,T={}){const C=Ng(d,E,T.detached,()=>B()),B=r.run(()=>Bt(()=>s.state.value[t],J=>{(T.flush==="sync"?u:c)&&E({storeId:t,type:ga.direct,events:g},J)},fi({},l,T)));return C},$dispose:$},x=Ts(D);s._s.set(t,x);const S=(s._a&&s._a.runWithContext||PC)(()=>s._e.run(()=>(r=Dv()).run(e)));for(const E in S){const T=S[E];if(Pt(T)&&!DC(T)||bo(T))o||(_&&MC(T)&&(Pt(T)?T.value=_[E]:Nd(T,_[E])),s.state.value[t][E]=T);else if(typeof T=="function"){const C=A(E,T);S[E]=C,a.actions[E]=T}}return fi(x,S),fi(Ze(x),S),Object.defineProperty(x,"$state",{get:()=>s.state.value[t],set:E=>{b(T=>{fi(T,E)})}}),s._p.forEach(E=>{fi(x,r.run(()=>E({store:x,app:s._a,pinia:s,options:a})))}),_&&o&&n.hydrate&&n.hydrate(x.$state,_),c=!0,u=!0,x}function Qh(t,e,n){let s,i;const o=typeof e=="function";typeof t=="string"?(s=t,i=o?n:e):(i=t,s=t.id);function r(a,l){const c=dA();return a=a||(c?as(Yb,null):null),a&&Kc(a),a=zb,a._s.has(s)||(o?Kb(s,e,i,a):OC(s,i,a)),a._s.get(s)}return r.$id=s,r}/*! + */let Kv;const Wc=t=>Kv=t,Yv=Symbol();function Rd(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var fa;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(fa||(fa={}));function CC(){const t=Db(!0),e=t.run(()=>be({}));let n=[],s=[];const i=Lc({install(o){Wc(i),i._a=o,o.provide(Yv,i),o.config.globalProperties.$pinia=i,s.forEach(r=>n.push(r)),s=[]},use(o){return!this._a&&!AC?s.push(o):n.push(o),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return i}const Uv=()=>{};function Ng(t,e,n,s=Uv){t.push(e);const i=()=>{const o=t.indexOf(e);o>-1&&(t.splice(o,1),s())};return!n&&Dc()&&Ph(i),i}function zo(t,...e){t.slice().forEach(n=>{n(...e)})}const EC=t=>t();function Nd(t,e){t instanceof Map&&e instanceof Map&&e.forEach((n,s)=>t.set(s,n)),t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const s=e[n],i=t[n];Rd(i)&&Rd(s)&&t.hasOwnProperty(n)&&!Mt(s)&&!_o(s)?t[n]=Nd(i,s):t[n]=s}return t}const TC=Symbol();function PC(t){return!Rd(t)||!t.hasOwnProperty(TC)}const{assign:di}=Object;function MC(t){return!!(Mt(t)&&t.effect)}function DC(t,e,n,s){const{state:i,actions:o,getters:r}=e,a=n.state.value[t];let l;function c(){a||(n.state.value[t]=i?i():{});const u=D$(n.state.value[t]);return di(u,o,Object.keys(r||{}).reduce((d,f)=>(d[f]=Lc(_e(()=>{Wc(n);const g=n._s.get(t);return r[f].call(g,g)})),d),{}))}return l=qv(t,c,e,n,s,!0),l}function qv(t,e,n={},s,i,o){let r;const a=di({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],g;const _=s.state.value[t];!o&&!_&&(s.state.value[t]={}),be({});let m;function y(T){let M;c=u=!1,typeof T=="function"?(T(s.state.value[t]),M={type:fa.patchFunction,storeId:t,events:g}):(Nd(s.state.value[t],T),M={type:fa.patchObject,payload:T,storeId:t,events:g});const E=m=Symbol();nn().then(()=>{m===E&&(c=!0)}),u=!0,zo(d,M,s.state.value[t])}const v=o?function(){const{state:M}=n,E=M?M():{};this.$patch(V=>{di(V,E)})}:Uv;function $(){r.stop(),d=[],f=[],s._s.delete(t)}function A(T,M){return function(){Wc(s);const E=Array.from(arguments),V=[],X=[];function le(I){V.push(I)}function Y(I){X.push(I)}zo(f,{args:E,name:T,store:x,after:le,onError:Y});let R;try{R=M.apply(this&&this.$id===t?this:x,E)}catch(I){throw zo(X,I),I}return R instanceof Promise?R.then(I=>(zo(V,I),I)).catch(I=>(zo(X,I),Promise.reject(I))):(zo(V,R),R)}}const D={_p:s,$id:t,$onAction:Ng.bind(null,f),$patch:y,$reset:v,$subscribe(T,M={}){const E=Ng(d,T,M.detached,()=>V()),V=r.run(()=>Ht(()=>s.state.value[t],X=>{(M.flush==="sync"?u:c)&&T({storeId:t,type:fa.direct,events:g},X)},di({},l,M)));return E},$dispose:$},x=Ts(D);s._s.set(t,x);const S=(s._a&&s._a.runWithContext||EC)(()=>s._e.run(()=>(r=Db()).run(e)));for(const T in S){const M=S[T];if(Mt(M)&&!MC(M)||_o(M))o||(_&&PC(M)&&(Mt(M)?M.value=_[T]:Nd(M,_[T])),s.state.value[t][T]=M);else if(typeof M=="function"){const E=A(T,M);S[T]=E,a.actions[T]=M}}return di(x,S),di(et(x),S),Object.defineProperty(x,"$state",{get:()=>s.state.value[t],set:T=>{y(M=>{di(M,T)})}}),s._p.forEach(T=>{di(x,r.run(()=>T({store:x,app:s._a,pinia:s,options:a})))}),_&&o&&n.hydrate&&n.hydrate(x.$state,_),c=!0,u=!0,x}function Qh(t,e,n){let s,i;const o=typeof e=="function";typeof t=="string"?(s=t,i=o?n:e):(i=t,s=t.id);function r(a,l){const c=hA();return a=a||(c?as(Yv,null):null),a&&Wc(a),a=Kv,a._s.has(s)||(o?qv(s,e,i,a):DC(s,i,a)),a._s.get(s)}return r.$id=s,r}/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const Zo=typeof window<"u";function IC(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const lt=Object.assign;function Bu(t,e){const n={};for(const s in e){const i=e[s];n[s]=cs(i)?i.map(t):t(i)}return n}const ma=()=>{},cs=Array.isArray,RC=/\/$/,LC=t=>t.replace(RC,"");function Vu(t,e,n="/"){let s,i={},o="",r="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(s=e.slice(0,l),o=e.slice(l+1,a>-1?a:e.length),i=t(o)),a>-1&&(s=s||e.slice(0,a),r=e.slice(a,e.length)),s=VC(s??e,n),{fullPath:s+(o&&"?")+o+r,path:s,query:i,hash:r}}function NC(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Fg(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function FC(t,e,n){const s=e.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&_r(e.matched[s],n.matched[i])&&qb(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function _r(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function qb(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!BC(t[n],e[n]))return!1;return!0}function BC(t,e){return cs(t)?Bg(t,e):cs(e)?Bg(e,t):t===e}function Bg(t,e){return cs(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function VC(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/"),i=s[s.length-1];(i===".."||i===".")&&s.push("");let o=n.length-1,r,a;for(r=0;r1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var Ia;(function(t){t.pop="pop",t.push="push"})(Ia||(Ia={}));var _a;(function(t){t.back="back",t.forward="forward",t.unknown=""})(_a||(_a={}));function HC(t){if(!t)if(Zo){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),LC(t)}const jC=/^[^#]+#/;function WC(t,e){return t.replace(jC,"#")+e}function zC(t,e){const n=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:e.behavior,left:s.left-n.left-(e.left||0),top:s.top-n.top-(e.top||0)}}const qc=()=>({left:window.pageXOffset,top:window.pageYOffset});function YC(t){let e;if("el"in t){const n=t.el,s=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=zC(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function Vg(t,e){return(history.state?history.state.position-e:-1)+t}const Fd=new Map;function UC(t,e){Fd.set(t,e)}function KC(t){const e=Fd.get(t);return Fd.delete(t),e}let qC=()=>location.protocol+"//"+location.host;function Gb(t,e){const{pathname:n,search:s,hash:i}=e,o=t.indexOf("#");if(o>-1){let a=i.includes(t.slice(o))?t.slice(o).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),Fg(l,"")}return Fg(n,t)+s+i}function GC(t,e,n,s){let i=[],o=[],r=null;const a=({state:f})=>{const g=Gb(t,location),_=n.value,m=e.value;let b=0;if(f){if(n.value=g,e.value=f,r&&r===_){r=null;return}b=m?f.position-m.position:0}else s(g);i.forEach(w=>{w(n.value,_,{delta:b,type:Ia.pop,direction:b?b>0?_a.forward:_a.back:_a.unknown})})};function l(){r=n.value}function c(f){i.push(f);const g=()=>{const _=i.indexOf(f);_>-1&&i.splice(_,1)};return o.push(g),g}function u(){const{history:f}=window;f.state&&f.replaceState(lt({},f.state,{scroll:qc()}),"")}function d(){for(const f of o)f();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Hg(t,e,n,s=!1,i=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:i?qc():null}}function JC(t){const{history:e,location:n}=window,s={value:Gb(t,n)},i={value:e.state};i.value||o(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const d=t.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?t:t.slice(d))+l:qC()+t+l;try{e[u?"replaceState":"pushState"](c,"",f),i.value=c}catch(g){console.error(g),n[u?"replace":"assign"](f)}}function r(l,c){const u=lt({},e.state,Hg(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});o(l,u,!0),s.value=l}function a(l,c){const u=lt({},i.value,e.state,{forward:l,scroll:qc()});o(u.current,u,!0);const d=lt({},Hg(s.value,l,null),{position:u.position+1},c);o(l,d,!1),s.value=l}return{location:s,state:i,push:a,replace:r}}function XC(t){t=HC(t);const e=JC(t),n=GC(t,e.state,e.location,e.replace);function s(o,r=!0){r||n.pauseListeners(),history.go(o)}const i=lt({location:"",base:t,go:s,createHref:WC.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function QC(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),XC(t)}function ZC(t){return typeof t=="string"||t&&typeof t=="object"}function Jb(t){return typeof t=="string"||typeof t=="symbol"}const ci={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Xb=Symbol("");var jg;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(jg||(jg={}));function vr(t,e){return lt(new Error,{type:t,[Xb]:!0},e)}function Ls(t,e){return t instanceof Error&&Xb in t&&(e==null||!!(t.type&e))}const Wg="[^/]+?",eE={sensitive:!1,strict:!1,start:!0,end:!0},tE=/[.+*?^${}()[\]/\\]/g;function nE(t,e){const n=lt({},eE,e),s=[];let i=n.start?"^":"";const o=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let d=0;de.length?e.length===1&&e[0]===80?1:-1:0}function iE(t,e){let n=0;const s=t.score,i=e.score;for(;n0&&e[e.length-1]<0}const oE={type:0,value:""},rE=/[a-zA-Z0-9_]/;function aE(t){if(!t)return[[]];if(t==="/")return[[oE]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,s=n;const i=[];let o;function r(){o&&i.push(o),o=[]}let a=0,l,c="",u="";function d(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a{r($)}:ma}function r(u){if(Jb(u)){const d=s.get(u);d&&(s.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(r),d.alias.forEach(r))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&s.delete(u.record.name),u.children.forEach(r),u.alias.forEach(r))}}function a(){return n}function l(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!Qb(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Ug(u)&&s.set(u.record.name,u)}function c(u,d){let f,g={},_,m;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw vr(1,{location:u});m=f.record.name,g=lt(Yg(d.params,f.keys.filter($=>!$.optional).map($=>$.name)),u.params&&Yg(u.params,f.keys.map($=>$.name))),_=f.stringify(g)}else if("path"in u)_=u.path,f=n.find($=>$.re.test(_)),f&&(g=f.parse(_),m=f.record.name);else{if(f=d.name?s.get(d.name):n.find($=>$.re.test(d.path)),!f)throw vr(1,{location:u,currentLocation:d});m=f.record.name,g=lt({},d.params,u.params),_=f.stringify(g)}const b=[];let w=f;for(;w;)b.unshift(w.record),w=w.parent;return{name:m,path:_,params:g,matched:b,meta:hE(b)}}return t.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:r,getRoutes:a,getRecordMatcher:i}}function Yg(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function uE(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:dE(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function dE(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="object"?n[s]:n;return e}function Ug(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function hE(t){return t.reduce((e,n)=>lt(e,n.meta),{})}function Kg(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function Qb(t,e){return e.children.some(n=>n===t||Qb(t,n))}const Zb=/#/g,fE=/&/g,pE=/\//g,gE=/=/g,mE=/\?/g,ey=/\+/g,_E=/%5B/g,vE=/%5D/g,ty=/%5E/g,bE=/%60/g,ny=/%7B/g,yE=/%7C/g,sy=/%7D/g,wE=/%20/g;function Zh(t){return encodeURI(""+t).replace(yE,"|").replace(_E,"[").replace(vE,"]")}function xE(t){return Zh(t).replace(ny,"{").replace(sy,"}").replace(ty,"^")}function Bd(t){return Zh(t).replace(ey,"%2B").replace(wE,"+").replace(Zb,"%23").replace(fE,"%26").replace(bE,"`").replace(ny,"{").replace(sy,"}").replace(ty,"^")}function kE(t){return Bd(t).replace(gE,"%3D")}function SE(t){return Zh(t).replace(Zb,"%23").replace(mE,"%3F")}function $E(t){return t==null?"":SE(t).replace(pE,"%2F")}function gc(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function AE(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;io&&Bd(o)):[s&&Bd(s)]).forEach(o=>{o!==void 0&&(e+=(e.length?"&":"")+n,o!=null&&(e+="="+o))})}return e}function CE(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=cs(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return e}const EE=Symbol(""),Gg=Symbol(""),ef=Symbol(""),tf=Symbol(""),Vd=Symbol("");function Kr(){let t=[];function e(s){return t.push(s),()=>{const i=t.indexOf(s);i>-1&&t.splice(i,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function _i(t,e,n,s,i){const o=s&&(s.enterCallbacks[i]=s.enterCallbacks[i]||[]);return()=>new Promise((r,a)=>{const l=d=>{d===!1?a(vr(4,{from:n,to:e})):d instanceof Error?a(d):ZC(d)?a(vr(2,{from:e,to:d})):(o&&s.enterCallbacks[i]===o&&typeof d=="function"&&o.push(d),r())},c=t.call(s&&s.instances[i],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(d=>a(d))})}function Hu(t,e,n,s){const i=[];for(const o of t)for(const r in o.components){let a=o.components[r];if(!(e!=="beforeRouteEnter"&&!o.instances[r]))if(PE(a)){const c=(a.__vccOpts||a)[e];c&&i.push(_i(c,n,s,o,r))}else{let l=a();i.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${r}" at "${o.path}"`));const u=IC(c)?c.default:c;o.components[r]=u;const f=(u.__vccOpts||u)[e];return f&&_i(f,n,s,o,r)()}))}}return i}function PE(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Jg(t){const e=as(ef),n=as(tf),s=_e(()=>e.resolve(q(t.to))),i=_e(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(_r.bind(null,u));if(f>-1)return f;const g=Xg(l[c-2]);return c>1&&Xg(u)===g&&d[d.length-1].path!==g?d.findIndex(_r.bind(null,l[c-2])):f}),o=_e(()=>i.value>-1&&OE(n.params,s.value.params)),r=_e(()=>i.value>-1&&i.value===n.matched.length-1&&qb(n.params,s.value.params));function a(l={}){return DE(l)?e[q(t.replace)?"replace":"push"](q(t.to)).catch(ma):Promise.resolve()}return{route:s,href:_e(()=>s.value.href),isActive:o,isExactActive:r,navigate:a}}const TE=Nt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Jg,setup(t,{slots:e}){const n=Ts(Jg(t)),{options:s}=as(ef),i=_e(()=>({[Qg(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Qg(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=e.default&&e.default(n);return t.custom?o:Co("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),ME=TE;function DE(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function OE(t,e){for(const n in e){const s=e[n],i=t[n];if(typeof s=="string"){if(s!==i)return!1}else if(!cs(i)||i.length!==s.length||s.some((o,r)=>o!==i[r]))return!1}return!0}function Xg(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Qg=(t,e,n)=>t??e??n,IE=Nt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=as(Vd),i=_e(()=>t.route||s.value),o=as(Gg,0),r=_e(()=>{let c=q(o);const{matched:u}=i.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=_e(()=>i.value.matched[r.value]);Xl(Gg,_e(()=>r.value+1)),Xl(EE,a),Xl(Vd,i);const l=ve();return Bt(()=>[l.value,a.value,t.name],([c,u,d],[f,g,_])=>{u&&(u.instances[d]=c,g&&g!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!_r(u,g)||!f)&&(u.enterCallbacks[d]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=i.value,u=t.name,d=a.value,f=d&&d.components[u];if(!f)return Zg(n.default,{Component:f,route:c});const g=d.props[u],_=g?g===!0?c.params:typeof g=="function"?g(c):g:null,b=Co(f,lt({},_,e,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Zg(n.default,{Component:b,route:c})||b}}});function Zg(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const iy=IE;function RE(t){const e=cE(t.routes,t),n=t.parseQuery||AE,s=t.stringifyQuery||qg,i=t.history,o=Kr(),r=Kr(),a=Kr(),l=Fh(ci);let c=ci;Zo&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Bu.bind(null,P=>""+P),d=Bu.bind(null,$E),f=Bu.bind(null,gc);function g(P,se){let ue,xe;return Jb(P)?(ue=e.getRecordMatcher(P),xe=se):xe=P,e.addRoute(xe,ue)}function _(P){const se=e.getRecordMatcher(P);se&&e.removeRoute(se)}function m(){return e.getRoutes().map(P=>P.record)}function b(P){return!!e.getRecordMatcher(P)}function w(P,se){if(se=lt({},se||l.value),typeof P=="string"){const O=Vu(n,P,se.path),H=e.resolve({path:O.path},se),W=i.createHref(O.fullPath);return lt(O,H,{params:f(H.params),hash:gc(O.hash),redirectedFrom:void 0,href:W})}let ue;if("path"in P)ue=lt({},P,{path:Vu(n,P.path,se.path).path});else{const O=lt({},P.params);for(const H in O)O[H]==null&&delete O[H];ue=lt({},P,{params:d(O)}),se.params=d(se.params)}const xe=e.resolve(ue,se),N=P.hash||"";xe.params=u(f(xe.params));const he=NC(s,lt({},P,{hash:xE(N),path:xe.path})),v=i.createHref(he);return lt({fullPath:he,hash:N,query:s===qg?CE(P.query):P.query||{}},xe,{redirectedFrom:void 0,href:v})}function $(P){return typeof P=="string"?Vu(n,P,l.value.path):lt({},P)}function A(P,se){if(c!==P)return vr(8,{from:se,to:P})}function D(P){return S(P)}function x(P){return D(lt($(P),{replace:!0}))}function y(P){const se=P.matched[P.matched.length-1];if(se&&se.redirect){const{redirect:ue}=se;let xe=typeof ue=="function"?ue(P):ue;return typeof xe=="string"&&(xe=xe.includes("?")||xe.includes("#")?xe=$(xe):{path:xe},xe.params={}),lt({query:P.query,hash:P.hash,params:"path"in xe?{}:P.params},xe)}}function S(P,se){const ue=c=w(P),xe=l.value,N=P.state,he=P.force,v=P.replace===!0,O=y(ue);if(O)return S(lt($(O),{state:typeof O=="object"?lt({},N,O.state):N,force:he,replace:v}),se||ue);const H=ue;H.redirectedFrom=se;let W;return!he&&FC(s,xe,ue)&&(W=vr(16,{to:H,from:xe}),ye(xe,xe,!0,!1)),(W?Promise.resolve(W):C(H,xe)).catch(ie=>Ls(ie)?Ls(ie,2)?ie:le(ie):Q(ie,H,xe)).then(ie=>{if(ie){if(Ls(ie,2))return S(lt({replace:v},$(ie.to),{state:typeof ie.to=="object"?lt({},N,ie.to.state):N,force:he}),se||H)}else ie=J(H,xe,!0,v,N);return B(H,xe,ie),ie})}function E(P,se){const ue=A(P,se);return ue?Promise.reject(ue):Promise.resolve()}function T(P){const se=R.values().next().value;return se&&typeof se.runWithContext=="function"?se.runWithContext(P):P()}function C(P,se){let ue;const[xe,N,he]=LE(P,se);ue=Hu(xe.reverse(),"beforeRouteLeave",P,se);for(const O of xe)O.leaveGuards.forEach(H=>{ue.push(_i(H,P,se))});const v=E.bind(null,P,se);return ue.push(v),oe(ue).then(()=>{ue=[];for(const O of o.list())ue.push(_i(O,P,se));return ue.push(v),oe(ue)}).then(()=>{ue=Hu(N,"beforeRouteUpdate",P,se);for(const O of N)O.updateGuards.forEach(H=>{ue.push(_i(H,P,se))});return ue.push(v),oe(ue)}).then(()=>{ue=[];for(const O of he)if(O.beforeEnter)if(cs(O.beforeEnter))for(const H of O.beforeEnter)ue.push(_i(H,P,se));else ue.push(_i(O.beforeEnter,P,se));return ue.push(v),oe(ue)}).then(()=>(P.matched.forEach(O=>O.enterCallbacks={}),ue=Hu(he,"beforeRouteEnter",P,se),ue.push(v),oe(ue))).then(()=>{ue=[];for(const O of r.list())ue.push(_i(O,P,se));return ue.push(v),oe(ue)}).catch(O=>Ls(O,8)?O:Promise.reject(O))}function B(P,se,ue){a.list().forEach(xe=>T(()=>xe(P,se,ue)))}function J(P,se,ue,xe,N){const he=A(P,se);if(he)return he;const v=se===ci,O=Zo?history.state:{};ue&&(xe||v?i.replace(P.fullPath,lt({scroll:v&&O&&O.scroll},N)):i.push(P.fullPath,N)),l.value=P,ye(P,se,ue,v),le()}let ae;function Y(){ae||(ae=i.listen((P,se,ue)=>{if(!ee.listening)return;const xe=w(P),N=y(xe);if(N){S(lt(N,{replace:!0}),xe).catch(ma);return}c=xe;const he=l.value;Zo&&UC(Vg(he.fullPath,ue.delta),qc()),C(xe,he).catch(v=>Ls(v,12)?v:Ls(v,2)?(S(v.to,xe).then(O=>{Ls(O,20)&&!ue.delta&&ue.type===Ia.pop&&i.go(-1,!1)}).catch(ma),Promise.reject()):(ue.delta&&i.go(-ue.delta,!1),Q(v,xe,he))).then(v=>{v=v||J(xe,he,!1),v&&(ue.delta&&!Ls(v,8)?i.go(-ue.delta,!1):ue.type===Ia.pop&&Ls(v,20)&&i.go(-1,!1)),B(xe,he,v)}).catch(ma)}))}let L=Kr(),I=Kr(),V;function Q(P,se,ue){le(P);const xe=I.list();return xe.length?xe.forEach(N=>N(P,se,ue)):console.error(P),Promise.reject(P)}function Z(){return V&&l.value!==ci?Promise.resolve():new Promise((P,se)=>{L.add([P,se])})}function le(P){return V||(V=!P,Y(),L.list().forEach(([se,ue])=>P?ue(P):se()),L.reset()),P}function ye(P,se,ue,xe){const{scrollBehavior:N}=t;if(!Zo||!N)return Promise.resolve();const he=!ue&&KC(Vg(P.fullPath,0))||(xe||!ue)&&history.state&&history.state.scroll||null;return en().then(()=>N(P,se,he)).then(v=>v&&YC(v)).catch(v=>Q(v,P,se))}const U=P=>i.go(P);let X;const R=new Set,ee={currentRoute:l,listening:!0,addRoute:g,removeRoute:_,hasRoute:b,getRoutes:m,resolve:w,options:t,push:D,replace:x,go:U,back:()=>U(-1),forward:()=>U(1),beforeEach:o.add,beforeResolve:r.add,afterEach:a.add,onError:I.add,isReady:Z,install(P){const se=this;P.component("RouterLink",ME),P.component("RouterView",iy),P.config.globalProperties.$router=se,Object.defineProperty(P.config.globalProperties,"$route",{enumerable:!0,get:()=>q(l)}),Zo&&!X&&l.value===ci&&(X=!0,D(i.location).catch(N=>{}));const ue={};for(const N in ci)Object.defineProperty(ue,N,{get:()=>l.value[N],enumerable:!0});P.provide(ef,se),P.provide(tf,zv(ue)),P.provide(Vd,l);const xe=P.unmount;R.add(P),P.unmount=function(){R.delete(P),R.size<1&&(c=ci,ae&&ae(),ae=null,l.value=ci,X=!1,V=!1),xe()}}};function oe(P){return P.reduce((se,ue)=>se.then(()=>T(ue)),Promise.resolve())}return ee}function LE(t,e){const n=[],s=[],i=[],o=Math.max(e.matched.length,t.matched.length);for(let r=0;r_r(c,a))?s.push(a):n.push(a));const l=t.matched[r];l&&(e.matched.find(c=>_r(c,l))||i.push(l))}return[n,s,i]}function NE(){return as(tf)}const FE={getCookie(t){const n=`; ${document.cookie}`.split(`; ${t}=`);if(n.length===2)return n.pop().split(";").shift()}};Qh("WGDashboardStore",{state:()=>({WireguardConfigurations:void 0,DashboardConfiguration:void 0}),actions:{async getDashboardConfiguration(){await wt("/api/getDashboardConfiguration",{},t=>{console.log(t.status),t.status&&(this.DashboardConfiguration=t.data)})}}});const em="[a-fA-F\\d:]",bi=t=>t&&t.includeBoundaries?`(?:(?<=\\s|^)(?=${em})|(?<=${em})(?=\\s|$))`:"",ns="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",Ft="[a-fA-F\\d]{1,4}",Gc=` - + */const Xo=typeof window<"u";function OC(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const ct=Object.assign;function Bu(t,e){const n={};for(const s in e){const i=e[s];n[s]=cs(i)?i.map(t):t(i)}return n}const pa=()=>{},cs=Array.isArray,IC=/\/$/,LC=t=>t.replace(IC,"");function Vu(t,e,n="/"){let s,i={},o="",r="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(s=e.slice(0,l),o=e.slice(l+1,a>-1?a:e.length),i=t(o)),a>-1&&(s=s||e.slice(0,a),r=e.slice(a,e.length)),s=BC(s??e,n),{fullPath:s+(o&&"?")+o+r,path:s,query:i,hash:r}}function RC(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Fg(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function NC(t,e,n){const s=e.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&gr(e.matched[s],n.matched[i])&&Gv(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function gr(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Gv(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!FC(t[n],e[n]))return!1;return!0}function FC(t,e){return cs(t)?Bg(t,e):cs(e)?Bg(e,t):t===e}function Bg(t,e){return cs(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function BC(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/"),i=s[s.length-1];(i===".."||i===".")&&s.push("");let o=n.length-1,r,a;for(r=0;r1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var Da;(function(t){t.pop="pop",t.push="push"})(Da||(Da={}));var ga;(function(t){t.back="back",t.forward="forward",t.unknown=""})(ga||(ga={}));function VC(t){if(!t)if(Xo){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),LC(t)}const HC=/^[^#]+#/;function jC(t,e){return t.replace(HC,"#")+e}function WC(t,e){const n=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:e.behavior,left:s.left-n.left-(e.left||0),top:s.top-n.top-(e.top||0)}}const zc=()=>({left:window.pageXOffset,top:window.pageYOffset});function zC(t){let e;if("el"in t){const n=t.el,s=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=WC(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function Vg(t,e){return(history.state?history.state.position-e:-1)+t}const Fd=new Map;function KC(t,e){Fd.set(t,e)}function YC(t){const e=Fd.get(t);return Fd.delete(t),e}let UC=()=>location.protocol+"//"+location.host;function Jv(t,e){const{pathname:n,search:s,hash:i}=e,o=t.indexOf("#");if(o>-1){let a=i.includes(t.slice(o))?t.slice(o).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),Fg(l,"")}return Fg(n,t)+s+i}function qC(t,e,n,s){let i=[],o=[],r=null;const a=({state:f})=>{const g=Jv(t,location),_=n.value,m=e.value;let y=0;if(f){if(n.value=g,e.value=f,r&&r===_){r=null;return}y=m?f.position-m.position:0}else s(g);i.forEach(v=>{v(n.value,_,{delta:y,type:Da.pop,direction:y?y>0?ga.forward:ga.back:ga.unknown})})};function l(){r=n.value}function c(f){i.push(f);const g=()=>{const _=i.indexOf(f);_>-1&&i.splice(_,1)};return o.push(g),g}function u(){const{history:f}=window;f.state&&f.replaceState(ct({},f.state,{scroll:zc()}),"")}function d(){for(const f of o)f();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Hg(t,e,n,s=!1,i=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:i?zc():null}}function GC(t){const{history:e,location:n}=window,s={value:Jv(t,n)},i={value:e.state};i.value||o(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const d=t.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?t:t.slice(d))+l:UC()+t+l;try{e[u?"replaceState":"pushState"](c,"",f),i.value=c}catch(g){console.error(g),n[u?"replace":"assign"](f)}}function r(l,c){const u=ct({},e.state,Hg(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});o(l,u,!0),s.value=l}function a(l,c){const u=ct({},i.value,e.state,{forward:l,scroll:zc()});o(u.current,u,!0);const d=ct({},Hg(s.value,l,null),{position:u.position+1},c);o(l,d,!1),s.value=l}return{location:s,state:i,push:a,replace:r}}function JC(t){t=VC(t);const e=GC(t),n=qC(t,e.state,e.location,e.replace);function s(o,r=!0){r||n.pauseListeners(),history.go(o)}const i=ct({location:"",base:t,go:s,createHref:jC.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function XC(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),JC(t)}function QC(t){return typeof t=="string"||t&&typeof t=="object"}function Xv(t){return typeof t=="string"||typeof t=="symbol"}const ai={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Qv=Symbol("");var jg;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(jg||(jg={}));function mr(t,e){return ct(new Error,{type:t,[Qv]:!0},e)}function Rs(t,e){return t instanceof Error&&Qv in t&&(e==null||!!(t.type&e))}const Wg="[^/]+?",ZC={sensitive:!1,strict:!1,start:!0,end:!0},eE=/[.+*?^${}()[\]/\\]/g;function tE(t,e){const n=ct({},ZC,e),s=[];let i=n.start?"^":"";const o=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let d=0;de.length?e.length===1&&e[0]===80?1:-1:0}function sE(t,e){let n=0;const s=t.score,i=e.score;for(;n0&&e[e.length-1]<0}const iE={type:0,value:""},oE=/[a-zA-Z0-9_]/;function rE(t){if(!t)return[[]];if(t==="/")return[[iE]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,s=n;const i=[];let o;function r(){o&&i.push(o),o=[]}let a=0,l,c="",u="";function d(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a{r($)}:pa}function r(u){if(Xv(u)){const d=s.get(u);d&&(s.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(r),d.alias.forEach(r))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&s.delete(u.record.name),u.children.forEach(r),u.alias.forEach(r))}}function a(){return n}function l(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!Zv(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Yg(u)&&s.set(u.record.name,u)}function c(u,d){let f,g={},_,m;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw mr(1,{location:u});m=f.record.name,g=ct(Kg(d.params,f.keys.filter($=>!$.optional).map($=>$.name)),u.params&&Kg(u.params,f.keys.map($=>$.name))),_=f.stringify(g)}else if("path"in u)_=u.path,f=n.find($=>$.re.test(_)),f&&(g=f.parse(_),m=f.record.name);else{if(f=d.name?s.get(d.name):n.find($=>$.re.test(d.path)),!f)throw mr(1,{location:u,currentLocation:d});m=f.record.name,g=ct({},d.params,u.params),_=f.stringify(g)}const y=[];let v=f;for(;v;)y.unshift(v.record),v=v.parent;return{name:m,path:_,params:g,matched:y,meta:dE(y)}}return t.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:r,getRoutes:a,getRecordMatcher:i}}function Kg(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function cE(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:uE(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function uE(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="object"?n[s]:n;return e}function Yg(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function dE(t){return t.reduce((e,n)=>ct(e,n.meta),{})}function Ug(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function Zv(t,e){return e.children.some(n=>n===t||Zv(t,n))}const ey=/#/g,hE=/&/g,fE=/\//g,pE=/=/g,gE=/\?/g,ty=/\+/g,mE=/%5B/g,_E=/%5D/g,ny=/%5E/g,bE=/%60/g,sy=/%7B/g,vE=/%7C/g,iy=/%7D/g,yE=/%20/g;function Zh(t){return encodeURI(""+t).replace(vE,"|").replace(mE,"[").replace(_E,"]")}function wE(t){return Zh(t).replace(sy,"{").replace(iy,"}").replace(ny,"^")}function Bd(t){return Zh(t).replace(ty,"%2B").replace(yE,"+").replace(ey,"%23").replace(hE,"%26").replace(bE,"`").replace(sy,"{").replace(iy,"}").replace(ny,"^")}function xE(t){return Bd(t).replace(pE,"%3D")}function kE(t){return Zh(t).replace(ey,"%23").replace(gE,"%3F")}function SE(t){return t==null?"":kE(t).replace(fE,"%2F")}function dc(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function $E(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;io&&Bd(o)):[s&&Bd(s)]).forEach(o=>{o!==void 0&&(e+=(e.length?"&":"")+n,o!=null&&(e+="="+o))})}return e}function AE(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=cs(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return e}const CE=Symbol(""),Gg=Symbol(""),ef=Symbol(""),tf=Symbol(""),Vd=Symbol("");function Kr(){let t=[];function e(s){return t.push(s),()=>{const i=t.indexOf(s);i>-1&&t.splice(i,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function gi(t,e,n,s,i){const o=s&&(s.enterCallbacks[i]=s.enterCallbacks[i]||[]);return()=>new Promise((r,a)=>{const l=d=>{d===!1?a(mr(4,{from:n,to:e})):d instanceof Error?a(d):QC(d)?a(mr(2,{from:e,to:d})):(o&&s.enterCallbacks[i]===o&&typeof d=="function"&&o.push(d),r())},c=t.call(s&&s.instances[i],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(d=>a(d))})}function Hu(t,e,n,s){const i=[];for(const o of t)for(const r in o.components){let a=o.components[r];if(!(e!=="beforeRouteEnter"&&!o.instances[r]))if(EE(a)){const c=(a.__vccOpts||a)[e];c&&i.push(gi(c,n,s,o,r))}else{let l=a();i.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${r}" at "${o.path}"`));const u=OC(c)?c.default:c;o.components[r]=u;const f=(u.__vccOpts||u)[e];return f&&gi(f,n,s,o,r)()}))}}return i}function EE(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Jg(t){const e=as(ef),n=as(tf),s=_e(()=>e.resolve(G(t.to))),i=_e(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(gr.bind(null,u));if(f>-1)return f;const g=Xg(l[c-2]);return c>1&&Xg(u)===g&&d[d.length-1].path!==g?d.findIndex(gr.bind(null,l[c-2])):f}),o=_e(()=>i.value>-1&&DE(n.params,s.value.params)),r=_e(()=>i.value>-1&&i.value===n.matched.length-1&&Gv(n.params,s.value.params));function a(l={}){return ME(l)?e[G(t.replace)?"replace":"push"](G(t.to)).catch(pa):Promise.resolve()}return{route:s,href:_e(()=>s.value.href),isActive:o,isExactActive:r,navigate:a}}const TE=Bt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Jg,setup(t,{slots:e}){const n=Ts(Jg(t)),{options:s}=as(ef),i=_e(()=>({[Qg(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Qg(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=e.default&&e.default(n);return t.custom?o:$o("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),PE=TE;function ME(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function DE(t,e){for(const n in e){const s=e[n],i=t[n];if(typeof s=="string"){if(s!==i)return!1}else if(!cs(i)||i.length!==s.length||s.some((o,r)=>o!==i[r]))return!1}return!0}function Xg(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Qg=(t,e,n)=>t??e??n,OE=Bt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=as(Vd),i=_e(()=>t.route||s.value),o=as(Gg,0),r=_e(()=>{let c=G(o);const{matched:u}=i.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=_e(()=>i.value.matched[r.value]);ql(Gg,_e(()=>r.value+1)),ql(CE,a),ql(Vd,i);const l=be();return Ht(()=>[l.value,a.value,t.name],([c,u,d],[f,g,_])=>{u&&(u.instances[d]=c,g&&g!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!gr(u,g)||!f)&&(u.enterCallbacks[d]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=i.value,u=t.name,d=a.value,f=d&&d.components[u];if(!f)return Zg(n.default,{Component:f,route:c});const g=d.props[u],_=g?g===!0?c.params:typeof g=="function"?g(c):g:null,y=$o(f,ct({},_,e,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Zg(n.default,{Component:y,route:c})||y}}});function Zg(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const oy=OE;function IE(t){const e=lE(t.routes,t),n=t.parseQuery||$E,s=t.stringifyQuery||qg,i=t.history,o=Kr(),r=Kr(),a=Kr(),l=Fh(ai);let c=ai;Xo&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Bu.bind(null,P=>""+P),d=Bu.bind(null,SE),f=Bu.bind(null,dc);function g(P,ie){let de,we;return Xv(P)?(de=e.getRecordMatcher(P),we=ie):we=P,e.addRoute(we,de)}function _(P){const ie=e.getRecordMatcher(P);ie&&e.removeRoute(ie)}function m(){return e.getRoutes().map(P=>P.record)}function y(P){return!!e.getRecordMatcher(P)}function v(P,ie){if(ie=ct({},ie||l.value),typeof P=="string"){const O=Vu(n,P,ie.path),j=e.resolve({path:O.path},ie),z=i.createHref(O.fullPath);return ct(O,j,{params:f(j.params),hash:dc(O.hash),redirectedFrom:void 0,href:z})}let de;if("path"in P)de=ct({},P,{path:Vu(n,P.path,ie.path).path});else{const O=ct({},P.params);for(const j in O)O[j]==null&&delete O[j];de=ct({},P,{params:d(O)}),ie.params=d(ie.params)}const we=e.resolve(de,ie),B=P.hash||"";we.params=u(f(we.params));const fe=RC(s,ct({},P,{hash:wE(B),path:we.path})),b=i.createHref(fe);return ct({fullPath:fe,hash:B,query:s===qg?AE(P.query):P.query||{}},we,{redirectedFrom:void 0,href:b})}function $(P){return typeof P=="string"?Vu(n,P,l.value.path):ct({},P)}function A(P,ie){if(c!==P)return mr(8,{from:ie,to:P})}function D(P){return S(P)}function x(P){return D(ct($(P),{replace:!0}))}function w(P){const ie=P.matched[P.matched.length-1];if(ie&&ie.redirect){const{redirect:de}=ie;let we=typeof de=="function"?de(P):de;return typeof we=="string"&&(we=we.includes("?")||we.includes("#")?we=$(we):{path:we},we.params={}),ct({query:P.query,hash:P.hash,params:"path"in we?{}:P.params},we)}}function S(P,ie){const de=c=v(P),we=l.value,B=P.state,fe=P.force,b=P.replace===!0,O=w(de);if(O)return S(ct($(O),{state:typeof O=="object"?ct({},B,O.state):B,force:fe,replace:b}),ie||de);const j=de;j.redirectedFrom=ie;let z;return!fe&&NC(s,we,de)&&(z=mr(16,{to:j,from:we}),ve(we,we,!0,!1)),(z?Promise.resolve(z):E(j,we)).catch(oe=>Rs(oe)?Rs(oe,2)?oe:ce(oe):Z(oe,j,we)).then(oe=>{if(oe){if(Rs(oe,2))return S(ct({replace:b},$(oe.to),{state:typeof oe.to=="object"?ct({},B,oe.to.state):B,force:fe}),ie||j)}else oe=X(j,we,!0,b,B);return V(j,we,oe),oe})}function T(P,ie){const de=A(P,ie);return de?Promise.reject(de):Promise.resolve()}function M(P){const ie=L.values().next().value;return ie&&typeof ie.runWithContext=="function"?ie.runWithContext(P):P()}function E(P,ie){let de;const[we,B,fe]=LE(P,ie);de=Hu(we.reverse(),"beforeRouteLeave",P,ie);for(const O of we)O.leaveGuards.forEach(j=>{de.push(gi(j,P,ie))});const b=T.bind(null,P,ie);return de.push(b),ae(de).then(()=>{de=[];for(const O of o.list())de.push(gi(O,P,ie));return de.push(b),ae(de)}).then(()=>{de=Hu(B,"beforeRouteUpdate",P,ie);for(const O of B)O.updateGuards.forEach(j=>{de.push(gi(j,P,ie))});return de.push(b),ae(de)}).then(()=>{de=[];for(const O of fe)if(O.beforeEnter)if(cs(O.beforeEnter))for(const j of O.beforeEnter)de.push(gi(j,P,ie));else de.push(gi(O.beforeEnter,P,ie));return de.push(b),ae(de)}).then(()=>(P.matched.forEach(O=>O.enterCallbacks={}),de=Hu(fe,"beforeRouteEnter",P,ie),de.push(b),ae(de))).then(()=>{de=[];for(const O of r.list())de.push(gi(O,P,ie));return de.push(b),ae(de)}).catch(O=>Rs(O,8)?O:Promise.reject(O))}function V(P,ie,de){a.list().forEach(we=>M(()=>we(P,ie,de)))}function X(P,ie,de,we,B){const fe=A(P,ie);if(fe)return fe;const b=ie===ai,O=Xo?history.state:{};de&&(we||b?i.replace(P.fullPath,ct({scroll:b&&O&&O.scroll},B)):i.push(P.fullPath,B)),l.value=P,ve(P,ie,de,b),ce()}let le;function Y(){le||(le=i.listen((P,ie,de)=>{if(!te.listening)return;const we=v(P),B=w(we);if(B){S(ct(B,{replace:!0}),we).catch(pa);return}c=we;const fe=l.value;Xo&&KC(Vg(fe.fullPath,de.delta),zc()),E(we,fe).catch(b=>Rs(b,12)?b:Rs(b,2)?(S(b.to,we).then(O=>{Rs(O,20)&&!de.delta&&de.type===Da.pop&&i.go(-1,!1)}).catch(pa),Promise.reject()):(de.delta&&i.go(-de.delta,!1),Z(b,we,fe))).then(b=>{b=b||X(we,fe,!1),b&&(de.delta&&!Rs(b,8)?i.go(-de.delta,!1):de.type===Da.pop&&Rs(b,20)&&i.go(-1,!1)),V(we,fe,b)}).catch(pa)}))}let R=Kr(),I=Kr(),H;function Z(P,ie,de){ce(P);const we=I.list();return we.length?we.forEach(B=>B(P,ie,de)):console.error(P),Promise.reject(P)}function ee(){return H&&l.value!==ai?Promise.resolve():new Promise((P,ie)=>{R.add([P,ie])})}function ce(P){return H||(H=!P,Y(),R.list().forEach(([ie,de])=>P?de(P):ie()),R.reset()),P}function ve(P,ie,de,we){const{scrollBehavior:B}=t;if(!Xo||!B)return Promise.resolve();const fe=!de&&YC(Vg(P.fullPath,0))||(we||!de)&&history.state&&history.state.scroll||null;return nn().then(()=>B(P,ie,fe)).then(b=>b&&zC(b)).catch(b=>Z(b,P,ie))}const U=P=>i.go(P);let Q;const L=new Set,te={currentRoute:l,listening:!0,addRoute:g,removeRoute:_,hasRoute:y,getRoutes:m,resolve:v,options:t,push:D,replace:x,go:U,back:()=>U(-1),forward:()=>U(1),beforeEach:o.add,beforeResolve:r.add,afterEach:a.add,onError:I.add,isReady:ee,install(P){const ie=this;P.component("RouterLink",PE),P.component("RouterView",oy),P.config.globalProperties.$router=ie,Object.defineProperty(P.config.globalProperties,"$route",{enumerable:!0,get:()=>G(l)}),Xo&&!Q&&l.value===ai&&(Q=!0,D(i.location).catch(B=>{}));const de={};for(const B in ai)Object.defineProperty(de,B,{get:()=>l.value[B],enumerable:!0});P.provide(ef,ie),P.provide(tf,zb(de)),P.provide(Vd,l);const we=P.unmount;L.add(P),P.unmount=function(){L.delete(P),L.size<1&&(c=ai,le&&le(),le=null,l.value=ai,Q=!1,H=!1),we()}}};function ae(P){return P.reduce((ie,de)=>ie.then(()=>M(de)),Promise.resolve())}return te}function LE(t,e){const n=[],s=[],i=[],o=Math.max(e.matched.length,t.matched.length);for(let r=0;rgr(c,a))?s.push(a):n.push(a));const l=t.matched[r];l&&(e.matched.find(c=>gr(c,l))||i.push(l))}return[n,s,i]}function RE(){return as(tf)}const NE={getCookie(t){const n=`; ${document.cookie}`.split(`; ${t}=`);if(n.length===2)return n.pop().split(";").shift()}};Qh("WGDashboardStore",{state:()=>({WireguardConfigurations:void 0,DashboardConfiguration:void 0}),actions:{async getDashboardConfiguration(){await kt("/api/getDashboardConfiguration",{},t=>{console.log(t.status),t.status&&(this.DashboardConfiguration=t.data)})}}});const em="[a-fA-F\\d:]",_i=t=>t&&t.includeBoundaries?`(?:(?<=\\s|^)(?=${em})|(?<=${em})(?=\\s|$))`:"",ns="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",Vt="[a-fA-F\\d]{1,4}",Kc=` (?: -(?:${Ft}:){7}(?:${Ft}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8 -(?:${Ft}:){6}(?:${ns}|:${Ft}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4 -(?:${Ft}:){5}(?::${ns}|(?::${Ft}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4 -(?:${Ft}:){4}(?:(?::${Ft}){0,1}:${ns}|(?::${Ft}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4 -(?:${Ft}:){3}(?:(?::${Ft}){0,2}:${ns}|(?::${Ft}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4 -(?:${Ft}:){2}(?:(?::${Ft}){0,3}:${ns}|(?::${Ft}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4 -(?:${Ft}:){1}(?:(?::${Ft}){0,4}:${ns}|(?::${Ft}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4 -(?::(?:(?::${Ft}){0,5}:${ns}|(?::${Ft}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4 +(?:${Vt}:){7}(?:${Vt}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8 +(?:${Vt}:){6}(?:${ns}|:${Vt}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4 +(?:${Vt}:){5}(?::${ns}|(?::${Vt}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4 +(?:${Vt}:){4}(?:(?::${Vt}){0,1}:${ns}|(?::${Vt}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4 +(?:${Vt}:){3}(?:(?::${Vt}){0,2}:${ns}|(?::${Vt}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4 +(?:${Vt}:){2}(?:(?::${Vt}){0,3}:${ns}|(?::${Vt}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4 +(?:${Vt}:){1}(?:(?::${Vt}){0,4}:${ns}|(?::${Vt}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4 +(?::(?:(?::${Vt}){0,5}:${ns}|(?::${Vt}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4 )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1 - -`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),BE=new RegExp(`(?:^${ns}$)|(?:^${Gc}$)`),VE=new RegExp(`^${ns}$`),HE=new RegExp(`^${Gc}$`),Jc=t=>t&&t.exact?BE:new RegExp(`(?:${bi(t)}${ns}${bi(t)})|(?:${bi(t)}${Gc}${bi(t)})`,"g");Jc.v4=t=>t&&t.exact?VE:new RegExp(`${bi(t)}${ns}${bi(t)}`,"g");Jc.v6=t=>t&&t.exact?HE:new RegExp(`${bi(t)}${Gc}${bi(t)}`,"g");const oy={exact:!1},ry=`${Jc.v4().source}\\/(3[0-2]|[12]?[0-9])`,ay=`${Jc.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,jE=new RegExp(`^${ry}$`),WE=new RegExp(`^${ay}$`),zE=({exact:t}=oy)=>t?jE:new RegExp(ry,"g"),YE=({exact:t}=oy)=>t?WE:new RegExp(ay,"g"),ly=zE({exact:!0}),cy=YE({exact:!0}),nf=t=>ly.test(t)?4:cy.test(t)?6:0;nf.v4=t=>ly.test(t);nf.v6=t=>cy.test(t);const Tn=Qh("WireguardConfigurationsStore",{state:()=>({Configurations:void 0,searchString:"",ConfigurationListInterval:void 0,PeerScheduleJobs:{dropdowns:{Field:[{display:"Total Received",value:"total_receive",unit:"GB",type:"number"},{display:"Total Sent",value:"total_sent",unit:"GB",type:"number"},{display:"Total Data",value:"total_data",unit:"GB",type:"number"},{display:"Date",value:"date",type:"date"}],Operator:[{display:"equal",value:"eq"},{display:"not equal",value:"neq"},{display:"larger than",value:"lgt"},{display:"less than",value:"lst"}],Action:[{display:"Restrict Peer",value:"restrict"},{display:"Delete Peer",value:"delete"}]}}}),actions:{async getConfigurations(){await wt("/api/getWireguardConfigurations",{},t=>{t.status&&(this.Configurations=t.data)})},regexCheckIP(t){return/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/.test(t)},checkCIDR(t){return nf(t)!==0}}}),We=(t,e)=>{const n=t.__vccOpts||t;for(const[s,i]of e)n[s]=i;return n},UE={name:"navbar",setup(){const t=Tn(),e=Xe();return{wireguardConfigurationsStore:t,dashboardConfigurationStore:e}},data(){return{updateAvailable:!1,updateMessage:"Checking for update...",updateUrl:""}},mounted(){wt("/api/getDashboardUpdate",{},t=>{t.status?(t.data&&(this.updateAvailable=!0,this.updateUrl=t.data),this.updateMessage=t.message):(this.updateMessage="Failed to check available update",console.log(`Failed to get update: ${t.message}`))})}},Vi=t=>(Ut("data-v-a0b378dd"),t=t(),Kt(),t),KE=["data-bs-theme"],qE={id:"sidebarMenu",class:"bg-body-tertiary sidebar border h-100 rounded-3 shadow overflow-y-scroll"},GE={class:"sidebar-sticky pt-3"},JE={class:"nav flex-column px-2"},XE={class:"nav-item"},QE=Vi(()=>h("i",{class:"bi bi-house me-2"},null,-1)),ZE={class:"nav-item"},eP=Vi(()=>h("i",{class:"bi bi-gear me-2"},null,-1)),tP=Vi(()=>h("hr",{class:"text-body"},null,-1)),nP=Vi(()=>h("h6",{class:"sidebar-heading px-3 mt-4 mb-1 text-muted text-center"},[h("i",{class:"bi bi-body-text me-2"}),be(" Configurations ")],-1)),sP={class:"nav flex-column px-2"},iP={class:"nav-item"},oP=Vi(()=>h("hr",{class:"text-body"},null,-1)),rP=Vi(()=>h("h6",{class:"sidebar-heading px-3 mt-4 mb-1 text-muted text-center"},[h("i",{class:"bi bi-tools me-2"}),be(" Tools ")],-1)),aP={class:"nav flex-column px-2"},lP={class:"nav-item"},cP={class:"nav-item"},uP=Vi(()=>h("hr",{class:"text-body"},null,-1)),dP={class:"nav flex-column px-2"},hP={class:"nav-item"},fP=Vi(()=>h("i",{class:"bi bi-box-arrow-left me-2"},null,-1)),pP={class:"nav-item",style:{"font-size":"0.8rem"}},gP=["href"],mP={class:"nav-link text-muted rounded-3"},_P={key:1,class:"nav-link text-muted"};function vP(t,e,n,s,i,o){const r=He("RouterLink");return M(),F("div",{class:Ce(["col-md-3 col-lg-2 d-md-block p-3 navbar-container",{active:this.dashboardConfigurationStore.ShowNavBar}]),"data-bs-theme":s.dashboardConfigurationStore.Configuration.Server.dashboard_theme,style:{height:"calc(-50px + 100vh)"}},[h("nav",qE,[h("div",GE,[h("ul",JE,[h("li",XE,[Se(r,{class:"nav-link rounded-3",to:"/","exact-active-class":"active"},{default:Pe(()=>[QE,be(" Home")]),_:1})]),h("li",ZE,[Se(r,{class:"nav-link rounded-3",to:"/settings","exact-active-class":"active"},{default:Pe(()=>[eP,be(" Settings")]),_:1})])]),tP,nP,h("ul",sP,[h("li",iP,[(M(!0),F(Te,null,Ue(this.wireguardConfigurationsStore.Configurations,a=>(M(),Le(r,{to:"/configuration/"+a.Name+"/peers",class:"nav-link nav-conf-link rounded-3","active-class":"active"},{default:Pe(()=>[h("span",{class:Ce(["dot me-2",{active:a.Status}])},null,2),be(" "+me(a.Name),1)]),_:2},1032,["to"]))),256))])]),oP,rP,h("ul",aP,[h("li",lP,[Se(r,{to:"/ping",class:"nav-link rounded-3","active-class":"active"},{default:Pe(()=>[be("Ping")]),_:1})]),h("li",cP,[Se(r,{to:"/traceroute",class:"nav-link rounded-3","active-class":"active"},{default:Pe(()=>[be("Traceroute")]),_:1})])]),uP,h("ul",dP,[h("li",hP,[h("a",{class:"nav-link text-danger rounded-3",onClick:e[0]||(e[0]=a=>this.dashboardConfigurationStore.signOut()),role:"button",style:{"font-weight":"bold"}},[fP,be(" Sign Out")])]),h("li",pP,[this.updateAvailable?(M(),F("a",{key:0,href:this.updateUrl,class:"text-decoration-none",target:"_blank"},[h("small",mP,me(this.updateMessage),1)],8,gP)):(M(),F("small",_P,me(this.updateMessage),1))])])])])],10,KE)}const bP=We(UE,[["render",vP],["__scopeId","data-v-a0b378dd"]]),yP={name:"message",props:{message:Object},mounted(){setTimeout(()=>{this.message.show=!1},5e3)}},wP=["id"],xP={class:"card-body"},kP={class:"fw-bold d-block",style:{"text-transform":"uppercase"}};function SP(t,e,n,s,i,o){return M(),F("div",{class:Ce(["card shadow rounded-3 position-relative mb-2",{"text-bg-danger":this.message.type==="danger","text-bg-success":this.message.type==="success","text-bg-warning":this.message.type==="warning"}]),id:this.message.id,style:{width:"400px"}},[h("div",xP,[h("small",kP,"FROM "+me(this.message.from),1),be(" "+me(this.message.content),1)])],10,wP)}const uy=We(yP,[["render",SP]]),$P={name:"index",components:{Message:uy,Navbar:bP},async setup(){return{dashboardConfigurationStore:Xe()}},computed:{getMessages(){return this.dashboardConfigurationStore.Messages.filter(t=>t.show)}}},AP=["data-bs-theme"],CP={class:"row h-100"},EP={class:"col-md-9 ml-sm-auto col-lg-10 px-md-4 overflow-y-scroll mb-0",style:{height:"calc(100vh - 50px)"}},PP={class:"messageCentre text-body position-fixed"};function TP(t,e,n,s,i,o){const r=He("Navbar"),a=He("RouterView"),l=He("Message");return M(),F("div",{class:"container-fluid flex-grow-1 main","data-bs-theme":this.dashboardConfigurationStore.Configuration.Server.dashboard_theme},[h("div",CP,[Se(r),h("main",EP,[(M(),Le(Wh,null,{default:Pe(()=>[Se(a,null,{default:Pe(({Component:c})=>[Se(At,{name:"fade2",mode:"out-in"},{default:Pe(()=>[(M(),Le(Mo(c)))]),_:2},1024)]),_:1})]),_:1})),h("div",PP,[Se(Bi,{name:"message",tag:"div",class:"position-relative"},{default:Pe(()=>[(M(!0),F(Te,null,Ue(o.getMessages.slice().reverse(),c=>(M(),Le(l,{message:c,key:c.id},null,8,["message"]))),128))]),_:1})])])])],8,AP)}const MP=We($P,[["render",TP],["__scopeId","data-v-b776d181"]]);var dy={exports:{}};(function(t,e){(function(n,s){t.exports=s()})(Q_,function(){var n=1e3,s=6e4,i=36e5,o="millisecond",r="second",a="minute",l="hour",c="day",u="week",d="month",f="quarter",g="year",_="date",m="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Y){var L=["th","st","nd","rd"],I=Y%100;return"["+Y+(L[(I-20)%10]||L[I]||L[0])+"]"}},A=function(Y,L,I){var V=String(Y);return!V||V.length>=L?Y:""+Array(L+1-V.length).join(I)+Y},D={s:A,z:function(Y){var L=-Y.utcOffset(),I=Math.abs(L),V=Math.floor(I/60),Q=I%60;return(L<=0?"+":"-")+A(V,2,"0")+":"+A(Q,2,"0")},m:function Y(L,I){if(L.date()1)return Y(le[0])}else{var ye=L.name;y[ye]=L,Q=ye}return!V&&Q&&(x=Q),Q||!V&&x},C=function(Y,L){if(E(Y))return Y.clone();var I=typeof L=="object"?L:{};return I.date=Y,I.args=arguments,new J(I)},B=D;B.l=T,B.i=E,B.w=function(Y,L){return C(Y,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var J=function(){function Y(I){this.$L=T(I.locale,null,!0),this.parse(I),this.$x=this.$x||I.x||{},this[S]=!0}var L=Y.prototype;return L.parse=function(I){this.$d=function(V){var Q=V.date,Z=V.utc;if(Q===null)return new Date(NaN);if(B.u(Q))return new Date;if(Q instanceof Date)return new Date(Q);if(typeof Q=="string"&&!/Z$/i.test(Q)){var le=Q.match(b);if(le){var ye=le[2]-1||0,U=(le[7]||"0").substring(0,3);return Z?new Date(Date.UTC(le[1],ye,le[3]||1,le[4]||0,le[5]||0,le[6]||0,U)):new Date(le[1],ye,le[3]||1,le[4]||0,le[5]||0,le[6]||0,U)}}return new Date(Q)}(I),this.init()},L.init=function(){var I=this.$d;this.$y=I.getFullYear(),this.$M=I.getMonth(),this.$D=I.getDate(),this.$W=I.getDay(),this.$H=I.getHours(),this.$m=I.getMinutes(),this.$s=I.getSeconds(),this.$ms=I.getMilliseconds()},L.$utils=function(){return B},L.isValid=function(){return this.$d.toString()!==m},L.isSame=function(I,V){var Q=C(I);return this.startOf(V)<=Q&&Q<=this.endOf(V)},L.isAfter=function(I,V){return C(I){if(t.status===200)return t.json();throw new Error(t.statusText)}).then(()=>{this.endTime=Cn(),this.active=!0}).catch(t=>{this.active=!1,this.errorMsg=t}),this.refreshing=!1)},async connect(){await fetch(`${this.server.host}/api/authenticate`,{headers:{"content-type":"application/json","wg-dashboard-apikey":this.server.apiKey},body:JSON.stringify({host:window.location.hostname}),method:"POST",signal:AbortSignal.timeout(5e3)}).then(t=>t.json()).then(t=>{this.$emit("setActiveServer"),this.$router.push("/")})}},mounted(){this.handshake()},computed:{getHandshakeTime(){return this.startTime&&this.endTime?`${Cn().subtract(this.startTime).millisecond()}ms`:this.refreshing?"Pinging...":this.errorMsg?this.errorMsg:"N/A"}}},Rr=t=>(Ut("data-v-03a1c13c"),t=t(),Kt(),t),IP={class:"card rounded-3"},RP={class:"card-body"},LP={class:"d-flex gap-3 w-100 remoteServerContainer"},NP={class:"d-flex gap-3 align-items-center flex-grow-1"},FP=Rr(()=>h("i",{class:"bi bi-server"},null,-1)),BP={class:"d-flex gap-3 align-items-center flex-grow-1"},VP=Rr(()=>h("i",{class:"bi bi-key-fill"},null,-1)),HP={class:"d-flex gap-2 button-group"},jP=Rr(()=>h("i",{class:"bi bi-trash"},null,-1)),WP=[jP],zP=Rr(()=>h("i",{class:"bi bi-arrow-right-circle"},null,-1)),YP=[zP],UP={class:"card-footer gap-2 d-flex align-items-center"},KP={key:0,class:"spin ms-auto text-primary-emphasis"},qP=Rr(()=>h("i",{class:"bi bi-arrow-clockwise"},null,-1)),GP=[qP],JP=Rr(()=>h("i",{class:"bi bi-arrow-clockwise me"},null,-1)),XP=[JP];function QP(t,e,n,s,i,o){return M(),F("div",IP,[h("div",RP,[h("div",LP,[h("div",NP,[FP,Oe(h("input",{class:"form-control form-control-sm",onBlur:e[0]||(e[0]=r=>this.handshake()),"onUpdate:modelValue":e[1]||(e[1]=r=>this.server.host=r),type:"url"},null,544),[[je,this.server.host]])]),h("div",BP,[VP,Oe(h("input",{class:"form-control form-control-sm",onBlur:e[2]||(e[2]=r=>this.handshake()),"onUpdate:modelValue":e[3]||(e[3]=r=>this.server.apiKey=r),type:"text"},null,544),[[je,this.server.apiKey]])]),h("div",HP,[h("button",{onClick:e[4]||(e[4]=r=>this.$emit("delete")),class:"ms-auto btn btn-sm bg-danger-subtle text-danger-emphasis border-1 border-danger-subtle"},WP),h("button",{onClick:e[5]||(e[5]=r=>this.connect()),class:Ce([{disabled:!this.active},"ms-auto btn btn-sm bg-success-subtle text-success-emphasis border-1 border-success-subtle"])},YP,2)])])]),h("div",UP,[h("span",{class:Ce(["dot ms-0 me-2",[this.active?"active":"inactive"]])},null,2),h("small",null,me(this.getHandshakeTime),1),this.refreshing?(M(),F("div",KP,GP)):(M(),F("a",{key:1,role:"button",onClick:e[6]||(e[6]=r=>this.handshake()),class:"text-primary-emphasis text-decoration-none ms-auto disabled"},XP))])])}const ZP=We(OP,[["render",QP],["__scopeId","data-v-03a1c13c"]]),eT={name:"RemoteServerList",setup(){return{store:Xe()}},components:{RemoteServer:ZP}},tT={class:"w-100 mt-3"},nT={class:"d-flex align-items-center mb-3"},sT=h("h5",{class:"mb-0"},"Server List",-1),iT=h("i",{class:"bi bi-plus-circle-fill me-2"},null,-1),oT={class:"w-100 d-flex gap-3 flex-column p-3 border border-1 border-secondary-subtle rounded-3",style:{height:"400px","overflow-y":"scroll"}},rT={key:0,class:"text-muted m-auto"},aT=h("i",{class:"bi bi-plus-circle-fill mx-1"},null,-1);function lT(t,e,n,s,i,o){const r=He("RemoteServer");return M(),F("div",tT,[h("div",nT,[sT,h("button",{onClick:e[0]||(e[0]=a=>this.store.addCrossServerConfiguration()),class:"btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle shadow-sm ms-auto"},[iT,be("Server ")])]),h("div",oT,[(M(!0),F(Te,null,Ue(this.store.CrossServerConfiguration.ServerList,(a,l)=>(M(),Le(r,{onSetActiveServer:c=>this.store.setActiveCrossServer(l),onDelete:c=>this.store.deleteCrossServerConfiguration(l),key:l,server:a},null,8,["onSetActiveServer","onDelete","server"]))),128)),Object.keys(this.store.CrossServerConfiguration.ServerList).length===0?(M(),F("h6",rT,[be(" Click"),aT,be("to add your server")])):re("",!0)])])}const cT=We(eT,[["render",lT]]),uT={name:"signin",components:{RemoteServerList:cT,Message:uy},async setup(){const t=Xe();let e="dark",n=!1,s;return t.IsElectronApp||await Promise.all([wt("/api/getDashboardTheme",{},i=>{e=i.data}),wt("/api/isTotpEnabled",{},i=>{n=i.data}),wt("/api/getDashboardVersion",{},i=>{s=i.data})]),t.removeActiveCrossServer(),{store:t,theme:e,totpEnabled:n,version:s}},data(){return{username:"",password:"",totp:"",loginError:!1,loginErrorMessage:"",loading:!1}},computed:{getMessages(){return this.store.Messages.filter(t=>t.show)}},methods:{async auth(){this.username&&this.password&&(this.totpEnabled&&this.totp||!this.totpEnabled)?(this.loading=!0,await ht("/api/authenticate",{username:this.username,password:this.password,totp:this.totp},t=>{t.status?(this.loginError=!1,this.$refs.signInBtn.classList.add("signedIn"),t.message?this.$router.push("/welcome"):this.store.Redirect!==void 0?this.$router.push(this.store.Redirect):this.$router.push("/")):(this.loginError=!0,this.loginErrorMessage=t.message,document.querySelectorAll("input[required]").forEach(e=>{e.classList.remove("is-valid"),e.classList.add("is-invalid")}),this.loading=!1)})):document.querySelectorAll("input[required]").forEach(t=>{t.value.length===0?(t.classList.remove("is-valid"),t.classList.add("is-invalid")):(t.classList.remove("is-invalid"),t.classList.add("is-valid"))})}}},ti=t=>(Ut("data-v-e351e82c"),t=t(),Kt(),t),dT=["data-bs-theme"],hT={class:"login-box m-auto"},fT={class:"m-auto",style:{width:"700px"}},pT=ti(()=>h("h4",{class:"mb-0 text-body"},"Welcome to",-1)),gT=ti(()=>h("span",{class:"dashboardLogo display-3"},[h("strong",null,"WGDashboard")],-1)),mT={key:0,class:"alert alert-danger mt-2 mb-0",role:"alert"},_T={class:"form-group text-body"},vT=ti(()=>h("label",{for:"username",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-person-circle"})],-1)),bT={class:"form-group text-body"},yT=ti(()=>h("label",{for:"password",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-key-fill"})],-1)),wT={key:0,class:"form-group text-body"},xT=ti(()=>h("label",{for:"totp",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-lock-fill"})],-1)),kT={class:"btn btn-lg btn-dark ms-auto mt-4 w-100 d-flex btn-brand signInBtn",ref:"signInBtn"},ST={key:0,class:"d-flex w-100"},$T=ti(()=>h("i",{class:"ms-auto bi bi-chevron-right"},null,-1)),AT={key:1,class:"d-flex w-100 align-items-center"},CT=ti(()=>h("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},[h("span",{class:"visually-hidden"},"Loading...")],-1)),ET={key:3,class:"d-flex mt-3"},PT={class:"form-check form-switch ms-auto"},TT=ti(()=>h("label",{class:"form-check-label",for:"flexSwitchCheckChecked"},"Access Remote Server",-1)),MT={class:"text-muted pb-3 d-block w-100 text-center mt-3"},DT=ti(()=>h("a",{href:"https://github.com/donaldzou",target:"_blank"},[h("strong",null,"Donald Zou")],-1)),OT={class:"messageCentre text-body position-absolute end-0 m-3"};function IT(t,e,n,s,i,o){const r=He("RemoteServerList"),a=He("Message");return M(),F("div",{class:"container-fluid login-container-fluid d-flex main flex-column py-4 text-body",style:{"overflow-y":"scroll"},"data-bs-theme":this.theme},[h("div",hT,[h("div",fT,[pT,gT,i.loginError?(M(),F("div",mT,me(this.loginErrorMessage),1)):re("",!0),this.store.CrossServerConfiguration.Enable?(M(),Le(r,{key:2})):(M(),F("form",{key:1,onSubmit:e[3]||(e[3]=l=>{l.preventDefault(),this.auth()})},[h("div",_T,[vT,Oe(h("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=l=>i.username=l),class:"form-control",id:"username",name:"username",autocomplete:"on",placeholder:"Username",required:""},null,512),[[je,i.username]])]),h("div",bT,[yT,Oe(h("input",{type:"password","onUpdate:modelValue":e[1]||(e[1]=l=>i.password=l),class:"form-control",id:"password",name:"password",autocomplete:"on",placeholder:"Password",required:""},null,512),[[je,i.password]])]),s.totpEnabled?(M(),F("div",wT,[xT,Oe(h("input",{class:"form-control totp",required:"",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code",placeholder:"OTP from your authenticator","onUpdate:modelValue":e[2]||(e[2]=l=>this.totp=l)},null,512),[[je,this.totp]])])):re("",!0),h("button",kT,[this.loading?(M(),F("span",AT,[be(" Signing In... "),CT])):(M(),F("span",ST,[be(" Sign In"),$T]))],512)],32)),this.store.IsElectronApp?re("",!0):(M(),F("div",ET,[h("div",PT,[Oe(h("input",{"onUpdate:modelValue":e[4]||(e[4]=l=>this.store.CrossServerConfiguration.Enable=l),class:"form-check-input",type:"checkbox",role:"switch",id:"flexSwitchCheckChecked"},null,512),[[_n,this.store.CrossServerConfiguration.Enable]]),TT])]))])]),h("small",MT,[be(" WGDashboard "+me(this.version)+" | Developed with ❤️ by ",1),DT]),h("div",OT,[Se(Bi,{name:"message",tag:"div",class:"position-relative"},{default:Pe(()=>[(M(!0),F(Te,null,Ue(o.getMessages.slice().reverse(),l=>(M(),Le(a,{message:l,key:l.id},null,8,["message"]))),128))]),_:1})])],8,dT)}const RT=We(uT,[["render",IT],["__scopeId","data-v-e351e82c"]]),LT={name:"configurationCard",props:{c:{Name:String,Status:Boolean,PublicKey:String,PrivateKey:String}},data(){return{configurationToggling:!1}},setup(){return{dashboardConfigurationStore:Xe()}},methods:{toggle(){this.configurationToggling=!0,wt("/api/toggleWireguardConfiguration/",{configurationName:this.c.Name},t=>{t.status?this.dashboardConfigurationStore.newMessage("Server",`${this.c.Name} is ${t.data?"is on":"is off"}`):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.c.Status=t.data,this.configurationToggling=!1})}}},NT={class:"card conf_card rounded-3 shadow text-decoration-none"},FT={class:"mb-0"},BT={class:"card-title mb-0"},VT=h("h6",{class:"mb-0 ms-auto"},[h("i",{class:"bi bi-chevron-right"})],-1),HT={class:"card-footer d-flex gap-2 flex-column"},jT={class:"row"},WT={class:"col-6 col-md-3"},zT=h("i",{class:"bi bi-arrow-down-up me-2"},null,-1),YT={class:"text-primary-emphasis col-6 col-md-3"},UT=h("i",{class:"bi bi-arrow-down me-2"},null,-1),KT={class:"text-success-emphasis col-6 col-md-3"},qT=h("i",{class:"bi bi-arrow-up me-2"},null,-1),GT={class:"text-md-end col-6 col-md-3"},JT={class:"d-flex align-items-center gap-2"},XT=h("small",{class:"text-muted"},[h("strong",{style:{"word-break":"keep-all"}},"Public Key")],-1),QT={class:"mb-0 d-block d-lg-inline-block"},ZT={style:{"line-break":"anywhere"}},eM={class:"form-check form-switch ms-auto"},tM=["for"],nM={key:0,class:"spinner-border spinner-border-sm","aria-hidden":"true"},sM=["disabled","id"];function iM(t,e,n,s,i,o){const r=He("RouterLink");return M(),F("div",NT,[Se(r,{to:"/configuration/"+n.c.Name+"/peers",class:"card-body d-flex align-items-center gap-3 flex-wrap text-decoration-none"},{default:Pe(()=>[h("h6",FT,[h("span",{class:Ce(["dot",{active:n.c.Status}])},null,2)]),h("h6",BT,[h("samp",null,me(n.c.Name),1)]),VT]),_:1},8,["to"]),h("div",HT,[h("div",jT,[h("small",WT,[zT,be(me(n.c.DataUsage.Total>0?n.c.DataUsage.Total.toFixed(4):0)+" GB ",1)]),h("small",YT,[UT,be(me(n.c.DataUsage.Receive>0?n.c.DataUsage.Receive.toFixed(4):0)+" GB ",1)]),h("small",KT,[qT,be(me(n.c.DataUsage.Sent>0?n.c.DataUsage.Sent.toFixed(4):0)+" GB ",1)]),h("small",GT,[h("span",{class:Ce(["dot me-2",{active:n.c.ConnectedPeers>0}])},null,2),be(me(n.c.ConnectedPeers)+" Peers ",1)])]),h("div",JT,[XT,h("small",QT,[h("samp",ZT,me(n.c.PublicKey),1)]),h("div",eM,[h("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+n.c.PrivateKey},[be(me(this.configurationToggling?"Turning ":"")+" "+me(n.c.Status?"On":"Off")+" ",1),this.configurationToggling?(M(),F("span",nM)):re("",!0)],8,tM),Oe(h("input",{class:"form-check-input",style:{cursor:"pointer"},disabled:this.configurationToggling,type:"checkbox",role:"switch",id:"switch"+n.c.PrivateKey,onChange:e[0]||(e[0]=a=>this.toggle()),"onUpdate:modelValue":e[1]||(e[1]=a=>n.c.Status=a)},null,40,sM),[[_n,n.c.Status]])])])])])}const oM=We(LT,[["render",iM]]),rM={name:"configurationList",components:{ConfigurationCard:oM},async setup(){return{wireguardConfigurationsStore:Tn()}},data(){return{configurationLoaded:!1}},async mounted(){await this.wireguardConfigurationsStore.getConfigurations(),this.configurationLoaded=!0,this.wireguardConfigurationsStore.ConfigurationListInterval=setInterval(()=>{this.wireguardConfigurationsStore.getConfigurations()},1e4)},beforeUnmount(){clearInterval(this.wireguardConfigurationsStore.ConfigurationListInterval)}},hy=t=>(Ut("data-v-bff52ca5"),t=t(),Kt(),t),aM={class:"mt-md-5 mt-3"},lM={class:"container-md"},cM={class:"d-flex mb-4 configurationListTitle"},uM=hy(()=>h("h3",{class:"text-body d-flex"},[h("i",{class:"bi bi-body-text me-2"}),h("span",null,"WireGuard Configurations")],-1)),dM=hy(()=>h("i",{class:"bi bi-plus-circle-fill me-2"},null,-1)),hM={key:0},fM={key:0,class:"text-muted"},pM={key:1,class:"d-flex gap-3 flex-column mb-3"};function gM(t,e,n,s,i,o){const r=He("RouterLink"),a=He("ConfigurationCard");return M(),F("div",aM,[h("div",lM,[h("div",cM,[uM,Se(r,{to:"/new_configuration",class:"btn btn-dark btn-brand rounded-3 px-3 py-2 shadow ms-auto rounded-3"},{default:Pe(()=>[dM,be(" Configuration ")]),_:1})]),Se(At,{name:"fade",mode:"out-in"},{default:Pe(()=>[this.configurationLoaded?(M(),F("div",hM,[this.wireguardConfigurationsStore.Configurations.length===0?(M(),F("p",fM,` You don't have any WireGuard configurations yet. Please check the configuration folder or change it in "Settings". By default the folder is "/etc/wireguard". `)):(M(),F("div",pM,[(M(!0),F(Te,null,Ue(this.wireguardConfigurationsStore.Configurations,l=>(M(),Le(a,{key:l.Name,c:l},null,8,["c"]))),128))]))])):re("",!0)]),_:1})])])}const mM=We(rM,[["render",gM],["__scopeId","data-v-bff52ca5"]]);let Pl;const _M=new Uint8Array(16);function vM(){if(!Pl&&(Pl=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Pl))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Pl(_M)}const sn=[];for(let t=0;t<256;++t)sn.push((t+256).toString(16).slice(1));function bM(t,e=0){return sn[t[e+0]]+sn[t[e+1]]+sn[t[e+2]]+sn[t[e+3]]+"-"+sn[t[e+4]]+sn[t[e+5]]+"-"+sn[t[e+6]]+sn[t[e+7]]+"-"+sn[t[e+8]]+sn[t[e+9]]+"-"+sn[t[e+10]]+sn[t[e+11]]+sn[t[e+12]]+sn[t[e+13]]+sn[t[e+14]]+sn[t[e+15]]}const yM=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),tm={randomUUID:yM};function Ps(t,e,n){if(tm.randomUUID&&!e&&!t)return tm.randomUUID();t=t||{};const s=t.random||(t.rng||vM)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,e){n=n||0;for(let i=0;i<16;++i)e[n+i]=s[i];return e}return bM(s)}const wM={props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const t=Xe(),e=`input_${Ps()}`;return{store:t,uuid:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Peers[this.targetData]},methods:{async useValidation(){this.changed&&await ht("/api/updateDashboardConfigurationItem",{section:"Peers",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Peers[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message),this.changed=!1,this.updating=!1})}}},xM={class:"form-group mb-2"},kM=["for"],SM=["id","disabled"],$M={class:"invalid-feedback"},AM={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"},CM=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1),EM=["innerHTML"];function PM(t,e,n,s,i,o){return M(),F("div",xM,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,me(this.title),1)])],8,kM),Oe(h("input",{type:"text",class:Ce(["form-control",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=r=>this.value=r),onKeydown:e[1]||(e[1]=r=>this.changed=!0),onBlur:e[2]||(e[2]=r=>o.useValidation()),disabled:this.updating},null,42,SM),[[je,this.value]]),h("div",$M,me(this.invalidFeedback),1),n.warning?(M(),F("div",AM,[h("small",null,[CM,h("span",{innerHTML:n.warningText},null,8,EM)])])):re("",!0)])}const TM=We(wM,[["render",PM]]),MM=t=>{},DM={name:"accountSettingsInputUsername",props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const t=Xe(),e=`input_${Ps()}`;return{store:t,uuid:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Account[this.targetData]},methods:{async useValidation(){this.changed&&(this.updating=!0,await ht("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message),this.changed=!1,this.updating=!1}))}}},OM={class:"form-group mb-2"},IM=["for"],RM=["id","disabled"],LM={class:"invalid-feedback"},NM={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"},FM=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1),BM=["innerHTML"];function VM(t,e,n,s,i,o){return M(),F("div",OM,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,me(this.title),1)])],8,IM),Oe(h("input",{type:"text",class:Ce(["form-control",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=r=>this.value=r),onKeydown:e[1]||(e[1]=r=>this.changed=!0),onBlur:e[2]||(e[2]=r=>o.useValidation()),disabled:this.updating},null,42,RM),[[je,this.value]]),h("div",LM,me(this.invalidFeedback),1),n.warning?(M(),F("div",NM,[h("small",null,[FM,h("span",{innerHTML:n.warningText},null,8,BM)])])):re("",!0)])}const HM=We(DM,[["render",VM]]),jM={name:"accountSettingsInputPassword",props:{targetData:String,warning:!1,warningText:""},setup(){const t=Xe(),e=`input_${Ps()}`;return{store:t,uuid:e}},data(){return{value:{currentPassword:"",newPassword:"",repeatNewPassword:""},invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0}},methods:{async useValidation(){Object.values(this.value).find(t=>t.length===0)===void 0?this.value.newPassword===this.value.repeatNewPassword?await ht("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.isValid=!1,this.value={currentPassword:"",newPassword:"",repeatNewPassword:""}},5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message)}):(this.showInvalidFeedback=!0,this.invalidFeedback="New passwords does not match"):(this.showInvalidFeedback=!0,this.invalidFeedback="Please fill in all required fields.")}},computed:{passwordValid(){return Object.values(this.value).find(t=>t.length===0)===void 0&&this.value.newPassword===this.value.repeatNewPassword}}},WM={class:"d-flex flex-column"},zM={class:"row"},YM={class:"col-sm"},UM={class:"form-group mb-2"},KM=["for"],qM=h("strong",null,[h("small",null,"Current Password")],-1),GM=[qM],JM=["id"],XM={key:0,class:"invalid-feedback d-block"},QM={class:"col-sm"},ZM={class:"form-group mb-2"},eD=["for"],tD=h("strong",null,[h("small",null,"New Password")],-1),nD=[tD],sD=["id"],iD={class:"col-sm"},oD={class:"form-group mb-2"},rD=["for"],aD=h("strong",null,[h("small",null,"Repeat New Password")],-1),lD=[aD],cD=["id"],uD=["disabled"],dD=h("i",{class:"bi bi-save2-fill me-2"},null,-1);function hD(t,e,n,s,i,o){return M(),F("div",WM,[h("div",zM,[h("div",YM,[h("div",UM,[h("label",{for:"currentPassword_"+this.uuid,class:"text-muted mb-1"},GM,8,KM),Oe(h("input",{type:"password",class:Ce(["form-control mb-2",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),"onUpdate:modelValue":e[0]||(e[0]=r=>this.value.currentPassword=r),id:"currentPassword_"+this.uuid},null,10,JM),[[je,this.value.currentPassword]]),i.showInvalidFeedback?(M(),F("div",XM,me(this.invalidFeedback),1)):re("",!0)])]),h("div",QM,[h("div",ZM,[h("label",{for:"newPassword_"+this.uuid,class:"text-muted mb-1"},nD,8,eD),Oe(h("input",{type:"password",class:Ce(["form-control mb-2",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),"onUpdate:modelValue":e[1]||(e[1]=r=>this.value.newPassword=r),id:"newPassword_"+this.uuid},null,10,sD),[[je,this.value.newPassword]])])]),h("div",iD,[h("div",oD,[h("label",{for:"repeatNewPassword_"+this.uuid,class:"text-muted mb-1"},lD,8,rD),Oe(h("input",{type:"password",class:Ce(["form-control mb-2",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),"onUpdate:modelValue":e[2]||(e[2]=r=>this.value.repeatNewPassword=r),id:"repeatNewPassword_"+this.uuid},null,10,cD),[[je,this.value.repeatNewPassword]])])])]),h("button",{disabled:!this.passwordValid,class:"ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",onClick:e[3]||(e[3]=r=>this.useValidation())},[dD,be("Update Password ")],8,uD)])}const fD=We(jM,[["render",hD]]),pD={name:"dashboardSettingsInputWireguardConfigurationPath",props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const t=Xe(),e=Tn(),n=`input_${Ps()}`;return{store:t,uuid:n,WireguardConfigurationStore:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Server[this.targetData]},methods:{async useValidation(){this.changed&&(this.updating=!0,await ht("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3),this.WireguardConfigurationStore.getConfigurations(),this.store.newMessage("Server","WireGuard configuration path saved","success")):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message),this.changed=!1,this.updating=!1}))}}},gD={class:"form-group"},mD=["for"],_D={class:"d-flex gap-2 align-items-start mb-2"},vD={class:"flex-grow-1"},bD=["id","disabled"],yD={class:"invalid-feedback fw-bold"},wD=["disabled"],xD={key:0,class:"bi bi-save2-fill"},kD={key:1,class:"spinner-border spinner-border-sm"},SD={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1 mb-2"},$D=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1),AD=["innerHTML"];function CD(t,e,n,s,i,o){return M(),F("div",gD,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,me(this.title),1)])],8,mD),h("div",_D,[h("div",vD,[Oe(h("input",{type:"text",class:Ce(["form-control rounded-3",{"is-invalid":this.showInvalidFeedback,"is-valid":this.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=r=>this.value=r),onKeydown:e[1]||(e[1]=r=>this.changed=!0),disabled:this.updating},null,42,bD),[[je,this.value]]),h("div",yD,me(this.invalidFeedback),1)]),h("button",{onClick:e[2]||(e[2]=r=>this.useValidation()),disabled:!this.changed,class:"ms-auto btn rounded-3 border-success-subtle bg-success-subtle text-success-emphasis"},[this.updating?(M(),F("span",kD)):(M(),F("i",xD))],8,wD)]),n.warning?(M(),F("div",SD,[h("small",null,[$D,h("span",{innerHTML:n.warningText},null,8,AD)])])):re("",!0)])}const ED=We(pD,[["render",CD]]),PD={name:"dashboardTheme",setup(){return{dashboardConfigurationStore:Xe()}},methods:{async switchTheme(t){await ht("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_theme",value:t},e=>{e.status&&(this.dashboardConfigurationStore.Configuration.Server.dashboard_theme=t)})}}},TD={class:"card mb-4 shadow rounded-3"},MD=h("p",{class:"card-header"},"Dashboard Theme",-1),DD={class:"card-body d-flex gap-2"},OD=h("i",{class:"bi bi-sun-fill"},null,-1),ID=h("i",{class:"bi bi-moon-fill"},null,-1);function RD(t,e,n,s,i,o){return M(),F("div",TD,[MD,h("div",DD,[h("button",{class:Ce(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="light"}]),onClick:e[0]||(e[0]=r=>this.switchTheme("light"))},[OD,be(" Light ")],2),h("button",{class:Ce(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="dark"}]),onClick:e[1]||(e[1]=r=>this.switchTheme("dark"))},[ID,be(" Dark ")],2)])])}const LD=We(PD,[["render",RD]]),ND={name:"dashboardSettingsInputIPAddressAndPort",props:{},setup(){const t=Xe(),e=`input_${Ps()}`;return{store:t,uuid:e}},data(){return{app_ip:"",app_port:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.app_ip=this.store.Configuration.Server.app_ip,this.app_port=this.store.Configuration.Server.app_port},methods:{async useValidation(){this.changed&&await ht("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message)})}}},FD={class:"invalid-feedback d-block mt-0"},BD={class:"row"},VD={class:"form-group mb-2 col-sm"},HD=["for"],jD=h("strong",null,[h("small",null,"Dashboard IP Address")],-1),WD=[jD],zD=["id"],YD=h("div",{class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block"},[h("small",null,[h("i",{class:"bi bi-exclamation-triangle-fill me-2"}),h("code",null,"0.0.0.0"),be(" means it can be access by anyone with your server IP Address.")])],-1),UD={class:"form-group col-sm"},KD=["for"],qD=h("strong",null,[h("small",null,"Dashboard Port")],-1),GD=[qD],JD=["id"],XD=h("button",{class:"btn btn-success btn-sm fw-bold rounded-3"},[h("i",{class:"bi bi-floppy-fill me-2"}),be("Update Dashboard Settings & Restart ")],-1);function QD(t,e,n,s,i,o){return M(),F("div",null,[h("div",FD,me(this.invalidFeedback),1),h("div",BD,[h("div",VD,[h("label",{for:"app_ip_"+this.uuid,class:"text-muted mb-1"},WD,8,HD),Oe(h("input",{type:"text",class:"form-control mb-2",id:"app_ip_"+this.uuid,"onUpdate:modelValue":e[0]||(e[0]=r=>this.app_ip=r)},null,8,zD),[[je,this.app_ip]]),YD]),h("div",UD,[h("label",{for:"app_port_"+this.uuid,class:"text-muted mb-1"},GD,8,KD),Oe(h("input",{type:"text",class:"form-control mb-2",id:"app_port_"+this.uuid,"onUpdate:modelValue":e[1]||(e[1]=r=>this.app_port=r)},null,8,JD),[[je,this.app_port]])])]),XD])}const ZD=We(ND,[["render",QD]]);function Ne(t){const e=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&e==="[object Date]"?new t.constructor(+t):typeof t=="number"||e==="[object Number]"||typeof t=="string"||e==="[object String]"?new Date(t):new Date(NaN)}function ot(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function is(t,e){const n=Ne(t);return isNaN(e)?ot(t,NaN):(e&&n.setDate(n.getDate()+e),n)}function ls(t,e){const n=Ne(t);if(isNaN(e))return ot(t,NaN);if(!e)return n;const s=n.getDate(),i=ot(t,n.getTime());i.setMonth(n.getMonth()+e+1,0);const o=i.getDate();return s>=o?i:(n.setFullYear(i.getFullYear(),i.getMonth(),s),n)}function fy(t,e){const{years:n=0,months:s=0,weeks:i=0,days:o=0,hours:r=0,minutes:a=0,seconds:l=0}=e,c=Ne(t),u=s||n?ls(c,s+n*12):c,d=o||i?is(u,o+i*7):u,f=a+r*60,_=(l+f*60)*1e3;return ot(t,d.getTime()+_)}function e2(t,e){const n=+Ne(t);return ot(t,n+e)}const py=6048e5,t2=864e5,n2=6e4,gy=36e5,s2=1e3;function i2(t,e){return e2(t,e*gy)}let o2={};function Oo(){return o2}function us(t,e){const n=Oo(),s=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=Ne(t),o=i.getDay(),r=(o=i.getTime()?n+1:e.getTime()>=r.getTime()?n:n-1}function nm(t){const e=Ne(t);return e.setHours(0,0,0,0),e}function mc(t){const e=Ne(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function _y(t,e){const n=nm(t),s=nm(e),i=+n-mc(n),o=+s-mc(s);return Math.round((i-o)/t2)}function r2(t){const e=my(t),n=ot(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),br(n)}function a2(t,e){const n=e*3;return ls(t,n)}function sf(t,e){return ls(t,e*12)}function sm(t,e){const n=Ne(t),s=Ne(e),i=n.getTime()-s.getTime();return i<0?-1:i>0?1:i}function vy(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function va(t){if(!vy(t)&&typeof t!="number")return!1;const e=Ne(t);return!isNaN(Number(e))}function im(t){const e=Ne(t);return Math.trunc(e.getMonth()/3)+1}function l2(t,e){const n=Ne(t),s=Ne(e);return n.getFullYear()-s.getFullYear()}function c2(t,e){const n=Ne(t),s=Ne(e),i=sm(n,s),o=Math.abs(l2(n,s));n.setFullYear(1584),s.setFullYear(1584);const r=sm(n,s)===-i,a=i*(o-+r);return a===0?0:a}function by(t,e){const n=Ne(t.start),s=Ne(t.end);let i=+n>+s;const o=i?+n:+s,r=i?s:n;r.setHours(0,0,0,0);let a=e?.step??1;if(!a)return[];a<0&&(a=-a,i=!i);const l=[];for(;+r<=o;)l.push(Ne(r)),r.setDate(r.getDate()+a),r.setHours(0,0,0,0);return i?l.reverse():l}function go(t){const e=Ne(t),n=e.getMonth(),s=n-n%3;return e.setMonth(s,1),e.setHours(0,0,0,0),e}function u2(t,e){const n=Ne(t.start),s=Ne(t.end);let i=+n>+s;const o=i?+go(n):+go(s);let r=go(i?s:n),a=e?.step??1;if(!a)return[];a<0&&(a=-a,i=!i);const l=[];for(;+r<=o;)l.push(Ne(r)),r=a2(r,a);return i?l.reverse():l}function d2(t){const e=Ne(t);return e.setDate(1),e.setHours(0,0,0,0),e}function yy(t){const e=Ne(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function Ra(t){const e=Ne(t),n=ot(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function wy(t,e){const n=Oo(),s=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=Ne(t),o=i.getDay(),r=(o{let s;const i=h2[t];return typeof i=="string"?s=i:e===1?s=i.one:s=i.other.replace("{{count}}",e.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+s:s+" ago":s};function ju(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const p2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},g2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},m2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},_2={date:ju({formats:p2,defaultWidth:"full"}),time:ju({formats:g2,defaultWidth:"full"}),dateTime:ju({formats:m2,defaultWidth:"full"})},v2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},b2=(t,e,n,s)=>v2[t];function qr(t){return(e,n)=>{const s=n?.context?String(n.context):"standalone";let i;if(s==="formatting"&&t.formattingValues){const r=t.defaultFormattingWidth||t.defaultWidth,a=n?.width?String(n.width):r;i=t.formattingValues[a]||t.formattingValues[r]}else{const r=t.defaultWidth,a=n?.width?String(n.width):t.defaultWidth;i=t.values[a]||t.values[r]}const o=t.argumentCallback?t.argumentCallback(e):e;return i[o]}}const y2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},w2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},x2={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},k2={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},S2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},$2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},A2=(t,e)=>{const n=Number(t),s=n%100;if(s>20||s<10)switch(s%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},C2={ordinalNumber:A2,era:qr({values:y2,defaultWidth:"wide"}),quarter:qr({values:w2,defaultWidth:"wide",argumentCallback:t=>t-1}),month:qr({values:x2,defaultWidth:"wide"}),day:qr({values:k2,defaultWidth:"wide"}),dayPeriod:qr({values:S2,defaultWidth:"wide",formattingValues:$2,defaultFormattingWidth:"wide"})};function Gr(t){return(e,n={})=>{const s=n.width,i=s&&t.matchPatterns[s]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;const r=o[0],a=s&&t.parsePatterns[s]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?P2(a,d=>d.test(r)):E2(a,d=>d.test(r));let c;c=t.valueCallback?t.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=e.slice(r.length);return{value:c,rest:u}}}function E2(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function P2(t,e){for(let n=0;n{const s=e.match(t.matchPattern);if(!s)return null;const i=s[0],o=e.match(t.parsePattern);if(!o)return null;let r=t.valueCallback?t.valueCallback(o[0]):o[0];r=n.valueCallback?n.valueCallback(r):r;const a=e.slice(i.length);return{value:r,rest:a}}}const M2=/^(\d+)(th|st|nd|rd)?/i,D2=/\d+/i,O2={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},I2={any:[/^b/i,/^(a|c)/i]},R2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},L2={any:[/1/i,/2/i,/3/i,/4/i]},N2={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},F2={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},B2={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},V2={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},H2={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},j2={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},W2={ordinalNumber:T2({matchPattern:M2,parsePattern:D2,valueCallback:t=>parseInt(t,10)}),era:Gr({matchPatterns:O2,defaultMatchWidth:"wide",parsePatterns:I2,defaultParseWidth:"any"}),quarter:Gr({matchPatterns:R2,defaultMatchWidth:"wide",parsePatterns:L2,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Gr({matchPatterns:N2,defaultMatchWidth:"wide",parsePatterns:F2,defaultParseWidth:"any"}),day:Gr({matchPatterns:B2,defaultMatchWidth:"wide",parsePatterns:V2,defaultParseWidth:"any"}),dayPeriod:Gr({matchPatterns:H2,defaultMatchWidth:"any",parsePatterns:j2,defaultParseWidth:"any"})},xy={code:"en-US",formatDistance:f2,formatLong:_2,formatRelative:b2,localize:C2,match:W2,options:{weekStartsOn:0,firstWeekContainsDate:1}};function z2(t){const e=Ne(t);return _y(e,Ra(e))+1}function of(t){const e=Ne(t),n=+br(e)-+r2(e);return Math.round(n/py)+1}function rf(t,e){const n=Ne(t),s=n.getFullYear(),i=Oo(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,r=ot(t,0);r.setFullYear(s+1,0,o),r.setHours(0,0,0,0);const a=us(r,e),l=ot(t,0);l.setFullYear(s,0,o),l.setHours(0,0,0,0);const c=us(l,e);return n.getTime()>=a.getTime()?s+1:n.getTime()>=c.getTime()?s:s-1}function Y2(t,e){const n=Oo(),s=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=rf(t,e),o=ot(t,0);return o.setFullYear(i,0,s),o.setHours(0,0,0,0),us(o,e)}function af(t,e){const n=Ne(t),s=+us(n,e)-+Y2(n,e);return Math.round(s/py)+1}function at(t,e){const n=t<0?"-":"",s=Math.abs(t).toString().padStart(e,"0");return n+s}const ui={y(t,e){const n=t.getFullYear(),s=n>0?n:1-n;return at(e==="yy"?s%100:s,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):at(n+1,2)},d(t,e){return at(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return at(t.getHours()%12||12,e.length)},H(t,e){return at(t.getHours(),e.length)},m(t,e){return at(t.getMinutes(),e.length)},s(t,e){return at(t.getSeconds(),e.length)},S(t,e){const n=e.length,s=t.getMilliseconds(),i=Math.trunc(s*Math.pow(10,n-3));return at(i,e.length)}},Ko={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},rm={G:function(t,e,n){const s=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(s,{width:"abbreviated"});case"GGGGG":return n.era(s,{width:"narrow"});case"GGGG":default:return n.era(s,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const s=t.getFullYear(),i=s>0?s:1-s;return n.ordinalNumber(i,{unit:"year"})}return ui.y(t,e)},Y:function(t,e,n,s){const i=rf(t,s),o=i>0?i:1-i;if(e==="YY"){const r=o%100;return at(r,2)}return e==="Yo"?n.ordinalNumber(o,{unit:"year"}):at(o,e.length)},R:function(t,e){const n=my(t);return at(n,e.length)},u:function(t,e){const n=t.getFullYear();return at(n,e.length)},Q:function(t,e,n){const s=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(s);case"QQ":return at(s,2);case"Qo":return n.ordinalNumber(s,{unit:"quarter"});case"QQQ":return n.quarter(s,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(s,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(s,{width:"wide",context:"formatting"})}},q:function(t,e,n){const s=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(s);case"qq":return at(s,2);case"qo":return n.ordinalNumber(s,{unit:"quarter"});case"qqq":return n.quarter(s,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(s,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(s,{width:"wide",context:"standalone"})}},M:function(t,e,n){const s=t.getMonth();switch(e){case"M":case"MM":return ui.M(t,e);case"Mo":return n.ordinalNumber(s+1,{unit:"month"});case"MMM":return n.month(s,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(s,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(s,{width:"wide",context:"formatting"})}},L:function(t,e,n){const s=t.getMonth();switch(e){case"L":return String(s+1);case"LL":return at(s+1,2);case"Lo":return n.ordinalNumber(s+1,{unit:"month"});case"LLL":return n.month(s,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(s,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(s,{width:"wide",context:"standalone"})}},w:function(t,e,n,s){const i=af(t,s);return e==="wo"?n.ordinalNumber(i,{unit:"week"}):at(i,e.length)},I:function(t,e,n){const s=of(t);return e==="Io"?n.ordinalNumber(s,{unit:"week"}):at(s,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):ui.d(t,e)},D:function(t,e,n){const s=z2(t);return e==="Do"?n.ordinalNumber(s,{unit:"dayOfYear"}):at(s,e.length)},E:function(t,e,n){const s=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(s,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(s,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(s,{width:"short",context:"formatting"});case"EEEE":default:return n.day(s,{width:"wide",context:"formatting"})}},e:function(t,e,n,s){const i=t.getDay(),o=(i-s.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return at(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,n,s){const i=t.getDay(),o=(i-s.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return at(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,n){const s=t.getDay(),i=s===0?7:s;switch(e){case"i":return String(i);case"ii":return at(i,e.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(s,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(s,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(s,{width:"short",context:"formatting"});case"iiii":default:return n.day(s,{width:"wide",context:"formatting"})}},a:function(t,e,n){const i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,n){const s=t.getHours();let i;switch(s===12?i=Ko.noon:s===0?i=Ko.midnight:i=s/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,n){const s=t.getHours();let i;switch(s>=17?i=Ko.evening:s>=12?i=Ko.afternoon:s>=4?i=Ko.morning:i=Ko.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let s=t.getHours()%12;return s===0&&(s=12),n.ordinalNumber(s,{unit:"hour"})}return ui.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):ui.H(t,e)},K:function(t,e,n){const s=t.getHours()%12;return e==="Ko"?n.ordinalNumber(s,{unit:"hour"}):at(s,e.length)},k:function(t,e,n){let s=t.getHours();return s===0&&(s=24),e==="ko"?n.ordinalNumber(s,{unit:"hour"}):at(s,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):ui.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):ui.s(t,e)},S:function(t,e){return ui.S(t,e)},X:function(t,e,n){const s=t.getTimezoneOffset();if(s===0)return"Z";switch(e){case"X":return lm(s);case"XXXX":case"XX":return lo(s);case"XXXXX":case"XXX":default:return lo(s,":")}},x:function(t,e,n){const s=t.getTimezoneOffset();switch(e){case"x":return lm(s);case"xxxx":case"xx":return lo(s);case"xxxxx":case"xxx":default:return lo(s,":")}},O:function(t,e,n){const s=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+am(s,":");case"OOOO":default:return"GMT"+lo(s,":")}},z:function(t,e,n){const s=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+am(s,":");case"zzzz":default:return"GMT"+lo(s,":")}},t:function(t,e,n){const s=Math.trunc(t.getTime()/1e3);return at(s,e.length)},T:function(t,e,n){const s=t.getTime();return at(s,e.length)}};function am(t,e=""){const n=t>0?"-":"+",s=Math.abs(t),i=Math.trunc(s/60),o=s%60;return o===0?n+String(i):n+String(i)+e+at(o,2)}function lm(t,e){return t%60===0?(t>0?"-":"+")+at(Math.abs(t)/60,2):lo(t,e)}function lo(t,e=""){const n=t>0?"-":"+",s=Math.abs(t),i=at(Math.trunc(s/60),2),o=at(s%60,2);return n+i+e+o}const cm=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},ky=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},U2=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],s=n[1],i=n[2];if(!i)return cm(t,e);let o;switch(s){case"P":o=e.dateTime({width:"short"});break;case"PP":o=e.dateTime({width:"medium"});break;case"PPP":o=e.dateTime({width:"long"});break;case"PPPP":default:o=e.dateTime({width:"full"});break}return o.replace("{{date}}",cm(s,e)).replace("{{time}}",ky(i,e))},Hd={p:ky,P:U2},K2=/^D+$/,q2=/^Y+$/,G2=["D","DD","YY","YYYY"];function Sy(t){return K2.test(t)}function $y(t){return q2.test(t)}function jd(t,e,n){const s=J2(t,e,n);if(console.warn(s),G2.includes(t))throw new RangeError(s)}function J2(t,e,n){const s=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${s} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const X2=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Q2=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Z2=/^'([^]*?)'?$/,eO=/''/g,tO=/[a-zA-Z]/;function $s(t,e,n){const s=Oo(),i=n?.locale??s.locale??xy,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,r=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0,a=Ne(t);if(!va(a))throw new RangeError("Invalid time value");let l=e.match(Q2).map(u=>{const d=u[0];if(d==="p"||d==="P"){const f=Hd[d];return f(u,i.formatLong)}return u}).join("").match(X2).map(u=>{if(u==="''")return{isToken:!1,value:"'"};const d=u[0];if(d==="'")return{isToken:!1,value:nO(u)};if(rm[d])return{isToken:!0,value:u};if(d.match(tO))throw new RangeError("Format string contains an unescaped latin alphabet character `"+d+"`");return{isToken:!1,value:u}});i.localize.preprocessor&&(l=i.localize.preprocessor(a,l));const c={firstWeekContainsDate:o,weekStartsOn:r,locale:i};return l.map(u=>{if(!u.isToken)return u.value;const d=u.value;(!n?.useAdditionalWeekYearTokens&&$y(d)||!n?.useAdditionalDayOfYearTokens&&Sy(d))&&jd(d,e,String(t));const f=rm[d[0]];return f(a,d,i.localize,c)}).join("")}function nO(t){const e=t.match(Z2);return e?e[1].replace(eO,"'"):t}function sO(t){return Ne(t).getDay()}function iO(t){const e=Ne(t),n=e.getFullYear(),s=e.getMonth(),i=ot(t,0);return i.setFullYear(n,s+1,0),i.setHours(0,0,0,0),i.getDate()}function oO(){return Object.assign({},Oo())}function Qs(t){return Ne(t).getHours()}function rO(t){let n=Ne(t).getDay();return n===0&&(n=7),n}function Oi(t){return Ne(t).getMinutes()}function Qe(t){return Ne(t).getMonth()}function yr(t){return Ne(t).getSeconds()}function ze(t){return Ne(t).getFullYear()}function wr(t,e){const n=Ne(t),s=Ne(e);return n.getTime()>s.getTime()}function La(t,e){const n=Ne(t),s=Ne(e);return+n<+s}function tr(t,e){const n=Ne(t),s=Ne(e);return+n==+s}function aO(t,e){const n=e instanceof Date?ot(e,0):new e(0);return n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),n}const lO=10;class Ay{subPriority=0;validate(e,n){return!0}}class cO extends Ay{constructor(e,n,s,i,o){super(),this.value=e,this.validateValue=n,this.setValue=s,this.priority=i,o&&(this.subPriority=o)}validate(e,n){return this.validateValue(e,this.value,n)}set(e,n,s){return this.setValue(e,n,this.value,s)}}class uO extends Ay{priority=lO;subPriority=-1;set(e,n){return n.timestampIsSet?e:ot(e,aO(e,Date))}}class rt{run(e,n,s,i){const o=this.parse(e,n,s,i);return o?{setter:new cO(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(e,n,s){return!0}}class dO extends rt{priority=140;parse(e,n,s){switch(n){case"G":case"GG":case"GGG":return s.era(e,{width:"abbreviated"})||s.era(e,{width:"narrow"});case"GGGGG":return s.era(e,{width:"narrow"});case"GGGG":default:return s.era(e,{width:"wide"})||s.era(e,{width:"abbreviated"})||s.era(e,{width:"narrow"})}}set(e,n,s){return n.era=s,e.setFullYear(s,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]}const Ot={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},ys={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function It(t,e){return t&&{value:e(t.value),rest:t.rest}}function kt(t,e){const n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function ws(t,e){const n=e.match(t);if(!n)return null;if(n[0]==="Z")return{value:0,rest:e.slice(1)};const s=n[1]==="+"?1:-1,i=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,r=n[5]?parseInt(n[5],10):0;return{value:s*(i*gy+o*n2+r*s2),rest:e.slice(n[0].length)}}function Cy(t){return kt(Ot.anyDigitsSigned,t)}function Tt(t,e){switch(t){case 1:return kt(Ot.singleDigit,e);case 2:return kt(Ot.twoDigits,e);case 3:return kt(Ot.threeDigits,e);case 4:return kt(Ot.fourDigits,e);default:return kt(new RegExp("^\\d{1,"+t+"}"),e)}}function _c(t,e){switch(t){case 1:return kt(Ot.singleDigitSigned,e);case 2:return kt(Ot.twoDigitsSigned,e);case 3:return kt(Ot.threeDigitsSigned,e);case 4:return kt(Ot.fourDigitsSigned,e);default:return kt(new RegExp("^-?\\d{1,"+t+"}"),e)}}function lf(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Ey(t,e){const n=e>0,s=n?e:1-e;let i;if(s<=50)i=t||100;else{const o=s+50,r=Math.trunc(o/100)*100,a=t>=o%100;i=t+r-(a?100:0)}return n?i:1-i}function Py(t){return t%400===0||t%4===0&&t%100!==0}class hO extends rt{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,n,s){const i=o=>({year:o,isTwoDigitYear:n==="yy"});switch(n){case"y":return It(Tt(4,e),i);case"yo":return It(s.ordinalNumber(e,{unit:"year"}),i);default:return It(Tt(n.length,e),i)}}validate(e,n){return n.isTwoDigitYear||n.year>0}set(e,n,s){const i=e.getFullYear();if(s.isTwoDigitYear){const r=Ey(s.year,i);return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}const o=!("era"in n)||n.era===1?s.year:1-s.year;return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}}class fO extends rt{priority=130;parse(e,n,s){const i=o=>({year:o,isTwoDigitYear:n==="YY"});switch(n){case"Y":return It(Tt(4,e),i);case"Yo":return It(s.ordinalNumber(e,{unit:"year"}),i);default:return It(Tt(n.length,e),i)}}validate(e,n){return n.isTwoDigitYear||n.year>0}set(e,n,s,i){const o=rf(e,i);if(s.isTwoDigitYear){const a=Ey(s.year,o);return e.setFullYear(a,0,i.firstWeekContainsDate),e.setHours(0,0,0,0),us(e,i)}const r=!("era"in n)||n.era===1?s.year:1-s.year;return e.setFullYear(r,0,i.firstWeekContainsDate),e.setHours(0,0,0,0),us(e,i)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class pO extends rt{priority=130;parse(e,n){return _c(n==="R"?4:n.length,e)}set(e,n,s){const i=ot(e,0);return i.setFullYear(s,0,4),i.setHours(0,0,0,0),br(i)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class gO extends rt{priority=130;parse(e,n){return _c(n==="u"?4:n.length,e)}set(e,n,s){return e.setFullYear(s,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class mO extends rt{priority=120;parse(e,n,s){switch(n){case"Q":case"QQ":return Tt(n.length,e);case"Qo":return s.ordinalNumber(e,{unit:"quarter"});case"QQQ":return s.quarter(e,{width:"abbreviated",context:"formatting"})||s.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return s.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return s.quarter(e,{width:"wide",context:"formatting"})||s.quarter(e,{width:"abbreviated",context:"formatting"})||s.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=1&&n<=4}set(e,n,s){return e.setMonth((s-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class _O extends rt{priority=120;parse(e,n,s){switch(n){case"q":case"qq":return Tt(n.length,e);case"qo":return s.ordinalNumber(e,{unit:"quarter"});case"qqq":return s.quarter(e,{width:"abbreviated",context:"standalone"})||s.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return s.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return s.quarter(e,{width:"wide",context:"standalone"})||s.quarter(e,{width:"abbreviated",context:"standalone"})||s.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,n){return n>=1&&n<=4}set(e,n,s){return e.setMonth((s-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class vO extends rt{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,n,s){const i=o=>o-1;switch(n){case"M":return It(kt(Ot.month,e),i);case"MM":return It(Tt(2,e),i);case"Mo":return It(s.ordinalNumber(e,{unit:"month"}),i);case"MMM":return s.month(e,{width:"abbreviated",context:"formatting"})||s.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return s.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return s.month(e,{width:"wide",context:"formatting"})||s.month(e,{width:"abbreviated",context:"formatting"})||s.month(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=0&&n<=11}set(e,n,s){return e.setMonth(s,1),e.setHours(0,0,0,0),e}}class bO extends rt{priority=110;parse(e,n,s){const i=o=>o-1;switch(n){case"L":return It(kt(Ot.month,e),i);case"LL":return It(Tt(2,e),i);case"Lo":return It(s.ordinalNumber(e,{unit:"month"}),i);case"LLL":return s.month(e,{width:"abbreviated",context:"standalone"})||s.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return s.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return s.month(e,{width:"wide",context:"standalone"})||s.month(e,{width:"abbreviated",context:"standalone"})||s.month(e,{width:"narrow",context:"standalone"})}}validate(e,n){return n>=0&&n<=11}set(e,n,s){return e.setMonth(s,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function yO(t,e,n){const s=Ne(t),i=af(s,n)-e;return s.setDate(s.getDate()-i*7),s}class wO extends rt{priority=100;parse(e,n,s){switch(n){case"w":return kt(Ot.week,e);case"wo":return s.ordinalNumber(e,{unit:"week"});default:return Tt(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,s,i){return us(yO(e,s,i),i)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function xO(t,e){const n=Ne(t),s=of(n)-e;return n.setDate(n.getDate()-s*7),n}class kO extends rt{priority=100;parse(e,n,s){switch(n){case"I":return kt(Ot.week,e);case"Io":return s.ordinalNumber(e,{unit:"week"});default:return Tt(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,s){return br(xO(e,s))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const SO=[31,28,31,30,31,30,31,31,30,31,30,31],$O=[31,29,31,30,31,30,31,31,30,31,30,31];class AO extends rt{priority=90;subPriority=1;parse(e,n,s){switch(n){case"d":return kt(Ot.date,e);case"do":return s.ordinalNumber(e,{unit:"date"});default:return Tt(n.length,e)}}validate(e,n){const s=e.getFullYear(),i=Py(s),o=e.getMonth();return i?n>=1&&n<=$O[o]:n>=1&&n<=SO[o]}set(e,n,s){return e.setDate(s),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class CO extends rt{priority=90;subpriority=1;parse(e,n,s){switch(n){case"D":case"DD":return kt(Ot.dayOfYear,e);case"Do":return s.ordinalNumber(e,{unit:"date"});default:return Tt(n.length,e)}}validate(e,n){const s=e.getFullYear();return Py(s)?n>=1&&n<=366:n>=1&&n<=365}set(e,n,s){return e.setMonth(0,s),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function cf(t,e,n){const s=Oo(),i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0,o=Ne(t),r=o.getDay(),l=(e%7+7)%7,c=7-i,u=e<0||e>6?e-(r+c)%7:(l+c)%7-(r+c)%7;return is(o,u)}class EO extends rt{priority=90;parse(e,n,s){switch(n){case"E":case"EE":case"EEE":return s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return s.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return s.day(e,{width:"wide",context:"formatting"})||s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=0&&n<=6}set(e,n,s,i){return e=cf(e,s,i),e.setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]}class PO extends rt{priority=90;parse(e,n,s,i){const o=r=>{const a=Math.floor((r-1)/7)*7;return(r+i.weekStartsOn+6)%7+a};switch(n){case"e":case"ee":return It(Tt(n.length,e),o);case"eo":return It(s.ordinalNumber(e,{unit:"day"}),o);case"eee":return s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"});case"eeeee":return s.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return s.day(e,{width:"wide",context:"formatting"})||s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=0&&n<=6}set(e,n,s,i){return e=cf(e,s,i),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class TO extends rt{priority=90;parse(e,n,s,i){const o=r=>{const a=Math.floor((r-1)/7)*7;return(r+i.weekStartsOn+6)%7+a};switch(n){case"c":case"cc":return It(Tt(n.length,e),o);case"co":return It(s.ordinalNumber(e,{unit:"day"}),o);case"ccc":return s.day(e,{width:"abbreviated",context:"standalone"})||s.day(e,{width:"short",context:"standalone"})||s.day(e,{width:"narrow",context:"standalone"});case"ccccc":return s.day(e,{width:"narrow",context:"standalone"});case"cccccc":return s.day(e,{width:"short",context:"standalone"})||s.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return s.day(e,{width:"wide",context:"standalone"})||s.day(e,{width:"abbreviated",context:"standalone"})||s.day(e,{width:"short",context:"standalone"})||s.day(e,{width:"narrow",context:"standalone"})}}validate(e,n){return n>=0&&n<=6}set(e,n,s,i){return e=cf(e,s,i),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function MO(t,e){const n=Ne(t),s=rO(n),i=e-s;return is(n,i)}class DO extends rt{priority=90;parse(e,n,s){const i=o=>o===0?7:o;switch(n){case"i":case"ii":return Tt(n.length,e);case"io":return s.ordinalNumber(e,{unit:"day"});case"iii":return It(s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"}),i);case"iiiii":return It(s.day(e,{width:"narrow",context:"formatting"}),i);case"iiiiii":return It(s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"}),i);case"iiii":default:return It(s.day(e,{width:"wide",context:"formatting"})||s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"}),i)}}validate(e,n){return n>=1&&n<=7}set(e,n,s){return e=MO(e,s),e.setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class OO extends rt{priority=80;parse(e,n,s){switch(n){case"a":case"aa":case"aaa":return s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return s.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return s.dayPeriod(e,{width:"wide",context:"formatting"})||s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,n,s){return e.setHours(lf(s),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]}class IO extends rt{priority=80;parse(e,n,s){switch(n){case"b":case"bb":case"bbb":return s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return s.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return s.dayPeriod(e,{width:"wide",context:"formatting"})||s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,n,s){return e.setHours(lf(s),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]}class RO extends rt{priority=80;parse(e,n,s){switch(n){case"B":case"BB":case"BBB":return s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return s.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return s.dayPeriod(e,{width:"wide",context:"formatting"})||s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,n,s){return e.setHours(lf(s),0,0,0),e}incompatibleTokens=["a","b","t","T"]}class LO extends rt{priority=70;parse(e,n,s){switch(n){case"h":return kt(Ot.hour12h,e);case"ho":return s.ordinalNumber(e,{unit:"hour"});default:return Tt(n.length,e)}}validate(e,n){return n>=1&&n<=12}set(e,n,s){const i=e.getHours()>=12;return i&&s<12?e.setHours(s+12,0,0,0):!i&&s===12?e.setHours(0,0,0,0):e.setHours(s,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}class NO extends rt{priority=70;parse(e,n,s){switch(n){case"H":return kt(Ot.hour23h,e);case"Ho":return s.ordinalNumber(e,{unit:"hour"});default:return Tt(n.length,e)}}validate(e,n){return n>=0&&n<=23}set(e,n,s){return e.setHours(s,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]}class FO extends rt{priority=70;parse(e,n,s){switch(n){case"K":return kt(Ot.hour11h,e);case"Ko":return s.ordinalNumber(e,{unit:"hour"});default:return Tt(n.length,e)}}validate(e,n){return n>=0&&n<=11}set(e,n,s){return e.getHours()>=12&&s<12?e.setHours(s+12,0,0,0):e.setHours(s,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]}class BO extends rt{priority=70;parse(e,n,s){switch(n){case"k":return kt(Ot.hour24h,e);case"ko":return s.ordinalNumber(e,{unit:"hour"});default:return Tt(n.length,e)}}validate(e,n){return n>=1&&n<=24}set(e,n,s){const i=s<=24?s%24:s;return e.setHours(i,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]}class VO extends rt{priority=60;parse(e,n,s){switch(n){case"m":return kt(Ot.minute,e);case"mo":return s.ordinalNumber(e,{unit:"minute"});default:return Tt(n.length,e)}}validate(e,n){return n>=0&&n<=59}set(e,n,s){return e.setMinutes(s,0,0),e}incompatibleTokens=["t","T"]}class HO extends rt{priority=50;parse(e,n,s){switch(n){case"s":return kt(Ot.second,e);case"so":return s.ordinalNumber(e,{unit:"second"});default:return Tt(n.length,e)}}validate(e,n){return n>=0&&n<=59}set(e,n,s){return e.setSeconds(s,0),e}incompatibleTokens=["t","T"]}class jO extends rt{priority=30;parse(e,n){const s=i=>Math.trunc(i*Math.pow(10,-n.length+3));return It(Tt(n.length,e),s)}set(e,n,s){return e.setMilliseconds(s),e}incompatibleTokens=["t","T"]}class WO extends rt{priority=10;parse(e,n){switch(n){case"X":return ws(ys.basicOptionalMinutes,e);case"XX":return ws(ys.basic,e);case"XXXX":return ws(ys.basicOptionalSeconds,e);case"XXXXX":return ws(ys.extendedOptionalSeconds,e);case"XXX":default:return ws(ys.extended,e)}}set(e,n,s){return n.timestampIsSet?e:ot(e,e.getTime()-mc(e)-s)}incompatibleTokens=["t","T","x"]}class zO extends rt{priority=10;parse(e,n){switch(n){case"x":return ws(ys.basicOptionalMinutes,e);case"xx":return ws(ys.basic,e);case"xxxx":return ws(ys.basicOptionalSeconds,e);case"xxxxx":return ws(ys.extendedOptionalSeconds,e);case"xxx":default:return ws(ys.extended,e)}}set(e,n,s){return n.timestampIsSet?e:ot(e,e.getTime()-mc(e)-s)}incompatibleTokens=["t","T","X"]}class YO extends rt{priority=40;parse(e){return Cy(e)}set(e,n,s){return[ot(e,s*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class UO extends rt{priority=20;parse(e){return Cy(e)}set(e,n,s){return[ot(e,s),{timestampIsSet:!0}]}incompatibleTokens="*"}const KO={G:new dO,y:new hO,Y:new fO,R:new pO,u:new gO,Q:new mO,q:new _O,M:new vO,L:new bO,w:new wO,I:new kO,d:new AO,D:new CO,E:new EO,e:new PO,c:new TO,i:new DO,a:new OO,b:new IO,B:new RO,h:new LO,H:new NO,K:new FO,k:new BO,m:new VO,s:new HO,S:new jO,X:new WO,x:new zO,t:new YO,T:new UO},qO=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,GO=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,JO=/^'([^]*?)'?$/,XO=/''/g,QO=/\S/,ZO=/[a-zA-Z]/;function Wd(t,e,n,s){const i=oO(),o=s?.locale??i.locale??xy,r=s?.firstWeekContainsDate??s?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,a=s?.weekStartsOn??s?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0;if(e==="")return t===""?Ne(n):ot(n,NaN);const l={firstWeekContainsDate:r,weekStartsOn:a,locale:o},c=[new uO],u=e.match(GO).map(m=>{const b=m[0];if(b in Hd){const w=Hd[b];return w(m,o.formatLong)}return m}).join("").match(qO),d=[];for(let m of u){!s?.useAdditionalWeekYearTokens&&$y(m)&&jd(m,e,t),!s?.useAdditionalDayOfYearTokens&&Sy(m)&&jd(m,e,t);const b=m[0],w=KO[b];if(w){const{incompatibleTokens:$}=w;if(Array.isArray($)){const D=d.find(x=>$.includes(x.token)||x.token===b);if(D)throw new RangeError(`The format string mustn't contain \`${D.fullToken}\` and \`${m}\` at the same time`)}else if(w.incompatibleTokens==="*"&&d.length>0)throw new RangeError(`The format string mustn't contain \`${m}\` and any other token at the same time`);d.push({token:b,fullToken:m});const A=w.run(t,m,o.match,l);if(!A)return ot(n,NaN);c.push(A.setter),t=A.rest}else{if(b.match(ZO))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");if(m==="''"?m="'":b==="'"&&(m=eI(m)),t.indexOf(m)===0)t=t.slice(m.length);else return ot(n,NaN)}}if(t.length>0&&QO.test(t))return ot(n,NaN);const f=c.map(m=>m.priority).sort((m,b)=>b-m).filter((m,b,w)=>w.indexOf(m)===b).map(m=>c.filter(b=>b.priority===m).sort((b,w)=>w.subPriority-b.subPriority)).map(m=>m[0]);let g=Ne(n);if(isNaN(g.getTime()))return ot(n,NaN);const _={};for(const m of f){if(!m.validate(g,l))return ot(n,NaN);const b=m.set(g,_,l);Array.isArray(b)?(g=b[0],Object.assign(_,b[1])):g=b}return ot(n,g)}function eI(t){return t.match(JO)[1].replace(XO,"'")}function um(t,e){const n=go(t),s=go(e);return+n==+s}function tI(t,e){return is(t,-e)}function Ty(t,e){const n=Ne(t),s=n.getFullYear(),i=n.getDate(),o=ot(t,0);o.setFullYear(s,e,15),o.setHours(0,0,0,0);const r=iO(o);return n.setMonth(e,Math.min(i,r)),n}function dt(t,e){let n=Ne(t);return isNaN(+n)?ot(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=Ty(n,e.month)),e.date!=null&&n.setDate(e.date),e.hours!=null&&n.setHours(e.hours),e.minutes!=null&&n.setMinutes(e.minutes),e.seconds!=null&&n.setSeconds(e.seconds),e.milliseconds!=null&&n.setMilliseconds(e.milliseconds),n)}function nI(t,e){const n=Ne(t);return n.setHours(e),n}function My(t,e){const n=Ne(t);return n.setMilliseconds(e),n}function sI(t,e){const n=Ne(t);return n.setMinutes(e),n}function Dy(t,e){const n=Ne(t);return n.setSeconds(e),n}function xs(t,e){const n=Ne(t);return isNaN(+n)?ot(t,NaN):(n.setFullYear(e),n)}function xr(t,e){return ls(t,-e)}function iI(t,e){const{years:n=0,months:s=0,weeks:i=0,days:o=0,hours:r=0,minutes:a=0,seconds:l=0}=e,c=xr(t,s+n*12),u=tI(c,o+i*7),d=a+r*60,g=(l+d*60)*1e3;return ot(t,u.getTime()-g)}function Oy(t,e){return sf(t,-e)}function Lr(){const t=sA();return M(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...t},[h("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),h("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),h("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),h("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}Lr.compatConfig={MODE:3};function Iy(){return M(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),h("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Iy.compatConfig={MODE:3};function uf(){return M(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}uf.compatConfig={MODE:3};function df(){return M(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}df.compatConfig={MODE:3};function hf(){return M(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),h("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}hf.compatConfig={MODE:3};function ff(){return M(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}ff.compatConfig={MODE:3};function pf(){return M(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}pf.compatConfig={MODE:3};const En=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),gf=(t,e,n)=>zd(t,e,n)||we(),oI=(t,e,n)=>{const s=e.dateInTz?En(new Date(t),e.dateInTz):we(t);return n?wn(s,!0):s},zd=(t,e,n)=>{if(!t)return null;const s=n?wn(we(t),!0):we(t);return e?e.exactMatch?oI(t,e,n):En(s,e.timezone):s},rI=t=>{if(!t)return 0;const e=new Date,n=new Date(e.toLocaleString("en-US",{timeZone:"UTC"})),s=new Date(e.toLocaleString("en-US",{timeZone:t})),i=s.getTimezoneOffset()/60;return(+n-+s)/(1e3*60*60)-i};var ts=(t=>(t.month="month",t.year="year",t))(ts||{}),co=(t=>(t.top="top",t.bottom="bottom",t))(co||{}),yo=(t=>(t.header="header",t.calendar="calendar",t.timePicker="timePicker",t))(yo||{}),ln=(t=>(t.month="month",t.year="year",t.calendar="calendar",t.time="time",t.minutes="minutes",t.hours="hours",t.seconds="seconds",t))(ln||{});const aI=["timestamp","date","iso"];var gn=(t=>(t.up="up",t.down="down",t.left="left",t.right="right",t))(gn||{}),mt=(t=>(t.arrowUp="ArrowUp",t.arrowDown="ArrowDown",t.arrowLeft="ArrowLeft",t.arrowRight="ArrowRight",t.enter="Enter",t.space=" ",t.esc="Escape",t.tab="Tab",t.home="Home",t.end="End",t.pageUp="PageUp",t.pageDown="PageDown",t))(mt||{});function dm(t){return e=>new Intl.DateTimeFormat(t,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${e}T00:00:00+00:00`)).slice(0,2)}function lI(t){return e=>$s(En(new Date(`2017-01-0${e}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:t})}const cI=(t,e,n)=>{const s=[1,2,3,4,5,6,7];let i;if(t!==null)try{i=s.map(lI(t))}catch{i=s.map(dm(e))}else i=s.map(dm(e));const o=i.slice(0,n),r=i.slice(n+1,i.length);return[i[n]].concat(...r).concat(...o)},mf=(t,e,n)=>{const s=[];for(let i=+t[0];i<=+t[1];i++)s.push({value:+i,text:Fy(i,e)});return n?s.reverse():s},Ry=(t,e,n)=>{const s=[1,2,3,4,5,6,7,8,9,10,11,12].map(o=>{const r=o<10?`0${o}`:o;return new Date(`2017-${r}-01T00:00:00+00:00`)});if(t!==null)try{const o=n==="long"?"LLLL":"LLL";return s.map((r,a)=>{const l=$s(En(r,"UTC"),o,{locale:t});return{text:l.charAt(0).toUpperCase()+l.substring(1),value:a}})}catch{}const i=new Intl.DateTimeFormat(e,{month:n,timeZone:"UTC"});return s.map((o,r)=>{const a=i.format(o);return{text:a.charAt(0).toUpperCase()+a.substring(1),value:r}})},uI=t=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][t],Ht=t=>{const e=q(t);return e!=null&&e.$el?e?.$el:e},dI=t=>({type:"dot",...t??{}}),Ly=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,_f={prop:t=>`"${t}" prop must be enabled!`,dateArr:t=>`You need to use array as "model-value" binding in order to support "${t}"`},Jt=t=>t,hm=t=>t===0?t:!t||isNaN(+t)?null:+t,fm=t=>t===null,Ny=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},hI=t=>{const e=[],n=s=>s.filter(i=>i);for(let s=0;s{const s=n!=null,i=e!=null;if(!s&&!i)return!1;const o=+n,r=+e;return s&&i?+t>o||+to:i?+thI(t).map(n=>n.map(s=>{const{active:i,disabled:o,isBetween:r,highlighted:a}=e(s);return{...s,active:i,disabled:o,className:{dp__overlay_cell_active:i,dp__overlay_cell:!i,dp__overlay_cell_disabled:o,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:o&&i,dp__cell_in_between:r,"dp--highlighted":a}}})),Ci=(t,e,n=!1)=>{t&&e.allowStopPropagation&&(n&&t.stopImmediatePropagation(),t.stopPropagation())},fI=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function pI(t,e){let n=[...document.querySelectorAll(fI())];n=n.filter(i=>!t.contains(i)||i.hasAttribute("data-datepicker-instance"));const s=n.indexOf(t);if(s>=0&&(e?s-1>=0:s+1<=n.length))return n[s+(e?-1:1)]}const Yd=(t,e)=>t?.querySelector(`[data-dp-element="${e}"]`),Fy=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),vf=t=>$s(t,"dd-MM-yyyy"),Wu=t=>Array.isArray(t),vc=(t,e)=>e.get(vf(t)),gI=(t,e)=>t?e?e instanceof Map?!!vc(t,e):e(we(t)):!1:!0,vn=(t,e,n=!1,s)=>{if(t.key===mt.enter||t.key===mt.space)return n&&t.preventDefault(),e();if(s)return s(t)},mI=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(t=>navigator.userAgent.includes(t))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,pm=(t,e,n,s,i,o)=>{const r=Wd(t,e.slice(0,t.length),new Date,{locale:o});return va(r)&&vy(r)?s||i?r:dt(r,{hours:+n.hours,minutes:+n?.minutes,seconds:+n?.seconds,milliseconds:0}):null},_I=(t,e,n,s,i,o)=>{const r=Array.isArray(n)?n[0]:n;if(typeof e=="string")return pm(t,e,r,s,i,o);if(Array.isArray(e)){let a=null;for(const l of e)if(a=pm(t,l,r,s,i,o),a)break;return a}return typeof e=="function"?e(t):null},we=t=>t?new Date(t):new Date,vI=(t,e,n)=>{if(e){const i=(t.getMonth()+1).toString().padStart(2,"0"),o=t.getDate().toString().padStart(2,"0"),r=t.getHours().toString().padStart(2,"0"),a=t.getMinutes().toString().padStart(2,"0"),l=n?t.getSeconds().toString().padStart(2,"0"):"00";return`${t.getFullYear()}-${i}-${o}T${r}:${a}:${l}.000Z`}const s=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return new Date(s).toISOString()},wn=(t,e)=>{const n=we(JSON.parse(JSON.stringify(t))),s=dt(n,{hours:0,minutes:0,seconds:0,milliseconds:0});return e?d2(s):s},Ei=(t,e,n,s)=>{let i=t?we(t):we();return(e||e===0)&&(i=nI(i,+e)),(n||n===0)&&(i=sI(i,+n)),(s||s===0)&&(i=Dy(i,+s)),My(i,0)},$t=(t,e)=>!t||!e?!1:La(wn(t),wn(e)),tt=(t,e)=>!t||!e?!1:tr(wn(t),wn(e)),Dt=(t,e)=>!t||!e?!1:wr(wn(t),wn(e)),Xc=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?Dt(n,t[0])&&$t(n,t[1]):t!=null&&t[0]&&e?Dt(n,t[0])&&$t(n,e)||$t(n,t[0])&&Dt(n,e):!1,os=t=>{const e=dt(new Date(t),{date:1});return wn(e)},zu=(t,e,n)=>e&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(s=>s===e?[s,n]:[s,isNaN(+t[s])?void 0:+t[s]])):{hours:isNaN(+t.hours)?void 0:+t.hours,minutes:isNaN(+t.minutes)?void 0:+t.minutes,seconds:isNaN(+t.seconds)?void 0:+t.seconds},wo=t=>({hours:Qs(t),minutes:Oi(t),seconds:yr(t)}),By=(t,e)=>{if(e){const n=ze(we(e));if(n>t)return 12;if(n===t)return Qe(we(e))}},Vy=(t,e)=>{if(e){const n=ze(we(e));return n{if(t)return ze(we(t))},Hy=(t,e)=>{const n=Dt(t,e)?e:t,s=Dt(e,t)?e:t;return by({start:n,end:s})},bI=t=>{const e=ls(t,1);return{month:Qe(e),year:ze(e)}},js=(t,e)=>{const n=us(t,{weekStartsOn:+e}),s=wy(t,{weekStartsOn:+e});return[n,s]},jy=(t,e)=>{const n={hours:Qs(we()),minutes:Oi(we()),seconds:e?yr(we()):0};return Object.assign(n,t)},yi=(t,e,n)=>[dt(we(t),{date:1}),dt(we(),{month:e,year:n,date:1})],Ys=(t,e,n)=>{let s=t?we(t):we();return(e||e===0)&&(s=Ty(s,e)),n&&(s=xs(s,n)),s},Wy=(t,e,n,s,i)=>{if(!s||i&&!e||!i&&!n)return!1;const o=i?ls(t,1):xr(t,1),r=[Qe(o),ze(o)];return i?!wI(...r,e):!yI(...r,n)},yI=(t,e,n)=>$t(...yi(n,t,e))||tt(...yi(n,t,e)),wI=(t,e,n)=>Dt(...yi(n,t,e))||tt(...yi(n,t,e)),zy=(t,e,n,s,i,o,r)=>{if(typeof e=="function"&&!r)return e(t);const a=n?{locale:n}:void 0;return Array.isArray(t)?`${$s(t[0],o,a)}${i&&!t[1]?"":s}${t[1]?$s(t[1],o,a):""}`:$s(t,o,a)},qo=t=>{if(t)return null;throw new Error(_f.prop("partial-range"))},Tl=(t,e)=>{if(e)return t();throw new Error(_f.prop("range"))},Ud=t=>Array.isArray(t)?va(t[0])&&(t[1]?va(t[1]):!0):t?va(t):!1,xI=(t,e)=>dt(e??we(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),Yu=(t,e,n,s)=>{if(!t)return!0;if(s){const i=n==="max"?La(t,e):wr(t,e),o={seconds:0,milliseconds:0};return i||tr(dt(t,o),dt(e,o))}return n==="max"?t.getTime()<=e.getTime():t.getTime()>=e.getTime()},Uu=(t,e,n)=>t?xI(t,e):we(n??e),gm=(t,e,n,s,i)=>{if(Array.isArray(s)){const r=Uu(t,s[0],e),a=Uu(t,s[1],e);return Yu(s[0],r,n,!!e)&&Yu(s[1],a,n,!!e)&&i}const o=Uu(t,s,e);return Yu(s,o,n,!!e)&&i},Ku=t=>dt(we(),wo(t)),kI=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>ze(we(n))===e).map(n=>Qe(n)):[],Yy=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(s=>s.month===e&&s.year===n),bf=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),Uy=t=>$s(t,"yyyy-MM-dd"),Jr=Ts({menuFocused:!1,shiftKeyInMenu:!1}),Ky=()=>{const t=n=>{Jr.menuFocused=n},e=n=>{Jr.shiftKeyInMenu!==n&&(Jr.shiftKeyInMenu=n)};return{control:_e(()=>({shiftKeyInMenu:Jr.shiftKeyInMenu,menuFocused:Jr.menuFocused})),setMenuFocused:t,setShiftKey:e}},gt=Ts({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),qu=ve(null),Ml=ve(!1),Gu=ve(!1),Ju=ve(!1),Xu=ve(!1),rn=ve(0),Mt=ve(0),Hi=()=>{const t=_e(()=>Ml.value?[...gt.selectionGrid,gt.actionRow].filter(d=>d.length):Gu.value?[...gt.timePicker[0],...gt.timePicker[1],Xu.value?[]:[qu.value],gt.actionRow].filter(d=>d.length):Ju.value?[...gt.monthPicker,gt.actionRow]:[gt.monthYear,...gt.calendar,gt.time,gt.actionRow].filter(d=>d.length)),e=d=>{rn.value=d?rn.value+1:rn.value-1;let f=null;t.value[Mt.value]&&(f=t.value[Mt.value][rn.value]),!f&&t.value[Mt.value+(d?1:-1)]?(Mt.value=Mt.value+(d?1:-1),rn.value=d?0:t.value[Mt.value].length-1):f||(rn.value=d?rn.value-1:rn.value+1)},n=d=>{Mt.value===0&&!d||Mt.value===t.value.length&&d||(Mt.value=d?Mt.value+1:Mt.value-1,t.value[Mt.value]?t.value[Mt.value]&&!t.value[Mt.value][rn.value]&&rn.value!==0&&(rn.value=t.value[Mt.value].length-1):Mt.value=d?Mt.value-1:Mt.value+1)},s=d=>{let f=null;t.value[Mt.value]&&(f=t.value[Mt.value][rn.value]),f?f.focus({preventScroll:!Ml.value}):rn.value=d?rn.value-1:rn.value+1},i=()=>{e(!0),s(!0)},o=()=>{e(!1),s(!1)},r=()=>{n(!1),s(!0)},a=()=>{n(!0),s(!0)},l=(d,f)=>{gt[f]=d},c=(d,f)=>{gt[f]=d},u=()=>{rn.value=0,Mt.value=0};return{buildMatrix:l,buildMultiLevelMatrix:c,setTimePickerBackRef:d=>{qu.value=d},setSelectionGrid:d=>{Ml.value=d,u(),d||(gt.selectionGrid=[])},setTimePicker:(d,f=!1)=>{Gu.value=d,Xu.value=f,u(),d||(gt.timePicker[0]=[],gt.timePicker[1]=[])},setTimePickerElements:(d,f=0)=>{gt.timePicker[f]=d},arrowRight:i,arrowLeft:o,arrowUp:r,arrowDown:a,clearArrowNav:()=>{gt.monthYear=[],gt.calendar=[],gt.time=[],gt.actionRow=[],gt.selectionGrid=[],gt.timePicker[0]=[],gt.timePicker[1]=[],Ml.value=!1,Gu.value=!1,Xu.value=!1,Ju.value=!1,u(),qu.value=null},setMonthPicker:d=>{Ju.value=d,u()},refSets:gt}},mm=t=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...t??{}}),SI=t=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:e=>`Increment ${e}`,decrementValue:e=>`Decrement ${e}`,openTpOverlay:e=>`Open ${e} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:e=>`Month picker${e?" overlay":""}`,yearPicker:e=>`Year picker${e?" overlay":""}`,timeOverlay:e=>`${e} overlay`,...t??{}}),_m=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,$I=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:_m(!1)};const s=e?t:{},i=e?s.count??!0:t,o=_m(i);return Object.assign(n,s,{count:o})},AI=(t,e,n)=>t||(typeof n=="string"?n:e),CI=t=>typeof t=="boolean"?t?mm({}):!1:mm(t),EI=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},PI=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),TI=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),MI=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},DI=t=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,...t??{}}),OI=t=>{const e={dates:Array.isArray(t)?t.map(n=>we(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof t=="function"?t:{...e,...t??{}}},II=t=>typeof t=="object"?{type:t?.type??"local",hideOnOffsetDates:t?.hideOnOffsetDates??!1}:{type:t,hideOnOffsetDates:!1},RI=t=>{const e={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof t=="object"?{enabled:!0,...e,...t}:{enabled:t,...e}},LI=t=>t?typeof t=="string"?{timezone:t,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:t.timezone,exactMatch:t.exactMatch??!1,dateInTz:t.dateInTz??void 0,emitTimezone:t.emitTimezone??void 0,convertModel:t.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},Qu=(t,e,n)=>new Map(t.map(s=>{const i=gf(s,e,n);return[vf(i),i]})),NI=(t,e)=>t.length?new Map(t.map(n=>{const s=gf(n.date,e);return[vf(s),n]})):null,FI=t=>{var e;return{minDate:zd(t.minDate,t.timezone,t.isSpecific),maxDate:zd(t.maxDate,t.timezone,t.isSpecific),disabledDates:Wu(t.disabledDates)?Qu(t.disabledDates,t.timezone,t.isSpecific):t.disabledDates,allowedDates:Wu(t.allowedDates)?Qu(t.allowedDates,t.timezone,t.isSpecific):null,highlight:typeof t.highlight=="object"&&Wu((e=t.highlight)==null?void 0:e.dates)?Qu(t.highlight.dates,t.timezone):t.highlight,markers:NI(t.markers,t.timezone)}},BI=t=>typeof t=="boolean"?{enabled:t,dragSelect:!0,limit:null}:{enabled:!!t,limit:t.limit?+t.limit:null,dragSelect:t.dragSelect??!0},VI=t=>({...Object.fromEntries(Object.keys(t).map(e=>{const n=e,s=t[n],i=typeof t[n]=="string"?{[s]:!0}:Object.fromEntries(s.map(o=>[o,!0]));return[e,i]}))}),xt=t=>{const e=()=>{const y=t.enableSeconds?":ss":"",S=t.enableMinutes?":mm":"";return t.is24?`HH${S}${y}`:`hh${S}${y} aa`},n=()=>{var y;return t.format?t.format:t.monthPicker?"MM/yyyy":t.timePicker?e():t.weekPicker?`${((y=b.value)==null?void 0:y.type)==="iso"?"RR":"ww"}-yyyy`:t.yearPicker?"yyyy":t.quarterPicker?"QQQ/yyyy":t.enableTimePicker?`MM/dd/yyyy, ${e()}`:"MM/dd/yyyy"},s=y=>jy(y,t.enableSeconds),i=()=>D.value.enabled?t.startTime&&Array.isArray(t.startTime)?[s(t.startTime[0]),s(t.startTime[1])]:null:t.startTime&&!Array.isArray(t.startTime)?s(t.startTime):null,o=_e(()=>$I(t.multiCalendars)),r=_e(()=>i()),a=_e(()=>SI(t.ariaLabels)),l=_e(()=>PI(t.filters)),c=_e(()=>CI(t.transitions)),u=_e(()=>TI(t.actionRow)),d=_e(()=>AI(t.previewFormat,t.format,n())),f=_e(()=>EI(t.textInput)),g=_e(()=>MI(t.inline)),_=_e(()=>DI(t.config)),m=_e(()=>OI(t.highlight)),b=_e(()=>II(t.weekNumbers)),w=_e(()=>LI(t.timezone)),$=_e(()=>BI(t.multiDates)),A=_e(()=>FI({minDate:t.minDate,maxDate:t.maxDate,disabledDates:t.disabledDates,allowedDates:t.allowedDates,highlight:m.value,markers:t.markers,timezone:w.value,isSpecific:t.monthPicker||t.yearPicker||t.quarterPicker})),D=_e(()=>RI(t.range)),x=_e(()=>VI(t.ui));return{defaultedTransitions:c,defaultedMultiCalendars:o,defaultedStartTime:r,defaultedAriaLabels:a,defaultedFilters:l,defaultedActionRow:u,defaultedPreviewFormat:d,defaultedTextInput:f,defaultedInline:g,defaultedConfig:_,defaultedHighlight:m,defaultedWeekNumbers:b,defaultedRange:D,propDates:A,defaultedTz:w,defaultedMultiDates:$,defaultedUI:x,getDefaultPattern:n,getDefaultStartTime:i}},HI=(t,e,n)=>{const s=ve(),{defaultedTextInput:i,defaultedRange:o,defaultedTz:r,defaultedMultiDates:a,getDefaultPattern:l}=xt(e),c=ve(""),u=Ca(e,"format"),d=Ca(e,"formatLocale");Bt(s,()=>{typeof e.onInternalModelChange=="function"&&t("internal-model-change",s.value,oe(!0))},{deep:!0}),Bt(o,(P,se)=>{P.enabled!==se.enabled&&(s.value=null)}),Bt(u,()=>{Q()});const f=P=>r.value.timezone&&r.value.convertModel?En(P,r.value.timezone):P,g=P=>{if(r.value.timezone&&r.value.convertModel){const se=rI(r.value.timezone);return i2(P,se)}return P},_=(P,se,ue=!1)=>zy(P,e.format,e.formatLocale,i.value.rangeSeparator,e.modelAuto,se??l(),ue),m=P=>P?e.modelType?le(P):{hours:Qs(P),minutes:Oi(P),seconds:e.enableSeconds?yr(P):0}:null,b=P=>e.modelType?le(P):{month:Qe(P),year:ze(P)},w=P=>Array.isArray(P)?a.value.enabled?P.map(se=>$(se,xs(we(),se))):Tl(()=>[xs(we(),P[0]),P[1]?xs(we(),P[1]):qo(o.value.partialRange)],o.value.enabled):xs(we(),+P),$=(P,se)=>(typeof P=="string"||typeof P=="number")&&e.modelType?Z(P):se,A=P=>Array.isArray(P)?[$(P[0],Ei(null,+P[0].hours,+P[0].minutes,P[0].seconds)),$(P[1],Ei(null,+P[1].hours,+P[1].minutes,P[1].seconds))]:$(P,Ei(null,P.hours,P.minutes,P.seconds)),D=P=>{const se=dt(we(),{date:1});return Array.isArray(P)?a.value.enabled?P.map(ue=>$(ue,Ys(se,+ue.month,+ue.year))):Tl(()=>[$(P[0],Ys(se,+P[0].month,+P[0].year)),$(P[1],P[1]?Ys(se,+P[1].month,+P[1].year):qo(o.value.partialRange))],o.value.enabled):$(P,Ys(se,+P.month,+P.year))},x=P=>{if(Array.isArray(P))return P.map(se=>Z(se));throw new Error(_f.dateArr("multi-dates"))},y=P=>{if(Array.isArray(P)&&o.value.enabled){const se=P[0],ue=P[1];return[we(Array.isArray(se)?se[0]:null),we(Array.isArray(ue)?ue[0]:null)]}return we(P[0])},S=P=>e.modelAuto?Array.isArray(P)?[Z(P[0]),Z(P[1])]:e.autoApply?[Z(P)]:[Z(P),null]:Array.isArray(P)?Tl(()=>P[1]?[Z(P[0]),P[1]?Z(P[1]):qo(o.value.partialRange)]:[Z(P[0])],o.value.enabled):Z(P),E=()=>{Array.isArray(s.value)&&o.value.enabled&&s.value.length===1&&s.value.push(qo(o.value.partialRange))},T=()=>{const P=s.value;return[le(P[0]),P[1]?le(P[1]):qo(o.value.partialRange)]},C=()=>s.value[1]?T():le(Jt(s.value[0])),B=()=>(s.value||[]).map(P=>le(P)),J=(P=!1)=>(P||E(),e.modelAuto?C():a.value.enabled?B():Array.isArray(s.value)?Tl(()=>T(),o.value.enabled):le(Jt(s.value))),ae=P=>!P||Array.isArray(P)&&!P.length?null:e.timePicker?A(Jt(P)):e.monthPicker?D(Jt(P)):e.yearPicker?w(Jt(P)):a.value.enabled?x(Jt(P)):e.weekPicker?y(Jt(P)):S(Jt(P)),Y=P=>{const se=ae(P);Ud(Jt(se))?(s.value=Jt(se),Q()):(s.value=null,c.value="")},L=()=>{const P=se=>$s(se,i.value.format);return`${P(s.value[0])} ${i.value.rangeSeparator} ${s.value[1]?P(s.value[1]):""}`},I=()=>n.value&&s.value?Array.isArray(s.value)?L():$s(s.value,i.value.format):_(s.value),V=()=>s.value?a.value.enabled?s.value.map(P=>_(P)).join("; "):i.value.enabled&&typeof i.value.format=="string"?I():_(s.value):"",Q=()=>{!e.format||typeof e.format=="string"||i.value.enabled&&typeof i.value.format=="string"?c.value=V():c.value=e.format(s.value)},Z=P=>{if(e.utc){const se=new Date(P);return e.utc==="preserve"?new Date(se.getTime()+se.getTimezoneOffset()*6e4):se}return e.modelType?aI.includes(e.modelType)?f(new Date(P)):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?f(Wd(P,l(),new Date,{locale:d.value})):f(Wd(P,e.modelType,new Date,{locale:d.value})):f(new Date(P))},le=P=>P?e.utc?vI(P,e.utc==="preserve",e.enableSeconds):e.modelType?e.modelType==="timestamp"?+g(P):e.modelType==="iso"?g(P).toISOString():e.modelType==="format"&&(typeof e.format=="string"||!e.format)?_(g(P)):_(g(P),e.modelType,!0):g(P):"",ye=(P,se=!1,ue=!1)=>{if(ue)return P;if(t("update:model-value",P),r.value.emitTimezone&&se){const xe=Array.isArray(P)?P.map(N=>En(Jt(N),r.value.emitTimezone)):En(Jt(P),r.value.emitTimezone);t("update:model-timezone-value",xe)}},U=P=>Array.isArray(s.value)?a.value.enabled?s.value.map(se=>P(se)):[P(s.value[0]),s.value[1]?P(s.value[1]):qo(o.value.partialRange)]:P(Jt(s.value)),X=()=>{if(Array.isArray(s.value)){const P=js(s.value[0],e.weekStart),se=s.value[1]?js(s.value[1],e.weekStart):[];return[P.map(ue=>we(ue)),se.map(ue=>we(ue))]}return js(s.value,e.weekStart).map(P=>we(P))},R=(P,se)=>ye(Jt(U(P)),!1,se),ee=P=>{const se=X();return P?se:t("update:model-value",X())},oe=(P=!1)=>(P||Q(),e.monthPicker?R(b,P):e.timePicker?R(m,P):e.yearPicker?R(ze,P):e.weekPicker?ee(P):ye(J(P),!0,P));return{inputValue:c,internalModelValue:s,checkBeforeEmit:()=>s.value?o.value.enabled?o.value.partialRange?s.value.length>=1:s.value.length===2:!!s.value:!1,parseExternalModelValue:Y,formatInputValue:Q,emitModelValue:oe}},jI=(t,e)=>{const{defaultedFilters:n,propDates:s}=xt(t),{validateMonthYearInRange:i}=ji(t),o=(u,d)=>{let f=u;return n.value.months.includes(Qe(f))?(f=d?ls(u,1):xr(u,1),o(f,d)):f},r=(u,d)=>{let f=u;return n.value.years.includes(ze(f))?(f=d?sf(u,1):Oy(u,1),r(f,d)):f},a=(u,d=!1)=>{const f=dt(we(),{month:t.month,year:t.year});let g=u?ls(f,1):xr(f,1);t.disableYearSelect&&(g=xs(g,t.year));let _=Qe(g),m=ze(g);n.value.months.includes(_)&&(g=o(g,u),_=Qe(g),m=ze(g)),n.value.years.includes(m)&&(g=r(g,u),m=ze(g)),i(_,m,u,t.preventMinMaxNavigation)&&l(_,m,d)},l=(u,d,f)=>{e("update-month-year",{month:u,year:d,fromNav:f})},c=_e(()=>u=>Wy(dt(we(),{month:t.month,year:t.year}),s.value.maxDate,s.value.minDate,t.preventMinMaxNavigation,u));return{handleMonthYearChange:a,isDisabled:c,updateMonthYear:l}},Qc={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},ds={...Qc,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},WI=["title"],zI=["disabled"],YI=Nt({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...ds},emits:["close-picker","select-date","select-now","invalid-select"],setup(t,{emit:e}){const n=e,s=t,{defaultedActionRow:i,defaultedPreviewFormat:o,defaultedMultiCalendars:r,defaultedTextInput:a,defaultedInline:l,defaultedRange:c,defaultedMultiDates:u,getDefaultPattern:d}=xt(s),{isTimeValid:f,isMonthValid:g}=ji(s),{buildMatrix:_}=Hi(),m=ve(null),b=ve(null),w=ve(!1),$=ve({}),A=ve(null),D=ve(null);qt(()=>{s.arrowNavigation&&_([Ht(m),Ht(b)],"actionRow"),x(),window.addEventListener("resize",x)}),Ir(()=>{window.removeEventListener("resize",x)});const x=()=>{w.value=!1,setTimeout(()=>{var L,I;const V=(L=A.value)==null?void 0:L.getBoundingClientRect(),Q=(I=D.value)==null?void 0:I.getBoundingClientRect();V&&Q&&($.value.maxWidth=`${Q.width-V.width-20}px`),w.value=!0},0)},y=_e(()=>c.value.enabled&&!c.value.partialRange&&s.internalModelValue?s.internalModelValue.length===2:!0),S=_e(()=>!f.value(s.internalModelValue)||!g.value(s.internalModelValue)||!y.value),E=()=>{const L=o.value;return s.timePicker||s.monthPicker,L(Jt(s.internalModelValue))},T=()=>{const L=s.internalModelValue;return r.value.count>0?`${C(L[0])} - ${C(L[1])}`:[C(L[0]),C(L[1])]},C=L=>zy(L,o.value,s.formatLocale,a.value.rangeSeparator,s.modelAuto,d()),B=_e(()=>!s.internalModelValue||!s.menuMount?"":typeof o.value=="string"?Array.isArray(s.internalModelValue)?s.internalModelValue.length===2&&s.internalModelValue[1]?T():u.value.enabled?s.internalModelValue.map(L=>`${C(L)}`):s.modelAuto?`${C(s.internalModelValue[0])}`:`${C(s.internalModelValue[0])} -`:C(s.internalModelValue):E()),J=()=>u.value.enabled?"; ":" - ",ae=_e(()=>Array.isArray(B.value)?B.value.join(J()):B.value),Y=()=>{f.value(s.internalModelValue)&&g.value(s.internalModelValue)&&y.value?n("select-date"):n("invalid-select")};return(L,I)=>(M(),F("div",{ref_key:"actionRowRef",ref:D,class:"dp__action_row"},[L.$slots["action-row"]?Ie(L.$slots,"action-row",Qt(zt({key:0},{internalModelValue:L.internalModelValue,disabled:S.value,selectDate:()=>L.$emit("select-date"),closePicker:()=>L.$emit("close-picker")}))):(M(),F(Te,{key:1},[q(i).showPreview?(M(),F("div",{key:0,class:"dp__selection_preview",title:ae.value,style:jt($.value)},[L.$slots["action-preview"]&&w.value?Ie(L.$slots,"action-preview",{key:0,value:L.internalModelValue}):re("",!0),!L.$slots["action-preview"]&&w.value?(M(),F(Te,{key:1},[be(me(ae.value),1)],64)):re("",!0)],12,WI)):re("",!0),h("div",{ref_key:"actionBtnContainer",ref:A,class:"dp__action_buttons","data-dp-element":"action-row"},[L.$slots["action-buttons"]?Ie(L.$slots,"action-buttons",{key:0,value:L.internalModelValue}):re("",!0),L.$slots["action-buttons"]?re("",!0):(M(),F(Te,{key:1},[!q(l).enabled&&q(i).showCancel?(M(),F("button",{key:0,ref_key:"cancelButtonRef",ref:m,type:"button",class:"dp__action_button dp__action_cancel",onClick:I[0]||(I[0]=V=>L.$emit("close-picker")),onKeydown:I[1]||(I[1]=V=>q(vn)(V,()=>L.$emit("close-picker")))},me(L.cancelText),545)):re("",!0),q(i).showNow?(M(),F("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:I[2]||(I[2]=V=>L.$emit("select-now")),onKeydown:I[3]||(I[3]=V=>q(vn)(V,()=>L.$emit("select-now")))},me(L.nowButtonLabel),33)):re("",!0),q(i).showSelect?(M(),F("button",{key:2,ref_key:"selectButtonRef",ref:b,type:"button",class:"dp__action_button dp__action_select",disabled:S.value,"data-test":"select-button",onKeydown:I[4]||(I[4]=V=>q(vn)(V,()=>Y())),onClick:Y},me(L.selectText),41,zI)):re("",!0)],64))],512)],64))],512))}}),UI=["role","aria-label","tabindex"],KI={class:"dp__selection_grid_header"},qI=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],GI=["aria-label"],Ja=Nt({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(t,{expose:e,emit:n}){const{setSelectionGrid:s,buildMultiLevelMatrix:i,setMonthPicker:o}=Hi(),r=n,a=t,{defaultedAriaLabels:l,defaultedTextInput:c,defaultedConfig:u}=xt(a),{hideNavigationButtons:d}=tu(),f=ve(!1),g=ve(null),_=ve(null),m=ve([]),b=ve(),w=ve(null),$=ve(0),A=ve(null);ib(()=>{g.value=null}),qt(()=>{en().then(()=>B()),a.noOverlayFocus||x(),D(!0)}),Ir(()=>D(!1));const D=U=>{var X;a.arrowNavigation&&((X=a.headerRefs)!=null&&X.length?o(U):s(U))},x=()=>{var U;const X=Ht(_);X&&(c.value.enabled||(g.value?(U=g.value)==null||U.focus({preventScroll:!0}):X.focus({preventScroll:!0})),f.value=X.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!a.useRelative,"dp--overlay-relative":a.useRelative})),S=_e(()=>a.useRelative?{height:`${a.height}px`,width:"260px"}:void 0),E=_e(()=>({dp__overlay_col:!0})),T=_e(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:f.value,dp__button_bottom:a.isLast})),C=_e(()=>{var U,X;return{dp__overlay_container:!0,dp__container_flex:((U=a.items)==null?void 0:U.length)<=6,dp__container_block:((X=a.items)==null?void 0:X.length)>6}});Bt(()=>a.items,()=>B(!1),{deep:!0});const B=(U=!0)=>{en().then(()=>{const X=Ht(g),R=Ht(_),ee=Ht(w),oe=Ht(A),P=ee?ee.getBoundingClientRect().height:0;R&&(R.getBoundingClientRect().height?$.value=R.getBoundingClientRect().height-P:$.value=u.value.modeHeight-P),X&&oe&&U&&(oe.scrollTop=X.offsetTop-oe.offsetTop-($.value/2-X.getBoundingClientRect().height)-P)})},J=U=>{U.disabled||r("selected",U.value)},ae=()=>{r("toggle"),r("reset-flow")},Y=()=>{a.escClose&&ae()},L=(U,X,R,ee)=>{U&&((X.active||X.value===a.focusValue)&&(g.value=U),a.arrowNavigation&&(Array.isArray(m.value[R])?m.value[R][ee]=U:m.value[R]=[U],I()))},I=()=>{var U,X;const R=(U=a.headerRefs)!=null&&U.length?[a.headerRefs].concat(m.value):m.value.concat([a.skipButtonRef?[]:[w.value]]);i(Jt(R),(X=a.headerRefs)!=null&&X.length?"monthPicker":"selectionGrid")},V=U=>{a.arrowNavigation||Ci(U,u.value,!0)},Q=U=>{b.value=U,r("hover-value",U)},Z=()=>{if(ae(),!a.isLast){const U=Yd(a.menuWrapRef??null,"action-row");if(U){const X=Ny(U);X?.focus()}}},le=U=>{switch(U.key){case mt.esc:return Y();case mt.arrowLeft:return V(U);case mt.arrowRight:return V(U);case mt.arrowUp:return V(U);case mt.arrowDown:return V(U);default:return}},ye=U=>{if(U.key===mt.enter)return ae();if(U.key===mt.tab)return Z()};return e({focusGrid:x}),(U,X)=>{var R;return M(),F("div",{ref_key:"gridWrapRef",ref:_,class:Ce(y.value),style:jt(S.value),role:U.useRelative?void 0:"dialog","aria-label":U.overlayLabel,tabindex:U.useRelative?void 0:"0",onKeydown:le,onClick:X[0]||(X[0]=Oa(()=>{},["prevent"]))},[h("div",{ref_key:"containerRef",ref:A,class:Ce(C.value),style:jt({"--dp-overlay-height":`${$.value}px`}),role:"grid"},[h("div",KI,[Ie(U.$slots,"header")]),U.$slots.overlay?Ie(U.$slots,"overlay",{key:0}):(M(!0),F(Te,{key:1},Ue(U.items,(ee,oe)=>(M(),F("div",{key:oe,class:Ce(["dp__overlay_row",{dp__flex_row:U.items.length>=3}]),role:"row"},[(M(!0),F(Te,null,Ue(ee,(P,se)=>(M(),F("div",{key:P.value,ref_for:!0,ref:ue=>L(ue,P,oe,se),role:"gridcell",class:Ce(E.value),"aria-selected":P.active||void 0,"aria-disabled":P.disabled||void 0,tabindex:"0","data-test":P.text,onClick:Oa(ue=>J(P),["prevent"]),onKeydown:ue=>q(vn)(ue,()=>J(P),!0),onMouseover:ue=>Q(P.value)},[h("div",{class:Ce(P.className)},[U.$slots.item?Ie(U.$slots,"item",{key:0,item:P}):re("",!0),U.$slots.item?re("",!0):(M(),F(Te,{key:1},[be(me(P.text),1)],64))],2)],42,qI))),128))],2))),128))],6),U.$slots["button-icon"]?Oe((M(),F("button",{key:0,ref_key:"toggleButton",ref:w,type:"button","aria-label":(R=q(l))==null?void 0:R.toggleOverlay,class:Ce(T.value),tabindex:"0",onClick:ae,onKeydown:ye},[Ie(U.$slots,"button-icon")],42,GI)),[[ec,!q(d)(U.hideNavigation,U.type)]]):re("",!0)],46,UI)}}}),Zc=Nt({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(t){const e=t,n=_e(()=>e.multiCalendars>0?[...Array(e.multiCalendars).keys()]:[0]),s=_e(()=>({dp__instance_calendar:e.multiCalendars>0}));return(i,o)=>(M(),F("div",{class:Ce({dp__menu_inner:!i.stretch,"dp--menu--inner-stretched":i.stretch,dp__flex_display:i.multiCalendars>0,"dp--flex-display-collapsed":i.collapse})},[(M(!0),F(Te,null,Ue(n.value,(r,a)=>(M(),F("div",{key:r,class:Ce(s.value)},[Ie(i.$slots,"default",{instance:r,index:a})],2))),128))],2))}}),JI=["data-dp-element","aria-label","aria-disabled"],ba=Nt({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(t,{emit:e}){const n=e,s=ve(null);return qt(()=>n("set-ref",s)),(i,o)=>(M(),F("button",{ref_key:"elRef",ref:s,type:"button","data-dp-element":i.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":i.ariaLabel,"aria-disabled":i.disabled||void 0,onClick:o[0]||(o[0]=r=>i.$emit("activate")),onKeydown:o[1]||(o[1]=r=>q(vn)(r,()=>i.$emit("activate"),!0))},[h("span",{class:Ce(["dp__inner_nav",{dp__inner_nav_disabled:i.disabled}])},[Ie(i.$slots,"default")],2)],40,JI))}}),XI=["aria-label","data-test"],qy=Nt({__name:"YearModePicker",props:{...ds,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(t,{emit:e}){const n=e,s=t,{showRightIcon:i,showLeftIcon:o}=tu(),{defaultedConfig:r,defaultedMultiCalendars:a,defaultedAriaLabels:l,defaultedTransitions:c,defaultedUI:u}=xt(s),{showTransition:d,transitionName:f}=Xa(c),g=ve(!1),_=(w=!1,$)=>{g.value=!g.value,n("toggle-year-picker",{flow:w,show:$})},m=w=>{g.value=!1,n("year-select",w)},b=(w=!1)=>{n("handle-year",w)};return(w,$)=>{var A,D,x,y,S;return M(),F(Te,null,[h("div",{class:Ce(["dp--year-mode-picker",{"dp--hidden-el":g.value}])},[q(o)(q(a),t.instance)?(M(),Le(ba,{key:0,ref:"mpPrevIconRef","aria-label":(A=q(l))==null?void 0:A.prevYear,disabled:t.isDisabled(!1),class:Ce((D=q(u))==null?void 0:D.navBtnPrev),onActivate:$[0]||($[0]=E=>b(!1))},{default:Pe(()=>[w.$slots["arrow-left"]?Ie(w.$slots,"arrow-left",{key:0}):re("",!0),w.$slots["arrow-left"]?re("",!0):(M(),Le(q(uf),{key:1}))]),_:3},8,["aria-label","disabled","class"])):re("",!0),h("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${t.year}-${(x=q(l))==null?void 0:x.openYearsOverlay}`,"data-test":`year-mode-btn-${t.instance}`,onClick:$[1]||($[1]=()=>_(!1)),onKeydown:$[2]||($[2]=xC(()=>_(!1),["enter"]))},[w.$slots.year?Ie(w.$slots,"year",{key:0,year:t.year}):re("",!0),w.$slots.year?re("",!0):(M(),F(Te,{key:1},[be(me(t.year),1)],64))],40,XI),q(i)(q(a),t.instance)?(M(),Le(ba,{key:1,ref:"mpNextIconRef","aria-label":(y=q(l))==null?void 0:y.nextYear,disabled:t.isDisabled(!0),class:Ce((S=q(u))==null?void 0:S.navBtnNext),onActivate:$[3]||($[3]=E=>b(!0))},{default:Pe(()=>[w.$slots["arrow-right"]?Ie(w.$slots,"arrow-right",{key:0}):re("",!0),w.$slots["arrow-right"]?re("",!0):(M(),Le(q(df),{key:1}))]),_:3},8,["aria-label","disabled","class"])):re("",!0)],2),Se(At,{name:q(f)(t.showYearPicker),css:q(d)},{default:Pe(()=>{var E,T;return[t.showYearPicker?(M(),Le(Ja,{key:0,items:t.items,"text-input":w.textInput,"esc-close":w.escClose,config:w.config,"is-last":w.autoApply&&!q(r).keepActionRow,"hide-navigation":w.hideNavigation,"aria-labels":w.ariaLabels,"overlay-label":(T=(E=q(l))==null?void 0:E.yearPicker)==null?void 0:T.call(E,!0),type:"year",onToggle:_,onSelected:$[4]||($[4]=C=>m(C))},dn({"button-icon":Pe(()=>[w.$slots["calendar-icon"]?Ie(w.$slots,"calendar-icon",{key:0}):re("",!0),w.$slots["calendar-icon"]?re("",!0):(M(),Le(q(Lr),{key:1}))]),_:2},[w.$slots["year-overlay-value"]?{name:"item",fn:Pe(({item:C})=>[Ie(w.$slots,"year-overlay-value",{text:C.text,value:C.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):re("",!0)]}),_:3},8,["name","css"])],64)}}}),yf=(t,e,n)=>{if(e.value&&Array.isArray(e.value))if(e.value.some(s=>tt(t,s))){const s=e.value.filter(i=>!tt(i,t));e.value=s.length?s:null}else(n&&+n>e.value.length||!n)&&e.value.push(t);else e.value=[t]},wf=(t,e,n)=>{let s=t.value?t.value.slice():[];return s.length===2&&s[1]!==null&&(s=[]),s.length?$t(e,s[0])?(s.unshift(e),n("range-start",s[0]),n("range-start",s[1])):(s[1]=e,n("range-end",e)):(s=[e],n("range-start",e)),s},eu=(t,e,n,s)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&s&&n&&e("auto-apply"))},Gy=t=>{Array.isArray(t.value)&&t.value.length<=2&&t.range?t.modelValue.value=t.value.map(e=>En(we(e),t.timezone)):Array.isArray(t.value)||(t.modelValue.value=En(we(t.value),t.timezone))},Jy=(t,e,n,s)=>Array.isArray(e.value)&&(e.value.length===2||e.value.length===1&&s.value.partialRange)?s.value.fixedStart&&(Dt(t,e.value[0])||tt(t,e.value[0]))?[e.value[0],t]:s.value.fixedEnd&&($t(t,e.value[1])||tt(t,e.value[1]))?[t,e.value[1]]:(n("invalid-fixed-range",t),e.value):[],Xy=({multiCalendars:t,range:e,highlight:n,propDates:s,calendars:i,modelValue:o,props:r,filters:a,year:l,month:c,emit:u})=>{const d=_e(()=>mf(r.yearRange,r.locale,r.reverseYears)),f=ve([!1]),g=_e(()=>(C,B)=>{const J=dt(os(new Date),{month:c.value(C),year:l.value(C)}),ae=B?yy(J):Ra(J);return Wy(ae,s.value.maxDate,s.value.minDate,r.preventMinMaxNavigation,B)}),_=()=>Array.isArray(o.value)&&t.value.solo&&o.value[1],m=()=>{for(let C=0;C{if(!C)return m();const B=dt(we(),i.value[C]);return i.value[0].year=ze(Oy(B,t.value.count-1)),m()},w=(C,B)=>{const J=c2(B,C);return e.value.showLastInRange&&J>1?B:C},$=C=>r.focusStartDate||t.value.solo?C[0]:C[1]?w(C[0],C[1]):C[0],A=()=>{if(o.value){const C=Array.isArray(o.value)?$(o.value):o.value;i.value[0]={month:Qe(C),year:ze(C)}}},D=()=>{A(),t.value.count&&m()};Bt(o,(C,B)=>{r.isTextInputDate&&JSON.stringify(C??{})!==JSON.stringify(B??{})&&D()}),qt(()=>{D()});const x=(C,B)=>{i.value[B].year=C,u("update-month-year",{instance:B,year:C,month:i.value[B].month}),t.value.count&&!t.value.solo&&b(B)},y=_e(()=>C=>kr(d.value,B=>{var J;const ae=l.value(C)===B.value,Y=Na(B.value,Sr(s.value.minDate),Sr(s.value.maxDate))||((J=a.value.years)==null?void 0:J.includes(l.value(C))),L=bf(n.value,B.value);return{active:ae,disabled:Y,highlighted:L}})),S=(C,B)=>{x(C,B),T(B)},E=(C,B=!1)=>{if(!g.value(C,B)){const J=B?l.value(C)+1:l.value(C)-1;x(J,C)}},T=(C,B=!1,J)=>{B||u("reset-flow"),J!==void 0?f.value[C]=J:f.value[C]=!f.value[C],f.value[C]?u("overlay-toggle",{open:!0,overlay:ln.year}):(u("overlay-closed"),u("overlay-toggle",{open:!1,overlay:ln.year}))};return{isDisabled:g,groupedYears:y,showYearPicker:f,selectYear:x,toggleYearPicker:T,handleYearSelect:S,handleYear:E}},QI=(t,e)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:s,defaultedTransitions:i,defaultedConfig:o,defaultedRange:r,defaultedHighlight:a,propDates:l,defaultedTz:c,defaultedFilters:u,defaultedMultiDates:d}=xt(t),f=()=>{t.isTextInputDate&&D(ze(we(t.startDate)),0)},{modelValue:g,year:_,month:m,calendars:b}=Qa(t,e,f),w=_e(()=>Ry(t.formatLocale,t.locale,t.monthNameFormat)),$=ve(null),{checkMinMaxRange:A}=ji(t),{selectYear:D,groupedYears:x,showYearPicker:y,toggleYearPicker:S,handleYearSelect:E,handleYear:T,isDisabled:C}=Xy({modelValue:g,multiCalendars:n,range:r,highlight:a,calendars:b,year:_,propDates:l,month:m,filters:u,props:t,emit:e});qt(()=>{t.startDate&&(g.value&&t.focusStartDate||!g.value)&&D(ze(we(t.startDate)),0)});const B=R=>R?{month:Qe(R),year:ze(R)}:{month:null,year:null},J=()=>g.value?Array.isArray(g.value)?g.value.map(R=>B(R)):B(g.value):B(),ae=(R,ee)=>{const oe=b.value[R],P=J();return Array.isArray(P)?P.some(se=>se.year===oe?.year&&se.month===ee):oe?.year===P.year&&ee===P.month},Y=(R,ee,oe)=>{var P,se;const ue=J();return Array.isArray(ue)?_.value(ee)===((P=ue[oe])==null?void 0:P.year)&&R===((se=ue[oe])==null?void 0:se.month):!1},L=(R,ee)=>{if(r.value.enabled){const oe=J();if(Array.isArray(g.value)&&Array.isArray(oe)){const P=Y(R,ee,0)||Y(R,ee,1),se=Ys(os(we()),R,_.value(ee));return Xc(g.value,$.value,se)&&!P}return!1}return!1},I=_e(()=>R=>kr(w.value,ee=>{var oe;const P=ae(R,ee.value),se=Na(ee.value,By(_.value(R),l.value.minDate),Vy(_.value(R),l.value.maxDate))||kI(l.value.disabledDates,_.value(R)).includes(ee.value)||((oe=u.value.months)==null?void 0:oe.includes(ee.value)),ue=L(ee.value,R),xe=Yy(a.value,ee.value,_.value(R));return{active:P,disabled:se,isBetween:ue,highlighted:xe}})),V=(R,ee)=>Ys(os(we()),R,_.value(ee)),Q=(R,ee)=>{const oe=g.value?g.value:os(new Date);g.value=Ys(oe,R,_.value(ee)),e("auto-apply"),e("update-flow-step")},Z=(R,ee)=>{const oe=V(R,ee);r.value.fixedEnd||r.value.fixedStart?g.value=Jy(oe,g,e,r):g.value?A(oe,g.value)&&(g.value=wf(g,V(R,ee),e)):g.value=[V(R,ee)],en().then(()=>{eu(g.value,e,t.autoApply,t.modelAuto)})},le=(R,ee)=>{yf(V(R,ee),g,d.value.limit),e("auto-apply",!0)},ye=(R,ee)=>(b.value[ee].month=R,X(ee,b.value[ee].year,R),d.value.enabled?le(R,ee):r.value.enabled?Z(R,ee):Q(R,ee)),U=(R,ee)=>{D(R,ee),X(ee,R,null)},X=(R,ee,oe)=>{let P=oe;if(!P&&P!==0){const se=J();P=Array.isArray(se)?se[R].month:se.month}e("update-month-year",{instance:R,year:ee,month:P})};return{groupedMonths:I,groupedYears:x,year:_,isDisabled:C,defaultedMultiCalendars:n,defaultedAriaLabels:s,defaultedTransitions:i,defaultedConfig:o,showYearPicker:y,modelValue:g,presetDate:(R,ee)=>{Gy({value:R,modelValue:g,range:r.value.enabled,timezone:ee?void 0:c.value.timezone}),e("auto-apply")},setHoverDate:(R,ee)=>{$.value=V(R,ee)},selectMonth:ye,selectYear:U,toggleYearPicker:S,handleYearSelect:E,handleYear:T,getModelMonthYear:J}},ZI=Nt({compatConfig:{MODE:3},__name:"MonthPicker",props:{...ds},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(t,{expose:e,emit:n}){const s=n,i=Do(),o=Rn(i,"yearMode"),r=t;qt(()=>{r.shadow||s("mount",null)});const{groupedMonths:a,groupedYears:l,year:c,isDisabled:u,defaultedMultiCalendars:d,defaultedConfig:f,showYearPicker:g,modelValue:_,presetDate:m,setHoverDate:b,selectMonth:w,selectYear:$,toggleYearPicker:A,handleYearSelect:D,handleYear:x,getModelMonthYear:y}=QI(r,s);return e({getSidebarProps:()=>({modelValue:_,year:c,getModelMonthYear:y,selectMonth:w,selectYear:$,handleYear:x}),presetDate:m,toggleYearPicker:S=>A(0,S)}),(S,E)=>(M(),Le(Zc,{"multi-calendars":q(d).count,collapse:S.collapse,stretch:""},{default:Pe(({instance:T})=>[S.$slots["top-extra"]?Ie(S.$slots,"top-extra",{key:0,value:S.internalModelValue}):re("",!0),S.$slots["month-year"]?Ie(S.$slots,"month-year",Qt(zt({key:1},{year:q(c),months:q(a)(T),years:q(l)(T),selectMonth:q(w),selectYear:q($),instance:T}))):(M(),Le(Ja,{key:2,items:q(a)(T),"arrow-navigation":S.arrowNavigation,"is-last":S.autoApply&&!q(f).keepActionRow,"esc-close":S.escClose,height:q(f).modeHeight,config:S.config,"no-overlay-focus":!!(S.noOverlayFocus||S.textInput),"use-relative":"",type:"month",onSelected:C=>q(w)(C,T),onHoverValue:C=>q(b)(C,T)},dn({header:Pe(()=>[Se(qy,zt(S.$props,{items:q(l)(T),instance:T,"show-year-picker":q(g)[T],year:q(c)(T),"is-disabled":C=>q(u)(T,C),onHandleYear:C=>q(x)(T,C),onYearSelect:C=>q(D)(C,T),onToggleYearPicker:C=>q(A)(T,C?.flow,C?.show)}),dn({_:2},[Ue(q(o),(C,B)=>({name:C,fn:Pe(J=>[Ie(S.$slots,C,Qt(mn(J)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[S.$slots["month-overlay-value"]?{name:"item",fn:Pe(({item:C})=>[Ie(S.$slots,"month-overlay-value",{text:C.text,value:C.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),eR=(t,e)=>{const n=()=>{t.isTextInputDate&&(u.value=ze(we(t.startDate)))},{modelValue:s}=Qa(t,e,n),i=ve(null),{defaultedHighlight:o,defaultedMultiDates:r,defaultedFilters:a,defaultedRange:l,propDates:c}=xt(t),u=ve();qt(()=>{t.startDate&&(s.value&&t.focusStartDate||!s.value)&&(u.value=ze(we(t.startDate)))});const d=m=>Array.isArray(s.value)?s.value.some(b=>ze(b)===m):s.value?ze(s.value)===m:!1,f=m=>l.value.enabled&&Array.isArray(s.value)?Xc(s.value,i.value,_(m)):!1,g=_e(()=>kr(mf(t.yearRange,t.locale,t.reverseYears),m=>{const b=d(m.value),w=Na(m.value,Sr(c.value.minDate),Sr(c.value.maxDate))||a.value.years.includes(m.value),$=f(m.value)&&!b,A=bf(o.value,m.value);return{active:b,disabled:w,isBetween:$,highlighted:A}})),_=m=>xs(os(Ra(new Date)),m);return{groupedYears:g,modelValue:s,focusYear:u,setHoverValue:m=>{i.value=xs(os(new Date),m)},selectYear:m=>{var b;if(e("update-month-year",{instance:0,year:m}),r.value.enabled)return s.value?Array.isArray(s.value)&&(((b=s.value)==null?void 0:b.map(w=>ze(w))).includes(m)?s.value=s.value.filter(w=>ze(w)!==m):s.value.push(xs(wn(we()),m))):s.value=[xs(wn(Ra(we())),m)],e("auto-apply",!0);l.value.enabled?(s.value=wf(s,_(m),e),en().then(()=>{eu(s.value,e,t.autoApply,t.modelAuto)})):(s.value=_(m),e("auto-apply"))}}},tR=Nt({compatConfig:{MODE:3},__name:"YearPicker",props:{...ds},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(t,{expose:e,emit:n}){const s=n,i=t,{groupedYears:o,modelValue:r,focusYear:a,selectYear:l,setHoverValue:c}=eR(i,s),{defaultedConfig:u}=xt(i);return e({getSidebarProps:()=>({modelValue:r,selectYear:l})}),(d,f)=>(M(),F("div",null,[d.$slots["top-extra"]?Ie(d.$slots,"top-extra",{key:0,value:d.internalModelValue}):re("",!0),d.$slots["month-year"]?Ie(d.$slots,"month-year",Qt(zt({key:1},{years:q(o),selectYear:q(l)}))):(M(),Le(Ja,{key:2,items:q(o),"is-last":d.autoApply&&!q(u).keepActionRow,height:q(u).modeHeight,config:d.config,"no-overlay-focus":!!(d.noOverlayFocus||d.textInput),"focus-value":q(a),type:"year","use-relative":"",onSelected:q(l),onHoverValue:q(c)},dn({_:2},[d.$slots["year-overlay-value"]?{name:"item",fn:Pe(({item:g})=>[Ie(d.$slots,"year-overlay-value",{text:g.text,value:g.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),nR={key:0,class:"dp__time_input"},sR=["data-test","aria-label","onKeydown","onClick","onMousedown"],iR=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),oR=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),rR=["aria-label","disabled","data-test","onKeydown","onClick"],aR=["data-test","aria-label","onKeydown","onClick","onMousedown"],lR=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),cR=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),uR={key:0},dR=["aria-label"],hR=Nt({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...ds},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(t,{expose:e,emit:n}){const s=n,i=t,{setTimePickerElements:o,setTimePickerBackRef:r}=Hi(),{defaultedAriaLabels:a,defaultedTransitions:l,defaultedFilters:c,defaultedConfig:u,defaultedRange:d}=xt(i),{transitionName:f,showTransition:g}=Xa(l),_=Ts({hours:!1,minutes:!1,seconds:!1}),m=ve("AM"),b=ve(null),w=ve([]),$=ve(),A=ve(!1);qt(()=>{s("mounted")});const D=v=>dt(new Date,{hours:v.hours,minutes:v.minutes,seconds:i.enableSeconds?v.seconds:0,milliseconds:0}),x=_e(()=>v=>V(v,i[v])||S(v,i[v])),y=_e(()=>({hours:i.hours,minutes:i.minutes,seconds:i.seconds})),S=(v,O)=>d.value.enabled&&!d.value.disableTimeRangeValidation?!i.validateTime(v,O):!1,E=(v,O)=>{if(d.value.enabled&&!d.value.disableTimeRangeValidation){const H=O?+i[`${v}Increment`]:-+i[`${v}Increment`],W=i[v]+H;return!i.validateTime(v,W)}return!1},T=_e(()=>v=>!U(+i[v]+ +i[`${v}Increment`],v)||E(v,!0)),C=_e(()=>v=>!U(+i[v]-+i[`${v}Increment`],v)||E(v,!1)),B=(v,O)=>fy(dt(we(),v),O),J=(v,O)=>iI(dt(we(),v),O),ae=_e(()=>({dp__time_col:!0,dp__time_col_block:!i.timePickerInline,dp__time_col_reg_block:!i.enableSeconds&&i.is24&&!i.timePickerInline,dp__time_col_reg_inline:!i.enableSeconds&&i.is24&&i.timePickerInline,dp__time_col_reg_with_button:!i.enableSeconds&&!i.is24,dp__time_col_sec:i.enableSeconds&&i.is24,dp__time_col_sec_with_button:i.enableSeconds&&!i.is24})),Y=_e(()=>{const v=[{type:"hours"}];return i.enableMinutes&&v.push({type:"",separator:!0},{type:"minutes"}),i.enableSeconds&&v.push({type:"",separator:!0},{type:"seconds"}),v}),L=_e(()=>Y.value.filter(v=>!v.separator)),I=_e(()=>v=>{if(v==="hours"){const O=se(+i.hours);return{text:O<10?`0${O}`:`${O}`,value:O}}return{text:i[v]<10?`0${i[v]}`:`${i[v]}`,value:i[v]}}),V=(v,O)=>{var H;if(!i.disabledTimesConfig)return!1;const W=i.disabledTimesConfig(i.order,v==="hours"?O:void 0);return W[v]?!!((H=W[v])!=null&&H.includes(O)):!0},Q=(v,O)=>O!=="hours"||m.value==="AM"?v:v+12,Z=v=>{const O=i.is24?24:12,H=v==="hours"?O:60,W=+i[`${v}GridIncrement`],ie=v==="hours"&&!i.is24?W:0,j=[];for(let te=ie;te({active:!1,disabled:c.value.times[v].includes(te.value)||!U(te.value,v)||V(v,te.value)||S(v,te.value)}))},le=v=>v>=0?v:59,ye=v=>v>=0?v:23,U=(v,O)=>{const H=i.minTime?D(zu(i.minTime)):null,W=i.maxTime?D(zu(i.maxTime)):null,ie=D(zu(y.value,O,O==="minutes"||O==="seconds"?le(v):ye(v)));return H&&W?(La(ie,W)||tr(ie,W))&&(wr(ie,H)||tr(ie,H)):H?wr(ie,H)||tr(ie,H):W?La(ie,W)||tr(ie,W):!0},X=v=>i[`no${v[0].toUpperCase()+v.slice(1)}Overlay`],R=v=>{X(v)||(_[v]=!_[v],_[v]?(A.value=!0,s("overlay-opened",v)):(A.value=!1,s("overlay-closed",v)))},ee=v=>v==="hours"?Qs:v==="minutes"?Oi:yr,oe=()=>{$.value&&clearTimeout($.value)},P=(v,O=!0,H)=>{const W=O?B:J,ie=O?+i[`${v}Increment`]:-+i[`${v}Increment`];U(+i[v]+ie,v)&&s(`update:${v}`,ee(v)(W({[v]:+i[v]},{[v]:+i[`${v}Increment`]}))),!(H!=null&&H.keyboard)&&u.value.timeArrowHoldThreshold&&($.value=setTimeout(()=>{P(v,O)},u.value.timeArrowHoldThreshold))},se=v=>i.is24?v:(v>=12?m.value="PM":m.value="AM",uI(v)),ue=()=>{m.value==="PM"?(m.value="AM",s("update:hours",i.hours-12)):(m.value="PM",s("update:hours",i.hours+12)),s("am-pm-change",m.value)},xe=v=>{_[v]=!0},N=(v,O,H)=>{if(v&&i.arrowNavigation){Array.isArray(w.value[O])?w.value[O][H]=v:w.value[O]=[v];const W=w.value.reduce((ie,j)=>j.map((te,G)=>[...ie[G]||[],j[G]]),[]);r(i.closeTimePickerBtn),b.value&&(W[1]=W[1].concat(b.value)),o(W,i.order)}},he=(v,O)=>(R(v),s(`update:${v}`,O));return e({openChildCmp:xe}),(v,O)=>{var H;return v.disabled?re("",!0):(M(),F("div",nR,[(M(!0),F(Te,null,Ue(Y.value,(W,ie)=>{var j,te,G;return M(),F("div",{key:ie,class:Ce(ae.value)},[W.separator?(M(),F(Te,{key:0},[A.value?re("",!0):(M(),F(Te,{key:0},[be(":")],64))],64)):(M(),F(Te,{key:1},[h("button",{ref_for:!0,ref:de=>N(de,ie,0),type:"button",class:Ce({dp__btn:!0,dp__inc_dec_button:!v.timePickerInline,dp__inc_dec_button_inline:v.timePickerInline,dp__tp_inline_btn_top:v.timePickerInline,dp__inc_dec_button_disabled:T.value(W.type),"dp--hidden-el":A.value}),"data-test":`${W.type}-time-inc-btn-${i.order}`,"aria-label":(j=q(a))==null?void 0:j.incrementValue(W.type),tabindex:"0",onKeydown:de=>q(vn)(de,()=>P(W.type,!0,{keyboard:!0}),!0),onClick:de=>q(u).timeArrowHoldThreshold?void 0:P(W.type,!0),onMousedown:de=>q(u).timeArrowHoldThreshold?P(W.type,!0):void 0,onMouseup:oe},[i.timePickerInline?(M(),F(Te,{key:1},[v.$slots["tp-inline-arrow-up"]?Ie(v.$slots,"tp-inline-arrow-up",{key:0}):(M(),F(Te,{key:1},[iR,oR],64))],64)):(M(),F(Te,{key:0},[v.$slots["arrow-up"]?Ie(v.$slots,"arrow-up",{key:0}):re("",!0),v.$slots["arrow-up"]?re("",!0):(M(),Le(q(ff),{key:1}))],64))],42,sR),h("button",{ref_for:!0,ref:de=>N(de,ie,1),type:"button","aria-label":`${I.value(W.type).text}-${(te=q(a))==null?void 0:te.openTpOverlay(W.type)}`,class:Ce({dp__time_display:!0,dp__time_display_block:!v.timePickerInline,dp__time_display_inline:v.timePickerInline,"dp--time-invalid":x.value(W.type),"dp--time-overlay-btn":!x.value(W.type),"dp--hidden-el":A.value}),disabled:X(W.type),tabindex:"0","data-test":`${W.type}-toggle-overlay-btn-${i.order}`,onKeydown:de=>q(vn)(de,()=>R(W.type),!0),onClick:de=>R(W.type)},[v.$slots[W.type]?Ie(v.$slots,W.type,{key:0,text:I.value(W.type).text,value:I.value(W.type).value}):re("",!0),v.$slots[W.type]?re("",!0):(M(),F(Te,{key:1},[be(me(I.value(W.type).text),1)],64))],42,rR),h("button",{ref_for:!0,ref:de=>N(de,ie,2),type:"button",class:Ce({dp__btn:!0,dp__inc_dec_button:!v.timePickerInline,dp__inc_dec_button_inline:v.timePickerInline,dp__tp_inline_btn_bottom:v.timePickerInline,dp__inc_dec_button_disabled:C.value(W.type),"dp--hidden-el":A.value}),"data-test":`${W.type}-time-dec-btn-${i.order}`,"aria-label":(G=q(a))==null?void 0:G.decrementValue(W.type),tabindex:"0",onKeydown:de=>q(vn)(de,()=>P(W.type,!1,{keyboard:!0}),!0),onClick:de=>q(u).timeArrowHoldThreshold?void 0:P(W.type,!1),onMousedown:de=>q(u).timeArrowHoldThreshold?P(W.type,!1):void 0,onMouseup:oe},[i.timePickerInline?(M(),F(Te,{key:1},[v.$slots["tp-inline-arrow-down"]?Ie(v.$slots,"tp-inline-arrow-down",{key:0}):(M(),F(Te,{key:1},[lR,cR],64))],64)):(M(),F(Te,{key:0},[v.$slots["arrow-down"]?Ie(v.$slots,"arrow-down",{key:0}):re("",!0),v.$slots["arrow-down"]?re("",!0):(M(),Le(q(pf),{key:1}))],64))],42,aR)],64))],2)}),128)),v.is24?re("",!0):(M(),F("div",uR,[v.$slots["am-pm-button"]?Ie(v.$slots,"am-pm-button",{key:0,toggle:ue,value:m.value}):re("",!0),v.$slots["am-pm-button"]?re("",!0):(M(),F("button",{key:1,ref_key:"amPmButton",ref:b,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(H=q(a))==null?void 0:H.amPmButton,tabindex:"0",onClick:ue,onKeydown:O[0]||(O[0]=W=>q(vn)(W,()=>ue(),!0))},me(m.value),41,dR))])),(M(!0),F(Te,null,Ue(L.value,(W,ie)=>(M(),Le(At,{key:ie,name:q(f)(_[W.type]),css:q(g)},{default:Pe(()=>{var j,te;return[_[W.type]?(M(),Le(Ja,{key:0,items:Z(W.type),"is-last":v.autoApply&&!q(u).keepActionRow,"esc-close":v.escClose,type:W.type,"text-input":v.textInput,config:v.config,"arrow-navigation":v.arrowNavigation,"aria-labels":v.ariaLabels,"overlay-label":(te=(j=q(a)).timeOverlay)==null?void 0:te.call(j,W.type),onSelected:G=>he(W.type,G),onToggle:G=>R(W.type),onResetFlow:O[1]||(O[1]=G=>v.$emit("reset-flow"))},dn({"button-icon":Pe(()=>[v.$slots["clock-icon"]?Ie(v.$slots,"clock-icon",{key:0}):re("",!0),v.$slots["clock-icon"]?re("",!0):(M(),Le(Mo(v.timePickerInline?q(Lr):q(hf)),{key:1}))]),_:2},[v.$slots[`${W.type}-overlay-value`]?{name:"item",fn:Pe(({item:G})=>[Ie(v.$slots,`${W.type}-overlay-value`,{text:G.text,value:G.value})]),key:"0"}:void 0,v.$slots[`${W.type}-overlay-header`]?{name:"header",fn:Pe(()=>[Ie(v.$slots,`${W.type}-overlay-header`,{toggle:()=>R(W.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):re("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),fR={class:"dp--tp-wrap"},pR=["aria-label","tabindex"],gR=["role","aria-label","tabindex"],mR=["aria-label"],Qy=Nt({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...ds},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(t,{expose:e,emit:n}){const s=n,i=t,{buildMatrix:o,setTimePicker:r}=Hi(),a=Do(),{defaultedTransitions:l,defaultedAriaLabels:c,defaultedTextInput:u,defaultedConfig:d,defaultedRange:f}=xt(i),{transitionName:g,showTransition:_}=Xa(l),{hideNavigationButtons:m}=tu(),b=ve(null),w=ve(null),$=ve([]),A=ve(null),D=ve(!1);qt(()=>{s("mount"),!i.timePicker&&i.arrowNavigation?o([Ht(b.value)],"time"):r(!0,i.timePicker)});const x=_e(()=>f.value.enabled&&i.modelAuto?Ly(i.internalModelValue):!0),y=ve(!1),S=Z=>({hours:Array.isArray(i.hours)?i.hours[Z]:i.hours,minutes:Array.isArray(i.minutes)?i.minutes[Z]:i.minutes,seconds:Array.isArray(i.seconds)?i.seconds[Z]:i.seconds}),E=_e(()=>{const Z=[];if(f.value.enabled)for(let le=0;le<2;le++)Z.push(S(le));else Z.push(S(0));return Z}),T=(Z,le=!1,ye="")=>{le||s("reset-flow"),y.value=Z,s(Z?"overlay-opened":"overlay-closed",ln.time),i.arrowNavigation&&r(Z),en(()=>{ye!==""&&$.value[0]&&$.value[0].openChildCmp(ye)})},C=_e(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:i.autoApply&&!d.value.keepActionRow})),B=Rn(a,"timePicker"),J=(Z,le,ye)=>f.value.enabled?le===0?[Z,E.value[1][ye]]:[E.value[0][ye],Z]:Z,ae=Z=>{s("update:hours",Z)},Y=Z=>{s("update:minutes",Z)},L=Z=>{s("update:seconds",Z)},I=()=>{if(A.value&&!u.value.enabled&&!i.noOverlayFocus){const Z=Ny(A.value);Z&&Z.focus({preventScroll:!0})}},V=Z=>{D.value=!1,s("overlay-closed",Z)},Q=Z=>{D.value=!0,s("overlay-opened",Z)};return e({toggleTimePicker:T}),(Z,le)=>{var ye;return M(),F("div",fR,[!Z.timePicker&&!Z.timePickerInline?Oe((M(),F("button",{key:0,ref_key:"openTimePickerBtn",ref:b,type:"button",class:Ce({...C.value,"dp--hidden-el":y.value}),"aria-label":(ye=q(c))==null?void 0:ye.openTimePicker,tabindex:Z.noOverlayFocus?void 0:0,"data-test":"open-time-picker-btn",onKeydown:le[0]||(le[0]=U=>q(vn)(U,()=>T(!0))),onClick:le[1]||(le[1]=U=>T(!0))},[Z.$slots["clock-icon"]?Ie(Z.$slots,"clock-icon",{key:0}):re("",!0),Z.$slots["clock-icon"]?re("",!0):(M(),Le(q(hf),{key:1}))],42,pR)),[[ec,!q(m)(Z.hideNavigation,"time")]]):re("",!0),Se(At,{name:q(g)(y.value),css:q(_)&&!Z.timePickerInline},{default:Pe(()=>{var U,X;return[y.value||Z.timePicker||Z.timePickerInline?(M(),F("div",{key:0,ref_key:"overlayRef",ref:A,role:Z.timePickerInline?void 0:"dialog",class:Ce({dp__overlay:!Z.timePickerInline,"dp--overlay-absolute":!i.timePicker&&!Z.timePickerInline,"dp--overlay-relative":i.timePicker}),style:jt(Z.timePicker?{height:`${q(d).modeHeight}px`}:void 0),"aria-label":(U=q(c))==null?void 0:U.timePicker,tabindex:Z.timePickerInline?void 0:0},[h("div",{class:Ce(Z.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[Z.$slots["time-picker-overlay"]?Ie(Z.$slots,"time-picker-overlay",{key:0,hours:t.hours,minutes:t.minutes,seconds:t.seconds,setHours:ae,setMinutes:Y,setSeconds:L}):re("",!0),Z.$slots["time-picker-overlay"]?re("",!0):(M(),F("div",{key:1,class:Ce(Z.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(M(!0),F(Te,null,Ue(E.value,(R,ee)=>Oe((M(),Le(hR,zt({key:ee,ref_for:!0},{...Z.$props,order:ee,hours:R.hours,minutes:R.minutes,seconds:R.seconds,closeTimePickerBtn:w.value,disabledTimesConfig:t.disabledTimesConfig,disabled:ee===0?q(f).fixedStart:q(f).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:$,"validate-time":(oe,P)=>t.validateTime(oe,J(P,ee,oe)),"onUpdate:hours":oe=>ae(J(oe,ee,"hours")),"onUpdate:minutes":oe=>Y(J(oe,ee,"minutes")),"onUpdate:seconds":oe=>L(J(oe,ee,"seconds")),onMounted:I,onOverlayClosed:V,onOverlayOpened:Q,onAmPmChange:le[2]||(le[2]=oe=>Z.$emit("am-pm-change",oe))}),dn({_:2},[Ue(q(B),(oe,P)=>({name:oe,fn:Pe(se=>[Ie(Z.$slots,oe,zt({ref_for:!0},se))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[ec,ee===0?!0:x.value]])),128))],2)),!Z.timePicker&&!Z.timePickerInline?Oe((M(),F("button",{key:2,ref_key:"closeTimePickerBtn",ref:w,type:"button",class:Ce({...C.value,"dp--hidden-el":D.value}),"aria-label":(X=q(c))==null?void 0:X.closeTimePicker,tabindex:"0",onKeydown:le[3]||(le[3]=R=>q(vn)(R,()=>T(!1))),onClick:le[4]||(le[4]=R=>T(!1))},[Z.$slots["calendar-icon"]?Ie(Z.$slots,"calendar-icon",{key:0}):re("",!0),Z.$slots["calendar-icon"]?re("",!0):(M(),Le(q(Lr),{key:1}))],42,mR)),[[ec,!q(m)(Z.hideNavigation,"time")]]):re("",!0)],2)],14,gR)):re("",!0)]}),_:3},8,["name","css"])])}}}),Zy=(t,e,n,s)=>{const{defaultedRange:i}=xt(t),o=(A,D)=>Array.isArray(e[A])?e[A][D]:e[A],r=A=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[A]:e.seconds:0,a=(A,D)=>A?D!==void 0?Ei(A,o("hours",D),o("minutes",D),r(D)):Ei(A,e.hours,e.minutes,r()):Dy(we(),r(D)),l=(A,D)=>{e[A]=D},c=_e(()=>t.modelAuto&&i.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:i.value.enabled),u=(A,D)=>{const x=Object.fromEntries(Object.keys(e).map(y=>y===A?[y,D]:[y,e[y]].slice()));if(c.value&&!i.value.disableTimeRangeValidation){const y=E=>n.value?Ei(n.value[E],x.hours[E],x.minutes[E],x.seconds[E]):null,S=E=>My(n.value[E],0);return!(tt(y(0),y(1))&&(wr(y(0),S(1))||La(y(1),S(0))))}return!0},d=(A,D)=>{u(A,D)&&(l(A,D),s&&s())},f=A=>{d("hours",A)},g=A=>{d("minutes",A)},_=A=>{d("seconds",A)},m=(A,D,x,y)=>{D&&f(A),!D&&!x&&g(A),x&&_(A),n.value&&y(n.value)},b=A=>{if(A){const D=Array.isArray(A),x=D?[+A[0].hours,+A[1].hours]:+A.hours,y=D?[+A[0].minutes,+A[1].minutes]:+A.minutes,S=D?[+A[0].seconds,+A[1].seconds]:+A.seconds;l("hours",x),l("minutes",y),t.enableSeconds&&l("seconds",S)}},w=(A,D)=>{const x={hours:Array.isArray(e.hours)?e.hours[A]:e.hours,disabledArr:[]};return(D||D===0)&&(x.hours=D),Array.isArray(t.disabledTimes)&&(x.disabledArr=i.value.enabled&&Array.isArray(t.disabledTimes[A])?t.disabledTimes[A]:t.disabledTimes),x},$=_e(()=>(A,D)=>{var x;if(Array.isArray(t.disabledTimes)){const{disabledArr:y,hours:S}=w(A,D),E=y.filter(T=>+T.hours===S);return((x=E[0])==null?void 0:x.minutes)==="*"?{hours:[S],minutes:void 0,seconds:void 0}:{hours:[],minutes:E?.map(T=>+T.minutes)??[],seconds:E?.map(T=>T.seconds?+T.seconds:void 0)??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:l,updateHours:f,updateMinutes:g,updateSeconds:_,getSetDateTime:a,updateTimeValues:m,getSecondsValue:r,assignStartTime:b,validateTime:u,disabledTimesConfig:$}},_R=(t,e)=>{const n=()=>{t.isTextInputDate&&D()},{modelValue:s,time:i}=Qa(t,e,n),{defaultedStartTime:o,defaultedRange:r,defaultedTz:a}=xt(t),{updateTimeValues:l,getSetDateTime:c,setTime:u,assignStartTime:d,disabledTimesConfig:f,validateTime:g}=Zy(t,i,s,_);function _(){e("update-flow-step")}const m=y=>{const{hours:S,minutes:E,seconds:T}=y;return{hours:+S,minutes:+E,seconds:T?+T:0}},b=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const S=m(t.startTime[0]),E=m(t.startTime[1]);return[dt(we(),S),dt(we(),E)]}const y=m(t.startTime);return dt(we(),y)}return r.value.enabled?[null,null]:null},w=()=>{if(r.value.enabled){const[y,S]=b();s.value=[En(c(y,0),a.value.timezone),En(c(S,1),a.value.timezone)]}else s.value=En(c(b()),a.value.timezone)},$=y=>Array.isArray(y)?[wo(we(y[0])),wo(we(y[1]))]:[wo(y??we())],A=(y,S,E)=>{u("hours",y),u("minutes",S),u("seconds",t.enableSeconds?E:0)},D=()=>{const[y,S]=$(s.value);return r.value.enabled?A([y.hours,S.hours],[y.minutes,S.minutes],[y.seconds,S.seconds]):A(y.hours,y.minutes,y.seconds)};qt(()=>{if(!t.shadow)return d(o.value),s.value?D():w()});const x=()=>{Array.isArray(s.value)?s.value=s.value.map((y,S)=>y&&c(y,S)):s.value=c(s.value),e("time-update")};return{modelValue:s,time:i,disabledTimesConfig:f,updateTime:(y,S=!0,E=!1)=>{l(y,S,E,x)},validateTime:g}},vR=Nt({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...ds},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(t,{expose:e,emit:n}){const s=n,i=t,o=Do(),r=Rn(o,"timePicker"),a=ve(null),{time:l,modelValue:c,disabledTimesConfig:u,updateTime:d,validateTime:f}=_R(i,s);return qt(()=>{i.shadow||s("mount",null)}),e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:d}),toggleTimePicker:(g,_=!1,m="")=>{var b;(b=a.value)==null||b.toggleTimePicker(g,_,m)}}),(g,_)=>(M(),Le(Zc,{"multi-calendars":0,stretch:""},{default:Pe(()=>[Se(Qy,zt({ref_key:"tpRef",ref:a},g.$props,{hours:q(l).hours,minutes:q(l).minutes,seconds:q(l).seconds,"internal-model-value":g.internalModelValue,"disabled-times-config":q(u),"validate-time":q(f),"onUpdate:hours":_[0]||(_[0]=m=>q(d)(m)),"onUpdate:minutes":_[1]||(_[1]=m=>q(d)(m,!1)),"onUpdate:seconds":_[2]||(_[2]=m=>q(d)(m,!1,!0)),onAmPmChange:_[3]||(_[3]=m=>g.$emit("am-pm-change",m)),onResetFlow:_[4]||(_[4]=m=>g.$emit("reset-flow")),onOverlayClosed:_[5]||(_[5]=m=>g.$emit("overlay-toggle",{open:!1,overlay:m})),onOverlayOpened:_[6]||(_[6]=m=>g.$emit("overlay-toggle",{open:!0,overlay:m}))}),dn({_:2},[Ue(q(r),(m,b)=>({name:m,fn:Pe(w=>[Ie(g.$slots,m,Qt(mn(w)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),bR={class:"dp--header-wrap"},yR={key:0,class:"dp__month_year_wrap"},wR={key:0},xR={class:"dp__month_year_wrap"},kR=["data-dp-element","aria-label","data-test","onClick","onKeydown"],SR=Nt({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...ds},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(t,{expose:e,emit:n}){const s=n,i=t,{defaultedTransitions:o,defaultedAriaLabels:r,defaultedMultiCalendars:a,defaultedFilters:l,defaultedConfig:c,defaultedHighlight:u,propDates:d,defaultedUI:f}=xt(i),{transitionName:g,showTransition:_}=Xa(o),{buildMatrix:m}=Hi(),{handleMonthYearChange:b,isDisabled:w,updateMonthYear:$}=jI(i,s),{showLeftIcon:A,showRightIcon:D}=tu(),x=ve(!1),y=ve(!1),S=ve(!1),E=ve([null,null,null,null]);qt(()=>{s("mount")});const T=X=>({get:()=>i[X],set:R=>{const ee=X===ts.month?ts.year:ts.month;s("update-month-year",{[X]:R,[ee]:i[ee]}),X===ts.month?V(!0):Q(!0)}}),C=_e(T(ts.month)),B=_e(T(ts.year)),J=_e(()=>X=>({month:i.month,year:i.year,items:X===ts.month?i.months:i.years,instance:i.instance,updateMonthYear:$,toggle:X===ts.month?V:Q})),ae=_e(()=>i.months.find(R=>R.value===i.month)||{text:"",value:0}),Y=_e(()=>kr(i.months,X=>{const R=i.month===X.value,ee=Na(X.value,By(i.year,d.value.minDate),Vy(i.year,d.value.maxDate))||l.value.months.includes(X.value),oe=Yy(u.value,X.value,i.year);return{active:R,disabled:ee,highlighted:oe}})),L=_e(()=>kr(i.years,X=>{const R=i.year===X.value,ee=Na(X.value,Sr(d.value.minDate),Sr(d.value.maxDate))||l.value.years.includes(X.value),oe=bf(u.value,X.value);return{active:R,disabled:ee,highlighted:oe}})),I=(X,R,ee)=>{ee!==void 0?X.value=ee:X.value=!X.value,X.value?(S.value=!0,s("overlay-opened",R)):(S.value=!1,s("overlay-closed",R))},V=(X=!1,R)=>{Z(X),I(x,ln.month,R)},Q=(X=!1,R)=>{Z(X),I(y,ln.year,R)},Z=X=>{X||s("reset-flow")},le=(X,R)=>{i.arrowNavigation&&(E.value[R]=Ht(X),m(E.value,"monthYear"))},ye=_e(()=>{var X,R,ee,oe,P,se;return[{type:ts.month,index:1,toggle:V,modelValue:C.value,updateModelValue:ue=>C.value=ue,text:ae.value.text,showSelectionGrid:x.value,items:Y.value,ariaLabel:(X=r.value)==null?void 0:X.openMonthsOverlay,overlayLabel:((ee=(R=r.value).monthPicker)==null?void 0:ee.call(R,!0))??void 0},{type:ts.year,index:2,toggle:Q,modelValue:B.value,updateModelValue:ue=>B.value=ue,text:Fy(i.year,i.locale),showSelectionGrid:y.value,items:L.value,ariaLabel:(oe=r.value)==null?void 0:oe.openYearsOverlay,overlayLabel:((se=(P=r.value).yearPicker)==null?void 0:se.call(P,!0))??void 0}]}),U=_e(()=>i.disableYearSelect?[ye.value[0]]:i.yearFirst?[...ye.value].reverse():ye.value);return e({toggleMonthPicker:V,toggleYearPicker:Q,handleMonthYearChange:b}),(X,R)=>{var ee,oe,P,se,ue,xe;return M(),F("div",bR,[X.$slots["month-year"]?(M(),F("div",yR,[Ie(X.$slots,"month-year",Qt(mn({month:t.month,year:t.year,months:t.months,years:t.years,updateMonthYear:q($),handleMonthYearChange:q(b),instance:t.instance})))])):(M(),F(Te,{key:1},[X.$slots["top-extra"]?(M(),F("div",wR,[Ie(X.$slots,"top-extra",{value:X.internalModelValue})])):re("",!0),h("div",xR,[q(A)(q(a),t.instance)&&!X.vertical?(M(),Le(ba,{key:0,"aria-label":(ee=q(r))==null?void 0:ee.prevMonth,disabled:q(w)(!1),class:Ce((oe=q(f))==null?void 0:oe.navBtnPrev),"el-name":"action-prev",onActivate:R[0]||(R[0]=N=>q(b)(!1,!0)),onSetRef:R[1]||(R[1]=N=>le(N,0))},{default:Pe(()=>[X.$slots["arrow-left"]?Ie(X.$slots,"arrow-left",{key:0}):re("",!0),X.$slots["arrow-left"]?re("",!0):(M(),Le(q(uf),{key:1}))]),_:3},8,["aria-label","disabled","class"])):re("",!0),h("div",{class:Ce(["dp__month_year_wrap",{dp__year_disable_select:X.disableYearSelect}])},[(M(!0),F(Te,null,Ue(U.value,(N,he)=>(M(),F(Te,{key:N.type},[h("button",{ref_for:!0,ref:v=>le(v,he+1),type:"button","data-dp-element":`overlay-${N.type}`,class:Ce(["dp__btn dp__month_year_select",{"dp--hidden-el":S.value}]),"aria-label":`${N.text}-${N.ariaLabel}`,"data-test":`${N.type}-toggle-overlay-${t.instance}`,onClick:N.toggle,onKeydown:v=>q(vn)(v,()=>N.toggle(),!0)},[X.$slots[N.type]?Ie(X.$slots,N.type,{key:0,text:N.text,value:i[N.type]}):re("",!0),X.$slots[N.type]?re("",!0):(M(),F(Te,{key:1},[be(me(N.text),1)],64))],42,kR),Se(At,{name:q(g)(N.showSelectionGrid),css:q(_)},{default:Pe(()=>[N.showSelectionGrid?(M(),Le(Ja,{key:0,items:N.items,"arrow-navigation":X.arrowNavigation,"hide-navigation":X.hideNavigation,"is-last":X.autoApply&&!q(c).keepActionRow,"skip-button-ref":!1,config:X.config,type:N.type,"header-refs":[],"esc-close":X.escClose,"menu-wrap-ref":X.menuWrapRef,"text-input":X.textInput,"aria-labels":X.ariaLabels,"overlay-label":N.overlayLabel,onSelected:N.updateModelValue,onToggle:N.toggle},dn({"button-icon":Pe(()=>[X.$slots["calendar-icon"]?Ie(X.$slots,"calendar-icon",{key:0}):re("",!0),X.$slots["calendar-icon"]?re("",!0):(M(),Le(q(Lr),{key:1}))]),_:2},[X.$slots[`${N.type}-overlay-value`]?{name:"item",fn:Pe(({item:v})=>[Ie(X.$slots,`${N.type}-overlay-value`,{text:v.text,value:v.value})]),key:"0"}:void 0,X.$slots[`${N.type}-overlay`]?{name:"overlay",fn:Pe(()=>[Ie(X.$slots,`${N.type}-overlay`,zt({ref_for:!0},J.value(N.type)))]),key:"1"}:void 0,X.$slots[`${N.type}-overlay-header`]?{name:"header",fn:Pe(()=>[Ie(X.$slots,`${N.type}-overlay-header`,{toggle:N.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):re("",!0)]),_:2},1032,["name","css"])],64))),128))],2),q(A)(q(a),t.instance)&&X.vertical?(M(),Le(ba,{key:1,"aria-label":(P=q(r))==null?void 0:P.prevMonth,"el-name":"action-prev",disabled:q(w)(!1),class:Ce((se=q(f))==null?void 0:se.navBtnPrev),onActivate:R[2]||(R[2]=N=>q(b)(!1,!0))},{default:Pe(()=>[X.$slots["arrow-up"]?Ie(X.$slots,"arrow-up",{key:0}):re("",!0),X.$slots["arrow-up"]?re("",!0):(M(),Le(q(ff),{key:1}))]),_:3},8,["aria-label","disabled","class"])):re("",!0),q(D)(q(a),t.instance)?(M(),Le(ba,{key:2,ref:"rightIcon","el-name":"action-next",disabled:q(w)(!0),"aria-label":(ue=q(r))==null?void 0:ue.nextMonth,class:Ce((xe=q(f))==null?void 0:xe.navBtnNext),onActivate:R[3]||(R[3]=N=>q(b)(!0,!0)),onSetRef:R[4]||(R[4]=N=>le(N,X.disableYearSelect?2:3))},{default:Pe(()=>[X.$slots[X.vertical?"arrow-down":"arrow-right"]?Ie(X.$slots,X.vertical?"arrow-down":"arrow-right",{key:0}):re("",!0),X.$slots[X.vertical?"arrow-down":"arrow-right"]?re("",!0):(M(),Le(Mo(X.vertical?q(pf):q(df)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):re("",!0)])],64))])}}}),$R={class:"dp__calendar_header",role:"row"},AR={key:0,class:"dp__calendar_header_item",role:"gridcell"},CR=["aria-label"],ER=h("div",{class:"dp__calendar_header_separator"},null,-1),PR={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},TR={class:"dp__cell_inner"},MR=["id","aria-pressed","aria-disabled","aria-label","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],DR=Nt({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...ds},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(t,{expose:e,emit:n}){const s=n,i=t,{buildMultiLevelMatrix:o}=Hi(),{defaultedTransitions:r,defaultedConfig:a,defaultedAriaLabels:l,defaultedMultiCalendars:c,defaultedWeekNumbers:u,defaultedMultiDates:d,defaultedUI:f}=xt(i),g=ve(null),_=ve({bottom:"",left:"",transform:""}),m=ve([]),b=ve(null),w=ve(!0),$=ve(""),A=ve({startX:0,endX:0,startY:0,endY:0}),D=ve([]),x=ve({left:"50%"}),y=ve(!1),S=_e(()=>i.calendar?i.calendar(i.mappedDates):i.mappedDates),E=_e(()=>i.dayNames?Array.isArray(i.dayNames)?i.dayNames:i.dayNames(i.locale,+i.weekStart):cI(i.formatLocale,i.locale,+i.weekStart));qt(()=>{s("mount",{cmp:"calendar",refs:m}),a.value.noSwipe||b.value&&(b.value.addEventListener("touchstart",le,{passive:!1}),b.value.addEventListener("touchend",ye,{passive:!1}),b.value.addEventListener("touchmove",U,{passive:!1})),i.monthChangeOnScroll&&b.value&&b.value.addEventListener("wheel",ee,{passive:!1})});const T=N=>N?i.vertical?"vNext":"next":i.vertical?"vPrevious":"previous",C=(N,he)=>{if(i.transitions){const v=wn(Ys(we(),i.month,i.year));$.value=Dt(wn(Ys(we(),N,he)),v)?r.value[T(!0)]:r.value[T(!1)],w.value=!1,en(()=>{w.value=!0})}},B=_e(()=>({...f.value.calendar??{}})),J=_e(()=>N=>{const he=dI(N);return{dp__marker_dot:he.type==="dot",dp__marker_line:he.type==="line"}}),ae=_e(()=>N=>tt(N,g.value)),Y=_e(()=>({dp__calendar:!0,dp__calendar_next:c.value.count>0&&i.instance!==0})),L=_e(()=>N=>i.hideOffsetDates?N.current:!0),I=async(N,he)=>{const{width:v,height:O}=N.getBoundingClientRect();g.value=he.value;let H={left:`${v/2}px`},W=-50;if(await en(),D.value[0]){const{left:ie,width:j}=D.value[0].getBoundingClientRect();ie<0&&(H={left:"0"},W=0,x.value.left=`${v/2}px`),window.innerWidth{var O,H,W;const ie=Ht(m.value[he][v]);ie&&((O=N.marker)!=null&&O.customPosition&&(W=(H=N.marker)==null?void 0:H.tooltip)!=null&&W.length?_.value=N.marker.customPosition(ie):await I(ie,N),s("tooltip-open",N.marker))},Q=async(N,he,v)=>{var O,H;if(y.value&&d.value.enabled&&d.value.dragSelect)return s("select-date",N);s("set-hover-date",N),(H=(O=N.marker)==null?void 0:O.tooltip)!=null&&H.length&&await V(N,he,v)},Z=N=>{g.value&&(g.value=null,_.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),s("tooltip-close",N.marker))},le=N=>{A.value.startX=N.changedTouches[0].screenX,A.value.startY=N.changedTouches[0].screenY},ye=N=>{A.value.endX=N.changedTouches[0].screenX,A.value.endY=N.changedTouches[0].screenY,X()},U=N=>{i.vertical&&!i.inline&&N.preventDefault()},X=()=>{const N=i.vertical?"Y":"X";Math.abs(A.value[`start${N}`]-A.value[`end${N}`])>10&&s("handle-swipe",A.value[`start${N}`]>A.value[`end${N}`]?"right":"left")},R=(N,he,v)=>{N&&(Array.isArray(m.value[he])?m.value[he][v]=N:m.value[he]=[N]),i.arrowNavigation&&o(m.value,"calendar")},ee=N=>{i.monthChangeOnScroll&&(N.preventDefault(),s("handle-scroll",N))},oe=N=>u.value.type==="local"?af(N.value,{weekStartsOn:+i.weekStart}):u.value.type==="iso"?of(N.value):typeof u.value.type=="function"?u.value.type(N.value):"",P=N=>{const he=N[0];return u.value.hideOnOffsetDates?N.some(v=>v.current)?oe(he):"":oe(he)},se=(N,he,v=!0)=>{v&&mI()||d.value.enabled||(Ci(N,a.value),s("select-date",he))},ue=N=>{Ci(N,a.value)},xe=N=>{d.value.enabled&&d.value.dragSelect?(y.value=!0,s("select-date",N)):d.value.enabled&&s("select-date",N)};return e({triggerTransition:C}),(N,he)=>(M(),F("div",{class:Ce(Y.value)},[h("div",{ref_key:"calendarWrapRef",ref:b,class:Ce(B.value),role:"grid"},[h("div",$R,[N.weekNumbers?(M(),F("div",AR,me(N.weekNumName),1)):re("",!0),(M(!0),F(Te,null,Ue(E.value,(v,O)=>{var H,W;return M(),F("div",{key:O,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(W=(H=q(l))==null?void 0:H.weekDay)==null?void 0:W.call(H,O)},[N.$slots["calendar-header"]?Ie(N.$slots,"calendar-header",{key:0,day:v,index:O}):re("",!0),N.$slots["calendar-header"]?re("",!0):(M(),F(Te,{key:1},[be(me(v),1)],64))],8,CR)}),128))]),ER,Se(At,{name:$.value,css:!!N.transitions},{default:Pe(()=>[w.value?(M(),F("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:he[1]||(he[1]=v=>y.value=!1)},[(M(!0),F(Te,null,Ue(S.value,(v,O)=>(M(),F("div",{key:O,class:"dp__calendar_row",role:"row"},[N.weekNumbers?(M(),F("div",PR,[h("div",TR,me(P(v.days)),1)])):re("",!0),(M(!0),F(Te,null,Ue(v.days,(H,W)=>{var ie,j,te;return M(),F("div",{id:q(Uy)(H.value),ref_for:!0,ref:G=>R(G,O,W),key:W+O,role:"gridcell",class:"dp__calendar_item","aria-pressed":(H.classData.dp__active_date||H.classData.dp__range_start||H.classData.dp__range_start)??void 0,"aria-disabled":H.classData.dp__cell_disabled||void 0,"aria-label":(j=(ie=q(l))==null?void 0:ie.day)==null?void 0:j.call(ie,H),tabindex:"0","data-test":H.value,onClick:Oa(G=>se(G,H),["prevent"]),onTouchend:G=>se(G,H,!1),onKeydown:G=>q(vn)(G,()=>N.$emit("select-date",H)),onMouseenter:G=>Q(H,O,W),onMouseleave:G=>Z(H),onMousedown:G=>xe(H),onMouseup:he[0]||(he[0]=G=>y.value=!1)},[h("div",{class:Ce(["dp__cell_inner",H.classData])},[N.$slots.day&&L.value(H)?Ie(N.$slots,"day",{key:0,day:+H.text,date:H.value}):re("",!0),N.$slots.day?re("",!0):(M(),F(Te,{key:1},[be(me(H.text),1)],64)),H.marker&&L.value(H)?(M(),F(Te,{key:2},[N.$slots.marker?Ie(N.$slots,"marker",{key:0,marker:H.marker,day:+H.text,date:H.value}):(M(),F("div",{key:1,class:Ce(J.value(H.marker)),style:jt(H.marker.color?{backgroundColor:H.marker.color}:{})},null,6))],64)):re("",!0),ae.value(H.value)?(M(),F("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:D,class:"dp__marker_tooltip",style:jt(_.value)},[(te=H.marker)!=null&&te.tooltip?(M(),F("div",{key:0,class:"dp__tooltip_content",onClick:ue},[(M(!0),F(Te,null,Ue(H.marker.tooltip,(G,de)=>(M(),F("div",{key:de,class:"dp__tooltip_text"},[N.$slots["marker-tooltip"]?Ie(N.$slots,"marker-tooltip",{key:0,tooltip:G,day:H.value}):re("",!0),N.$slots["marker-tooltip"]?re("",!0):(M(),F(Te,{key:1},[h("div",{class:"dp__tooltip_mark",style:jt(G.color?{backgroundColor:G.color}:{})},null,4),h("div",null,me(G.text),1)],64))]))),128)),h("div",{class:"dp__arrow_bottom_tp",style:jt(x.value)},null,4)])):re("",!0)],4)):re("",!0)],2)],40,MR)}),128))]))),128))],32)):re("",!0)]),_:3},8,["name","css"])],2)],2))}}),vm=t=>Array.isArray(t),OR=(t,e,n,s)=>{const i=ve([]),o=ve(new Date),r=ve(),a=()=>le(t.isTextInputDate),{modelValue:l,calendars:c,time:u,today:d}=Qa(t,e,a),{defaultedMultiCalendars:f,defaultedStartTime:g,defaultedRange:_,defaultedConfig:m,defaultedTz:b,propDates:w,defaultedMultiDates:$}=xt(t),{validateMonthYearInRange:A,isDisabled:D,isDateRangeAllowed:x,checkMinMaxRange:y}=ji(t),{updateTimeValues:S,getSetDateTime:E,setTime:T,assignStartTime:C,validateTime:B,disabledTimesConfig:J}=Zy(t,u,l,s),ae=_e(()=>ne=>c.value[ne]?c.value[ne].month:0),Y=_e(()=>ne=>c.value[ne]?c.value[ne].year:0),L=ne=>!m.value.keepViewOnOffsetClick||ne?!0:!r.value,I=(ne,ke,ce,$e=!1)=>{var Me,nn;L($e)&&(c.value[ne]||(c.value[ne]={month:0,year:0}),c.value[ne].month=fm(ke)?(Me=c.value[ne])==null?void 0:Me.month:ke,c.value[ne].year=fm(ce)?(nn=c.value[ne])==null?void 0:nn.year:ce)},V=()=>{t.autoApply&&e("select-date")};qt(()=>{t.shadow||(l.value||(N(),g.value&&C(g.value)),le(!0),t.focusStartDate&&t.startDate&&N())});const Q=_e(()=>{var ne;return(ne=t.flow)!=null&&ne.length&&!t.partialFlow?t.flowStep===t.flow.length:!0}),Z=()=>{t.autoApply&&Q.value&&e("auto-apply",t.partialFlow?t.flowStep!==t.flow.length:!1)},le=(ne=!1)=>{if(l.value)return Array.isArray(l.value)?(i.value=l.value,P(ne)):X(l.value,ne);if(f.value.count&&ne&&!t.startDate)return U(we(),ne)},ye=()=>Array.isArray(l.value)&&_.value.enabled?Qe(l.value[0])===Qe(l.value[1]??l.value[0]):!1,U=(ne=new Date,ke=!1)=>{if((!f.value.count||!f.value.static||ke)&&I(0,Qe(ne),ze(ne)),f.value.count&&(!f.value.solo||!l.value||ye()))for(let ce=1;ce{U(ne),T("hours",Qs(ne)),T("minutes",Oi(ne)),T("seconds",yr(ne)),f.value.count&&ke&&xe()},R=ne=>{if(f.value.count){if(f.value.solo)return 0;const ke=Qe(ne[0]),ce=Qe(ne[1]);return Math.abs(ce-ke){ne[1]&&_.value.showLastInRange?U(ne[R(ne)],ke):U(ne[0],ke);const ce=($e,Me)=>[$e(ne[0]),ne[1]?$e(ne[1]):u[Me][1]];T("hours",ce(Qs,"hours")),T("minutes",ce(Oi,"minutes")),T("seconds",ce(yr,"seconds"))},oe=(ne,ke)=>{if((_.value.enabled||t.weekPicker)&&!$.value.enabled)return ee(ne,ke);if($.value.enabled&&ke){const ce=ne[ne.length-1];return X(ce,ke)}},P=ne=>{const ke=l.value;oe(ke,ne),f.value.count&&f.value.solo&&xe()},se=(ne,ke)=>{const ce=dt(we(),{month:ae.value(ke),year:Y.value(ke)}),$e=ne<0?ls(ce,1):xr(ce,1);A(Qe($e),ze($e),ne<0,t.preventMinMaxNavigation)&&(I(ke,Qe($e),ze($e)),e("update-month-year",{instance:ke,month:Qe($e),year:ze($e)}),f.value.count&&!f.value.solo&&ue(ke),n())},ue=ne=>{for(let ke=ne-1;ke>=0;ke--){const ce=xr(dt(we(),{month:ae.value(ke+1),year:Y.value(ke+1)}),1);I(ke,Qe(ce),ze(ce))}for(let ke=ne+1;ke<=f.value.count-1;ke++){const ce=ls(dt(we(),{month:ae.value(ke-1),year:Y.value(ke-1)}),1);I(ke,Qe(ce),ze(ce))}},xe=()=>{if(Array.isArray(l.value)&&l.value.length===2){const ne=we(we(l.value[1]?l.value[1]:ls(l.value[0],1))),[ke,ce]=[Qe(l.value[0]),ze(l.value[0])],[$e,Me]=[Qe(l.value[1]),ze(l.value[1])];(ke!==$e||ke===$e&&ce!==Me)&&f.value.solo&&I(1,Qe(ne),ze(ne))}else l.value&&!Array.isArray(l.value)&&(I(0,Qe(l.value),ze(l.value)),U(we()))},N=()=>{t.startDate&&(I(0,Qe(we(t.startDate)),ze(we(t.startDate))),f.value.count&&ue(0))},he=(ne,ke)=>{if(t.monthChangeOnScroll){const ce=new Date().getTime()-o.value.getTime(),$e=Math.abs(ne.deltaY);let Me=500;$e>1&&(Me=100),$e>100&&(Me=0),ce>Me&&(o.value=new Date,se(t.monthChangeOnScroll!=="inverse"?-ne.deltaY:ne.deltaY,ke))}},v=(ne,ke,ce=!1)=>{t.monthChangeOnArrows&&t.vertical===ce&&O(ne,ke)},O=(ne,ke)=>{se(ne==="right"?-1:1,ke)},H=ne=>{if(w.value.markers)return vc(ne.value,w.value.markers)},W=(ne,ke)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[ne==0,!0];case"fair":return[ne==0||ke>ne,!0];case"append":return[!1,!1];default:return[!1,!1]}},ie=(ne,ke,ce,$e)=>{if(t.sixWeeks&&ne.length<6){const Me=6-ne.length,nn=(ke.getDay()+7-$e)%7,xn=6-(ce.getDay()+7-$e)%7,[Os,No]=W(nn,xn);for(let Ki=1;Ki<=Me;Ki++)if(No?!!(Ki%2)==Os:Os){const fs=ne[0].days[0],Br=j(is(fs.value,-7),Qe(ke));ne.unshift({days:Br})}else{const fs=ne[ne.length-1],Br=fs.days[fs.days.length-1],gu=j(is(Br.value,1),Qe(ke));ne.push({days:gu})}}return ne},j=(ne,ke)=>{const ce=we(ne),$e=[];for(let Me=0;Me<7;Me++){const nn=is(ce,Me),xn=Qe(nn)!==ke;$e.push({text:t.hideOffsetDates&&xn?"":nn.getDate(),value:nn,current:!xn,classData:{}})}return $e},te=(ne,ke)=>{const ce=[],$e=new Date(ke,ne),Me=new Date(ke,ne+1,0),nn=t.weekStart,xn=us($e,{weekStartsOn:nn}),Os=No=>{const Ki=j(No,ne);if(ce.push({days:Ki}),!ce[ce.length-1].days.some(fs=>tt(wn(fs.value),wn(Me)))){const fs=is(No,7);Os(fs)}};return Os(xn),ie(ce,$e,Me,nn)},G=ne=>{const ke=Ei(we(ne.value),u.hours,u.minutes,Be());e("date-update",ke),$.value.enabled?yf(ke,l,$.value.limit):l.value=ke,s(),en().then(()=>{Z()})},de=ne=>_.value.noDisabledRange?Hy(i.value[0],ne).some(ke=>D(ke)):!1,ge=()=>{i.value=l.value?l.value.slice():[],i.value.length===2&&!(_.value.fixedStart||_.value.fixedEnd)&&(i.value=[])},fe=(ne,ke)=>{const ce=[we(ne.value),is(we(ne.value),+_.value.autoRange)];x(ce)?(ke&&Re(ne.value),i.value=ce):e("invalid-date",ne.value)},Re=ne=>{const ke=Qe(we(ne)),ce=ze(we(ne));if(I(0,ke,ce),f.value.count>0)for(let $e=1;$e{if(de(ne.value)||!y(ne.value,l.value,_.value.fixedStart?0:1))return e("invalid-date",ne.value);i.value=Jy(we(ne.value),l,e,_)},Ve=(ne,ke)=>{if(ge(),_.value.autoRange)return fe(ne,ke);if(_.value.fixedStart||_.value.fixedEnd)return De(ne);i.value[0]?y(we(ne.value),l.value)&&!de(ne.value)?$t(we(ne.value),we(i.value[0]))?(i.value.unshift(we(ne.value)),e("range-end",i.value[0])):(i.value[1]=we(ne.value),e("range-end",i.value[1])):(t.autoApply&&e("auto-apply-invalid",ne.value),e("invalid-date",ne.value)):(i.value[0]=we(ne.value),e("range-start",i.value[0]))},Be=(ne=!0)=>t.enableSeconds?Array.isArray(u.seconds)?ne?u.seconds[0]:u.seconds[1]:u.seconds:0,et=ne=>{i.value[ne]=Ei(i.value[ne],u.hours[ne],u.minutes[ne],Be(ne!==1))},Ge=()=>{var ne,ke;i.value[0]&&i.value[1]&&+((ne=i.value)==null?void 0:ne[0])>+((ke=i.value)==null?void 0:ke[1])&&(i.value.reverse(),e("range-start",i.value[0]),e("range-end",i.value[1]))},pt=()=>{i.value.length&&(i.value[0]&&!i.value[1]?et(0):(et(0),et(1),s()),Ge(),l.value=i.value.slice(),eu(i.value,e,t.autoApply,t.modelAuto))},on=(ne,ke=!1)=>{if(D(ne.value)||!ne.current&&t.hideOffsetDates)return e("invalid-date",ne.value);if(r.value=JSON.parse(JSON.stringify(ne)),!_.value.enabled)return G(ne);vm(u.hours)&&vm(u.minutes)&&!$.value.enabled&&(Ve(ne,ke),pt())},Hn=(ne,ke)=>{var ce;I(ne,ke.month,ke.year,!0),f.value.count&&!f.value.solo&&ue(ne),e("update-month-year",{instance:ne,month:ke.month,year:ke.year}),n(f.value.solo?ne:void 0);const $e=(ce=t.flow)!=null&&ce.length?t.flow[t.flowStep]:void 0;!ke.fromNav&&($e===ln.month||$e===ln.year)&&s()},ii=(ne,ke)=>{Gy({value:ne,modelValue:l,range:_.value.enabled,timezone:ke?void 0:b.value.timezone}),V(),t.multiCalendars&&en().then(()=>le(!0))},Qn=()=>{const ne=gf(we(),b.value);_.value.enabled?l.value&&Array.isArray(l.value)&&l.value[0]?l.value=$t(ne,l.value[0])?[ne,l.value[0]]:[l.value[0],ne]:l.value=[ne]:l.value=ne,V()},Ds=()=>{if(Array.isArray(l.value))if($.value.enabled){const ne=Vt();l.value[l.value.length-1]=E(ne)}else l.value=l.value.map((ne,ke)=>ne&&E(ne,ke));else l.value=E(l.value);e("time-update")},Vt=()=>Array.isArray(l.value)&&l.value.length?l.value[l.value.length-1]:null;return{calendars:c,modelValue:l,month:ae,year:Y,time:u,disabledTimesConfig:J,today:d,validateTime:B,getCalendarDays:te,getMarker:H,handleScroll:he,handleSwipe:O,handleArrow:v,selectDate:on,updateMonthYear:Hn,presetDate:ii,selectCurrentDate:Qn,updateTime:(ne,ke=!0,ce=!1)=>{S(ne,ke,ce,Ds)},assignMonthAndYear:U}},IR={key:0},RR=Nt({__name:"DatePicker",props:{...ds},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(t,{expose:e,emit:n}){const s=n,i=t,{calendars:o,month:r,year:a,modelValue:l,time:c,disabledTimesConfig:u,today:d,validateTime:f,getCalendarDays:g,getMarker:_,handleArrow:m,handleScroll:b,handleSwipe:w,selectDate:$,updateMonthYear:A,presetDate:D,selectCurrentDate:x,updateTime:y,assignMonthAndYear:S}=OR(i,s,ye,U),E=Do(),{setHoverDate:T,getDayClassData:C,clearHoverDate:B}=QR(l,i),{defaultedMultiCalendars:J}=xt(i),ae=ve([]),Y=ve([]),L=ve(null),I=Rn(E,"calendar"),V=Rn(E,"monthYear"),Q=Rn(E,"timePicker"),Z=he=>{i.shadow||s("mount",he)};Bt(o,()=>{i.shadow||setTimeout(()=>{s("recalculate-position")},0)},{deep:!0}),Bt(J,(he,v)=>{he.count-v.count>0&&S()},{deep:!0});const le=_e(()=>he=>g(r.value(he),a.value(he)).map(v=>({...v,days:v.days.map(O=>(O.marker=_(O),O.classData=C(O),O))})));function ye(he){var v;he||he===0?(v=Y.value[he])==null||v.triggerTransition(r.value(he),a.value(he)):Y.value.forEach((O,H)=>O.triggerTransition(r.value(H),a.value(H)))}function U(){s("update-flow-step")}const X=(he,v=!1)=>{$(he,v),i.spaceConfirm&&s("select-date")},R=(he,v,O=0)=>{var H;(H=ae.value[O])==null||H.toggleMonthPicker(he,v)},ee=(he,v,O=0)=>{var H;(H=ae.value[O])==null||H.toggleYearPicker(he,v)},oe=(he,v,O)=>{var H;(H=L.value)==null||H.toggleTimePicker(he,v,O)},P=(he,v)=>{var O;if(!i.range){const H=l.value?l.value:d,W=v?new Date(v):H,ie=he?us(W,{weekStartsOn:1}):wy(W,{weekStartsOn:1});$({value:ie,current:Qe(W)===r.value(0),text:"",classData:{}}),(O=document.getElementById(Uy(ie)))==null||O.focus()}},se=he=>{var v;(v=ae.value[0])==null||v.handleMonthYearChange(he,!0)},ue=he=>{A(0,{month:r.value(0),year:a.value(0)+(he?1:-1),fromNav:!0})},xe=(he,v)=>{he===ln.time&&s(`time-picker-${v?"open":"close"}`),s("overlay-toggle",{open:v,overlay:he})},N=he=>{s("overlay-toggle",{open:!1,overlay:he}),s("focus-menu")};return e({clearHoverDate:B,presetDate:D,selectCurrentDate:x,toggleMonthPicker:R,toggleYearPicker:ee,toggleTimePicker:oe,handleArrow:m,updateMonthYear:A,getSidebarProps:()=>({modelValue:l,month:r,year:a,time:c,updateTime:y,updateMonthYear:A,selectDate:$,presetDate:D}),changeMonth:se,changeYear:ue,selectWeekDate:P}),(he,v)=>(M(),F(Te,null,[Se(Zc,{"multi-calendars":q(J).count,collapse:he.collapse},{default:Pe(({instance:O,index:H})=>[he.disableMonthYearSelect?re("",!0):(M(),Le(SR,zt({key:0,ref:W=>{W&&(ae.value[H]=W)},months:q(Ry)(he.formatLocale,he.locale,he.monthNameFormat),years:q(mf)(he.yearRange,he.locale,he.reverseYears),month:q(r)(O),year:q(a)(O),instance:O},he.$props,{onMount:v[0]||(v[0]=W=>Z(q(yo).header)),onResetFlow:v[1]||(v[1]=W=>he.$emit("reset-flow")),onUpdateMonthYear:W=>q(A)(O,W),onOverlayClosed:N,onOverlayOpened:v[2]||(v[2]=W=>he.$emit("overlay-toggle",{open:!0,overlay:W}))}),dn({_:2},[Ue(q(V),(W,ie)=>({name:W,fn:Pe(j=>[Ie(he.$slots,W,Qt(mn(j)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),Se(DR,zt({ref:W=>{W&&(Y.value[H]=W)},"mapped-dates":le.value(O),month:q(r)(O),year:q(a)(O),instance:O},he.$props,{onSelectDate:W=>q($)(W,O!==1),onHandleSpace:W=>X(W,O!==1),onSetHoverDate:v[3]||(v[3]=W=>q(T)(W)),onHandleScroll:W=>q(b)(W,O),onHandleSwipe:W=>q(w)(W,O),onMount:v[4]||(v[4]=W=>Z(q(yo).calendar)),onResetFlow:v[5]||(v[5]=W=>he.$emit("reset-flow")),onTooltipOpen:v[6]||(v[6]=W=>he.$emit("tooltip-open",W)),onTooltipClose:v[7]||(v[7]=W=>he.$emit("tooltip-close",W))}),dn({_:2},[Ue(q(I),(W,ie)=>({name:W,fn:Pe(j=>[Ie(he.$slots,W,Qt(mn({...j})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),he.enableTimePicker?(M(),F("div",IR,[he.$slots["time-picker"]?Ie(he.$slots,"time-picker",Qt(zt({key:0},{time:q(c),updateTime:q(y)}))):(M(),Le(Qy,zt({key:1,ref_key:"timePickerRef",ref:L},he.$props,{hours:q(c).hours,minutes:q(c).minutes,seconds:q(c).seconds,"internal-model-value":he.internalModelValue,"disabled-times-config":q(u),"validate-time":q(f),onMount:v[8]||(v[8]=O=>Z(q(yo).timePicker)),"onUpdate:hours":v[9]||(v[9]=O=>q(y)(O)),"onUpdate:minutes":v[10]||(v[10]=O=>q(y)(O,!1)),"onUpdate:seconds":v[11]||(v[11]=O=>q(y)(O,!1,!0)),onResetFlow:v[12]||(v[12]=O=>he.$emit("reset-flow")),onOverlayClosed:v[13]||(v[13]=O=>xe(O,!1)),onOverlayOpened:v[14]||(v[14]=O=>xe(O,!0)),onAmPmChange:v[15]||(v[15]=O=>he.$emit("am-pm-change",O))}),dn({_:2},[Ue(q(Q),(O,H)=>({name:O,fn:Pe(W=>[Ie(he.$slots,O,Qt(mn(W)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):re("",!0)],64))}}),LR=(t,e)=>{const n=ve(),{defaultedMultiCalendars:s,defaultedConfig:i,defaultedHighlight:o,defaultedRange:r,propDates:a,defaultedFilters:l,defaultedMultiDates:c}=xt(t),{modelValue:u,year:d,month:f,calendars:g}=Qa(t,e),{isDisabled:_}=ji(t),{selectYear:m,groupedYears:b,showYearPicker:w,isDisabled:$,toggleYearPicker:A,handleYearSelect:D,handleYear:x}=Xy({modelValue:u,multiCalendars:s,range:r,highlight:o,calendars:g,propDates:a,month:f,year:d,filters:l,props:t,emit:e}),y=(L,I)=>[L,I].map(V=>$s(V,"MMMM",{locale:t.formatLocale})).join("-"),S=_e(()=>L=>u.value?Array.isArray(u.value)?u.value.some(I=>um(L,I)):um(u.value,L):!1),E=L=>{if(r.value.enabled){if(Array.isArray(u.value)){const I=tt(L,u.value[0])||tt(L,u.value[1]);return Xc(u.value,n.value,L)&&!I}return!1}return!1},T=(L,I)=>L.quarter===im(I)&&L.year===ze(I),C=L=>typeof o.value=="function"?o.value({quarter:im(L),year:ze(L)}):!!o.value.quarters.find(I=>T(I,L)),B=_e(()=>L=>{const I=dt(new Date,{year:d.value(L)});return u2({start:Ra(I),end:yy(I)}).map(V=>{const Q=go(V),Z=om(V),le=_(V),ye=E(Q),U=C(Q);return{text:y(Q,Z),value:Q,active:S.value(Q),highlighted:U,disabled:le,isBetween:ye}})}),J=L=>{yf(L,u,c.value.limit),e("auto-apply",!0)},ae=L=>{u.value=wf(u,L,e),eu(u.value,e,t.autoApply,t.modelAuto)},Y=L=>{u.value=L,e("auto-apply")};return{defaultedConfig:i,defaultedMultiCalendars:s,groupedYears:b,year:d,isDisabled:$,quarters:B,showYearPicker:w,modelValue:u,setHoverDate:L=>{n.value=L},selectYear:m,selectQuarter:(L,I,V)=>{if(!V)return g.value[I].month=Qe(om(L)),c.value.enabled?J(L):r.value.enabled?ae(L):Y(L)},toggleYearPicker:A,handleYearSelect:D,handleYear:x}},NR={class:"dp--quarter-items"},FR=["data-test","disabled","onClick","onMouseover"],BR=Nt({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...ds},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(t,{expose:e,emit:n}){const s=n,i=t,o=Do(),r=Rn(o,"yearMode"),{defaultedMultiCalendars:a,defaultedConfig:l,groupedYears:c,year:u,isDisabled:d,quarters:f,modelValue:g,showYearPicker:_,setHoverDate:m,selectQuarter:b,toggleYearPicker:w,handleYearSelect:$,handleYear:A}=LR(i,s);return e({getSidebarProps:()=>({modelValue:g,year:u,selectQuarter:b,handleYearSelect:$,handleYear:A})}),(D,x)=>(M(),Le(Zc,{"multi-calendars":q(a).count,collapse:D.collapse,stretch:""},{default:Pe(({instance:y})=>[h("div",{class:"dp-quarter-picker-wrap",style:jt({minHeight:`${q(l).modeHeight}px`})},[D.$slots["top-extra"]?Ie(D.$slots,"top-extra",{key:0,value:D.internalModelValue}):re("",!0),h("div",null,[Se(qy,zt(D.$props,{items:q(c)(y),instance:y,"show-year-picker":q(_)[y],year:q(u)(y),"is-disabled":S=>q(d)(y,S),onHandleYear:S=>q(A)(y,S),onYearSelect:S=>q($)(S,y),onToggleYearPicker:S=>q(w)(y,S?.flow,S?.show)}),dn({_:2},[Ue(q(r),(S,E)=>({name:S,fn:Pe(T=>[Ie(D.$slots,S,Qt(mn(T)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),h("div",NR,[(M(!0),F(Te,null,Ue(q(f)(y),(S,E)=>(M(),F("div",{key:E},[h("button",{type:"button",class:Ce(["dp--qr-btn",{"dp--qr-btn-active":S.active,"dp--qr-btn-between":S.isBetween,"dp--qr-btn-disabled":S.disabled,"dp--highlighted":S.highlighted}]),"data-test":S.value,disabled:S.disabled,onClick:T=>q(b)(S.value,y,S.disabled),onMouseover:T=>q(m)(S.value)},[D.$slots.quarter?Ie(D.$slots,"quarter",{key:0,value:S.value,text:S.text}):(M(),F(Te,{key:1},[be(me(S.text),1)],64))],42,FR)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),VR=["id","tabindex","role","aria-label"],HR={key:0,class:"dp--menu-load-container"},jR=h("span",{class:"dp--menu-loader"},null,-1),WR=[jR],zR={key:1,class:"dp--menu-header"},YR={key:0,class:"dp__sidebar_left"},UR=["data-test","onClick","onKeydown"],KR={key:2,class:"dp__sidebar_right"},qR={key:3,class:"dp__action_extra"},bm=Nt({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Qc,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(t,{expose:e,emit:n}){const s=n,i=t,o=ve(null),r=_e(()=>{const{openOnTop:j,...te}=i;return{...te,flowStep:T.value,collapse:i.collapse,noOverlayFocus:i.noOverlayFocus,menuWrapRef:o.value}}),{setMenuFocused:a,setShiftKey:l,control:c}=Ky(),u=Do(),{defaultedTextInput:d,defaultedInline:f,defaultedConfig:g,defaultedUI:_}=xt(i),m=ve(null),b=ve(0),w=ve(null),$=ve(!1),A=ve(null);qt(()=>{if(!i.shadow){$.value=!0,D(),window.addEventListener("resize",D);const j=Ht(o);if(j&&!d.value.enabled&&!f.value.enabled&&(a(!0),I()),j){const te=G=>{g.value.allowPreventDefault&&G.preventDefault(),Ci(G,g.value,!0)};j.addEventListener("pointerdown",te),j.addEventListener("mousedown",te)}}}),Ir(()=>{window.removeEventListener("resize",D)});const D=()=>{const j=Ht(w);j&&(b.value=j.getBoundingClientRect().width)},{arrowRight:x,arrowLeft:y,arrowDown:S,arrowUp:E}=Hi(),{flowStep:T,updateFlowStep:C,childMount:B,resetFlow:J,handleFlow:ae}=ZR(i,s,A),Y=_e(()=>i.monthPicker?ZI:i.yearPicker?tR:i.timePicker?vR:i.quarterPicker?BR:RR),L=_e(()=>{var j;if(g.value.arrowLeft)return g.value.arrowLeft;const te=(j=o.value)==null?void 0:j.getBoundingClientRect(),G=i.getInputRect();return G?.width=(te?.right??0)&&G?.width{const j=Ht(o);j&&j.focus({preventScroll:!0})},V=_e(()=>{var j;return((j=A.value)==null?void 0:j.getSidebarProps())||{}}),Q=()=>{i.openOnTop&&s("recalculate-position")},Z=Rn(u,"action"),le=_e(()=>i.monthPicker||i.yearPicker?Rn(u,"monthYear"):i.timePicker?Rn(u,"timePicker"):Rn(u,"shared")),ye=_e(()=>i.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),U=_e(()=>({dp__menu_disabled:i.disabled,dp__menu_readonly:i.readonly,"dp-menu-loading":i.loading})),X=_e(()=>({dp__menu:!0,dp__menu_index:!f.value.enabled,dp__relative:f.value.enabled,..._.value.menu??{}})),R=j=>{Ci(j,g.value,!0)},ee=()=>{i.escClose&&s("close-picker")},oe=j=>{if(i.arrowNavigation){if(j===gn.up)return E();if(j===gn.down)return S();if(j===gn.left)return y();if(j===gn.right)return x()}else j===gn.left||j===gn.up?N("handleArrow",gn.left,0,j===gn.up):N("handleArrow",gn.right,0,j===gn.down)},P=j=>{l(j.shiftKey),!i.disableMonthYearSelect&&j.code===mt.tab&&j.target.classList.contains("dp__menu")&&c.value.shiftKeyInMenu&&(j.preventDefault(),Ci(j,g.value,!0),s("close-picker"))},se=()=>{I(),s("time-picker-close")},ue=j=>{var te,G,de;(te=A.value)==null||te.toggleTimePicker(!1,!1),(G=A.value)==null||G.toggleMonthPicker(!1,!1,j),(de=A.value)==null||de.toggleYearPicker(!1,!1,j)},xe=(j,te=0)=>{var G,de,ge;return j==="month"?(G=A.value)==null?void 0:G.toggleMonthPicker(!1,!0,te):j==="year"?(de=A.value)==null?void 0:de.toggleYearPicker(!1,!0,te):j==="time"?(ge=A.value)==null?void 0:ge.toggleTimePicker(!0,!1):ue(te)},N=(j,...te)=>{var G,de;(G=A.value)!=null&&G[j]&&((de=A.value)==null||de[j](...te))},he=()=>{N("selectCurrentDate")},v=(j,te)=>{N("presetDate",j,te)},O=()=>{N("clearHoverDate")},H=(j,te)=>{N("updateMonthYear",j,te)},W=(j,te)=>{j.preventDefault(),oe(te)},ie=j=>{var te,G,de;if(P(j),j.key===mt.home||j.key===mt.end)return N("selectWeekDate",j.key===mt.home,j.target.getAttribute("id"));switch((j.key===mt.pageUp||j.key===mt.pageDown)&&(j.shiftKey?(N("changeYear",j.key===mt.pageUp),(te=Yd(o.value,"overlay-year"))==null||te.focus()):(N("changeMonth",j.key===mt.pageUp),(G=Yd(o.value,j.key===mt.pageUp?"action-prev":"action-next"))==null||G.focus()),j.target.getAttribute("id")&&((de=o.value)==null||de.focus({preventScroll:!0}))),j.key){case mt.esc:return ee();case mt.arrowLeft:return W(j,gn.left);case mt.arrowRight:return W(j,gn.right);case mt.arrowUp:return W(j,gn.up);case mt.arrowDown:return W(j,gn.down);default:return}};return e({updateMonthYear:H,switchView:xe,handleFlow:ae}),(j,te)=>{var G,de,ge;return M(),F("div",{id:j.uid?`dp-menu-${j.uid}`:void 0,ref_key:"dpMenuRef",ref:o,tabindex:q(f).enabled?void 0:"0",role:q(f).enabled?void 0:"dialog","aria-label":(G=j.ariaLabels)==null?void 0:G.menu,class:Ce(X.value),style:jt({"--dp-arrow-left":L.value}),onMouseleave:O,onClick:R,onKeydown:ie},[(j.disabled||j.readonly)&&q(f).enabled||j.loading?(M(),F("div",{key:0,class:Ce(U.value)},[j.loading?(M(),F("div",HR,WR)):re("",!0)],2)):re("",!0),j.$slots["menu-header"]?(M(),F("div",zR,[Ie(j.$slots,"menu-header")])):re("",!0),!q(f).enabled&&!j.teleportCenter?(M(),F("div",{key:2,class:Ce(ye.value)},null,2)):re("",!0),h("div",{ref_key:"innerMenuRef",ref:w,class:Ce({dp__menu_content_wrapper:((de=j.presetDates)==null?void 0:de.length)||!!j.$slots["left-sidebar"]||!!j.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":t.collapse&&(((ge=j.presetDates)==null?void 0:ge.length)||!!j.$slots["left-sidebar"]||!!j.$slots["right-sidebar"])}),style:jt({"--dp-menu-width":`${b.value}px`})},[j.$slots["left-sidebar"]?(M(),F("div",YR,[Ie(j.$slots,"left-sidebar",Qt(mn(V.value)))])):re("",!0),j.presetDates.length?(M(),F("div",{key:1,class:Ce({"dp--preset-dates-collapsed":t.collapse,"dp--preset-dates":!0})},[(M(!0),F(Te,null,Ue(j.presetDates,(fe,Re)=>(M(),F(Te,{key:Re},[fe.slot?Ie(j.$slots,fe.slot,{key:0,presetDate:v,label:fe.label,value:fe.value}):(M(),F("button",{key:1,type:"button",style:jt(fe.style||{}),class:Ce(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":t.collapse}]),"data-test":fe.testId??void 0,onClick:Oa(De=>v(fe.value,fe.noTz),["prevent"]),onKeydown:De=>q(vn)(De,()=>v(fe.value,fe.noTz),!0)},me(fe.label),47,UR))],64))),128))],2)):re("",!0),h("div",{ref_key:"calendarWrapperRef",ref:m,class:"dp__instance_calendar",role:"document"},[(M(),Le(Mo(Y.value),zt({ref_key:"dynCmpRef",ref:A},r.value,{"flow-step":q(T),onMount:q(B),onUpdateFlowStep:q(C),onResetFlow:q(J),onFocusMenu:I,onSelectDate:te[0]||(te[0]=fe=>j.$emit("select-date")),onDateUpdate:te[1]||(te[1]=fe=>j.$emit("date-update",fe)),onTooltipOpen:te[2]||(te[2]=fe=>j.$emit("tooltip-open",fe)),onTooltipClose:te[3]||(te[3]=fe=>j.$emit("tooltip-close",fe)),onAutoApply:te[4]||(te[4]=fe=>j.$emit("auto-apply",fe)),onRangeStart:te[5]||(te[5]=fe=>j.$emit("range-start",fe)),onRangeEnd:te[6]||(te[6]=fe=>j.$emit("range-end",fe)),onInvalidFixedRange:te[7]||(te[7]=fe=>j.$emit("invalid-fixed-range",fe)),onTimeUpdate:te[8]||(te[8]=fe=>j.$emit("time-update")),onAmPmChange:te[9]||(te[9]=fe=>j.$emit("am-pm-change",fe)),onTimePickerOpen:te[10]||(te[10]=fe=>j.$emit("time-picker-open",fe)),onTimePickerClose:se,onRecalculatePosition:Q,onUpdateMonthYear:te[11]||(te[11]=fe=>j.$emit("update-month-year",fe)),onAutoApplyInvalid:te[12]||(te[12]=fe=>j.$emit("auto-apply-invalid",fe)),onInvalidDate:te[13]||(te[13]=fe=>j.$emit("invalid-date",fe)),onOverlayToggle:te[14]||(te[14]=fe=>j.$emit("overlay-toggle",fe)),"onUpdate:internalModelValue":te[15]||(te[15]=fe=>j.$emit("update:internal-model-value",fe))}),dn({_:2},[Ue(le.value,(fe,Re)=>({name:fe,fn:Pe(De=>[Ie(j.$slots,fe,Qt(mn({...De})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),j.$slots["right-sidebar"]?(M(),F("div",KR,[Ie(j.$slots,"right-sidebar",Qt(mn(V.value)))])):re("",!0),j.$slots["action-extra"]?(M(),F("div",qR,[j.$slots["action-extra"]?Ie(j.$slots,"action-extra",{key:0,selectCurrentDate:he}):re("",!0)])):re("",!0)],6),!j.autoApply||q(g).keepActionRow?(M(),Le(YI,zt({key:3,"menu-mount":$.value},r.value,{"calendar-width":b.value,onClosePicker:te[16]||(te[16]=fe=>j.$emit("close-picker")),onSelectDate:te[17]||(te[17]=fe=>j.$emit("select-date")),onInvalidSelect:te[18]||(te[18]=fe=>j.$emit("invalid-select")),onSelectNow:he}),dn({_:2},[Ue(q(Z),(fe,Re)=>({name:fe,fn:Pe(De=>[Ie(j.$slots,fe,Qt(mn({...De})))])}))]),1040,["menu-mount","calendar-width"])):re("",!0)],46,VR)}}});var er=(t=>(t.center="center",t.left="left",t.right="right",t))(er||{});const GR=({menuRef:t,menuRefInner:e,inputRef:n,pickerWrapperRef:s,inline:i,emit:o,props:r,slots:a})=>{const{defaultedConfig:l}=xt(r),c=ve({}),u=ve(!1),d=ve({top:"0",left:"0"}),f=ve(!1),g=Ca(r,"teleportCenter");Bt(g,()=>{d.value=JSON.parse(JSON.stringify({})),x()});const _=I=>{if(r.teleport){const V=I.getBoundingClientRect();return{left:V.left+window.scrollX,top:V.top+window.scrollY}}return{top:0,left:0}},m=(I,V)=>{d.value.left=`${I+V-c.value.width}px`},b=I=>{d.value.left=`${I}px`},w=(I,V)=>{r.position===er.left&&b(I),r.position===er.right&&m(I,V),r.position===er.center&&(d.value.left=`${I+V/2-c.value.width/2}px`)},$=I=>{const{width:V,height:Q}=I.getBoundingClientRect(),{top:Z,left:le}=r.altPosition?r.altPosition(I):_(I);return{top:+Z,left:+le,width:V,height:Q}},A=()=>{d.value.left="50%",d.value.top="50%",d.value.transform="translate(-50%, -50%)",d.value.position="fixed",delete d.value.opacity},D=()=>{const I=Ht(n),{top:V,left:Q,transform:Z}=r.altPosition(I);d.value={top:`${V}px`,left:`${Q}px`,transform:Z??""}},x=(I=!0)=>{var V;if(!i.value.enabled){if(g.value)return A();if(r.altPosition!==null)return D();if(I){const Q=r.teleport?(V=e.value)==null?void 0:V.$el:t.value;Q&&(c.value=Q.getBoundingClientRect()),o("recalculate-position")}return J()}},y=({inputEl:I,left:V,width:Q})=>{window.screen.width>768&&!u.value&&w(V,Q),T(I)},S=I=>{const{top:V,left:Q,height:Z,width:le}=$(I);d.value.top=`${Z+V+ +r.offset}px`,f.value=!1,u.value||(d.value.left=`${Q+le/2-c.value.width/2}px`),y({inputEl:I,left:Q,width:le})},E=I=>{const{top:V,left:Q,width:Z}=$(I);d.value.top=`${V-+r.offset-c.value.height}px`,f.value=!0,y({inputEl:I,left:Q,width:Z})},T=I=>{if(r.autoPosition){const{left:V,width:Q}=$(I),{left:Z,right:le}=c.value;if(!u.value){if(Math.abs(Z)!==Math.abs(le)){if(Z<=0)return u.value=!0,b(V);if(le>=document.documentElement.clientWidth)return u.value=!0,m(V,Q)}return w(V,Q)}}},C=()=>{const I=Ht(n);if(I){const{height:V}=c.value,{top:Q,height:Z}=I.getBoundingClientRect(),le=window.innerHeight-Q-Z,ye=Q;return V<=le?co.bottom:V>le&&V<=ye?co.top:le>=ye?co.bottom:co.top}return co.bottom},B=I=>C()===co.bottom?S(I):E(I),J=()=>{const I=Ht(n);if(I)return r.autoPosition?B(I):S(I)},ae=function(I){if(I){const V=I.scrollHeight>I.clientHeight,Q=window.getComputedStyle(I).overflowY.indexOf("hidden")!==-1;return V&&!Q}return!0},Y=function(I){return!I||I===document.body||I.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:ae(I)?I:Y(I.assignedSlot&&l.value.shadowDom?I.assignedSlot.parentNode:I.parentNode)},L=I=>{if(I)switch(r.position){case er.left:return{left:0,transform:"translateX(0)"};case er.right:return{left:`${I.width}px`,transform:"translateX(-100%)"};default:return{left:`${I.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:f,menuStyle:d,xCorrect:u,setMenuPosition:x,getScrollableParent:Y,shadowRender:(I,V)=>{var Q,Z,le;const ye=document.createElement("div"),U=(Q=Ht(n))==null?void 0:Q.getBoundingClientRect();ye.setAttribute("id","dp--temp-container");const X=(Z=s.value)!=null&&Z.clientWidth?s.value:document.body;X.append(ye);const R=L(U),ee=l.value.shadowDom?Object.keys(a).filter(P=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(P)):Object.keys(a),oe=Co(I,{...V,shadow:!0,style:{opacity:0,position:"absolute",...R}},Object.fromEntries(ee.map(P=>[P,a[P]])));Lg(oe,ye),c.value=(le=oe.el)==null?void 0:le.getBoundingClientRect(),Lg(null,ye),X.removeChild(ye)}}},di=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],JR=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],XR={all:()=>di,monthYear:()=>di.filter(t=>t.use.includes("month-year")),input:()=>JR,timePicker:()=>di.filter(t=>t.use.includes("time")),action:()=>di.filter(t=>t.use.includes("action")),calendar:()=>di.filter(t=>t.use.includes("calendar")),menu:()=>di.filter(t=>t.use.includes("menu")),shared:()=>di.filter(t=>t.use.includes("shared")),yearMode:()=>di.filter(t=>t.use.includes("year-mode"))},Rn=(t,e,n)=>{const s=[];return XR[e]().forEach(i=>{t[i.name]&&s.push(i.name)}),n!=null&&n.length&&n.forEach(i=>{i.slot&&s.push(i.slot)}),s},Xa=t=>{const e=_e(()=>s=>t.value?s?t.value.open:t.value.close:""),n=_e(()=>s=>t.value?s?t.value.menuAppearTop:t.value.menuAppearBottom:"");return{transitionName:e,showTransition:!!t.value,menuTransition:n}},Qa=(t,e,n)=>{const{defaultedRange:s,defaultedTz:i}=xt(t),o=we(En(we(),i.value.timezone)),r=ve([{month:Qe(o),year:ze(o)}]),a=f=>{const g={hours:Qs(o),minutes:Oi(o),seconds:0};return s.value.enabled?[g[f],g[f]]:g[f]},l=Ts({hours:a("hours"),minutes:a("minutes"),seconds:a("seconds")});Bt(s,(f,g)=>{f.enabled!==g.enabled&&(l.hours=a("hours"),l.minutes=a("minutes"),l.seconds=a("seconds"))},{deep:!0});const c=_e({get:()=>t.internalModelValue,set:f=>{!t.readonly&&!t.disabled&&e("update:internal-model-value",f)}}),u=_e(()=>f=>r.value[f]?r.value[f].month:0),d=_e(()=>f=>r.value[f]?r.value[f].year:0);return Bt(c,(f,g)=>{n&&JSON.stringify(f??{})!==JSON.stringify(g??{})&&n()},{deep:!0}),{calendars:r,time:l,modelValue:c,month:u,year:d,today:o}},QR=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:s,defaultedUI:i,defaultedHighlight:o,defaultedTz:r,propDates:a,defaultedRange:l}=xt(e),{isDisabled:c}=ji(e),u=ve(null),d=ve(En(new Date,r.value.timezone)),f=R=>{!R.current&&e.hideOffsetDates||(u.value=R.value)},g=()=>{u.value=null},_=R=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&u.value?R?Dt(u.value,t.value[0]):$t(u.value,t.value[0]):!0,m=(R,ee)=>{const oe=()=>t.value?ee?t.value[0]||null:t.value[1]:null,P=t.value&&Array.isArray(t.value)?oe():null;return tt(we(R.value),P)},b=R=>{const ee=Array.isArray(t.value)?t.value[0]:null;return R?!$t(u.value??null,ee):!0},w=(R,ee=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!R.current?!1:tt(we(R.value),t.value[ee?0:1]):l.value.enabled?m(R,ee)&&b(ee)||tt(R.value,Array.isArray(t.value)?t.value[0]:null)&&_(ee):!1,$=(R,ee)=>{if(Array.isArray(t.value)&&t.value[0]&&t.value.length===1){const oe=tt(R.value,u.value);return ee?Dt(t.value[0],R.value)&&oe:$t(t.value[0],R.value)&&oe}return!1},A=R=>!t.value||e.hideOffsetDates&&!R.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?tt(R.value,t.value[0]?t.value[0]:d.value):!1:s.value.enabled&&Array.isArray(t.value)?t.value.some(ee=>tt(ee,R.value)):tt(R.value,t.value?t.value:d.value),D=R=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!R.current)return!1;const ee=is(u.value,+l.value.autoRange),oe=js(we(u.value),e.weekStart);return e.weekPicker?tt(oe[1],we(R.value)):tt(ee,we(R.value))}return!1}return!1},x=R=>{if(l.value.autoRange||e.weekPicker){if(u.value){const ee=is(u.value,+l.value.autoRange);if(e.hideOffsetDates&&!R.current)return!1;const oe=js(we(u.value),e.weekStart);return e.weekPicker?Dt(R.value,oe[0])&&$t(R.value,oe[1]):Dt(R.value,u.value)&&$t(R.value,ee)}return!1}return!1},y=R=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!R.current)return!1;const ee=js(we(u.value),e.weekStart);return e.weekPicker?tt(ee[0],R.value):tt(u.value,R.value)}return!1}return!1},S=R=>Xc(t.value,u.value,R.value),E=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,T=()=>e.modelAuto?Ly(e.internalModelValue):!0,C=R=>{if(e.weekPicker)return!1;const ee=l.value.enabled?!w(R)&&!w(R,!1):!0;return!c(R.value)&&!A(R)&&!(!R.current&&e.hideOffsetDates)&&ee},B=R=>l.value.enabled?e.modelAuto?E()&&A(R):!1:A(R),J=R=>o.value?gI(R.value,a.value.highlight):!1,ae=R=>{const ee=c(R.value);return ee&&(typeof o.value=="function"?!o.value(R.value,ee):!o.value.options.highlightDisabled)},Y=R=>{var ee;return typeof o.value=="function"?o.value(R.value):(ee=o.value.weekdays)==null?void 0:ee.includes(R.value.getDay())},L=R=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||R.current)&&T()&&!(!R.current&&e.hideOffsetDates)&&!A(R)?S(R):!1,I=R=>{const{isRangeStart:ee,isRangeEnd:oe}=le(R),P=l.value.enabled?ee||oe:!1;return{dp__cell_offset:!R.current,dp__pointer:!e.disabled&&!(!R.current&&e.hideOffsetDates)&&!c(R.value),dp__cell_disabled:c(R.value),dp__cell_highlight:!ae(R)&&(J(R)||Y(R))&&!B(R)&&!P&&!y(R)&&!(L(R)&&e.weekPicker)&&!oe,dp__cell_highlight_active:!ae(R)&&(J(R)||Y(R))&&B(R),dp__today:!e.noToday&&tt(R.value,d.value)&&R.current,"dp--past":$t(R.value,d.value),"dp--future":Dt(R.value,d.value)}},V=R=>({dp__active_date:B(R),dp__date_hover:C(R)}),Q=R=>{if(t.value&&!Array.isArray(t.value)){const ee=js(t.value,e.weekStart);return{...U(R),dp__range_start:tt(ee[0],R.value),dp__range_end:tt(ee[1],R.value),dp__range_between_week:Dt(R.value,ee[0])&&$t(R.value,ee[1])}}return{...U(R)}},Z=R=>{if(t.value&&Array.isArray(t.value)){const ee=js(t.value[0],e.weekStart),oe=t.value[1]?js(t.value[1],e.weekStart):[];return{...U(R),dp__range_start:tt(ee[0],R.value)||tt(oe[0],R.value),dp__range_end:tt(ee[1],R.value)||tt(oe[1],R.value),dp__range_between_week:Dt(R.value,ee[0])&&$t(R.value,ee[1])||Dt(R.value,oe[0])&&$t(R.value,oe[1]),dp__range_between:Dt(R.value,ee[1])&&$t(R.value,oe[0])}}return{...U(R)}},le=R=>{const ee=n.value.count>0?R.current&&w(R)&&T():w(R)&&T(),oe=n.value.count>0?R.current&&w(R,!1)&&T():w(R,!1)&&T();return{isRangeStart:ee,isRangeEnd:oe}},ye=R=>{const{isRangeStart:ee,isRangeEnd:oe}=le(R);return{dp__range_start:ee,dp__range_end:oe,dp__range_between:L(R),dp__date_hover:tt(R.value,u.value)&&!ee&&!oe&&!e.weekPicker,dp__date_hover_start:$(R,!0),dp__date_hover_end:$(R,!1)}},U=R=>({...ye(R),dp__cell_auto_range:x(R),dp__cell_auto_range_start:y(R),dp__cell_auto_range_end:D(R)}),X=R=>l.value.enabled?l.value.autoRange?U(R):e.modelAuto?{...V(R),...ye(R)}:e.weekPicker?Z(R):ye(R):e.weekPicker?Q(R):V(R);return{setHoverDate:f,clearHoverDate:g,getDayClassData:R=>e.hideOffsetDates&&!R.current?{}:{...I(R),...X(R),[e.dayClass?e.dayClass(R.value,e.internalModelValue):""]:!0,...i.value.calendarCell??{}}}},ji=t=>{const{defaultedFilters:e,defaultedRange:n,propDates:s,defaultedMultiDates:i}=xt(t),o=Y=>s.value.disabledDates?typeof s.value.disabledDates=="function"?s.value.disabledDates(we(Y)):!!vc(Y,s.value.disabledDates):!1,r=Y=>s.value.maxDate?t.yearPicker?ze(Y)>ze(s.value.maxDate):Dt(Y,s.value.maxDate):!1,a=Y=>s.value.minDate?t.yearPicker?ze(Y){const L=r(Y),I=a(Y),V=o(Y),Q=e.value.months.map(X=>+X).includes(Qe(Y)),Z=t.disabledWeekDays.length?t.disabledWeekDays.some(X=>+X===sO(Y)):!1,le=g(Y),ye=ze(Y),U=ye<+t.yearRange[0]||ye>+t.yearRange[1];return!(L||I||V||Q||U||Z||le)},c=(Y,L)=>$t(...yi(s.value.minDate,Y,L))||tt(...yi(s.value.minDate,Y,L)),u=(Y,L)=>Dt(...yi(s.value.maxDate,Y,L))||tt(...yi(s.value.maxDate,Y,L)),d=(Y,L,I)=>{let V=!1;return s.value.maxDate&&I&&u(Y,L)&&(V=!0),s.value.minDate&&!I&&c(Y,L)&&(V=!0),V},f=(Y,L,I,V)=>{let Q=!1;return V?s.value.minDate&&s.value.maxDate?Q=d(Y,L,I):(s.value.minDate&&c(Y,L)||s.value.maxDate&&u(Y,L))&&(Q=!0):Q=!0,Q},g=Y=>Array.isArray(s.value.allowedDates)&&!s.value.allowedDates.length?!0:s.value.allowedDates?!vc(Y,s.value.allowedDates):!1,_=Y=>!l(Y),m=Y=>n.value.noDisabledRange?!by({start:Y[0],end:Y[1]}).some(L=>_(L)):!0,b=Y=>{if(Y){const L=ze(Y);return L>=+t.yearRange[0]&&L<=t.yearRange[1]}return!0},w=(Y,L)=>!!(Array.isArray(Y)&&Y[L]&&(n.value.maxRange||n.value.minRange)&&b(Y[L])),$=(Y,L,I=0)=>{if(w(L,I)&&b(Y)){const V=_y(Y,L[I]),Q=Hy(L[I],Y),Z=Q.length===1?0:Q.filter(ye=>_(ye)).length,le=Math.abs(V)-(n.value.minMaxRawRange?0:Z);if(n.value.minRange&&n.value.maxRange)return le>=+n.value.minRange&&le<=+n.value.maxRange;if(n.value.minRange)return le>=+n.value.minRange;if(n.value.maxRange)return le<=+n.value.maxRange}return!0},A=()=>!t.enableTimePicker||t.monthPicker||t.yearPicker||t.ignoreTimeValidation,D=Y=>Array.isArray(Y)?[Y[0]?Ku(Y[0]):null,Y[1]?Ku(Y[1]):null]:Ku(Y),x=(Y,L,I)=>Y.find(V=>+V.hours===Qs(L)&&V.minutes==="*"?!0:+V.minutes===Oi(L)&&+V.hours===Qs(L))&&I,y=(Y,L,I)=>{const[V,Q]=Y,[Z,le]=L;return!x(V,Z,I)&&!x(Q,le,I)&&I},S=(Y,L)=>{const I=Array.isArray(L)?L:[L];return Array.isArray(t.disabledTimes)?Array.isArray(t.disabledTimes[0])?y(t.disabledTimes,I,Y):!I.some(V=>x(t.disabledTimes,V,Y)):Y},E=(Y,L)=>{const I=Array.isArray(L)?[wo(L[0]),L[1]?wo(L[1]):void 0]:wo(L),V=!t.disabledTimes(I);return Y&&V},T=(Y,L)=>t.disabledTimes?Array.isArray(t.disabledTimes)?S(L,Y):E(L,Y):L,C=Y=>{let L=!0;if(!Y||A())return!0;const I=!s.value.minDate&&!s.value.maxDate?D(Y):Y;return(t.maxTime||s.value.maxDate)&&(L=gm(t.maxTime,s.value.maxDate,"max",Jt(I),L)),(t.minTime||s.value.minDate)&&(L=gm(t.minTime,s.value.minDate,"min",Jt(I),L)),T(Y,L)},B=Y=>{if(!t.monthPicker)return!0;let L=!0;const I=we(os(Y));if(s.value.minDate&&s.value.maxDate){const V=we(os(s.value.minDate)),Q=we(os(s.value.maxDate));return Dt(I,V)&&$t(I,Q)||tt(I,V)||tt(I,Q)}if(s.value.minDate){const V=we(os(s.value.minDate));L=Dt(I,V)||tt(I,V)}if(s.value.maxDate){const V=we(os(s.value.maxDate));L=$t(I,V)||tt(I,V)}return L},J=_e(()=>Y=>!t.enableTimePicker||t.ignoreTimeValidation?!0:C(Y)),ae=_e(()=>Y=>t.monthPicker?Array.isArray(Y)&&(n.value.enabled||i.value.enabled)?!Y.filter(L=>!B(L)).length:B(Y):!0);return{isDisabled:_,validateDate:l,validateMonthYearInRange:f,isDateRangeAllowed:m,checkMinMaxRange:$,isValidTime:C,isTimeValid:J,isMonthValid:ae}},tu=()=>{const t=_e(()=>(s,i)=>s?.includes(i)),e=_e(()=>(s,i)=>s.count?s.solo?!0:i===0:!0),n=_e(()=>(s,i)=>s.count?s.solo?!0:i===s.count-1:!0);return{hideNavigationButtons:t,showLeftIcon:e,showRightIcon:n}},ZR=(t,e,n)=>{const s=ve(0),i=Ts({[yo.timePicker]:!t.enableTimePicker||t.timePicker||t.monthPicker,[yo.calendar]:!1,[yo.header]:!1}),o=_e(()=>t.monthPicker||t.timePicker),r=d=>{var f;if((f=t.flow)!=null&&f.length){if(!d&&o.value)return u();i[d]=!0,Object.keys(i).filter(g=>!i[g]).length||u()}},a=()=>{var d,f;(d=t.flow)!=null&&d.length&&s.value!==-1&&(s.value+=1,e("flow-step",s.value),u()),((f=t.flow)==null?void 0:f.length)===s.value&&en().then(()=>l())},l=()=>{s.value=-1},c=(d,f,...g)=>{var _,m;t.flow[s.value]===d&&n.value&&((m=(_=n.value)[f])==null||m.call(_,...g))},u=(d=0)=>{d&&(s.value+=d),c(ln.month,"toggleMonthPicker",!0),c(ln.year,"toggleYearPicker",!0),c(ln.calendar,"toggleTimePicker",!1,!0),c(ln.time,"toggleTimePicker",!0,!0);const f=t.flow[s.value];(f===ln.hours||f===ln.minutes||f===ln.seconds)&&c(f,"toggleTimePicker",!0,!0,f)};return{childMount:r,updateFlowStep:a,resetFlow:l,handleFlow:u,flowStep:s}},eL={key:1,class:"dp__input_wrap"},tL=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-disabled","aria-invalid"],nL={key:2,class:"dp--clear-btn"},sL=["aria-label"],iL=Nt({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Qc},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(t,{expose:e,emit:n}){const s=n,i=t,{defaultedTextInput:o,defaultedAriaLabels:r,defaultedInline:a,defaultedConfig:l,defaultedRange:c,defaultedMultiDates:u,defaultedUI:d,getDefaultPattern:f,getDefaultStartTime:g}=xt(i),{checkMinMaxRange:_}=ji(i),m=ve(),b=ve(null),w=ve(!1),$=ve(!1),A=ve(!1),D=ve(null),x=_e(()=>({dp__pointer:!i.disabled&&!i.readonly&&!o.value.enabled,dp__disabled:i.disabled,dp__input_readonly:!o.value.enabled,dp__input:!0,dp__input_icon_pad:!i.hideInputIcon,dp__input_valid:typeof i.state=="boolean"?i.state:!1,dp__input_invalid:typeof i.state=="boolean"?!i.state:!1,dp__input_focus:w.value||i.isMenuOpen,dp__input_reg:!o.value.enabled,...d.value.input??{}})),y=()=>{s("set-input-date",null),i.clearable&&i.autoApply&&(s("set-empty-date"),m.value=null)},S=U=>{const X=g();return _I(U,o.value.format??f(),X??jy({},i.enableSeconds),i.inputValue,A.value,i.formatLocale)},E=U=>{const{rangeSeparator:X}=o.value,[R,ee]=U.split(`${X}`);if(R){const oe=S(R.trim()),P=ee?S(ee.trim()):null;if(wr(oe,P))return;const se=oe&&P?[oe,P]:[oe];_(P,se,0)&&(m.value=oe?se:null)}},T=()=>{A.value=!0},C=U=>{if(c.value.enabled)E(U);else if(u.value.enabled){const X=U.split(";");m.value=X.map(R=>S(R.trim())).filter(R=>R)}else m.value=S(U)},B=U=>{var X;const R=typeof U=="string"?U:(X=U.target)==null?void 0:X.value;R!==""?(o.value.openMenu&&!i.isMenuOpen&&s("open"),C(R),s("set-input-date",m.value)):y(),A.value=!1,s("update:input-value",R),s("text-input",U,m.value)},J=U=>{o.value.enabled?(C(U.target.value),o.value.enterSubmit&&Ud(m.value)&&i.inputValue!==""?(s("set-input-date",m.value,!0),m.value=null):o.value.enterSubmit&&i.inputValue===""&&(m.value=null,s("clear"))):L(U)},ae=(U,X)=>{var R;if(D.value&&X&&!$.value)return U.preventDefault(),$.value=!0,(R=D.value)==null?void 0:R.focus();o.value.enabled&&o.value.tabSubmit&&C(U.target.value),o.value.tabSubmit&&Ud(m.value)&&i.inputValue!==""?(s("set-input-date",m.value,!0,!0),m.value=null):o.value.tabSubmit&&i.inputValue===""&&(m.value=null,s("clear",!0))},Y=()=>{w.value=!0,s("focus"),en().then(()=>{var U;o.value.enabled&&o.value.selectOnFocus&&((U=b.value)==null||U.select())})},L=U=>{if(U.preventDefault(),Ci(U,l.value,!0),o.value.enabled&&o.value.openMenu&&!a.value.input){if(o.value.openMenu==="open"&&!i.isMenuOpen)return s("open");if(o.value.openMenu==="toggle")return s("toggle")}else o.value.enabled||s("toggle")},I=()=>{s("real-blur"),w.value=!1,(!i.isMenuOpen||a.value.enabled&&a.value.input)&&s("blur"),i.autoApply&&o.value.enabled&&m.value&&!i.isMenuOpen&&(s("set-input-date",m.value),s("select-date"),m.value=null)},V=U=>{Ci(U,l.value,!0),s("clear")},Q=(U,X)=>{if(U.key==="Tab"&&ae(U,X),U.key==="Enter"&&J(U),!o.value.enabled){if(U.code==="Tab")return;U.preventDefault()}},Z=()=>{var U;(U=b.value)==null||U.focus({preventScroll:!0})},le=U=>{m.value=U},ye=U=>{U.key===mt.tab&&($.value=!1,ae(U))};return e({focusInput:Z,setParsedDate:le}),(U,X)=>{var R,ee;return M(),F("div",{onClick:L},[U.$slots.trigger&&!U.$slots["dp-input"]&&!q(a).enabled?Ie(U.$slots,"trigger",{key:0}):re("",!0),!U.$slots.trigger&&(!q(a).enabled||q(a).input)?(M(),F("div",eL,[U.$slots["dp-input"]&&!U.$slots.trigger&&(!q(a).enabled||q(a).enabled&&q(a).input)?Ie(U.$slots,"dp-input",{key:0,value:t.inputValue,isMenuOpen:t.isMenuOpen,onInput:B,onEnter:J,onTab:ae,onClear:V,onBlur:I,onKeypress:Q,onPaste:T,onFocus:Y,openMenu:()=>U.$emit("open"),closeMenu:()=>U.$emit("close"),toggleMenu:()=>U.$emit("toggle")}):re("",!0),U.$slots["dp-input"]?re("",!0):(M(),F("input",{key:1,id:U.uid?`dp-input-${U.uid}`:void 0,ref_key:"inputRef",ref:b,"data-test":"dp-input",name:U.name,class:Ce(x.value),inputmode:q(o).enabled?"text":"none",placeholder:U.placeholder,disabled:U.disabled,readonly:U.readonly,required:U.required,value:t.inputValue,autocomplete:U.autocomplete,"aria-disabled":U.disabled||void 0,"aria-invalid":U.state===!1?!0:void 0,onInput:B,onBlur:I,onFocus:Y,onKeypress:Q,onKeydown:X[0]||(X[0]=oe=>Q(oe,!0)),onPaste:T},null,42,tL)),h("div",{onClick:X[3]||(X[3]=oe=>s("toggle"))},[U.$slots["input-icon"]&&!U.hideInputIcon?(M(),F("span",{key:0,class:"dp__input_icon",onClick:X[1]||(X[1]=oe=>s("toggle"))},[Ie(U.$slots,"input-icon")])):re("",!0),!U.$slots["input-icon"]&&!U.hideInputIcon&&!U.$slots["dp-input"]?(M(),Le(q(Lr),{key:1,"aria-label":(R=q(r))==null?void 0:R.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:X[2]||(X[2]=oe=>s("toggle"))},null,8,["aria-label"])):re("",!0)]),U.$slots["clear-icon"]&&t.inputValue&&U.clearable&&!U.disabled&&!U.readonly?(M(),F("span",nL,[Ie(U.$slots,"clear-icon",{clear:V})])):re("",!0),U.clearable&&!U.$slots["clear-icon"]&&t.inputValue&&!U.disabled&&!U.readonly?(M(),F("button",{key:3,ref_key:"clearBtnRef",ref:D,"aria-label":(ee=q(r))==null?void 0:ee.clearInput,class:"dp--clear-btn",type:"button",onBlur:X[4]||(X[4]=oe=>$.value=!1),onKeydown:X[5]||(X[5]=oe=>q(vn)(oe,()=>V(oe),!0,ye)),onClick:X[6]||(X[6]=Oa(oe=>V(oe),["prevent"]))},[Se(q(Iy),{class:"dp__input_icons","data-test":"clear-icon"})],40,sL)):re("",!0)])):re("",!0)])}}}),oL=typeof window<"u"?window:void 0,Zu=()=>{},rL=t=>Lc()?(Th(t),!0):!1,aL=(t,e,n,s)=>{if(!t)return Zu;let i=Zu;const o=Bt(()=>q(t),a=>{i(),a&&(a.addEventListener(e,n,s),i=()=>{a.removeEventListener(e,n,s),i=Zu})},{immediate:!0,flush:"post"}),r=()=>{o(),i()};return rL(r),r},lL=(t,e,n,s={})=>{const{window:i=oL,event:o="pointerdown"}=s;return i?aL(i,o,r=>{const a=Ht(t),l=Ht(e);!a||!l||a===r.target||r.composedPath().includes(a)||r.composedPath().includes(l)||n(r)},{passive:!0}):void 0},cL=Nt({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Qc},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(t,{expose:e,emit:n}){const s=n,i=t,o=Do(),r=ve(!1),a=Ca(i,"modelValue"),l=Ca(i,"timezone"),c=ve(null),u=ve(null),d=ve(null),f=ve(!1),g=ve(null),_=ve(!1),m=ve(!1),b=ve(!1),w=ve(!1),{setMenuFocused:$,setShiftKey:A}=Ky(),{clearArrowNav:D}=Hi(),{validateDate:x,isValidTime:y}=ji(i),{defaultedTransitions:S,defaultedTextInput:E,defaultedInline:T,defaultedConfig:C,defaultedRange:B,defaultedMultiDates:J}=xt(i),{menuTransition:ae,showTransition:Y}=Xa(S);qt(()=>{ee(i.modelValue),en().then(()=>{if(!T.value.enabled){const ce=ye(g.value);ce?.addEventListener("scroll",H),window?.addEventListener("resize",W)}}),T.value.enabled&&(r.value=!0),window?.addEventListener("keyup",ie),window?.addEventListener("keydown",j)}),Ir(()=>{if(!T.value.enabled){const ce=ye(g.value);ce?.removeEventListener("scroll",H),window?.removeEventListener("resize",W)}window?.removeEventListener("keyup",ie),window?.removeEventListener("keydown",j)});const L=Rn(o,"all",i.presetDates),I=Rn(o,"input");Bt([a,l],()=>{ee(a.value)},{deep:!0});const{openOnTop:V,menuStyle:Q,xCorrect:Z,setMenuPosition:le,getScrollableParent:ye,shadowRender:U}=GR({menuRef:c,menuRefInner:u,inputRef:d,pickerWrapperRef:g,inline:T,emit:s,props:i,slots:o}),{inputValue:X,internalModelValue:R,parseExternalModelValue:ee,emitModelValue:oe,formatInputValue:P,checkBeforeEmit:se}=HI(s,i,f),ue=_e(()=>({dp__main:!0,dp__theme_dark:i.dark,dp__theme_light:!i.dark,dp__flex_display:T.value.enabled,"dp--flex-display-collapsed":b.value,dp__flex_display_with_input:T.value.input})),xe=_e(()=>i.dark?"dp__theme_dark":"dp__theme_light"),N=_e(()=>i.teleport?{to:typeof i.teleport=="boolean"?"body":i.teleport,disabled:!i.teleport||T.value.enabled}:{}),he=_e(()=>({class:"dp__outer_menu_wrap"})),v=_e(()=>T.value.enabled&&(i.timePicker||i.monthPicker||i.yearPicker||i.quarterPicker)),O=()=>{var ce,$e;return($e=(ce=d.value)==null?void 0:ce.$el)==null?void 0:$e.getBoundingClientRect()},H=()=>{r.value&&(C.value.closeOnScroll?Be():le())},W=()=>{var ce;r.value&&le();const $e=(ce=u.value)==null?void 0:ce.$el.getBoundingClientRect().width;b.value=document.body.offsetWidth<=$e},ie=ce=>{ce.key==="Tab"&&!T.value.enabled&&!i.teleport&&C.value.tabOutClosesMenu&&(g.value.contains(document.activeElement)||Be()),m.value=ce.shiftKey},j=ce=>{m.value=ce.shiftKey},te=()=>{!i.disabled&&!i.readonly&&(U(bm,i),le(!1),r.value=!0,r.value&&s("open"),r.value||Ve(),ee(i.modelValue))},G=()=>{var ce;X.value="",Ve(),(ce=d.value)==null||ce.setParsedDate(null),s("update:model-value",null),s("update:model-timezone-value",null),s("cleared"),C.value.closeOnClearValue&&Be()},de=()=>{const ce=R.value;return!ce||!Array.isArray(ce)&&x(ce)?!0:Array.isArray(ce)?J.value.enabled||ce.length===2&&x(ce[0])&&x(ce[1])?!0:B.value.partialRange&&!i.timePicker?x(ce[0]):!1:!1},ge=()=>{se()&&de()?(oe(),Be()):s("invalid-select",R.value)},fe=ce=>{Re(),oe(),C.value.closeOnAutoApply&&!ce&&Be()},Re=()=>{d.value&&E.value.enabled&&d.value.setParsedDate(R.value)},De=(ce=!1)=>{i.autoApply&&y(R.value)&&de()&&(B.value.enabled&&Array.isArray(R.value)?(B.value.partialRange||R.value.length===2)&&fe(ce):fe(ce))},Ve=()=>{E.value.enabled||(R.value=null)},Be=()=>{T.value.enabled||(r.value&&(r.value=!1,Z.value=!1,$(!1),A(!1),D(),s("closed"),X.value&&ee(a.value)),Ve(),s("blur"))},et=(ce,$e,Me=!1)=>{if(!ce){R.value=null;return}const nn=Array.isArray(ce)?!ce.some(Os=>!x(Os)):x(ce),xn=y(ce);nn&&xn&&(w.value=!0,R.value=ce,$e&&(_.value=Me,ge(),s("text-submit")),en().then(()=>{w.value=!1}))},Ge=()=>{i.autoApply&&y(R.value)&&oe(),Re()},pt=()=>r.value?Be():te(),on=ce=>{R.value=ce},Hn=()=>{E.value.enabled&&(f.value=!0,P()),s("focus")},ii=()=>{if(E.value.enabled&&(f.value=!1,ee(i.modelValue),_.value)){const ce=pI(g.value,m.value);ce?.focus()}s("blur")},Qn=ce=>{u.value&&u.value.updateMonthYear(0,{month:hm(ce.month),year:hm(ce.year)})},Ds=ce=>{ee(ce??i.modelValue)},Vt=(ce,$e)=>{var Me;(Me=u.value)==null||Me.switchView(ce,$e)},ne=ce=>C.value.onClickOutside?C.value.onClickOutside(ce):Be(),ke=(ce=0)=>{var $e;($e=u.value)==null||$e.handleFlow(ce)};return lL(c,d,()=>ne(de)),e({closeMenu:Be,selectDate:ge,clearValue:G,openMenu:te,onScroll:H,formatInputValue:P,updateInternalModelValue:on,setMonthYear:Qn,parseModel:Ds,switchView:Vt,toggleMenu:pt,handleFlow:ke,dpWrapMenuRef:c}),(ce,$e)=>(M(),F("div",{ref_key:"pickerWrapperRef",ref:g,class:Ce(ue.value),"data-datepicker-instance":""},[Se(iL,zt({ref_key:"inputRef",ref:d,"input-value":q(X),"onUpdate:inputValue":$e[0]||($e[0]=Me=>Pt(X)?X.value=Me:null),"is-menu-open":r.value},ce.$props,{onClear:G,onOpen:te,onSetInputDate:et,onSetEmptyDate:q(oe),onSelectDate:ge,onToggle:pt,onClose:Be,onFocus:Hn,onBlur:ii,onRealBlur:$e[1]||($e[1]=Me=>f.value=!1),onTextInput:$e[2]||($e[2]=Me=>ce.$emit("text-input",Me))}),dn({_:2},[Ue(q(I),(Me,nn)=>({name:Me,fn:Pe(xn=>[Ie(ce.$slots,Me,Qt(mn(xn)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(M(),Le(Mo(ce.teleport?DA:"div"),Qt(mn(N.value)),{default:Pe(()=>[Se(At,{name:q(ae)(q(V)),css:q(Y)&&!q(T).enabled},{default:Pe(()=>[r.value?(M(),F("div",zt({key:0,ref_key:"dpWrapMenuRef",ref:c},he.value,{class:{"dp--menu-wrapper":!q(T).enabled},style:q(T).enabled?void 0:q(Q)}),[Se(bm,zt({ref_key:"dpMenuRef",ref:u},ce.$props,{"internal-model-value":q(R),"onUpdate:internalModelValue":$e[3]||($e[3]=Me=>Pt(R)?R.value=Me:null),class:{[xe.value]:!0,"dp--menu-wrapper":ce.teleport},"open-on-top":q(V),"no-overlay-focus":v.value,collapse:b.value,"get-input-rect":O,"is-text-input-date":w.value,onClosePicker:Be,onSelectDate:ge,onAutoApply:De,onTimeUpdate:Ge,onFlowStep:$e[4]||($e[4]=Me=>ce.$emit("flow-step",Me)),onUpdateMonthYear:$e[5]||($e[5]=Me=>ce.$emit("update-month-year",Me)),onInvalidSelect:$e[6]||($e[6]=Me=>ce.$emit("invalid-select",q(R))),onAutoApplyInvalid:$e[7]||($e[7]=Me=>ce.$emit("invalid-select",Me)),onInvalidFixedRange:$e[8]||($e[8]=Me=>ce.$emit("invalid-fixed-range",Me)),onRecalculatePosition:q(le),onTooltipOpen:$e[9]||($e[9]=Me=>ce.$emit("tooltip-open",Me)),onTooltipClose:$e[10]||($e[10]=Me=>ce.$emit("tooltip-close",Me)),onTimePickerOpen:$e[11]||($e[11]=Me=>ce.$emit("time-picker-open",Me)),onTimePickerClose:$e[12]||($e[12]=Me=>ce.$emit("time-picker-close",Me)),onAmPmChange:$e[13]||($e[13]=Me=>ce.$emit("am-pm-change",Me)),onRangeStart:$e[14]||($e[14]=Me=>ce.$emit("range-start",Me)),onRangeEnd:$e[15]||($e[15]=Me=>ce.$emit("range-end",Me)),onDateUpdate:$e[16]||($e[16]=Me=>ce.$emit("date-update",Me)),onInvalidDate:$e[17]||($e[17]=Me=>ce.$emit("invalid-date",Me)),onOverlayToggle:$e[18]||($e[18]=Me=>ce.$emit("overlay-toggle",Me))}),dn({_:2},[Ue(q(L),(Me,nn)=>({name:Me,fn:Pe(xn=>[Ie(ce.$slots,Me,Qt(mn({...xn})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):re("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),Za=(()=>{const t=cL;return t.install=e=>{e.component("Vue3DatePicker",t)},t})(),uL=Object.freeze(Object.defineProperty({__proto__:null,default:Za},Symbol.toStringTag,{value:"Module"}));Object.entries(uL).forEach(([t,e])=>{t!=="default"&&(Za[t]=e)});const dL={name:"newDashboardAPIKey",components:{VueDatePicker:Za},data(){return{newKeyData:{ExpiredAt:Cn().add(7,"d").format("YYYY-MM-DD HH:mm:ss"),neverExpire:!1},submitting:!1}},setup(){return{store:Xe()}},mounted(){console.log(this.newKeyData.ExpiredAt)},methods:{submitNewAPIKey(){this.submitting=!0,ht("/api/newDashboardAPIKey",this.newKeyData,t=>{t.status?(this.$emit("created",t.data),this.store.newMessage("Server","New API Key created","success"),this.$emit("close")):this.store.newMessage("Server",t.message,"danger"),this.submitting=!1})},fixDate(t){return console.log(Cn(t).format("YYYY-MM-DDTHH:mm:ss")),Cn(t).format("YYYY-MM-DDTHH:mm:ss")},parseTime(t){t?this.newKeyData.ExpiredAt=Cn(t).format("YYYY-MM-DD HH:mm:ss"):this.newKeyData.ExpiredAt=void 0}}},hL={class:"position-absolute w-100 h-100 top-0 start-0 rounded-bottom-3 p-3 d-flex",style:{"background-color":"#00000060","backdrop-filter":"blur(3px)"}},fL={class:"card m-auto rounded-3 mt-5"},pL={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},gL=h("h6",{class:"mb-0"},"Create API Key",-1),mL={class:"card-body d-flex gap-2 p-4 flex-column"},_L=h("small",{class:"text-muted"},"When should this API Key expire?",-1),vL={class:"d-flex align-items-center gap-2"},bL={class:"form-check"},yL=["disabled"],wL=h("label",{class:"form-check-label",for:"neverExpire"},[be(" Never Expire ("),h("i",{class:"bi bi-emoji-grimace-fill"}),be(" Don't think that's a good idea) ")],-1),xL={key:0,class:"bi bi-check-lg me-2"};function kL(t,e,n,s,i,o){const r=He("VueDatePicker");return M(),F("div",hL,[h("div",fL,[h("div",pL,[gL,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),h("div",mL,[_L,h("div",vL,[Se(r,{is24:!0,"min-date":new Date,"model-value":this.newKeyData.ExpiredAt,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",clearable:!1,disabled:this.newKeyData.neverExpire||this.submitting,dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","disabled","dark"])]),h("div",bL,[Oe(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[1]||(e[1]=a=>this.newKeyData.neverExpire=a),id:"neverExpire",disabled:this.submitting},null,8,yL),[[_n,this.newKeyData.neverExpire]]),wL]),h("button",{class:Ce(["ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",{disabled:this.submitting}]),onClick:e[2]||(e[2]=a=>this.submitNewAPIKey())},[this.submitting?re("",!0):(M(),F("i",xL)),be(" "+me(this.submitting?"Creating...":"Done"),1)],2)])])])}const SL=We(dL,[["render",kL]]),$L={name:"dashboardAPIKey",props:{apiKey:Object},setup(){return{store:Xe()}},data(){return{confirmDelete:!1}},methods:{deleteAPIKey(){ht("/api/deleteDashboardAPIKey",{Key:this.apiKey.Key},t=>{t.status?(this.$emit("deleted",t.data),this.store.newMessage("Server","API Key deleted","success")):this.store.newMessage("Server",t.message,"danger")})}}},el=t=>(Ut("data-v-0cc2f367"),t=t(),Kt(),t),AL={class:"card rounded-3 shadow-sm"},CL={key:0,class:"card-body d-flex gap-3 align-items-center apiKey-card-body"},EL={class:"d-flex align-items-center gap-2"},PL=el(()=>h("small",{class:"text-muted"},"Key",-1)),TL={style:{"word-break":"break-all"}},ML={class:"d-flex align-items-center gap-2 ms-auto"},DL=el(()=>h("small",{class:"text-muted"},"Expire At",-1)),OL=el(()=>h("i",{class:"bi bi-trash-fill"},null,-1)),IL=[OL],RL={key:0,class:"card-body d-flex gap-3 align-items-center justify-content-end"},LL=el(()=>h("i",{class:"bi bi-check-lg"},null,-1)),NL=[LL],FL=el(()=>h("i",{class:"bi bi-x-lg"},null,-1)),BL=[FL];function VL(t,e,n,s,i,o){return M(),F("div",AL,[this.confirmDelete?(M(),F(Te,{key:1},[this.store.getActiveCrossServer()?re("",!0):(M(),F("div",RL,[be(" Are you sure to delete this API key? "),h("a",{role:"button",class:"btn btn-sm bg-success-subtle text-success-emphasis rounded-3",onClick:e[1]||(e[1]=r=>this.deleteAPIKey())},NL),h("a",{role:"button",class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis rounded-3",onClick:e[2]||(e[2]=r=>this.confirmDelete=!1)},BL)]))],64)):(M(),F("div",CL,[h("div",EL,[PL,h("span",TL,me(this.apiKey.Key),1)]),h("div",ML,[DL,be(" "+me(this.apiKey.ExpiredAt?this.apiKey.ExpiredAt:"Never"),1)]),this.store.getActiveCrossServer()?re("",!0):(M(),F("a",{key:0,role:"button",class:"btn btn-sm bg-danger-subtle text-danger-emphasis rounded-3",onClick:e[0]||(e[0]=r=>this.confirmDelete=!0)},IL))]))])}const HL=We($L,[["render",VL],["__scopeId","data-v-0cc2f367"]]),jL={name:"dashboardAPIKeys",components:{DashboardAPIKey:HL,NewDashboardAPIKey:SL},setup(){return{store:Xe()}},data(){return{value:this.store.Configuration.Server.dashboard_api_key,apiKeys:[],newDashboardAPIKey:!1}},methods:{async toggleDashboardAPIKeys(){await ht("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_api_key",value:this.value},t=>{t.status?(this.store.Configuration.Peers[this.targetData]=this.value,this.store.newMessage("Server",`API Keys function is successfully ${this.value?"enabled":"disabled"}`,"success")):(this.value=this.store.Configuration.Peers[this.targetData],this.store.newMessage("Server",`API Keys function is failed ${this.value?"enabled":"disabled"}`,"danger"))})}},watch:{value:{immediate:!0,handler(t){t?wt("/api/getDashboardAPIKeys",{},e=>{console.log(e),e.status?this.apiKeys=e.data:(this.apiKeys=[],this.store.newMessage("Server",e.message,"danger"))}):this.apiKeys=[]}}}},e0=t=>(Ut("data-v-45b66fb8"),t=t(),Kt(),t),WL={class:"card mb-4 shadow rounded-3"},zL={class:"card-header d-flex"},YL={key:0,class:"form-check form-switch ms-auto"},UL={class:"form-check-label",for:"allowAPIKeysSwitch"},KL={key:0,class:"card-body position-relative d-flex flex-column gap-2"},qL=e0(()=>h("i",{class:"bi bi-key me-2"},null,-1)),GL={key:1,class:"card",style:{height:"300px"}},JL=e0(()=>h("div",{class:"card-body d-flex text-muted"},[h("span",{class:"m-auto"}," No Dashboard API Key ")],-1)),XL=[JL],QL={key:2,class:"d-flex flex-column gap-2 position-relative",style:{"min-height":"300px"}};function ZL(t,e,n,s,i,o){const r=He("DashboardAPIKey"),a=He("NewDashboardAPIKey");return M(),F("div",WL,[h("div",zL,[be(" API Keys "),this.store.getActiveCrossServer()?re("",!0):(M(),F("div",YL,[Oe(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=l=>this.value=l),onChange:e[1]||(e[1]=l=>this.toggleDashboardAPIKeys()),role:"switch",id:"allowAPIKeysSwitch"},null,544),[[_n,this.value]]),h("label",UL,me(this.value?"Enabled":"Disabled"),1)]))]),this.value?(M(),F("div",KL,[this.store.getActiveCrossServer()?re("",!0):(M(),F("button",{key:0,class:"ms-auto btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle rounded-3 shadow-sm",onClick:e[2]||(e[2]=l=>this.newDashboardAPIKey=!0)},[qL,be(" Create ")])),this.apiKeys.length===0?(M(),F("div",GL,XL)):(M(),F("div",QL,[Se(Bi,{name:"apiKey"},{default:Pe(()=>[(M(!0),F(Te,null,Ue(this.apiKeys,l=>(M(),Le(r,{apiKey:l,key:l.Key,onDeleted:e[3]||(e[3]=c=>this.apiKeys=c)},null,8,["apiKey"]))),128))]),_:1})])),Se(At,{name:"zoomReversed"},{default:Pe(()=>[this.newDashboardAPIKey?(M(),Le(a,{key:0,onCreated:e[4]||(e[4]=l=>this.apiKeys=l),onClose:e[5]||(e[5]=l=>this.newDashboardAPIKey=!1)})):re("",!0)]),_:1})])):re("",!0)])}const e3=We(jL,[["render",ZL],["__scopeId","data-v-45b66fb8"]]),t3={name:"accountSettingsMFA",setup(){const t=Xe(),e=`input_${Ps()}`;return{store:t,uuid:e}},data(){return{status:!1}},mounted(){this.status=this.store.Configuration.Account.enable_totp},methods:{async resetMFA(){await ht("/api/updateDashboardConfigurationItem",{section:"Account",key:"totp_verified",value:"false"},async t=>{await ht("/api/updateDashboardConfigurationItem",{section:"Account",key:"enable_totp",value:"false"},e=>{e.status&&this.$router.push("/2FASetup")})})}}},n3={class:"d-flex align-items-center"},s3=h("strong",null,"Multi-Factor Authentication",-1),i3={class:"form-check form-switch ms-3"},o3=h("i",{class:"bi bi-shield-lock-fill me-2"},null,-1);function r3(t,e,n,s,i,o){return M(),F("div",null,[h("div",n3,[s3,h("div",i3,[Oe(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=r=>this.status=r),role:"switch",id:"allowMFAKeysSwitch"},null,512),[[_n,this.status]])]),this.status?(M(),F("button",{key:0,class:"btn bg-warning-subtle text-warning-emphasis border-1 border-warning-subtle ms-auto rounded-3 shadow-sm",onClick:e[1]||(e[1]=r=>this.resetMFA())},[o3,be(" "+me(this.store.Configuration.Account.totp_verified?"Reset":"Setup")+" MFA ",1)])):re("",!0)])])}const a3=We(t3,[["render",r3]]),l3={name:"settings",methods:{ipV46RegexCheck:MM},components:{AccountSettingsMFA:a3,DashboardAPIKeys:e3,DashboardSettingsInputIPAddressAndPort:ZD,DashboardTheme:LD,DashboardSettingsInputWireguardConfigurationPath:ED,AccountSettingsInputPassword:fD,AccountSettingsInputUsername:HM,PeersDefaultSettingsInput:TM},setup(){return{dashboardConfigurationStore:Xe()}},watch:{}},c3={class:"mt-md-5 mt-3"},u3={class:"container-md"},d3=h("h3",{class:"mb-3 text-body"},"Settings",-1),h3={class:"card mb-4 shadow rounded-3"},f3=h("p",{class:"card-header"},"Peers Default Settings",-1),p3={class:"card-body"},g3={class:"card mb-4 shadow rounded-3"},m3=h("p",{class:"card-header"},"WireGuard Configurations Settings",-1),_3={class:"card-body"},v3={class:"card mb-4 shadow rounded-3"},b3=h("p",{class:"card-header"},"Account Settings",-1),y3={class:"card-body d-flex gap-4 flex-column"},w3=h("hr",{class:"m-0"},null,-1),x3={key:0,class:"m-0"};function k3(t,e,n,s,i,o){const r=He("DashboardTheme"),a=He("PeersDefaultSettingsInput"),l=He("DashboardSettingsInputWireguardConfigurationPath"),c=He("AccountSettingsInputUsername"),u=He("AccountSettingsInputPassword"),d=He("AccountSettingsMFA"),f=He("DashboardAPIKeys");return M(),F("div",c3,[h("div",u3,[d3,Se(r),h("div",h3,[f3,h("div",p3,[Se(a,{targetData:"peer_global_dns",title:"DNS"}),Se(a,{targetData:"peer_endpoint_allowed_ip",title:"Peer Endpoint Allowed IPs"}),Se(a,{targetData:"peer_mtu",title:"MTU (Max Transmission Unit)"}),Se(a,{targetData:"peer_keep_alive",title:"Persistent Keepalive"}),Se(a,{targetData:"remote_endpoint",title:"Peer Remote Endpoint",warning:!0,warningText:"This will be changed globally, and will be apply to all peer's QR code and configuration file."})])]),h("div",g3,[m3,h("div",_3,[Se(l,{targetData:"wg_conf_path",title:"Configurations Directory",warning:!0,"warning-text":"Remember to remove / at the end of your path. e.g /etc/wireguard"})])]),h("div",v3,[b3,h("div",y3,[Se(c,{targetData:"username",title:"Username"}),w3,Se(u,{targetData:"password"}),this.dashboardConfigurationStore.getActiveCrossServer()?re("",!0):(M(),F("hr",x3)),this.dashboardConfigurationStore.getActiveCrossServer()?re("",!0):(M(),Le(d,{key:1}))])]),Se(f)])])}const S3=We(l3,[["render",k3]]),$3={name:"setup",components:{},setup(){return{store:Xe()}},data(){return{setup:{username:"",newPassword:"",repeatNewPassword:"",enable_totp:!0},loading:!1,errorMessage:"",done:!1}},computed:{goodToSubmit(){return this.setup.username&&this.setup.newPassword.length>=8&&this.setup.repeatNewPassword.length>=8&&this.setup.newPassword===this.setup.repeatNewPassword}},methods:{submit(){this.loading=!0,ht("/api/Welcome_Finish",this.setup,t=>{t.status?(this.done=!0,this.$router.push("/2FASetup")):(document.querySelectorAll("#createAccount input").forEach(e=>e.classList.add("is-invalid")),this.errorMessage=t.message,document.querySelector(".login-container-fluid").scrollTo({top:0,left:0,behavior:"smooth"})),this.loading=!1})}}},A3=["data-bs-theme"],C3={class:"m-auto text-body",style:{width:"500px"}},E3=h("span",{class:"dashboardLogo display-4"},"Nice to meet you!",-1),P3=h("p",{class:"mb-5"},"Please fill in the following fields to finish setup 😊",-1),T3=h("h3",null,"Create an account",-1),M3={key:0,class:"alert alert-danger"},D3={class:"d-flex flex-column gap-3"},O3={id:"createAccount",class:"d-flex flex-column gap-2"},I3={class:"form-group text-body"},R3=h("label",{for:"username",class:"mb-1 text-muted"},[h("small",null,"Pick an username you like")],-1),L3={class:"form-group text-body"},N3=h("label",{for:"password",class:"mb-1 text-muted"},[h("small",null,"Create a password (at least 8 characters)")],-1),F3={class:"form-group text-body"},B3=h("label",{for:"confirmPassword",class:"mb-1 text-muted"},[h("small",null,"Confirm password")],-1),V3=["disabled"],H3={key:0,class:"d-flex align-items-center w-100"},j3=h("i",{class:"bi bi-chevron-right ms-auto"},null,-1),W3={key:1,class:"d-flex align-items-center w-100"},z3=h("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},[h("span",{class:"visually-hidden"},"Loading...")],-1);function Y3(t,e,n,s,i,o){return M(),F("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[h("div",C3,[E3,P3,h("div",null,[T3,this.errorMessage?(M(),F("div",M3,me(this.errorMessage),1)):re("",!0),h("div",D3,[h("div",O3,[h("div",I3,[R3,Oe(h("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=r=>this.setup.username=r),class:"form-control",id:"username",name:"username",placeholder:"Maybe something like 'wiredragon'?",required:""},null,512),[[je,this.setup.username]])]),h("div",L3,[N3,Oe(h("input",{type:"password","onUpdate:modelValue":e[1]||(e[1]=r=>this.setup.newPassword=r),class:"form-control",id:"password",name:"password",placeholder:"Make sure is strong enough",required:""},null,512),[[je,this.setup.newPassword]])]),h("div",F3,[B3,Oe(h("input",{type:"password","onUpdate:modelValue":e[2]||(e[2]=r=>this.setup.repeatNewPassword=r),class:"form-control",id:"confirmPassword",name:"confirmPassword",placeholder:"and you can remember it :)",required:""},null,512),[[je,this.setup.repeatNewPassword]])])]),h("button",{class:"btn btn-dark btn-lg mb-5 d-flex btn-brand shadow align-items-center",ref:"signInBtn",disabled:!this.goodToSubmit||this.loading||this.done,onClick:e[3]||(e[3]=r=>this.submit())},[!this.loading&&!this.done?(M(),F("span",H3,[be(" Next"),j3])):(M(),F("span",W3,[be(" Saving..."),z3]))],8,V3)])])])],8,A3)}const U3=We($3,[["render",Y3]]);function xf(t){return t.includes(":")?6:t.includes(".")?4:0}function K3(t){const e=xf(t);if(!e)throw new Error(`Invalid IP address: ${t}`);let n=0n,s=0n;const i=Object.create(null);if(e===4)for(const o of t.split(".").map(BigInt).reverse())n+=o*2n**s,s+=8n;else{if(t.includes(".")&&(i.ipv4mapped=!0,t=t.split(":").map(a=>{if(a.includes(".")){const[l,c,u,d]=a.split(".").map(f=>Number(f).toString(16).padStart(2,"0"));return`${l}${c}:${u}${d}`}else return a}).join(":")),t.includes("%")){let a;[,t,a]=/(.+)%(.+)/.exec(t),i.scopeid=a}const o=t.split(":"),r=o.indexOf("");if(r!==-1)for(;o.length<8;)o.splice(r,0,"");for(const a of o.map(l=>BigInt(parseInt(l||0,16))).reverse())n+=a*2n**s,s+=16n}return i.number=n,i.version=e,i}const ym={4:32,6:128},q3=t=>t.includes("/")?xf(t):0;function G3(t){const e=q3(t),n=Object.create(null);if(n.single=!1,e)n.cidr=t,n.version=e;else{const d=xf(t);if(d)n.cidr=`${t}/${ym[d]}`,n.version=d,n.single=!0;else throw new Error(`Network is not a CIDR or IP: ${t}`)}const[s,i]=n.cidr.split("/");n.prefix=i;const{number:o,version:r}=K3(s),a=ym[r],l=o.toString(2).padStart(a,"0"),c=Number(a-i),u=l.substring(0,a-c);return n.start=BigInt(`0b${u}${"0".repeat(c)}`),n.end=BigInt(`0b${u}${"1".repeat(c)}`),n}/*! SPDX-License-Identifier: GPL-2.0 +`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),FE=new RegExp(`(?:^${ns}$)|(?:^${Kc}$)`),BE=new RegExp(`^${ns}$`),VE=new RegExp(`^${Kc}$`),Yc=t=>t&&t.exact?FE:new RegExp(`(?:${_i(t)}${ns}${_i(t)})|(?:${_i(t)}${Kc}${_i(t)})`,"g");Yc.v4=t=>t&&t.exact?BE:new RegExp(`${_i(t)}${ns}${_i(t)}`,"g");Yc.v6=t=>t&&t.exact?VE:new RegExp(`${_i(t)}${Kc}${_i(t)}`,"g");const ry={exact:!1},ay=`${Yc.v4().source}\\/(3[0-2]|[12]?[0-9])`,ly=`${Yc.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,HE=new RegExp(`^${ay}$`),jE=new RegExp(`^${ly}$`),WE=({exact:t}=ry)=>t?HE:new RegExp(ay,"g"),zE=({exact:t}=ry)=>t?jE:new RegExp(ly,"g"),cy=WE({exact:!0}),uy=zE({exact:!0}),nf=t=>cy.test(t)?4:uy.test(t)?6:0;nf.v4=t=>cy.test(t);nf.v6=t=>uy.test(t);const dt=t=>{const e=Xe();if(e.Locale===null)return t;const s=Object.keys(e.Locale).filter(i=>t.match(new RegExp("^"+i+"$","gi"))!==null);return s.length===0||s.length>1?t:t.replace(new RegExp(s[0],"gi"),e.Locale[s[0]])},Pn=Qh("WireguardConfigurationsStore",{state:()=>({Configurations:void 0,searchString:"",ConfigurationListInterval:void 0,PeerScheduleJobs:{dropdowns:{Field:[{display:dt("Total Received"),value:"total_receive",unit:"GB",type:"number"},{display:dt("Total Sent"),value:"total_sent",unit:"GB",type:"number"},{display:dt("Total Usage"),value:"total_data",unit:"GB",type:"number"},{display:dt("Date"),value:"date",type:"date"}],Operator:[{display:dt("larger than"),value:"lgt"}],Action:[{display:dt("Restrict Peer"),value:"restrict"},{display:dt("Delete Peer"),value:"delete"}]}}}),actions:{async getConfigurations(){await kt("/api/getWireguardConfigurations",{},t=>{t.status&&(this.Configurations=t.data)})},regexCheckIP(t){return/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/.test(t)},checkCIDR(t){return nf(t)!==0}}}),je=(t,e)=>{const n=t.__vccOpts||t;for(const[s,i]of e)n[s]=i;return n},KE={name:"localeText",props:{t:""},computed:{getLocaleText(){return dt(this.t)}}};function YE(t,e,n,s,i,o){return xe(this.getLocaleText)}const Ge=je(KE,[["render",YE]]),UE={name:"navbar",components:{LocaleText:Ge},setup(){const t=Pn(),e=Xe();return{wireguardConfigurationsStore:t,dashboardConfigurationStore:e}},data(){return{updateAvailable:!1,updateMessage:"Checking for update...",updateUrl:""}},mounted(){kt("/api/getDashboardUpdate",{},t=>{t.status?(t.data&&(this.updateAvailable=!0,this.updateUrl=t.data),this.updateMessage=t.message):(this.updateMessage=dt("Failed to check available update"),console.log(`Failed to get update: ${t.message}`))})}},Fi=t=>(qt("data-v-c16dfe93"),t=t(),Gt(),t),qE=["data-bs-theme"],GE={id:"sidebarMenu",class:"bg-body-tertiary sidebar border h-100 rounded-3 shadow overflow-y-scroll"},JE={class:"sidebar-sticky pt-3"},XE={class:"nav flex-column px-2"},QE={class:"nav-item"},ZE=Fi(()=>h("i",{class:"bi bi-house me-2"},null,-1)),eT={class:"nav-item"},tT=Fi(()=>h("i",{class:"bi bi-gear me-2"},null,-1)),nT=Fi(()=>h("hr",{class:"text-body"},null,-1)),sT={class:"sidebar-heading px-3 mt-4 mb-1 text-muted text-center"},iT=Fi(()=>h("i",{class:"bi bi-body-text me-2"},null,-1)),oT={class:"nav flex-column px-2"},rT={class:"nav-item"},aT=Fi(()=>h("hr",{class:"text-body"},null,-1)),lT={class:"sidebar-heading px-3 mt-4 mb-1 text-muted text-center"},cT=Fi(()=>h("i",{class:"bi bi-tools me-2"},null,-1)),uT={class:"nav flex-column px-2"},dT={class:"nav-item"},hT={class:"nav-item"},fT=Fi(()=>h("hr",{class:"text-body"},null,-1)),pT={class:"nav flex-column px-2"},gT={class:"nav-item"},mT=Fi(()=>h("i",{class:"bi bi-box-arrow-left me-2"},null,-1)),_T={class:"nav-item",style:{"font-size":"0.8rem"}},bT=["href"],vT={class:"nav-link text-muted rounded-3"},yT={key:1,class:"nav-link text-muted rounded-3"};function wT(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("RouterLink");return C(),F("div",{class:Ee(["col-md-3 col-lg-2 d-md-block p-3 navbar-container",{active:this.dashboardConfigurationStore.ShowNavBar}]),"data-bs-theme":s.dashboardConfigurationStore.Configuration.Server.dashboard_theme,style:{height:"calc(-50px + 100vh)"}},[h("nav",GE,[h("div",JE,[h("ul",XE,[h("li",QE,[N(a,{class:"nav-link rounded-3",to:"/","exact-active-class":"active"},{default:Pe(()=>[ZE,N(r,{t:"Home"})]),_:1})]),h("li",eT,[N(a,{class:"nav-link rounded-3",to:"/settings","exact-active-class":"active"},{default:Pe(()=>[tT,N(r,{t:"Settings"})]),_:1})])]),nT,h("h6",sT,[iT,N(r,{t:"WireGuard Configurations"})]),h("ul",oT,[h("li",rT,[(C(!0),F(Me,null,Ke(this.wireguardConfigurationsStore.Configurations,l=>(C(),Se(a,{to:"/configuration/"+l.Name+"/peers",class:"nav-link nav-conf-link rounded-3","active-class":"active"},{default:Pe(()=>[h("span",{class:Ee(["dot me-2",{active:l.Status}])},null,2),He(" "+xe(l.Name),1)]),_:2},1032,["to"]))),256))])]),aT,h("h6",lT,[cT,N(r,{t:"Tools"})]),h("ul",uT,[h("li",dT,[N(a,{to:"/ping",class:"nav-link rounded-3","active-class":"active"},{default:Pe(()=>[He("Ping")]),_:1})]),h("li",hT,[N(a,{to:"/traceroute",class:"nav-link rounded-3","active-class":"active"},{default:Pe(()=>[He("Traceroute")]),_:1})])]),fT,h("ul",pT,[h("li",gT,[h("a",{class:"nav-link text-danger rounded-3",onClick:e[0]||(e[0]=l=>this.dashboardConfigurationStore.signOut()),role:"button",style:{"font-weight":"bold"}},[mT,N(r,{t:"Sign Out"})])]),h("li",_T,[this.updateAvailable?(C(),F("a",{key:0,href:this.updateUrl,class:"text-decoration-none rounded-3",target:"_blank"},[h("small",vT,[N(r,{t:this.updateMessage},null,8,["t"]),He(" ("),N(r,{t:"Current Version:"}),He(" "+xe(s.dashboardConfigurationStore.Configuration.Server.version)+") ",1)])],8,bT)):(C(),F("small",yT,[N(r,{t:this.updateMessage},null,8,["t"]),He(" ("+xe(s.dashboardConfigurationStore.Configuration.Server.version)+") ",1)]))])])])])],10,qE)}const xT=je(UE,[["render",wT],["__scopeId","data-v-c16dfe93"]]),kT={name:"message",components:{LocaleText:Ge},props:{message:Object},mounted(){setTimeout(()=>{this.message.show=!1},5e3)}},ST=["id"],$T={class:"card-body"},AT={class:"fw-bold d-block",style:{"text-transform":"uppercase"}};function CT(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",{class:Ee(["card shadow rounded-3 position-relative mb-2",{"text-bg-danger":this.message.type==="danger","text-bg-success":this.message.type==="success","text-bg-warning":this.message.type==="warning"}]),id:this.message.id,style:{width:"400px"}},[h("div",$T,[h("small",AT,[N(r,{t:"FROM "}),He(" "+xe(this.message.from),1)]),He(" "+xe(this.message.content),1)])],10,ST)}const dy=je(kT,[["render",CT]]),ET={name:"index",components:{Message:dy,Navbar:xT},async setup(){return{dashboardConfigurationStore:Xe()}},computed:{getMessages(){return this.dashboardConfigurationStore.Messages.filter(t=>t.show)}}},TT=["data-bs-theme"],PT={class:"row h-100"},MT={class:"col-md-9 ml-sm-auto col-lg-10 px-md-4 overflow-y-scroll mb-0",style:{height:"calc(100vh - 50px)"}},DT={class:"messageCentre text-body position-fixed"};function OT(t,e,n,s,i,o){const r=ke("Navbar"),a=ke("RouterView"),l=ke("Message");return C(),F("div",{class:"container-fluid flex-grow-1 main","data-bs-theme":this.dashboardConfigurationStore.Configuration.Server.dashboard_theme},[h("div",PT,[N(r),h("main",MT,[(C(),Se(Wh,null,{default:Pe(()=>[N(a,null,{default:Pe(({Component:c})=>[N(Et,{name:"fade2",mode:"out-in"},{default:Pe(()=>[(C(),Se(To(c)))]),_:2},1024)]),_:1})]),_:1})),h("div",DT,[N(Ni,{name:"message",tag:"div",class:"position-relative"},{default:Pe(()=>[(C(!0),F(Me,null,Ke(o.getMessages.slice().reverse(),c=>(C(),Se(l,{message:c,key:c.id},null,8,["message"]))),128))]),_:1})])])])],8,TT)}const IT=je(ET,[["render",OT],["__scopeId","data-v-b776d181"]]);var hy={exports:{}};(function(t,e){(function(n,s){t.exports=s()})(Q_,function(){var n=1e3,s=6e4,i=36e5,o="millisecond",r="second",a="minute",l="hour",c="day",u="week",d="month",f="quarter",g="year",_="date",m="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Y){var R=["th","st","nd","rd"],I=Y%100;return"["+Y+(R[(I-20)%10]||R[I]||R[0])+"]"}},A=function(Y,R,I){var H=String(Y);return!H||H.length>=R?Y:""+Array(R+1-H.length).join(I)+Y},D={s:A,z:function(Y){var R=-Y.utcOffset(),I=Math.abs(R),H=Math.floor(I/60),Z=I%60;return(R<=0?"+":"-")+A(H,2,"0")+":"+A(Z,2,"0")},m:function Y(R,I){if(R.date()1)return Y(ce[0])}else{var ve=R.name;w[ve]=R,Z=ve}return!H&&Z&&(x=Z),Z||!H&&x},E=function(Y,R){if(T(Y))return Y.clone();var I=typeof R=="object"?R:{};return I.date=Y,I.args=arguments,new X(I)},V=D;V.l=M,V.i=T,V.w=function(Y,R){return E(Y,{locale:R.$L,utc:R.$u,x:R.$x,$offset:R.$offset})};var X=function(){function Y(I){this.$L=M(I.locale,null,!0),this.parse(I),this.$x=this.$x||I.x||{},this[S]=!0}var R=Y.prototype;return R.parse=function(I){this.$d=function(H){var Z=H.date,ee=H.utc;if(Z===null)return new Date(NaN);if(V.u(Z))return new Date;if(Z instanceof Date)return new Date(Z);if(typeof Z=="string"&&!/Z$/i.test(Z)){var ce=Z.match(y);if(ce){var ve=ce[2]-1||0,U=(ce[7]||"0").substring(0,3);return ee?new Date(Date.UTC(ce[1],ve,ce[3]||1,ce[4]||0,ce[5]||0,ce[6]||0,U)):new Date(ce[1],ve,ce[3]||1,ce[4]||0,ce[5]||0,ce[6]||0,U)}}return new Date(Z)}(I),this.init()},R.init=function(){var I=this.$d;this.$y=I.getFullYear(),this.$M=I.getMonth(),this.$D=I.getDate(),this.$W=I.getDay(),this.$H=I.getHours(),this.$m=I.getMinutes(),this.$s=I.getSeconds(),this.$ms=I.getMilliseconds()},R.$utils=function(){return V},R.isValid=function(){return this.$d.toString()!==m},R.isSame=function(I,H){var Z=E(I);return this.startOf(H)<=Z&&Z<=this.endOf(H)},R.isAfter=function(I,H){return E(I){if(t.status===200)return t.json();throw new Error(t.statusText)}).then(()=>{this.endTime=Cn(),this.active=!0}).catch(t=>{this.active=!1,this.errorMsg=t}),this.refreshing=!1)},async connect(){await fetch(`${this.server.host}/api/authenticate`,{headers:{"content-type":"application/json","wg-dashboard-apikey":this.server.apiKey},body:JSON.stringify({host:window.location.hostname}),method:"POST",signal:AbortSignal.timeout(5e3)}).then(t=>t.json()).then(t=>{this.$emit("setActiveServer"),this.$router.push("/")})}},mounted(){this.handshake()},computed:{getHandshakeTime(){return this.startTime&&this.endTime?`${Cn().subtract(this.startTime).millisecond()}ms`:this.refreshing?dt("Pinging..."):this.errorMsg?this.errorMsg:"N/A"}}},Or=t=>(qt("data-v-ed7817c7"),t=t(),Gt(),t),NT={class:"card rounded-3"},FT={class:"card-body"},BT={class:"d-flex gap-3 w-100 remoteServerContainer"},VT={class:"d-flex gap-3 align-items-center flex-grow-1"},HT=Or(()=>h("i",{class:"bi bi-server"},null,-1)),jT={class:"d-flex gap-3 align-items-center flex-grow-1"},WT=Or(()=>h("i",{class:"bi bi-key-fill"},null,-1)),zT={class:"d-flex gap-2 button-group"},KT=Or(()=>h("i",{class:"bi bi-trash"},null,-1)),YT=[KT],UT=Or(()=>h("i",{class:"bi bi-arrow-right-circle"},null,-1)),qT=[UT],GT={class:"card-footer gap-2 d-flex align-items-center"},JT={key:0,class:"spin ms-auto text-primary-emphasis"},XT=Or(()=>h("i",{class:"bi bi-arrow-clockwise"},null,-1)),QT=[XT],ZT=Or(()=>h("i",{class:"bi bi-arrow-clockwise me"},null,-1)),eP=[ZT];function tP(t,e,n,s,i,o){return C(),F("div",NT,[h("div",FT,[h("div",BT,[h("div",VT,[HT,Le(h("input",{class:"form-control form-control-sm",onBlur:e[0]||(e[0]=r=>this.handshake()),"onUpdate:modelValue":e[1]||(e[1]=r=>this.server.host=r),type:"url"},null,544),[[We,this.server.host]])]),h("div",jT,[WT,Le(h("input",{class:"form-control form-control-sm",onBlur:e[2]||(e[2]=r=>this.handshake()),"onUpdate:modelValue":e[3]||(e[3]=r=>this.server.apiKey=r),type:"text"},null,544),[[We,this.server.apiKey]])]),h("div",zT,[h("button",{onClick:e[4]||(e[4]=r=>this.$emit("delete")),class:"ms-auto btn btn-sm bg-danger-subtle text-danger-emphasis border-1 border-danger-subtle"},YT),h("button",{onClick:e[5]||(e[5]=r=>this.connect()),class:Ee([{disabled:!this.active},"ms-auto btn btn-sm bg-success-subtle text-success-emphasis border-1 border-success-subtle"])},qT,2)])])]),h("div",GT,[h("span",{class:Ee(["dot ms-0 me-2",[this.active?"active":"inactive"]])},null,2),h("small",null,xe(this.getHandshakeTime),1),this.refreshing?(C(),F("div",JT,QT)):(C(),F("a",{key:1,role:"button",onClick:e[6]||(e[6]=r=>this.handshake()),class:"text-primary-emphasis text-decoration-none ms-auto disabled"},eP))])])}const nP=je(RT,[["render",tP],["__scopeId","data-v-ed7817c7"]]),sP={name:"RemoteServerList",setup(){return{store:Xe()}},components:{LocaleText:Ge,RemoteServer:nP}},iP={class:"w-100 mt-3"},oP={class:"d-flex align-items-center mb-3"},rP={class:"mb-0"},aP=h("i",{class:"bi bi-plus-circle-fill me-2"},null,-1),lP={class:"w-100 d-flex gap-3 flex-column p-3 border border-1 border-secondary-subtle rounded-3",style:{height:"400px","overflow-y":"scroll"}},cP={key:0,class:"text-muted m-auto"},uP=h("i",{class:"bi bi-plus-circle-fill mx-1"},null,-1);function dP(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("RemoteServer");return C(),F("div",iP,[h("div",oP,[h("h5",rP,[N(r,{t:"Server List"})]),h("button",{onClick:e[0]||(e[0]=l=>this.store.addCrossServerConfiguration()),class:"btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle shadow-sm ms-auto"},[aP,N(r,{t:"Server"})])]),h("div",lP,[(C(!0),F(Me,null,Ke(this.store.CrossServerConfiguration.ServerList,(l,c)=>(C(),Se(a,{onSetActiveServer:u=>this.store.setActiveCrossServer(c),onDelete:u=>this.store.deleteCrossServerConfiguration(c),key:c,server:l},null,8,["onSetActiveServer","onDelete","server"]))),128)),Object.keys(this.store.CrossServerConfiguration.ServerList).length===0?(C(),F("h6",cP,[N(r,{t:"Click"}),uP,N(r,{t:"to add your server"})])):re("",!0)])])}const hP=je(sP,[["render",dP]]),fP={name:"signInInput",methods:{GetLocale:dt},props:{id:"",data:"",type:"",placeholder:""},computed:{getLocaleText(){return dt(this.placeholder)}}},pP=["type","id","name","placeholder"];function gP(t,e,n,s,i,o){return Le((C(),F("input",{type:n.type,"onUpdate:modelValue":e[0]||(e[0]=r=>this.data[this.id]=r),class:"form-control",id:this.id,name:this.id,autocomplete:"on",placeholder:this.getLocaleText,required:""},null,8,pP)),[[Wv,this.data[this.id]]])}const mP=je(fP,[["render",gP]]),_P={name:"signInTOTP",methods:{GetLocale:dt},props:{data:""},computed:{getLocaleText(){return dt("OTP from your authenticator")}}},bP=["placeholder"];function vP(t,e,n,s,i,o){return Le((C(),F("input",{class:"form-control totp",required:"",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code",placeholder:this.getLocaleText,"onUpdate:modelValue":e[0]||(e[0]=r=>this.data.totp=r)},null,8,bP)),[[We,this.data.totp]])}const yP=je(_P,[["render",vP]]),wP={name:"signin",components:{SignInTOTP:yP,SignInInput:mP,LocaleText:Ge,RemoteServerList:hP,Message:dy},async setup(){const t=Xe();let e="dark",n=!1,s;return t.IsElectronApp||await Promise.all([kt("/api/getDashboardTheme",{},i=>{e=i.data}),kt("/api/isTotpEnabled",{},i=>{n=i.data}),kt("/api/getDashboardVersion",{},i=>{s=i.data})]),t.removeActiveCrossServer(),{store:t,theme:e,totpEnabled:n,version:s}},data(){return{data:{username:"",password:"",totp:""},loginError:!1,loginErrorMessage:"",loading:!1}},computed:{getMessages(){return this.store.Messages.filter(t=>t.show)},applyLocale(t){return dt(t)}},methods:{GetLocale:dt,async auth(){this.data.username&&this.data.password&&(this.totpEnabled&&this.data.totp||!this.totpEnabled)?(this.loading=!0,await ht("/api/authenticate",this.data,t=>{t.status?(this.loginError=!1,this.$refs.signInBtn.classList.add("signedIn"),t.message?this.$router.push("/welcome"):this.store.Redirect!==void 0?this.$router.push(this.store.Redirect):this.$router.push("/")):(this.loginError=!0,this.loginErrorMessage=t.message,document.querySelectorAll("input[required]").forEach(e=>{e.classList.remove("is-valid"),e.classList.add("is-invalid")}),this.loading=!1)})):document.querySelectorAll("input[required]").forEach(t=>{t.value.length===0?(t.classList.remove("is-valid"),t.classList.add("is-invalid")):(t.classList.remove("is-invalid"),t.classList.add("is-valid"))})}}},Mo=t=>(qt("data-v-2fa13e60"),t=t(),Gt(),t),xP=["data-bs-theme"],kP={class:"login-box m-auto"},SP={class:"m-auto",style:{width:"700px"}},$P={class:"mb-0 text-body"},AP=Mo(()=>h("span",{class:"dashboardLogo display-3"},[h("strong",null,"WGDashboard")],-1)),CP={key:0,class:"alert alert-danger mt-2 mb-0",role:"alert"},EP={class:"form-group text-body"},TP=Mo(()=>h("label",{for:"username",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-person-circle"})],-1)),PP={class:"form-group text-body"},MP=Mo(()=>h("label",{for:"password",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-key-fill"})],-1)),DP={key:0,class:"form-group text-body"},OP=Mo(()=>h("label",{for:"totp",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-lock-fill"})],-1)),IP={class:"btn btn-lg btn-dark ms-auto mt-4 w-100 d-flex btn-brand signInBtn",ref:"signInBtn"},LP={key:0,class:"d-flex w-100"},RP=Mo(()=>h("i",{class:"ms-auto bi bi-chevron-right"},null,-1)),NP={key:1,class:"d-flex w-100 align-items-center"},FP=Mo(()=>h("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},null,-1)),BP={key:3,class:"d-flex mt-3"},VP={class:"form-check form-switch ms-auto"},HP={class:"form-check-label",for:"flexSwitchCheckChecked"},jP={class:"text-muted pb-3 d-block w-100 text-center mt-3"},WP=Mo(()=>h("a",{href:"https://github.com/donaldzou",target:"_blank"},[h("strong",null,"Donald Zou")],-1)),zP={class:"messageCentre text-body position-absolute end-0 m-3"};function KP(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("SignInInput"),l=ke("SignInTOTP"),c=ke("RemoteServerList"),u=ke("Message");return C(),F("div",{class:"container-fluid login-container-fluid d-flex main flex-column py-4 text-body",style:{"overflow-y":"scroll"},"data-bs-theme":this.theme},[h("div",kP,[h("div",SP,[h("h4",$P,[N(r,{t:"Welcome to"})]),AP,i.loginError?(C(),F("div",CP,[N(r,{t:this.loginErrorMessage},null,8,["t"])])):re("",!0),this.store.CrossServerConfiguration.Enable?(C(),Se(c,{key:2})):(C(),F("form",{key:1,onSubmit:e[0]||(e[0]=d=>{d.preventDefault(),this.auth()})},[h("div",EP,[TP,N(a,{id:"username",data:this.data,type:"text",placeholder:"Username"},null,8,["data"])]),h("div",PP,[MP,N(a,{id:"password",data:this.data,type:"password",placeholder:"Password"},null,8,["data"])]),s.totpEnabled?(C(),F("div",DP,[OP,N(l,{data:this.data},null,8,["data"])])):re("",!0),h("button",IP,[this.loading?(C(),F("span",NP,[N(r,{t:"Signing In..."}),FP])):(C(),F("span",LP,[N(r,{t:"Sign In"}),RP]))],512)],32)),this.store.IsElectronApp?re("",!0):(C(),F("div",BP,[h("div",VP,[Le(h("input",{"onUpdate:modelValue":e[1]||(e[1]=d=>this.store.CrossServerConfiguration.Enable=d),class:"form-check-input",type:"checkbox",role:"switch",id:"flexSwitchCheckChecked"},null,512),[[_n,this.store.CrossServerConfiguration.Enable]]),h("label",HP,[N(r,{t:"Access Remote Server"})])])]))])]),h("small",jP,[He(" WGDashboard "+xe(this.version)+" | Developed with ❤️ by ",1),WP]),h("div",zP,[N(Ni,{name:"message",tag:"div",class:"position-relative"},{default:Pe(()=>[(C(!0),F(Me,null,Ke(o.getMessages.slice().reverse(),d=>(C(),Se(u,{message:d,key:d.id},null,8,["message"]))),128))]),_:1})])],8,xP)}const YP=je(wP,[["render",KP],["__scopeId","data-v-2fa13e60"]]),UP={name:"configurationCard",components:{LocaleText:Ge},props:{c:{Name:String,Status:Boolean,PublicKey:String,PrivateKey:String}},data(){return{configurationToggling:!1}},setup(){return{dashboardConfigurationStore:Xe()}},methods:{toggle(){this.configurationToggling=!0,kt("/api/toggleWireguardConfiguration/",{configurationName:this.c.Name},t=>{t.status?this.dashboardConfigurationStore.newMessage("Server",`${this.c.Name} ${t.data?"is on":"is off"}`):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.c.Status=t.data,this.configurationToggling=!1})}}},qP={class:"card conf_card rounded-3 shadow text-decoration-none"},GP={class:"mb-0"},JP={class:"card-title mb-0"},XP=h("h6",{class:"mb-0 ms-auto"},[h("i",{class:"bi bi-chevron-right"})],-1),QP={class:"card-footer d-flex gap-2 flex-column"},ZP={class:"row"},eM={class:"col-6 col-md-3"},tM=h("i",{class:"bi bi-arrow-down-up me-2"},null,-1),nM={class:"text-primary-emphasis col-6 col-md-3"},sM=h("i",{class:"bi bi-arrow-down me-2"},null,-1),iM={class:"text-success-emphasis col-6 col-md-3"},oM=h("i",{class:"bi bi-arrow-up me-2"},null,-1),rM={class:"text-md-end col-6 col-md-3"},aM={class:"d-flex align-items-center gap-2"},lM={class:"text-muted"},cM={style:{"word-break":"keep-all"}},uM={class:"mb-0 d-block d-lg-inline-block"},dM={style:{"line-break":"anywhere"}},hM={class:"form-check form-switch ms-auto"},fM=["for"],pM={key:4,class:"spinner-border spinner-border-sm ms-2","aria-hidden":"true"},gM=["disabled","id"];function mM(t,e,n,s,i,o){const r=ke("RouterLink"),a=ke("LocaleText");return C(),F("div",qP,[N(r,{to:"/configuration/"+n.c.Name+"/peers",class:"card-body d-flex align-items-center gap-3 flex-wrap text-decoration-none"},{default:Pe(()=>[h("h6",GP,[h("span",{class:Ee(["dot",{active:n.c.Status}])},null,2)]),h("h6",JP,[h("samp",null,xe(n.c.Name),1)]),XP]),_:1},8,["to"]),h("div",QP,[h("div",ZP,[h("small",eM,[tM,He(xe(n.c.DataUsage.Total>0?n.c.DataUsage.Total.toFixed(4):0)+" GB ",1)]),h("small",nM,[sM,He(xe(n.c.DataUsage.Receive>0?n.c.DataUsage.Receive.toFixed(4):0)+" GB ",1)]),h("small",iM,[oM,He(xe(n.c.DataUsage.Sent>0?n.c.DataUsage.Sent.toFixed(4):0)+" GB ",1)]),h("small",rM,[h("span",{class:Ee(["dot me-2",{active:n.c.ConnectedPeers>0}])},null,2),He(xe(n.c.ConnectedPeers)+" ",1),N(a,{t:"Peers"})])]),h("div",aM,[h("small",lM,[h("strong",cM,[N(a,{t:"Public Key"})])]),h("small",uM,[h("samp",dM,xe(n.c.PublicKey),1)]),h("div",hM,[h("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+n.c.PrivateKey},[!n.c.Status&&this.configurationToggling?(C(),Se(a,{key:0,t:"Turning Off..."})):n.c.Status&&this.configurationToggling?(C(),Se(a,{key:1,t:"Turning On..."})):n.c.Status&&!this.configurationToggling?(C(),Se(a,{key:2,t:"On"})):!n.c.Status&&!this.configurationToggling?(C(),Se(a,{key:3,t:"Off"})):re("",!0),this.configurationToggling?(C(),F("span",pM)):re("",!0)],8,fM),Le(h("input",{class:"form-check-input",style:{cursor:"pointer"},disabled:this.configurationToggling,type:"checkbox",role:"switch",id:"switch"+n.c.PrivateKey,onChange:e[0]||(e[0]=l=>this.toggle()),"onUpdate:modelValue":e[1]||(e[1]=l=>n.c.Status=l)},null,40,gM),[[_n,n.c.Status]])])])])])}const _M=je(UP,[["render",mM]]),bM={name:"configurationList",components:{LocaleText:Ge,ConfigurationCard:_M},async setup(){return{wireguardConfigurationsStore:Pn()}},data(){return{configurationLoaded:!1}},async mounted(){await this.wireguardConfigurationsStore.getConfigurations(),this.configurationLoaded=!0,this.wireguardConfigurationsStore.ConfigurationListInterval=setInterval(()=>{this.wireguardConfigurationsStore.getConfigurations()},1e4)},beforeUnmount(){clearInterval(this.wireguardConfigurationsStore.ConfigurationListInterval)}},fy=t=>(qt("data-v-106e7dee"),t=t(),Gt(),t),vM={class:"mt-md-5 mt-3"},yM={class:"container-md"},wM={class:"d-flex mb-4 configurationListTitle"},xM={class:"text-body d-flex"},kM=fy(()=>h("i",{class:"bi bi-body-text me-2"},null,-1)),SM=fy(()=>h("i",{class:"bi bi-plus-circle-fill me-2"},null,-1)),$M={key:0},AM={key:0,class:"text-muted"},CM={key:1,class:"d-flex gap-3 flex-column mb-3"};function EM(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("RouterLink"),l=ke("ConfigurationCard");return C(),F("div",vM,[h("div",yM,[h("div",wM,[h("h3",xM,[kM,h("span",null,[N(r,{t:"WireGuard Configurations"})])]),N(a,{to:"/new_configuration",class:"btn btn-dark btn-brand rounded-3 px-3 py-2 shadow ms-auto rounded-3"},{default:Pe(()=>[SM,N(r,{t:"Configuration"})]),_:1})]),N(Et,{name:"fade",mode:"out-in"},{default:Pe(()=>[this.configurationLoaded?(C(),F("div",$M,[this.wireguardConfigurationsStore.Configurations.length===0?(C(),F("p",AM,[N(r,{t:"You don't have any WireGuard configurations yet. Please check the configuration folder or change it in Settings. By default the folder is /etc/wireguard."})])):(C(),F("div",CM,[(C(!0),F(Me,null,Ke(this.wireguardConfigurationsStore.Configurations,c=>(C(),Se(l,{key:c.Name,c},null,8,["c"]))),128))]))])):re("",!0)]),_:1})])])}const TM=je(bM,[["render",EM],["__scopeId","data-v-106e7dee"]]);let Al;const PM=new Uint8Array(16);function MM(){if(!Al&&(Al=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Al))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Al(PM)}const on=[];for(let t=0;t<256;++t)on.push((t+256).toString(16).slice(1));function DM(t,e=0){return on[t[e+0]]+on[t[e+1]]+on[t[e+2]]+on[t[e+3]]+"-"+on[t[e+4]]+on[t[e+5]]+"-"+on[t[e+6]]+on[t[e+7]]+"-"+on[t[e+8]]+on[t[e+9]]+"-"+on[t[e+10]]+on[t[e+11]]+on[t[e+12]]+on[t[e+13]]+on[t[e+14]]+on[t[e+15]]}const OM=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),tm={randomUUID:OM};function Es(t,e,n){if(tm.randomUUID&&!e&&!t)return tm.randomUUID();t=t||{};const s=t.random||(t.rng||MM)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,e){n=n||0;for(let i=0;i<16;++i)e[n+i]=s[i];return e}return DM(s)}const IM={components:{LocaleText:Ge},props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const t=Xe(),e=`input_${Es()}`;return{store:t,uuid:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Peers[this.targetData]},methods:{async useValidation(){this.changed&&await ht("/api/updateDashboardConfigurationItem",{section:"Peers",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Peers[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message),this.changed=!1,this.updating=!1})}}},LM={class:"form-group mb-2"},RM=["for"],NM=["id","disabled"],FM={class:"invalid-feedback"},BM={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"},VM=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1);function HM(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",LM,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[N(r,{t:this.title},null,8,["t"])])])],8,RM),Le(h("input",{type:"text",class:Ee(["form-control",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=a=>this.value=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),onBlur:e[2]||(e[2]=a=>o.useValidation()),disabled:this.updating},null,42,NM),[[We,this.value]]),h("div",FM,xe(this.invalidFeedback),1),n.warning?(C(),F("div",BM,[h("small",null,[VM,N(r,{t:n.warningText},null,8,["t"])])])):re("",!0)])}const jM=je(IM,[["render",HM]]),WM=t=>{},zM={name:"accountSettingsInputUsername",components:{LocaleText:Ge},props:{targetData:String,title:String},setup(){const t=Xe(),e=`input_${Es()}`;return{store:t,uuid:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Account[this.targetData]},methods:{async useValidation(){this.changed&&(this.updating=!0,await ht("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message),this.changed=!1,this.updating=!1}))}}},KM={class:"form-group mb-2"},YM=["for"],UM=["id","disabled"],qM={class:"invalid-feedback"};function GM(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",KM,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[N(r,{t:this.title},null,8,["t"])])])],8,YM),Le(h("input",{type:"text",class:Ee(["form-control",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=a=>this.value=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),onBlur:e[2]||(e[2]=a=>o.useValidation()),disabled:this.updating},null,42,UM),[[We,this.value]]),h("div",qM,xe(this.invalidFeedback),1)])}const JM=je(zM,[["render",GM]]),XM={name:"accountSettingsInputPassword",components:{LocaleText:Ge},props:{targetData:String,warning:!1,warningText:""},setup(){const t=Xe(),e=`input_${Es()}`;return{store:t,uuid:e}},data(){return{value:{currentPassword:"",newPassword:"",repeatNewPassword:""},invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0}},methods:{async useValidation(){Object.values(this.value).find(t=>t.length===0)===void 0?this.value.newPassword===this.value.repeatNewPassword?await ht("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.isValid=!1,this.value={currentPassword:"",newPassword:"",repeatNewPassword:""}},5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message)}):(this.showInvalidFeedback=!0,this.invalidFeedback="New passwords does not match"):(this.showInvalidFeedback=!0,this.invalidFeedback="Please fill in all required fields.")}},computed:{passwordValid(){return Object.values(this.value).find(t=>t.length===0)===void 0&&this.value.newPassword===this.value.repeatNewPassword}}},QM={class:"d-flex flex-column"},ZM={class:"row"},eD={class:"col-sm"},tD={class:"form-group mb-2"},nD=["for"],sD=["id"],iD={key:0,class:"invalid-feedback d-block"},oD={class:"col-sm"},rD={class:"form-group mb-2"},aD=["for"],lD=["id"],cD={class:"col-sm"},uD={class:"form-group mb-2"},dD=["for"],hD=["id"],fD=["disabled"],pD=h("i",{class:"bi bi-save2-fill me-2"},null,-1);function gD(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",QM,[h("div",ZM,[h("div",eD,[h("div",tD,[h("label",{for:"currentPassword_"+this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[N(r,{t:"Current Password"})])])],8,nD),Le(h("input",{type:"password",class:Ee(["form-control mb-2",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),"onUpdate:modelValue":e[0]||(e[0]=a=>this.value.currentPassword=a),id:"currentPassword_"+this.uuid},null,10,sD),[[We,this.value.currentPassword]]),i.showInvalidFeedback?(C(),F("div",iD,xe(this.invalidFeedback),1)):re("",!0)])]),h("div",oD,[h("div",rD,[h("label",{for:"newPassword_"+this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[N(r,{t:"New Password"})])])],8,aD),Le(h("input",{type:"password",class:Ee(["form-control mb-2",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),"onUpdate:modelValue":e[1]||(e[1]=a=>this.value.newPassword=a),id:"newPassword_"+this.uuid},null,10,lD),[[We,this.value.newPassword]])])]),h("div",cD,[h("div",uD,[h("label",{for:"repeatNewPassword_"+this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[N(r,{t:"Repeat New Password"})])])],8,dD),Le(h("input",{type:"password",class:Ee(["form-control mb-2",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),"onUpdate:modelValue":e[2]||(e[2]=a=>this.value.repeatNewPassword=a),id:"repeatNewPassword_"+this.uuid},null,10,hD),[[We,this.value.repeatNewPassword]])])])]),h("button",{disabled:!this.passwordValid,class:"ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",onClick:e[3]||(e[3]=a=>this.useValidation())},[pD,N(r,{t:"Update Password"})],8,fD)])}const mD=je(XM,[["render",gD]]),_D={name:"dashboardSettingsInputWireguardConfigurationPath",components:{LocaleText:Ge},props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const t=Xe(),e=Pn(),n=`input_${Es()}`;return{store:t,uuid:n,WireguardConfigurationStore:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Server[this.targetData]},methods:{async useValidation(){this.changed&&(this.updating=!0,await ht("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3),this.WireguardConfigurationStore.getConfigurations(),this.store.newMessage("Server","WireGuard configuration path saved","success")):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message),this.changed=!1,this.updating=!1}))}}},bD={class:"form-group"},vD=["for"],yD={class:"d-flex gap-2 align-items-start"},wD={class:"flex-grow-1"},xD=["id","disabled"],kD={class:"invalid-feedback fw-bold"},SD=["disabled"],$D={key:0,class:"bi bi-save2-fill"},AD={key:1,class:"spinner-border spinner-border-sm"},CD={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1 mb-2"},ED=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1);function TD(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",bD,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[N(r,{t:this.title},null,8,["t"])])])],8,vD),h("div",yD,[h("div",wD,[Le(h("input",{type:"text",class:Ee(["form-control rounded-3",{"is-invalid":this.showInvalidFeedback,"is-valid":this.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=a=>this.value=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),disabled:this.updating},null,42,xD),[[We,this.value]]),h("div",kD,xe(this.invalidFeedback),1)]),h("button",{onClick:e[2]||(e[2]=a=>this.useValidation()),disabled:!this.changed,class:"ms-auto btn rounded-3 border-success-subtle bg-success-subtle text-success-emphasis"},[this.updating?(C(),F("span",AD)):(C(),F("i",$D))],8,SD)]),n.warning?(C(),F("div",CD,[h("small",null,[ED,N(r,{t:n.warningText},null,8,["t"])])])):re("",!0)])}const PD=je(_D,[["render",TD]]),MD={name:"dashboardTheme",components:{LocaleText:Ge},setup(){return{dashboardConfigurationStore:Xe()}},methods:{async switchTheme(t){await ht("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_theme",value:t},e=>{e.status&&(this.dashboardConfigurationStore.Configuration.Server.dashboard_theme=t)})}}},DD={class:"card mb-4 shadow rounded-3"},OD={class:"card-header"},ID={class:"card-body d-flex gap-2"},LD=h("i",{class:"bi bi-sun-fill me-2"},null,-1),RD=h("i",{class:"bi bi-moon-fill me-2"},null,-1);function ND(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",DD,[h("p",OD,[N(r,{t:"Dashboard Theme"})]),h("div",ID,[h("button",{class:Ee(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="light"}]),onClick:e[0]||(e[0]=a=>this.switchTheme("light"))},[LD,N(r,{t:"Light"})],2),h("button",{class:Ee(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="dark"}]),onClick:e[1]||(e[1]=a=>this.switchTheme("dark"))},[RD,N(r,{t:"Dark"})],2)])])}const FD=je(MD,[["render",ND]]),BD={name:"dashboardSettingsInputIPAddressAndPort",props:{},setup(){const t=Xe(),e=`input_${Es()}`;return{store:t,uuid:e}},data(){return{app_ip:"",app_port:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.app_ip=this.store.Configuration.Server.app_ip,this.app_port=this.store.Configuration.Server.app_port},methods:{async useValidation(){this.changed&&await ht("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message)})}}},VD={class:"invalid-feedback d-block mt-0"},HD={class:"row"},jD={class:"form-group mb-2 col-sm"},WD=["for"],zD=h("strong",null,[h("small",null,"Dashboard IP Address")],-1),KD=[zD],YD=["id"],UD=h("div",{class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block"},[h("small",null,[h("i",{class:"bi bi-exclamation-triangle-fill me-2"}),h("code",null,"0.0.0.0"),He(" means it can be access by anyone with your server IP Address.")])],-1),qD={class:"form-group col-sm"},GD=["for"],JD=h("strong",null,[h("small",null,"Dashboard Port")],-1),XD=[JD],QD=["id"],ZD=h("button",{class:"btn btn-success btn-sm fw-bold rounded-3"},[h("i",{class:"bi bi-floppy-fill me-2"}),He("Update Dashboard Settings & Restart ")],-1);function e2(t,e,n,s,i,o){return C(),F("div",null,[h("div",VD,xe(this.invalidFeedback),1),h("div",HD,[h("div",jD,[h("label",{for:"app_ip_"+this.uuid,class:"text-muted mb-1"},KD,8,WD),Le(h("input",{type:"text",class:"form-control mb-2",id:"app_ip_"+this.uuid,"onUpdate:modelValue":e[0]||(e[0]=r=>this.app_ip=r)},null,8,YD),[[We,this.app_ip]]),UD]),h("div",qD,[h("label",{for:"app_port_"+this.uuid,class:"text-muted mb-1"},XD,8,GD),Le(h("input",{type:"text",class:"form-control mb-2",id:"app_port_"+this.uuid,"onUpdate:modelValue":e[1]||(e[1]=r=>this.app_port=r)},null,8,QD),[[We,this.app_port]])])]),ZD])}const t2=je(BD,[["render",e2]]);function Ne(t){const e=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&e==="[object Date]"?new t.constructor(+t):typeof t=="number"||e==="[object Number]"||typeof t=="string"||e==="[object String]"?new Date(t):new Date(NaN)}function rt(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function is(t,e){const n=Ne(t);return isNaN(e)?rt(t,NaN):(e&&n.setDate(n.getDate()+e),n)}function ls(t,e){const n=Ne(t);if(isNaN(e))return rt(t,NaN);if(!e)return n;const s=n.getDate(),i=rt(t,n.getTime());i.setMonth(n.getMonth()+e+1,0);const o=i.getDate();return s>=o?i:(n.setFullYear(i.getFullYear(),i.getMonth(),s),n)}function py(t,e){const{years:n=0,months:s=0,weeks:i=0,days:o=0,hours:r=0,minutes:a=0,seconds:l=0}=e,c=Ne(t),u=s||n?ls(c,s+n*12):c,d=o||i?is(u,o+i*7):u,f=a+r*60,_=(l+f*60)*1e3;return rt(t,d.getTime()+_)}function n2(t,e){const n=+Ne(t);return rt(t,n+e)}const gy=6048e5,s2=864e5,i2=6e4,my=36e5,o2=1e3;function r2(t,e){return n2(t,e*my)}let a2={};function Do(){return a2}function us(t,e){const n=Do(),s=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=Ne(t),o=i.getDay(),r=(o=i.getTime()?n+1:e.getTime()>=r.getTime()?n:n-1}function nm(t){const e=Ne(t);return e.setHours(0,0,0,0),e}function hc(t){const e=Ne(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function by(t,e){const n=nm(t),s=nm(e),i=+n-hc(n),o=+s-hc(s);return Math.round((i-o)/s2)}function l2(t){const e=_y(t),n=rt(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),_r(n)}function c2(t,e){const n=e*3;return ls(t,n)}function sf(t,e){return ls(t,e*12)}function sm(t,e){const n=Ne(t),s=Ne(e),i=n.getTime()-s.getTime();return i<0?-1:i>0?1:i}function vy(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ma(t){if(!vy(t)&&typeof t!="number")return!1;const e=Ne(t);return!isNaN(Number(e))}function im(t){const e=Ne(t);return Math.trunc(e.getMonth()/3)+1}function u2(t,e){const n=Ne(t),s=Ne(e);return n.getFullYear()-s.getFullYear()}function d2(t,e){const n=Ne(t),s=Ne(e),i=sm(n,s),o=Math.abs(u2(n,s));n.setFullYear(1584),s.setFullYear(1584);const r=sm(n,s)===-i,a=i*(o-+r);return a===0?0:a}function yy(t,e){const n=Ne(t.start),s=Ne(t.end);let i=+n>+s;const o=i?+n:+s,r=i?s:n;r.setHours(0,0,0,0);let a=e?.step??1;if(!a)return[];a<0&&(a=-a,i=!i);const l=[];for(;+r<=o;)l.push(Ne(r)),r.setDate(r.getDate()+a),r.setHours(0,0,0,0);return i?l.reverse():l}function fo(t){const e=Ne(t),n=e.getMonth(),s=n-n%3;return e.setMonth(s,1),e.setHours(0,0,0,0),e}function h2(t,e){const n=Ne(t.start),s=Ne(t.end);let i=+n>+s;const o=i?+fo(n):+fo(s);let r=fo(i?s:n),a=e?.step??1;if(!a)return[];a<0&&(a=-a,i=!i);const l=[];for(;+r<=o;)l.push(Ne(r)),r=c2(r,a);return i?l.reverse():l}function f2(t){const e=Ne(t);return e.setDate(1),e.setHours(0,0,0,0),e}function wy(t){const e=Ne(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function Oa(t){const e=Ne(t),n=rt(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function xy(t,e){const n=Do(),s=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=Ne(t),o=i.getDay(),r=(o{let s;const i=p2[t];return typeof i=="string"?s=i:e===1?s=i.one:s=i.other.replace("{{count}}",e.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+s:s+" ago":s};function ju(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const m2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},_2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},b2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v2={date:ju({formats:m2,defaultWidth:"full"}),time:ju({formats:_2,defaultWidth:"full"}),dateTime:ju({formats:b2,defaultWidth:"full"})},y2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},w2=(t,e,n,s)=>y2[t];function Yr(t){return(e,n)=>{const s=n?.context?String(n.context):"standalone";let i;if(s==="formatting"&&t.formattingValues){const r=t.defaultFormattingWidth||t.defaultWidth,a=n?.width?String(n.width):r;i=t.formattingValues[a]||t.formattingValues[r]}else{const r=t.defaultWidth,a=n?.width?String(n.width):t.defaultWidth;i=t.values[a]||t.values[r]}const o=t.argumentCallback?t.argumentCallback(e):e;return i[o]}}const x2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},k2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},S2={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},$2={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},A2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},C2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},E2=(t,e)=>{const n=Number(t),s=n%100;if(s>20||s<10)switch(s%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},T2={ordinalNumber:E2,era:Yr({values:x2,defaultWidth:"wide"}),quarter:Yr({values:k2,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Yr({values:S2,defaultWidth:"wide"}),day:Yr({values:$2,defaultWidth:"wide"}),dayPeriod:Yr({values:A2,defaultWidth:"wide",formattingValues:C2,defaultFormattingWidth:"wide"})};function Ur(t){return(e,n={})=>{const s=n.width,i=s&&t.matchPatterns[s]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;const r=o[0],a=s&&t.parsePatterns[s]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?M2(a,d=>d.test(r)):P2(a,d=>d.test(r));let c;c=t.valueCallback?t.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=e.slice(r.length);return{value:c,rest:u}}}function P2(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function M2(t,e){for(let n=0;n{const s=e.match(t.matchPattern);if(!s)return null;const i=s[0],o=e.match(t.parsePattern);if(!o)return null;let r=t.valueCallback?t.valueCallback(o[0]):o[0];r=n.valueCallback?n.valueCallback(r):r;const a=e.slice(i.length);return{value:r,rest:a}}}const O2=/^(\d+)(th|st|nd|rd)?/i,I2=/\d+/i,L2={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},R2={any:[/^b/i,/^(a|c)/i]},N2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},F2={any:[/1/i,/2/i,/3/i,/4/i]},B2={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},V2={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},H2={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},j2={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},W2={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},z2={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},K2={ordinalNumber:D2({matchPattern:O2,parsePattern:I2,valueCallback:t=>parseInt(t,10)}),era:Ur({matchPatterns:L2,defaultMatchWidth:"wide",parsePatterns:R2,defaultParseWidth:"any"}),quarter:Ur({matchPatterns:N2,defaultMatchWidth:"wide",parsePatterns:F2,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Ur({matchPatterns:B2,defaultMatchWidth:"wide",parsePatterns:V2,defaultParseWidth:"any"}),day:Ur({matchPatterns:H2,defaultMatchWidth:"wide",parsePatterns:j2,defaultParseWidth:"any"}),dayPeriod:Ur({matchPatterns:W2,defaultMatchWidth:"any",parsePatterns:z2,defaultParseWidth:"any"})},ky={code:"en-US",formatDistance:g2,formatLong:v2,formatRelative:w2,localize:T2,match:K2,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Y2(t){const e=Ne(t);return by(e,Oa(e))+1}function of(t){const e=Ne(t),n=+_r(e)-+l2(e);return Math.round(n/gy)+1}function rf(t,e){const n=Ne(t),s=n.getFullYear(),i=Do(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,r=rt(t,0);r.setFullYear(s+1,0,o),r.setHours(0,0,0,0);const a=us(r,e),l=rt(t,0);l.setFullYear(s,0,o),l.setHours(0,0,0,0);const c=us(l,e);return n.getTime()>=a.getTime()?s+1:n.getTime()>=c.getTime()?s:s-1}function U2(t,e){const n=Do(),s=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=rf(t,e),o=rt(t,0);return o.setFullYear(i,0,s),o.setHours(0,0,0,0),us(o,e)}function af(t,e){const n=Ne(t),s=+us(n,e)-+U2(n,e);return Math.round(s/gy)+1}function lt(t,e){const n=t<0?"-":"",s=Math.abs(t).toString().padStart(e,"0");return n+s}const li={y(t,e){const n=t.getFullYear(),s=n>0?n:1-n;return lt(e==="yy"?s%100:s,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):lt(n+1,2)},d(t,e){return lt(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return lt(t.getHours()%12||12,e.length)},H(t,e){return lt(t.getHours(),e.length)},m(t,e){return lt(t.getMinutes(),e.length)},s(t,e){return lt(t.getSeconds(),e.length)},S(t,e){const n=e.length,s=t.getMilliseconds(),i=Math.trunc(s*Math.pow(10,n-3));return lt(i,e.length)}},Ko={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},rm={G:function(t,e,n){const s=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(s,{width:"abbreviated"});case"GGGGG":return n.era(s,{width:"narrow"});case"GGGG":default:return n.era(s,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const s=t.getFullYear(),i=s>0?s:1-s;return n.ordinalNumber(i,{unit:"year"})}return li.y(t,e)},Y:function(t,e,n,s){const i=rf(t,s),o=i>0?i:1-i;if(e==="YY"){const r=o%100;return lt(r,2)}return e==="Yo"?n.ordinalNumber(o,{unit:"year"}):lt(o,e.length)},R:function(t,e){const n=_y(t);return lt(n,e.length)},u:function(t,e){const n=t.getFullYear();return lt(n,e.length)},Q:function(t,e,n){const s=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(s);case"QQ":return lt(s,2);case"Qo":return n.ordinalNumber(s,{unit:"quarter"});case"QQQ":return n.quarter(s,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(s,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(s,{width:"wide",context:"formatting"})}},q:function(t,e,n){const s=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(s);case"qq":return lt(s,2);case"qo":return n.ordinalNumber(s,{unit:"quarter"});case"qqq":return n.quarter(s,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(s,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(s,{width:"wide",context:"standalone"})}},M:function(t,e,n){const s=t.getMonth();switch(e){case"M":case"MM":return li.M(t,e);case"Mo":return n.ordinalNumber(s+1,{unit:"month"});case"MMM":return n.month(s,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(s,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(s,{width:"wide",context:"formatting"})}},L:function(t,e,n){const s=t.getMonth();switch(e){case"L":return String(s+1);case"LL":return lt(s+1,2);case"Lo":return n.ordinalNumber(s+1,{unit:"month"});case"LLL":return n.month(s,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(s,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(s,{width:"wide",context:"standalone"})}},w:function(t,e,n,s){const i=af(t,s);return e==="wo"?n.ordinalNumber(i,{unit:"week"}):lt(i,e.length)},I:function(t,e,n){const s=of(t);return e==="Io"?n.ordinalNumber(s,{unit:"week"}):lt(s,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):li.d(t,e)},D:function(t,e,n){const s=Y2(t);return e==="Do"?n.ordinalNumber(s,{unit:"dayOfYear"}):lt(s,e.length)},E:function(t,e,n){const s=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(s,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(s,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(s,{width:"short",context:"formatting"});case"EEEE":default:return n.day(s,{width:"wide",context:"formatting"})}},e:function(t,e,n,s){const i=t.getDay(),o=(i-s.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return lt(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,n,s){const i=t.getDay(),o=(i-s.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return lt(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,n){const s=t.getDay(),i=s===0?7:s;switch(e){case"i":return String(i);case"ii":return lt(i,e.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(s,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(s,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(s,{width:"short",context:"formatting"});case"iiii":default:return n.day(s,{width:"wide",context:"formatting"})}},a:function(t,e,n){const i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,n){const s=t.getHours();let i;switch(s===12?i=Ko.noon:s===0?i=Ko.midnight:i=s/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,n){const s=t.getHours();let i;switch(s>=17?i=Ko.evening:s>=12?i=Ko.afternoon:s>=4?i=Ko.morning:i=Ko.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let s=t.getHours()%12;return s===0&&(s=12),n.ordinalNumber(s,{unit:"hour"})}return li.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):li.H(t,e)},K:function(t,e,n){const s=t.getHours()%12;return e==="Ko"?n.ordinalNumber(s,{unit:"hour"}):lt(s,e.length)},k:function(t,e,n){let s=t.getHours();return s===0&&(s=24),e==="ko"?n.ordinalNumber(s,{unit:"hour"}):lt(s,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):li.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):li.s(t,e)},S:function(t,e){return li.S(t,e)},X:function(t,e,n){const s=t.getTimezoneOffset();if(s===0)return"Z";switch(e){case"X":return lm(s);case"XXXX":case"XX":return ro(s);case"XXXXX":case"XXX":default:return ro(s,":")}},x:function(t,e,n){const s=t.getTimezoneOffset();switch(e){case"x":return lm(s);case"xxxx":case"xx":return ro(s);case"xxxxx":case"xxx":default:return ro(s,":")}},O:function(t,e,n){const s=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+am(s,":");case"OOOO":default:return"GMT"+ro(s,":")}},z:function(t,e,n){const s=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+am(s,":");case"zzzz":default:return"GMT"+ro(s,":")}},t:function(t,e,n){const s=Math.trunc(t.getTime()/1e3);return lt(s,e.length)},T:function(t,e,n){const s=t.getTime();return lt(s,e.length)}};function am(t,e=""){const n=t>0?"-":"+",s=Math.abs(t),i=Math.trunc(s/60),o=s%60;return o===0?n+String(i):n+String(i)+e+lt(o,2)}function lm(t,e){return t%60===0?(t>0?"-":"+")+lt(Math.abs(t)/60,2):ro(t,e)}function ro(t,e=""){const n=t>0?"-":"+",s=Math.abs(t),i=lt(Math.trunc(s/60),2),o=lt(s%60,2);return n+i+e+o}const cm=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},Sy=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},q2=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],s=n[1],i=n[2];if(!i)return cm(t,e);let o;switch(s){case"P":o=e.dateTime({width:"short"});break;case"PP":o=e.dateTime({width:"medium"});break;case"PPP":o=e.dateTime({width:"long"});break;case"PPPP":default:o=e.dateTime({width:"full"});break}return o.replace("{{date}}",cm(s,e)).replace("{{time}}",Sy(i,e))},Hd={p:Sy,P:q2},G2=/^D+$/,J2=/^Y+$/,X2=["D","DD","YY","YYYY"];function $y(t){return G2.test(t)}function Ay(t){return J2.test(t)}function jd(t,e,n){const s=Q2(t,e,n);if(console.warn(s),X2.includes(t))throw new RangeError(s)}function Q2(t,e,n){const s=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${s} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Z2=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,eO=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,tO=/^'([^]*?)'?$/,nO=/''/g,sO=/[a-zA-Z]/;function Ss(t,e,n){const s=Do(),i=n?.locale??s.locale??ky,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,r=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0,a=Ne(t);if(!ma(a))throw new RangeError("Invalid time value");let l=e.match(eO).map(u=>{const d=u[0];if(d==="p"||d==="P"){const f=Hd[d];return f(u,i.formatLong)}return u}).join("").match(Z2).map(u=>{if(u==="''")return{isToken:!1,value:"'"};const d=u[0];if(d==="'")return{isToken:!1,value:iO(u)};if(rm[d])return{isToken:!0,value:u};if(d.match(sO))throw new RangeError("Format string contains an unescaped latin alphabet character `"+d+"`");return{isToken:!1,value:u}});i.localize.preprocessor&&(l=i.localize.preprocessor(a,l));const c={firstWeekContainsDate:o,weekStartsOn:r,locale:i};return l.map(u=>{if(!u.isToken)return u.value;const d=u.value;(!n?.useAdditionalWeekYearTokens&&Ay(d)||!n?.useAdditionalDayOfYearTokens&&$y(d))&&jd(d,e,String(t));const f=rm[d[0]];return f(a,d,i.localize,c)}).join("")}function iO(t){const e=t.match(tO);return e?e[1].replace(nO,"'"):t}function oO(t){return Ne(t).getDay()}function rO(t){const e=Ne(t),n=e.getFullYear(),s=e.getMonth(),i=rt(t,0);return i.setFullYear(n,s+1,0),i.setHours(0,0,0,0),i.getDate()}function aO(){return Object.assign({},Do())}function Qs(t){return Ne(t).getHours()}function lO(t){let n=Ne(t).getDay();return n===0&&(n=7),n}function Mi(t){return Ne(t).getMinutes()}function Ze(t){return Ne(t).getMonth()}function br(t){return Ne(t).getSeconds()}function ze(t){return Ne(t).getFullYear()}function vr(t,e){const n=Ne(t),s=Ne(e);return n.getTime()>s.getTime()}function Ia(t,e){const n=Ne(t),s=Ne(e);return+n<+s}function Zo(t,e){const n=Ne(t),s=Ne(e);return+n==+s}function cO(t,e){const n=e instanceof Date?rt(e,0):new e(0);return n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),n}const uO=10;class Cy{subPriority=0;validate(e,n){return!0}}class dO extends Cy{constructor(e,n,s,i,o){super(),this.value=e,this.validateValue=n,this.setValue=s,this.priority=i,o&&(this.subPriority=o)}validate(e,n){return this.validateValue(e,this.value,n)}set(e,n,s){return this.setValue(e,n,this.value,s)}}class hO extends Cy{priority=uO;subPriority=-1;set(e,n){return n.timestampIsSet?e:rt(e,cO(e,Date))}}class at{run(e,n,s,i){const o=this.parse(e,n,s,i);return o?{setter:new dO(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(e,n,s){return!0}}class fO extends at{priority=140;parse(e,n,s){switch(n){case"G":case"GG":case"GGG":return s.era(e,{width:"abbreviated"})||s.era(e,{width:"narrow"});case"GGGGG":return s.era(e,{width:"narrow"});case"GGGG":default:return s.era(e,{width:"wide"})||s.era(e,{width:"abbreviated"})||s.era(e,{width:"narrow"})}}set(e,n,s){return n.era=s,e.setFullYear(s,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]}const Lt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},vs={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Rt(t,e){return t&&{value:e(t.value),rest:t.rest}}function $t(t,e){const n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function ys(t,e){const n=e.match(t);if(!n)return null;if(n[0]==="Z")return{value:0,rest:e.slice(1)};const s=n[1]==="+"?1:-1,i=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,r=n[5]?parseInt(n[5],10):0;return{value:s*(i*my+o*i2+r*o2),rest:e.slice(n[0].length)}}function Ey(t){return $t(Lt.anyDigitsSigned,t)}function Dt(t,e){switch(t){case 1:return $t(Lt.singleDigit,e);case 2:return $t(Lt.twoDigits,e);case 3:return $t(Lt.threeDigits,e);case 4:return $t(Lt.fourDigits,e);default:return $t(new RegExp("^\\d{1,"+t+"}"),e)}}function fc(t,e){switch(t){case 1:return $t(Lt.singleDigitSigned,e);case 2:return $t(Lt.twoDigitsSigned,e);case 3:return $t(Lt.threeDigitsSigned,e);case 4:return $t(Lt.fourDigitsSigned,e);default:return $t(new RegExp("^-?\\d{1,"+t+"}"),e)}}function lf(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Ty(t,e){const n=e>0,s=n?e:1-e;let i;if(s<=50)i=t||100;else{const o=s+50,r=Math.trunc(o/100)*100,a=t>=o%100;i=t+r-(a?100:0)}return n?i:1-i}function Py(t){return t%400===0||t%4===0&&t%100!==0}class pO extends at{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,n,s){const i=o=>({year:o,isTwoDigitYear:n==="yy"});switch(n){case"y":return Rt(Dt(4,e),i);case"yo":return Rt(s.ordinalNumber(e,{unit:"year"}),i);default:return Rt(Dt(n.length,e),i)}}validate(e,n){return n.isTwoDigitYear||n.year>0}set(e,n,s){const i=e.getFullYear();if(s.isTwoDigitYear){const r=Ty(s.year,i);return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}const o=!("era"in n)||n.era===1?s.year:1-s.year;return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}}class gO extends at{priority=130;parse(e,n,s){const i=o=>({year:o,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Rt(Dt(4,e),i);case"Yo":return Rt(s.ordinalNumber(e,{unit:"year"}),i);default:return Rt(Dt(n.length,e),i)}}validate(e,n){return n.isTwoDigitYear||n.year>0}set(e,n,s,i){const o=rf(e,i);if(s.isTwoDigitYear){const a=Ty(s.year,o);return e.setFullYear(a,0,i.firstWeekContainsDate),e.setHours(0,0,0,0),us(e,i)}const r=!("era"in n)||n.era===1?s.year:1-s.year;return e.setFullYear(r,0,i.firstWeekContainsDate),e.setHours(0,0,0,0),us(e,i)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class mO extends at{priority=130;parse(e,n){return fc(n==="R"?4:n.length,e)}set(e,n,s){const i=rt(e,0);return i.setFullYear(s,0,4),i.setHours(0,0,0,0),_r(i)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class _O extends at{priority=130;parse(e,n){return fc(n==="u"?4:n.length,e)}set(e,n,s){return e.setFullYear(s,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class bO extends at{priority=120;parse(e,n,s){switch(n){case"Q":case"QQ":return Dt(n.length,e);case"Qo":return s.ordinalNumber(e,{unit:"quarter"});case"QQQ":return s.quarter(e,{width:"abbreviated",context:"formatting"})||s.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return s.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return s.quarter(e,{width:"wide",context:"formatting"})||s.quarter(e,{width:"abbreviated",context:"formatting"})||s.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=1&&n<=4}set(e,n,s){return e.setMonth((s-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class vO extends at{priority=120;parse(e,n,s){switch(n){case"q":case"qq":return Dt(n.length,e);case"qo":return s.ordinalNumber(e,{unit:"quarter"});case"qqq":return s.quarter(e,{width:"abbreviated",context:"standalone"})||s.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return s.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return s.quarter(e,{width:"wide",context:"standalone"})||s.quarter(e,{width:"abbreviated",context:"standalone"})||s.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,n){return n>=1&&n<=4}set(e,n,s){return e.setMonth((s-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class yO extends at{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,n,s){const i=o=>o-1;switch(n){case"M":return Rt($t(Lt.month,e),i);case"MM":return Rt(Dt(2,e),i);case"Mo":return Rt(s.ordinalNumber(e,{unit:"month"}),i);case"MMM":return s.month(e,{width:"abbreviated",context:"formatting"})||s.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return s.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return s.month(e,{width:"wide",context:"formatting"})||s.month(e,{width:"abbreviated",context:"formatting"})||s.month(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=0&&n<=11}set(e,n,s){return e.setMonth(s,1),e.setHours(0,0,0,0),e}}class wO extends at{priority=110;parse(e,n,s){const i=o=>o-1;switch(n){case"L":return Rt($t(Lt.month,e),i);case"LL":return Rt(Dt(2,e),i);case"Lo":return Rt(s.ordinalNumber(e,{unit:"month"}),i);case"LLL":return s.month(e,{width:"abbreviated",context:"standalone"})||s.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return s.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return s.month(e,{width:"wide",context:"standalone"})||s.month(e,{width:"abbreviated",context:"standalone"})||s.month(e,{width:"narrow",context:"standalone"})}}validate(e,n){return n>=0&&n<=11}set(e,n,s){return e.setMonth(s,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function xO(t,e,n){const s=Ne(t),i=af(s,n)-e;return s.setDate(s.getDate()-i*7),s}class kO extends at{priority=100;parse(e,n,s){switch(n){case"w":return $t(Lt.week,e);case"wo":return s.ordinalNumber(e,{unit:"week"});default:return Dt(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,s,i){return us(xO(e,s,i),i)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function SO(t,e){const n=Ne(t),s=of(n)-e;return n.setDate(n.getDate()-s*7),n}class $O extends at{priority=100;parse(e,n,s){switch(n){case"I":return $t(Lt.week,e);case"Io":return s.ordinalNumber(e,{unit:"week"});default:return Dt(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,s){return _r(SO(e,s))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const AO=[31,28,31,30,31,30,31,31,30,31,30,31],CO=[31,29,31,30,31,30,31,31,30,31,30,31];class EO extends at{priority=90;subPriority=1;parse(e,n,s){switch(n){case"d":return $t(Lt.date,e);case"do":return s.ordinalNumber(e,{unit:"date"});default:return Dt(n.length,e)}}validate(e,n){const s=e.getFullYear(),i=Py(s),o=e.getMonth();return i?n>=1&&n<=CO[o]:n>=1&&n<=AO[o]}set(e,n,s){return e.setDate(s),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class TO extends at{priority=90;subpriority=1;parse(e,n,s){switch(n){case"D":case"DD":return $t(Lt.dayOfYear,e);case"Do":return s.ordinalNumber(e,{unit:"date"});default:return Dt(n.length,e)}}validate(e,n){const s=e.getFullYear();return Py(s)?n>=1&&n<=366:n>=1&&n<=365}set(e,n,s){return e.setMonth(0,s),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function cf(t,e,n){const s=Do(),i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0,o=Ne(t),r=o.getDay(),l=(e%7+7)%7,c=7-i,u=e<0||e>6?e-(r+c)%7:(l+c)%7-(r+c)%7;return is(o,u)}class PO extends at{priority=90;parse(e,n,s){switch(n){case"E":case"EE":case"EEE":return s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return s.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return s.day(e,{width:"wide",context:"formatting"})||s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=0&&n<=6}set(e,n,s,i){return e=cf(e,s,i),e.setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]}class MO extends at{priority=90;parse(e,n,s,i){const o=r=>{const a=Math.floor((r-1)/7)*7;return(r+i.weekStartsOn+6)%7+a};switch(n){case"e":case"ee":return Rt(Dt(n.length,e),o);case"eo":return Rt(s.ordinalNumber(e,{unit:"day"}),o);case"eee":return s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"});case"eeeee":return s.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return s.day(e,{width:"wide",context:"formatting"})||s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=0&&n<=6}set(e,n,s,i){return e=cf(e,s,i),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class DO extends at{priority=90;parse(e,n,s,i){const o=r=>{const a=Math.floor((r-1)/7)*7;return(r+i.weekStartsOn+6)%7+a};switch(n){case"c":case"cc":return Rt(Dt(n.length,e),o);case"co":return Rt(s.ordinalNumber(e,{unit:"day"}),o);case"ccc":return s.day(e,{width:"abbreviated",context:"standalone"})||s.day(e,{width:"short",context:"standalone"})||s.day(e,{width:"narrow",context:"standalone"});case"ccccc":return s.day(e,{width:"narrow",context:"standalone"});case"cccccc":return s.day(e,{width:"short",context:"standalone"})||s.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return s.day(e,{width:"wide",context:"standalone"})||s.day(e,{width:"abbreviated",context:"standalone"})||s.day(e,{width:"short",context:"standalone"})||s.day(e,{width:"narrow",context:"standalone"})}}validate(e,n){return n>=0&&n<=6}set(e,n,s,i){return e=cf(e,s,i),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function OO(t,e){const n=Ne(t),s=lO(n),i=e-s;return is(n,i)}class IO extends at{priority=90;parse(e,n,s){const i=o=>o===0?7:o;switch(n){case"i":case"ii":return Dt(n.length,e);case"io":return s.ordinalNumber(e,{unit:"day"});case"iii":return Rt(s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"}),i);case"iiiii":return Rt(s.day(e,{width:"narrow",context:"formatting"}),i);case"iiiiii":return Rt(s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"}),i);case"iiii":default:return Rt(s.day(e,{width:"wide",context:"formatting"})||s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"}),i)}}validate(e,n){return n>=1&&n<=7}set(e,n,s){return e=OO(e,s),e.setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class LO extends at{priority=80;parse(e,n,s){switch(n){case"a":case"aa":case"aaa":return s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return s.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return s.dayPeriod(e,{width:"wide",context:"formatting"})||s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,n,s){return e.setHours(lf(s),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]}class RO extends at{priority=80;parse(e,n,s){switch(n){case"b":case"bb":case"bbb":return s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return s.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return s.dayPeriod(e,{width:"wide",context:"formatting"})||s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,n,s){return e.setHours(lf(s),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]}class NO extends at{priority=80;parse(e,n,s){switch(n){case"B":case"BB":case"BBB":return s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return s.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return s.dayPeriod(e,{width:"wide",context:"formatting"})||s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,n,s){return e.setHours(lf(s),0,0,0),e}incompatibleTokens=["a","b","t","T"]}class FO extends at{priority=70;parse(e,n,s){switch(n){case"h":return $t(Lt.hour12h,e);case"ho":return s.ordinalNumber(e,{unit:"hour"});default:return Dt(n.length,e)}}validate(e,n){return n>=1&&n<=12}set(e,n,s){const i=e.getHours()>=12;return i&&s<12?e.setHours(s+12,0,0,0):!i&&s===12?e.setHours(0,0,0,0):e.setHours(s,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}class BO extends at{priority=70;parse(e,n,s){switch(n){case"H":return $t(Lt.hour23h,e);case"Ho":return s.ordinalNumber(e,{unit:"hour"});default:return Dt(n.length,e)}}validate(e,n){return n>=0&&n<=23}set(e,n,s){return e.setHours(s,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]}class VO extends at{priority=70;parse(e,n,s){switch(n){case"K":return $t(Lt.hour11h,e);case"Ko":return s.ordinalNumber(e,{unit:"hour"});default:return Dt(n.length,e)}}validate(e,n){return n>=0&&n<=11}set(e,n,s){return e.getHours()>=12&&s<12?e.setHours(s+12,0,0,0):e.setHours(s,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]}class HO extends at{priority=70;parse(e,n,s){switch(n){case"k":return $t(Lt.hour24h,e);case"ko":return s.ordinalNumber(e,{unit:"hour"});default:return Dt(n.length,e)}}validate(e,n){return n>=1&&n<=24}set(e,n,s){const i=s<=24?s%24:s;return e.setHours(i,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]}class jO extends at{priority=60;parse(e,n,s){switch(n){case"m":return $t(Lt.minute,e);case"mo":return s.ordinalNumber(e,{unit:"minute"});default:return Dt(n.length,e)}}validate(e,n){return n>=0&&n<=59}set(e,n,s){return e.setMinutes(s,0,0),e}incompatibleTokens=["t","T"]}class WO extends at{priority=50;parse(e,n,s){switch(n){case"s":return $t(Lt.second,e);case"so":return s.ordinalNumber(e,{unit:"second"});default:return Dt(n.length,e)}}validate(e,n){return n>=0&&n<=59}set(e,n,s){return e.setSeconds(s,0),e}incompatibleTokens=["t","T"]}class zO extends at{priority=30;parse(e,n){const s=i=>Math.trunc(i*Math.pow(10,-n.length+3));return Rt(Dt(n.length,e),s)}set(e,n,s){return e.setMilliseconds(s),e}incompatibleTokens=["t","T"]}class KO extends at{priority=10;parse(e,n){switch(n){case"X":return ys(vs.basicOptionalMinutes,e);case"XX":return ys(vs.basic,e);case"XXXX":return ys(vs.basicOptionalSeconds,e);case"XXXXX":return ys(vs.extendedOptionalSeconds,e);case"XXX":default:return ys(vs.extended,e)}}set(e,n,s){return n.timestampIsSet?e:rt(e,e.getTime()-hc(e)-s)}incompatibleTokens=["t","T","x"]}class YO extends at{priority=10;parse(e,n){switch(n){case"x":return ys(vs.basicOptionalMinutes,e);case"xx":return ys(vs.basic,e);case"xxxx":return ys(vs.basicOptionalSeconds,e);case"xxxxx":return ys(vs.extendedOptionalSeconds,e);case"xxx":default:return ys(vs.extended,e)}}set(e,n,s){return n.timestampIsSet?e:rt(e,e.getTime()-hc(e)-s)}incompatibleTokens=["t","T","X"]}class UO extends at{priority=40;parse(e){return Ey(e)}set(e,n,s){return[rt(e,s*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class qO extends at{priority=20;parse(e){return Ey(e)}set(e,n,s){return[rt(e,s),{timestampIsSet:!0}]}incompatibleTokens="*"}const GO={G:new fO,y:new pO,Y:new gO,R:new mO,u:new _O,Q:new bO,q:new vO,M:new yO,L:new wO,w:new kO,I:new $O,d:new EO,D:new TO,E:new PO,e:new MO,c:new DO,i:new IO,a:new LO,b:new RO,B:new NO,h:new FO,H:new BO,K:new VO,k:new HO,m:new jO,s:new WO,S:new zO,X:new KO,x:new YO,t:new UO,T:new qO},JO=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,XO=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,QO=/^'([^]*?)'?$/,ZO=/''/g,eI=/\S/,tI=/[a-zA-Z]/;function Wd(t,e,n,s){const i=aO(),o=s?.locale??i.locale??ky,r=s?.firstWeekContainsDate??s?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,a=s?.weekStartsOn??s?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0;if(e==="")return t===""?Ne(n):rt(n,NaN);const l={firstWeekContainsDate:r,weekStartsOn:a,locale:o},c=[new hO],u=e.match(XO).map(m=>{const y=m[0];if(y in Hd){const v=Hd[y];return v(m,o.formatLong)}return m}).join("").match(JO),d=[];for(let m of u){!s?.useAdditionalWeekYearTokens&&Ay(m)&&jd(m,e,t),!s?.useAdditionalDayOfYearTokens&&$y(m)&&jd(m,e,t);const y=m[0],v=GO[y];if(v){const{incompatibleTokens:$}=v;if(Array.isArray($)){const D=d.find(x=>$.includes(x.token)||x.token===y);if(D)throw new RangeError(`The format string mustn't contain \`${D.fullToken}\` and \`${m}\` at the same time`)}else if(v.incompatibleTokens==="*"&&d.length>0)throw new RangeError(`The format string mustn't contain \`${m}\` and any other token at the same time`);d.push({token:y,fullToken:m});const A=v.run(t,m,o.match,l);if(!A)return rt(n,NaN);c.push(A.setter),t=A.rest}else{if(y.match(tI))throw new RangeError("Format string contains an unescaped latin alphabet character `"+y+"`");if(m==="''"?m="'":y==="'"&&(m=nI(m)),t.indexOf(m)===0)t=t.slice(m.length);else return rt(n,NaN)}}if(t.length>0&&eI.test(t))return rt(n,NaN);const f=c.map(m=>m.priority).sort((m,y)=>y-m).filter((m,y,v)=>v.indexOf(m)===y).map(m=>c.filter(y=>y.priority===m).sort((y,v)=>v.subPriority-y.subPriority)).map(m=>m[0]);let g=Ne(n);if(isNaN(g.getTime()))return rt(n,NaN);const _={};for(const m of f){if(!m.validate(g,l))return rt(n,NaN);const y=m.set(g,_,l);Array.isArray(y)?(g=y[0],Object.assign(_,y[1])):g=y}return rt(n,g)}function nI(t){return t.match(QO)[1].replace(ZO,"'")}function um(t,e){const n=fo(t),s=fo(e);return+n==+s}function sI(t,e){return is(t,-e)}function My(t,e){const n=Ne(t),s=n.getFullYear(),i=n.getDate(),o=rt(t,0);o.setFullYear(s,e,15),o.setHours(0,0,0,0);const r=rO(o);return n.setMonth(e,Math.min(i,r)),n}function pt(t,e){let n=Ne(t);return isNaN(+n)?rt(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=My(n,e.month)),e.date!=null&&n.setDate(e.date),e.hours!=null&&n.setHours(e.hours),e.minutes!=null&&n.setMinutes(e.minutes),e.seconds!=null&&n.setSeconds(e.seconds),e.milliseconds!=null&&n.setMilliseconds(e.milliseconds),n)}function iI(t,e){const n=Ne(t);return n.setHours(e),n}function Dy(t,e){const n=Ne(t);return n.setMilliseconds(e),n}function oI(t,e){const n=Ne(t);return n.setMinutes(e),n}function Oy(t,e){const n=Ne(t);return n.setSeconds(e),n}function ws(t,e){const n=Ne(t);return isNaN(+n)?rt(t,NaN):(n.setFullYear(e),n)}function yr(t,e){return ls(t,-e)}function rI(t,e){const{years:n=0,months:s=0,weeks:i=0,days:o=0,hours:r=0,minutes:a=0,seconds:l=0}=e,c=yr(t,s+n*12),u=sI(c,o+i*7),d=a+r*60,g=(l+d*60)*1e3;return rt(t,u.getTime()-g)}function Iy(t,e){return sf(t,-e)}function Ir(){const t=iA();return C(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...t},[h("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),h("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),h("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),h("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}Ir.compatConfig={MODE:3};function Ly(){return C(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),h("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Ly.compatConfig={MODE:3};function uf(){return C(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}uf.compatConfig={MODE:3};function df(){return C(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}df.compatConfig={MODE:3};function hf(){return C(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),h("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}hf.compatConfig={MODE:3};function ff(){return C(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}ff.compatConfig={MODE:3};function pf(){return C(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}pf.compatConfig={MODE:3};const En=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),gf=(t,e,n)=>zd(t,e,n)||ye(),aI=(t,e,n)=>{const s=e.dateInTz?En(new Date(t),e.dateInTz):ye(t);return n?wn(s,!0):s},zd=(t,e,n)=>{if(!t)return null;const s=n?wn(ye(t),!0):ye(t);return e?e.exactMatch?aI(t,e,n):En(s,e.timezone):s},lI=t=>{if(!t)return 0;const e=new Date,n=new Date(e.toLocaleString("en-US",{timeZone:"UTC"})),s=new Date(e.toLocaleString("en-US",{timeZone:t})),i=s.getTimezoneOffset()/60;return(+n-+s)/(1e3*60*60)-i};var ts=(t=>(t.month="month",t.year="year",t))(ts||{}),ao=(t=>(t.top="top",t.bottom="bottom",t))(ao||{}),bo=(t=>(t.header="header",t.calendar="calendar",t.timePicker="timePicker",t))(bo||{}),cn=(t=>(t.month="month",t.year="year",t.calendar="calendar",t.time="time",t.minutes="minutes",t.hours="hours",t.seconds="seconds",t))(cn||{});const cI=["timestamp","date","iso"];var gn=(t=>(t.up="up",t.down="down",t.left="left",t.right="right",t))(gn||{}),bt=(t=>(t.arrowUp="ArrowUp",t.arrowDown="ArrowDown",t.arrowLeft="ArrowLeft",t.arrowRight="ArrowRight",t.enter="Enter",t.space=" ",t.esc="Escape",t.tab="Tab",t.home="Home",t.end="End",t.pageUp="PageUp",t.pageDown="PageDown",t))(bt||{});function dm(t){return e=>new Intl.DateTimeFormat(t,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${e}T00:00:00+00:00`)).slice(0,2)}function uI(t){return e=>Ss(En(new Date(`2017-01-0${e}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:t})}const dI=(t,e,n)=>{const s=[1,2,3,4,5,6,7];let i;if(t!==null)try{i=s.map(uI(t))}catch{i=s.map(dm(e))}else i=s.map(dm(e));const o=i.slice(0,n),r=i.slice(n+1,i.length);return[i[n]].concat(...r).concat(...o)},mf=(t,e,n)=>{const s=[];for(let i=+t[0];i<=+t[1];i++)s.push({value:+i,text:By(i,e)});return n?s.reverse():s},Ry=(t,e,n)=>{const s=[1,2,3,4,5,6,7,8,9,10,11,12].map(o=>{const r=o<10?`0${o}`:o;return new Date(`2017-${r}-01T00:00:00+00:00`)});if(t!==null)try{const o=n==="long"?"LLLL":"LLL";return s.map((r,a)=>{const l=Ss(En(r,"UTC"),o,{locale:t});return{text:l.charAt(0).toUpperCase()+l.substring(1),value:a}})}catch{}const i=new Intl.DateTimeFormat(e,{month:n,timeZone:"UTC"});return s.map((o,r)=>{const a=i.format(o);return{text:a.charAt(0).toUpperCase()+a.substring(1),value:r}})},hI=t=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][t],Wt=t=>{const e=G(t);return e!=null&&e.$el?e?.$el:e},fI=t=>({type:"dot",...t??{}}),Ny=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,_f={prop:t=>`"${t}" prop must be enabled!`,dateArr:t=>`You need to use array as "model-value" binding in order to support "${t}"`},Qt=t=>t,hm=t=>t===0?t:!t||isNaN(+t)?null:+t,fm=t=>t===null,Fy=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},pI=t=>{const e=[],n=s=>s.filter(i=>i);for(let s=0;s{const s=n!=null,i=e!=null;if(!s&&!i)return!1;const o=+n,r=+e;return s&&i?+t>o||+to:i?+tpI(t).map(n=>n.map(s=>{const{active:i,disabled:o,isBetween:r,highlighted:a}=e(s);return{...s,active:i,disabled:o,className:{dp__overlay_cell_active:i,dp__overlay_cell:!i,dp__overlay_cell_disabled:o,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:o&&i,dp__cell_in_between:r,"dp--highlighted":a}}})),$i=(t,e,n=!1)=>{t&&e.allowStopPropagation&&(n&&t.stopImmediatePropagation(),t.stopPropagation())},gI=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function mI(t,e){let n=[...document.querySelectorAll(gI())];n=n.filter(i=>!t.contains(i)||i.hasAttribute("data-datepicker-instance"));const s=n.indexOf(t);if(s>=0&&(e?s-1>=0:s+1<=n.length))return n[s+(e?-1:1)]}const Kd=(t,e)=>t?.querySelector(`[data-dp-element="${e}"]`),By=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),bf=t=>Ss(t,"dd-MM-yyyy"),Wu=t=>Array.isArray(t),pc=(t,e)=>e.get(bf(t)),_I=(t,e)=>t?e?e instanceof Map?!!pc(t,e):e(ye(t)):!1:!0,bn=(t,e,n=!1,s)=>{if(t.key===bt.enter||t.key===bt.space)return n&&t.preventDefault(),e();if(s)return s(t)},bI=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(t=>navigator.userAgent.includes(t))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,pm=(t,e,n,s,i,o)=>{const r=Wd(t,e.slice(0,t.length),new Date,{locale:o});return ma(r)&&vy(r)?s||i?r:pt(r,{hours:+n.hours,minutes:+n?.minutes,seconds:+n?.seconds,milliseconds:0}):null},vI=(t,e,n,s,i,o)=>{const r=Array.isArray(n)?n[0]:n;if(typeof e=="string")return pm(t,e,r,s,i,o);if(Array.isArray(e)){let a=null;for(const l of e)if(a=pm(t,l,r,s,i,o),a)break;return a}return typeof e=="function"?e(t):null},ye=t=>t?new Date(t):new Date,yI=(t,e,n)=>{if(e){const i=(t.getMonth()+1).toString().padStart(2,"0"),o=t.getDate().toString().padStart(2,"0"),r=t.getHours().toString().padStart(2,"0"),a=t.getMinutes().toString().padStart(2,"0"),l=n?t.getSeconds().toString().padStart(2,"0"):"00";return`${t.getFullYear()}-${i}-${o}T${r}:${a}:${l}.000Z`}const s=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return new Date(s).toISOString()},wn=(t,e)=>{const n=ye(JSON.parse(JSON.stringify(t))),s=pt(n,{hours:0,minutes:0,seconds:0,milliseconds:0});return e?f2(s):s},Ai=(t,e,n,s)=>{let i=t?ye(t):ye();return(e||e===0)&&(i=iI(i,+e)),(n||n===0)&&(i=oI(i,+n)),(s||s===0)&&(i=Oy(i,+s)),Dy(i,0)},Ct=(t,e)=>!t||!e?!1:Ia(wn(t),wn(e)),nt=(t,e)=>!t||!e?!1:Zo(wn(t),wn(e)),It=(t,e)=>!t||!e?!1:vr(wn(t),wn(e)),Uc=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?It(n,t[0])&&Ct(n,t[1]):t!=null&&t[0]&&e?It(n,t[0])&&Ct(n,e)||Ct(n,t[0])&&It(n,e):!1,os=t=>{const e=pt(new Date(t),{date:1});return wn(e)},zu=(t,e,n)=>e&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(s=>s===e?[s,n]:[s,isNaN(+t[s])?void 0:+t[s]])):{hours:isNaN(+t.hours)?void 0:+t.hours,minutes:isNaN(+t.minutes)?void 0:+t.minutes,seconds:isNaN(+t.seconds)?void 0:+t.seconds},vo=t=>({hours:Qs(t),minutes:Mi(t),seconds:br(t)}),Vy=(t,e)=>{if(e){const n=ze(ye(e));if(n>t)return 12;if(n===t)return Ze(ye(e))}},Hy=(t,e)=>{if(e){const n=ze(ye(e));return n{if(t)return ze(ye(t))},jy=(t,e)=>{const n=It(t,e)?e:t,s=It(e,t)?e:t;return yy({start:n,end:s})},wI=t=>{const e=ls(t,1);return{month:Ze(e),year:ze(e)}},js=(t,e)=>{const n=us(t,{weekStartsOn:+e}),s=xy(t,{weekStartsOn:+e});return[n,s]},Wy=(t,e)=>{const n={hours:Qs(ye()),minutes:Mi(ye()),seconds:e?br(ye()):0};return Object.assign(n,t)},bi=(t,e,n)=>[pt(ye(t),{date:1}),pt(ye(),{month:e,year:n,date:1})],Ks=(t,e,n)=>{let s=t?ye(t):ye();return(e||e===0)&&(s=My(s,e)),n&&(s=ws(s,n)),s},zy=(t,e,n,s,i)=>{if(!s||i&&!e||!i&&!n)return!1;const o=i?ls(t,1):yr(t,1),r=[Ze(o),ze(o)];return i?!kI(...r,e):!xI(...r,n)},xI=(t,e,n)=>Ct(...bi(n,t,e))||nt(...bi(n,t,e)),kI=(t,e,n)=>It(...bi(n,t,e))||nt(...bi(n,t,e)),Ky=(t,e,n,s,i,o,r)=>{if(typeof e=="function"&&!r)return e(t);const a=n?{locale:n}:void 0;return Array.isArray(t)?`${Ss(t[0],o,a)}${i&&!t[1]?"":s}${t[1]?Ss(t[1],o,a):""}`:Ss(t,o,a)},Yo=t=>{if(t)return null;throw new Error(_f.prop("partial-range"))},Cl=(t,e)=>{if(e)return t();throw new Error(_f.prop("range"))},Yd=t=>Array.isArray(t)?ma(t[0])&&(t[1]?ma(t[1]):!0):t?ma(t):!1,SI=(t,e)=>pt(e??ye(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),Ku=(t,e,n,s)=>{if(!t)return!0;if(s){const i=n==="max"?Ia(t,e):vr(t,e),o={seconds:0,milliseconds:0};return i||Zo(pt(t,o),pt(e,o))}return n==="max"?t.getTime()<=e.getTime():t.getTime()>=e.getTime()},Yu=(t,e,n)=>t?SI(t,e):ye(n??e),gm=(t,e,n,s,i)=>{if(Array.isArray(s)){const r=Yu(t,s[0],e),a=Yu(t,s[1],e);return Ku(s[0],r,n,!!e)&&Ku(s[1],a,n,!!e)&&i}const o=Yu(t,s,e);return Ku(s,o,n,!!e)&&i},Uu=t=>pt(ye(),vo(t)),$I=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>ze(ye(n))===e).map(n=>Ze(n)):[],Yy=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(s=>s.month===e&&s.year===n),vf=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),Uy=t=>Ss(t,"yyyy-MM-dd"),qr=Ts({menuFocused:!1,shiftKeyInMenu:!1}),qy=()=>{const t=n=>{qr.menuFocused=n},e=n=>{qr.shiftKeyInMenu!==n&&(qr.shiftKeyInMenu=n)};return{control:_e(()=>({shiftKeyInMenu:qr.shiftKeyInMenu,menuFocused:qr.menuFocused})),setMenuFocused:t,setShiftKey:e}},_t=Ts({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),qu=be(null),El=be(!1),Gu=be(!1),Ju=be(!1),Xu=be(!1),an=be(0),Ot=be(0),Bi=()=>{const t=_e(()=>El.value?[..._t.selectionGrid,_t.actionRow].filter(d=>d.length):Gu.value?[..._t.timePicker[0],..._t.timePicker[1],Xu.value?[]:[qu.value],_t.actionRow].filter(d=>d.length):Ju.value?[..._t.monthPicker,_t.actionRow]:[_t.monthYear,..._t.calendar,_t.time,_t.actionRow].filter(d=>d.length)),e=d=>{an.value=d?an.value+1:an.value-1;let f=null;t.value[Ot.value]&&(f=t.value[Ot.value][an.value]),!f&&t.value[Ot.value+(d?1:-1)]?(Ot.value=Ot.value+(d?1:-1),an.value=d?0:t.value[Ot.value].length-1):f||(an.value=d?an.value-1:an.value+1)},n=d=>{Ot.value===0&&!d||Ot.value===t.value.length&&d||(Ot.value=d?Ot.value+1:Ot.value-1,t.value[Ot.value]?t.value[Ot.value]&&!t.value[Ot.value][an.value]&&an.value!==0&&(an.value=t.value[Ot.value].length-1):Ot.value=d?Ot.value-1:Ot.value+1)},s=d=>{let f=null;t.value[Ot.value]&&(f=t.value[Ot.value][an.value]),f?f.focus({preventScroll:!El.value}):an.value=d?an.value-1:an.value+1},i=()=>{e(!0),s(!0)},o=()=>{e(!1),s(!1)},r=()=>{n(!1),s(!0)},a=()=>{n(!0),s(!0)},l=(d,f)=>{_t[f]=d},c=(d,f)=>{_t[f]=d},u=()=>{an.value=0,Ot.value=0};return{buildMatrix:l,buildMultiLevelMatrix:c,setTimePickerBackRef:d=>{qu.value=d},setSelectionGrid:d=>{El.value=d,u(),d||(_t.selectionGrid=[])},setTimePicker:(d,f=!1)=>{Gu.value=d,Xu.value=f,u(),d||(_t.timePicker[0]=[],_t.timePicker[1]=[])},setTimePickerElements:(d,f=0)=>{_t.timePicker[f]=d},arrowRight:i,arrowLeft:o,arrowUp:r,arrowDown:a,clearArrowNav:()=>{_t.monthYear=[],_t.calendar=[],_t.time=[],_t.actionRow=[],_t.selectionGrid=[],_t.timePicker[0]=[],_t.timePicker[1]=[],El.value=!1,Gu.value=!1,Xu.value=!1,Ju.value=!1,u(),qu.value=null},setMonthPicker:d=>{Ju.value=d,u()},refSets:_t}},mm=t=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...t??{}}),AI=t=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:e=>`Increment ${e}`,decrementValue:e=>`Decrement ${e}`,openTpOverlay:e=>`Open ${e} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:e=>`Month picker${e?" overlay":""}`,yearPicker:e=>`Year picker${e?" overlay":""}`,timeOverlay:e=>`${e} overlay`,...t??{}}),_m=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,CI=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:_m(!1)};const s=e?t:{},i=e?s.count??!0:t,o=_m(i);return Object.assign(n,s,{count:o})},EI=(t,e,n)=>t||(typeof n=="string"?n:e),TI=t=>typeof t=="boolean"?t?mm({}):!1:mm(t),PI=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},MI=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),DI=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),OI=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},II=t=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,...t??{}}),LI=t=>{const e={dates:Array.isArray(t)?t.map(n=>ye(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof t=="function"?t:{...e,...t??{}}},RI=t=>typeof t=="object"?{type:t?.type??"local",hideOnOffsetDates:t?.hideOnOffsetDates??!1}:{type:t,hideOnOffsetDates:!1},NI=t=>{const e={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof t=="object"?{enabled:!0,...e,...t}:{enabled:t,...e}},FI=t=>t?typeof t=="string"?{timezone:t,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:t.timezone,exactMatch:t.exactMatch??!1,dateInTz:t.dateInTz??void 0,emitTimezone:t.emitTimezone??void 0,convertModel:t.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},Qu=(t,e,n)=>new Map(t.map(s=>{const i=gf(s,e,n);return[bf(i),i]})),BI=(t,e)=>t.length?new Map(t.map(n=>{const s=gf(n.date,e);return[bf(s),n]})):null,VI=t=>{var e;return{minDate:zd(t.minDate,t.timezone,t.isSpecific),maxDate:zd(t.maxDate,t.timezone,t.isSpecific),disabledDates:Wu(t.disabledDates)?Qu(t.disabledDates,t.timezone,t.isSpecific):t.disabledDates,allowedDates:Wu(t.allowedDates)?Qu(t.allowedDates,t.timezone,t.isSpecific):null,highlight:typeof t.highlight=="object"&&Wu((e=t.highlight)==null?void 0:e.dates)?Qu(t.highlight.dates,t.timezone):t.highlight,markers:BI(t.markers,t.timezone)}},HI=t=>typeof t=="boolean"?{enabled:t,dragSelect:!0,limit:null}:{enabled:!!t,limit:t.limit?+t.limit:null,dragSelect:t.dragSelect??!0},jI=t=>({...Object.fromEntries(Object.keys(t).map(e=>{const n=e,s=t[n],i=typeof t[n]=="string"?{[s]:!0}:Object.fromEntries(s.map(o=>[o,!0]));return[e,i]}))}),St=t=>{const e=()=>{const w=t.enableSeconds?":ss":"",S=t.enableMinutes?":mm":"";return t.is24?`HH${S}${w}`:`hh${S}${w} aa`},n=()=>{var w;return t.format?t.format:t.monthPicker?"MM/yyyy":t.timePicker?e():t.weekPicker?`${((w=y.value)==null?void 0:w.type)==="iso"?"RR":"ww"}-yyyy`:t.yearPicker?"yyyy":t.quarterPicker?"QQQ/yyyy":t.enableTimePicker?`MM/dd/yyyy, ${e()}`:"MM/dd/yyyy"},s=w=>Wy(w,t.enableSeconds),i=()=>D.value.enabled?t.startTime&&Array.isArray(t.startTime)?[s(t.startTime[0]),s(t.startTime[1])]:null:t.startTime&&!Array.isArray(t.startTime)?s(t.startTime):null,o=_e(()=>CI(t.multiCalendars)),r=_e(()=>i()),a=_e(()=>AI(t.ariaLabels)),l=_e(()=>MI(t.filters)),c=_e(()=>TI(t.transitions)),u=_e(()=>DI(t.actionRow)),d=_e(()=>EI(t.previewFormat,t.format,n())),f=_e(()=>PI(t.textInput)),g=_e(()=>OI(t.inline)),_=_e(()=>II(t.config)),m=_e(()=>LI(t.highlight)),y=_e(()=>RI(t.weekNumbers)),v=_e(()=>FI(t.timezone)),$=_e(()=>HI(t.multiDates)),A=_e(()=>VI({minDate:t.minDate,maxDate:t.maxDate,disabledDates:t.disabledDates,allowedDates:t.allowedDates,highlight:m.value,markers:t.markers,timezone:v.value,isSpecific:t.monthPicker||t.yearPicker||t.quarterPicker})),D=_e(()=>NI(t.range)),x=_e(()=>jI(t.ui));return{defaultedTransitions:c,defaultedMultiCalendars:o,defaultedStartTime:r,defaultedAriaLabels:a,defaultedFilters:l,defaultedActionRow:u,defaultedPreviewFormat:d,defaultedTextInput:f,defaultedInline:g,defaultedConfig:_,defaultedHighlight:m,defaultedWeekNumbers:y,defaultedRange:D,propDates:A,defaultedTz:v,defaultedMultiDates:$,defaultedUI:x,getDefaultPattern:n,getDefaultStartTime:i}},WI=(t,e,n)=>{const s=be(),{defaultedTextInput:i,defaultedRange:o,defaultedTz:r,defaultedMultiDates:a,getDefaultPattern:l}=St(e),c=be(""),u=$a(e,"format"),d=$a(e,"formatLocale");Ht(s,()=>{typeof e.onInternalModelChange=="function"&&t("internal-model-change",s.value,ae(!0))},{deep:!0}),Ht(o,(P,ie)=>{P.enabled!==ie.enabled&&(s.value=null)}),Ht(u,()=>{Z()});const f=P=>r.value.timezone&&r.value.convertModel?En(P,r.value.timezone):P,g=P=>{if(r.value.timezone&&r.value.convertModel){const ie=lI(r.value.timezone);return r2(P,ie)}return P},_=(P,ie,de=!1)=>Ky(P,e.format,e.formatLocale,i.value.rangeSeparator,e.modelAuto,ie??l(),de),m=P=>P?e.modelType?ce(P):{hours:Qs(P),minutes:Mi(P),seconds:e.enableSeconds?br(P):0}:null,y=P=>e.modelType?ce(P):{month:Ze(P),year:ze(P)},v=P=>Array.isArray(P)?a.value.enabled?P.map(ie=>$(ie,ws(ye(),ie))):Cl(()=>[ws(ye(),P[0]),P[1]?ws(ye(),P[1]):Yo(o.value.partialRange)],o.value.enabled):ws(ye(),+P),$=(P,ie)=>(typeof P=="string"||typeof P=="number")&&e.modelType?ee(P):ie,A=P=>Array.isArray(P)?[$(P[0],Ai(null,+P[0].hours,+P[0].minutes,P[0].seconds)),$(P[1],Ai(null,+P[1].hours,+P[1].minutes,P[1].seconds))]:$(P,Ai(null,P.hours,P.minutes,P.seconds)),D=P=>{const ie=pt(ye(),{date:1});return Array.isArray(P)?a.value.enabled?P.map(de=>$(de,Ks(ie,+de.month,+de.year))):Cl(()=>[$(P[0],Ks(ie,+P[0].month,+P[0].year)),$(P[1],P[1]?Ks(ie,+P[1].month,+P[1].year):Yo(o.value.partialRange))],o.value.enabled):$(P,Ks(ie,+P.month,+P.year))},x=P=>{if(Array.isArray(P))return P.map(ie=>ee(ie));throw new Error(_f.dateArr("multi-dates"))},w=P=>{if(Array.isArray(P)&&o.value.enabled){const ie=P[0],de=P[1];return[ye(Array.isArray(ie)?ie[0]:null),ye(Array.isArray(de)?de[0]:null)]}return ye(P[0])},S=P=>e.modelAuto?Array.isArray(P)?[ee(P[0]),ee(P[1])]:e.autoApply?[ee(P)]:[ee(P),null]:Array.isArray(P)?Cl(()=>P[1]?[ee(P[0]),P[1]?ee(P[1]):Yo(o.value.partialRange)]:[ee(P[0])],o.value.enabled):ee(P),T=()=>{Array.isArray(s.value)&&o.value.enabled&&s.value.length===1&&s.value.push(Yo(o.value.partialRange))},M=()=>{const P=s.value;return[ce(P[0]),P[1]?ce(P[1]):Yo(o.value.partialRange)]},E=()=>s.value[1]?M():ce(Qt(s.value[0])),V=()=>(s.value||[]).map(P=>ce(P)),X=(P=!1)=>(P||T(),e.modelAuto?E():a.value.enabled?V():Array.isArray(s.value)?Cl(()=>M(),o.value.enabled):ce(Qt(s.value))),le=P=>!P||Array.isArray(P)&&!P.length?null:e.timePicker?A(Qt(P)):e.monthPicker?D(Qt(P)):e.yearPicker?v(Qt(P)):a.value.enabled?x(Qt(P)):e.weekPicker?w(Qt(P)):S(Qt(P)),Y=P=>{const ie=le(P);Yd(Qt(ie))?(s.value=Qt(ie),Z()):(s.value=null,c.value="")},R=()=>{const P=ie=>Ss(ie,i.value.format);return`${P(s.value[0])} ${i.value.rangeSeparator} ${s.value[1]?P(s.value[1]):""}`},I=()=>n.value&&s.value?Array.isArray(s.value)?R():Ss(s.value,i.value.format):_(s.value),H=()=>s.value?a.value.enabled?s.value.map(P=>_(P)).join("; "):i.value.enabled&&typeof i.value.format=="string"?I():_(s.value):"",Z=()=>{!e.format||typeof e.format=="string"||i.value.enabled&&typeof i.value.format=="string"?c.value=H():c.value=e.format(s.value)},ee=P=>{if(e.utc){const ie=new Date(P);return e.utc==="preserve"?new Date(ie.getTime()+ie.getTimezoneOffset()*6e4):ie}return e.modelType?cI.includes(e.modelType)?f(new Date(P)):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?f(Wd(P,l(),new Date,{locale:d.value})):f(Wd(P,e.modelType,new Date,{locale:d.value})):f(new Date(P))},ce=P=>P?e.utc?yI(P,e.utc==="preserve",e.enableSeconds):e.modelType?e.modelType==="timestamp"?+g(P):e.modelType==="iso"?g(P).toISOString():e.modelType==="format"&&(typeof e.format=="string"||!e.format)?_(g(P)):_(g(P),e.modelType,!0):g(P):"",ve=(P,ie=!1,de=!1)=>{if(de)return P;if(t("update:model-value",P),r.value.emitTimezone&&ie){const we=Array.isArray(P)?P.map(B=>En(Qt(B),r.value.emitTimezone)):En(Qt(P),r.value.emitTimezone);t("update:model-timezone-value",we)}},U=P=>Array.isArray(s.value)?a.value.enabled?s.value.map(ie=>P(ie)):[P(s.value[0]),s.value[1]?P(s.value[1]):Yo(o.value.partialRange)]:P(Qt(s.value)),Q=()=>{if(Array.isArray(s.value)){const P=js(s.value[0],e.weekStart),ie=s.value[1]?js(s.value[1],e.weekStart):[];return[P.map(de=>ye(de)),ie.map(de=>ye(de))]}return js(s.value,e.weekStart).map(P=>ye(P))},L=(P,ie)=>ve(Qt(U(P)),!1,ie),te=P=>{const ie=Q();return P?ie:t("update:model-value",Q())},ae=(P=!1)=>(P||Z(),e.monthPicker?L(y,P):e.timePicker?L(m,P):e.yearPicker?L(ze,P):e.weekPicker?te(P):ve(X(P),!0,P));return{inputValue:c,internalModelValue:s,checkBeforeEmit:()=>s.value?o.value.enabled?o.value.partialRange?s.value.length>=1:s.value.length===2:!!s.value:!1,parseExternalModelValue:Y,formatInputValue:Z,emitModelValue:ae}},zI=(t,e)=>{const{defaultedFilters:n,propDates:s}=St(t),{validateMonthYearInRange:i}=Vi(t),o=(u,d)=>{let f=u;return n.value.months.includes(Ze(f))?(f=d?ls(u,1):yr(u,1),o(f,d)):f},r=(u,d)=>{let f=u;return n.value.years.includes(ze(f))?(f=d?sf(u,1):Iy(u,1),r(f,d)):f},a=(u,d=!1)=>{const f=pt(ye(),{month:t.month,year:t.year});let g=u?ls(f,1):yr(f,1);t.disableYearSelect&&(g=ws(g,t.year));let _=Ze(g),m=ze(g);n.value.months.includes(_)&&(g=o(g,u),_=Ze(g),m=ze(g)),n.value.years.includes(m)&&(g=r(g,u),m=ze(g)),i(_,m,u,t.preventMinMaxNavigation)&&l(_,m,d)},l=(u,d,f)=>{e("update-month-year",{month:u,year:d,fromNav:f})},c=_e(()=>u=>zy(pt(ye(),{month:t.month,year:t.year}),s.value.maxDate,s.value.minDate,t.preventMinMaxNavigation,u));return{handleMonthYearChange:a,isDisabled:c,updateMonthYear:l}},qc={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},ds={...qc,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},KI=["title"],YI=["disabled"],UI=Bt({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...ds},emits:["close-picker","select-date","select-now","invalid-select"],setup(t,{emit:e}){const n=e,s=t,{defaultedActionRow:i,defaultedPreviewFormat:o,defaultedMultiCalendars:r,defaultedTextInput:a,defaultedInline:l,defaultedRange:c,defaultedMultiDates:u,getDefaultPattern:d}=St(s),{isTimeValid:f,isMonthValid:g}=Vi(s),{buildMatrix:_}=Bi(),m=be(null),y=be(null),v=be(!1),$=be({}),A=be(null),D=be(null);Jt(()=>{s.arrowNavigation&&_([Wt(m),Wt(y)],"actionRow"),x(),window.addEventListener("resize",x)}),Dr(()=>{window.removeEventListener("resize",x)});const x=()=>{v.value=!1,setTimeout(()=>{var R,I;const H=(R=A.value)==null?void 0:R.getBoundingClientRect(),Z=(I=D.value)==null?void 0:I.getBoundingClientRect();H&&Z&&($.value.maxWidth=`${Z.width-H.width-20}px`),v.value=!0},0)},w=_e(()=>c.value.enabled&&!c.value.partialRange&&s.internalModelValue?s.internalModelValue.length===2:!0),S=_e(()=>!f.value(s.internalModelValue)||!g.value(s.internalModelValue)||!w.value),T=()=>{const R=o.value;return s.timePicker||s.monthPicker,R(Qt(s.internalModelValue))},M=()=>{const R=s.internalModelValue;return r.value.count>0?`${E(R[0])} - ${E(R[1])}`:[E(R[0]),E(R[1])]},E=R=>Ky(R,o.value,s.formatLocale,a.value.rangeSeparator,s.modelAuto,d()),V=_e(()=>!s.internalModelValue||!s.menuMount?"":typeof o.value=="string"?Array.isArray(s.internalModelValue)?s.internalModelValue.length===2&&s.internalModelValue[1]?M():u.value.enabled?s.internalModelValue.map(R=>`${E(R)}`):s.modelAuto?`${E(s.internalModelValue[0])}`:`${E(s.internalModelValue[0])} -`:E(s.internalModelValue):T()),X=()=>u.value.enabled?"; ":" - ",le=_e(()=>Array.isArray(V.value)?V.value.join(X()):V.value),Y=()=>{f.value(s.internalModelValue)&&g.value(s.internalModelValue)&&w.value?n("select-date"):n("invalid-select")};return(R,I)=>(C(),F("div",{ref_key:"actionRowRef",ref:D,class:"dp__action_row"},[R.$slots["action-row"]?Ie(R.$slots,"action-row",en(Yt({key:0},{internalModelValue:R.internalModelValue,disabled:S.value,selectDate:()=>R.$emit("select-date"),closePicker:()=>R.$emit("close-picker")}))):(C(),F(Me,{key:1},[G(i).showPreview?(C(),F("div",{key:0,class:"dp__selection_preview",title:le.value,style:zt($.value)},[R.$slots["action-preview"]&&v.value?Ie(R.$slots,"action-preview",{key:0,value:R.internalModelValue}):re("",!0),!R.$slots["action-preview"]&&v.value?(C(),F(Me,{key:1},[He(xe(le.value),1)],64)):re("",!0)],12,KI)):re("",!0),h("div",{ref_key:"actionBtnContainer",ref:A,class:"dp__action_buttons","data-dp-element":"action-row"},[R.$slots["action-buttons"]?Ie(R.$slots,"action-buttons",{key:0,value:R.internalModelValue}):re("",!0),R.$slots["action-buttons"]?re("",!0):(C(),F(Me,{key:1},[!G(l).enabled&&G(i).showCancel?(C(),F("button",{key:0,ref_key:"cancelButtonRef",ref:m,type:"button",class:"dp__action_button dp__action_cancel",onClick:I[0]||(I[0]=H=>R.$emit("close-picker")),onKeydown:I[1]||(I[1]=H=>G(bn)(H,()=>R.$emit("close-picker")))},xe(R.cancelText),545)):re("",!0),G(i).showNow?(C(),F("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:I[2]||(I[2]=H=>R.$emit("select-now")),onKeydown:I[3]||(I[3]=H=>G(bn)(H,()=>R.$emit("select-now")))},xe(R.nowButtonLabel),33)):re("",!0),G(i).showSelect?(C(),F("button",{key:2,ref_key:"selectButtonRef",ref:y,type:"button",class:"dp__action_button dp__action_select",disabled:S.value,"data-test":"select-button",onKeydown:I[4]||(I[4]=H=>G(bn)(H,()=>Y())),onClick:Y},xe(R.selectText),41,YI)):re("",!0)],64))],512)],64))],512))}}),qI=["role","aria-label","tabindex"],GI={class:"dp__selection_grid_header"},JI=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],XI=["aria-label"],qa=Bt({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(t,{expose:e,emit:n}){const{setSelectionGrid:s,buildMultiLevelMatrix:i,setMonthPicker:o}=Bi(),r=n,a=t,{defaultedAriaLabels:l,defaultedTextInput:c,defaultedConfig:u}=St(a),{hideNavigationButtons:d}=Xc(),f=be(!1),g=be(null),_=be(null),m=be([]),y=be(),v=be(null),$=be(0),A=be(null);iv(()=>{g.value=null}),Jt(()=>{nn().then(()=>V()),a.noOverlayFocus||x(),D(!0)}),Dr(()=>D(!1));const D=U=>{var Q;a.arrowNavigation&&((Q=a.headerRefs)!=null&&Q.length?o(U):s(U))},x=()=>{var U;const Q=Wt(_);Q&&(c.value.enabled||(g.value?(U=g.value)==null||U.focus({preventScroll:!0}):Q.focus({preventScroll:!0})),f.value=Q.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!a.useRelative,"dp--overlay-relative":a.useRelative})),S=_e(()=>a.useRelative?{height:`${a.height}px`,width:"260px"}:void 0),T=_e(()=>({dp__overlay_col:!0})),M=_e(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:f.value,dp__button_bottom:a.isLast})),E=_e(()=>{var U,Q;return{dp__overlay_container:!0,dp__container_flex:((U=a.items)==null?void 0:U.length)<=6,dp__container_block:((Q=a.items)==null?void 0:Q.length)>6}});Ht(()=>a.items,()=>V(!1),{deep:!0});const V=(U=!0)=>{nn().then(()=>{const Q=Wt(g),L=Wt(_),te=Wt(v),ae=Wt(A),P=te?te.getBoundingClientRect().height:0;L&&(L.getBoundingClientRect().height?$.value=L.getBoundingClientRect().height-P:$.value=u.value.modeHeight-P),Q&&ae&&U&&(ae.scrollTop=Q.offsetTop-ae.offsetTop-($.value/2-Q.getBoundingClientRect().height)-P)})},X=U=>{U.disabled||r("selected",U.value)},le=()=>{r("toggle"),r("reset-flow")},Y=()=>{a.escClose&&le()},R=(U,Q,L,te)=>{U&&((Q.active||Q.value===a.focusValue)&&(g.value=U),a.arrowNavigation&&(Array.isArray(m.value[L])?m.value[L][te]=U:m.value[L]=[U],I()))},I=()=>{var U,Q;const L=(U=a.headerRefs)!=null&&U.length?[a.headerRefs].concat(m.value):m.value.concat([a.skipButtonRef?[]:[v.value]]);i(Qt(L),(Q=a.headerRefs)!=null&&Q.length?"monthPicker":"selectionGrid")},H=U=>{a.arrowNavigation||$i(U,u.value,!0)},Z=U=>{y.value=U,r("hover-value",U)},ee=()=>{if(le(),!a.isLast){const U=Kd(a.menuWrapRef??null,"action-row");if(U){const Q=Fy(U);Q?.focus()}}},ce=U=>{switch(U.key){case bt.esc:return Y();case bt.arrowLeft:return H(U);case bt.arrowRight:return H(U);case bt.arrowUp:return H(U);case bt.arrowDown:return H(U);default:return}},ve=U=>{if(U.key===bt.enter)return le();if(U.key===bt.tab)return ee()};return e({focusGrid:x}),(U,Q)=>{var L;return C(),F("div",{ref_key:"gridWrapRef",ref:_,class:Ee(w.value),style:zt(S.value),role:U.useRelative?void 0:"dialog","aria-label":U.overlayLabel,tabindex:U.useRelative?void 0:"0",onKeydown:ce,onClick:Q[0]||(Q[0]=Ma(()=>{},["prevent"]))},[h("div",{ref_key:"containerRef",ref:A,class:Ee(E.value),style:zt({"--dp-overlay-height":`${$.value}px`}),role:"grid"},[h("div",GI,[Ie(U.$slots,"header")]),U.$slots.overlay?Ie(U.$slots,"overlay",{key:0}):(C(!0),F(Me,{key:1},Ke(U.items,(te,ae)=>(C(),F("div",{key:ae,class:Ee(["dp__overlay_row",{dp__flex_row:U.items.length>=3}]),role:"row"},[(C(!0),F(Me,null,Ke(te,(P,ie)=>(C(),F("div",{key:P.value,ref_for:!0,ref:de=>R(de,P,ae,ie),role:"gridcell",class:Ee(T.value),"aria-selected":P.active||void 0,"aria-disabled":P.disabled||void 0,tabindex:"0","data-test":P.text,onClick:Ma(de=>X(P),["prevent"]),onKeydown:de=>G(bn)(de,()=>X(P),!0),onMouseover:de=>Z(P.value)},[h("div",{class:Ee(P.className)},[U.$slots.item?Ie(U.$slots,"item",{key:0,item:P}):re("",!0),U.$slots.item?re("",!0):(C(),F(Me,{key:1},[He(xe(P.text),1)],64))],2)],42,JI))),128))],2))),128))],6),U.$slots["button-icon"]?Le((C(),F("button",{key:0,ref_key:"toggleButton",ref:v,type:"button","aria-label":(L=G(l))==null?void 0:L.toggleOverlay,class:Ee(M.value),tabindex:"0",onClick:le,onKeydown:ve},[Ie(U.$slots,"button-icon")],42,XI)),[[Jl,!G(d)(U.hideNavigation,U.type)]]):re("",!0)],46,qI)}}}),Gc=Bt({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(t){const e=t,n=_e(()=>e.multiCalendars>0?[...Array(e.multiCalendars).keys()]:[0]),s=_e(()=>({dp__instance_calendar:e.multiCalendars>0}));return(i,o)=>(C(),F("div",{class:Ee({dp__menu_inner:!i.stretch,"dp--menu--inner-stretched":i.stretch,dp__flex_display:i.multiCalendars>0,"dp--flex-display-collapsed":i.collapse})},[(C(!0),F(Me,null,Ke(n.value,(r,a)=>(C(),F("div",{key:r,class:Ee(s.value)},[Ie(i.$slots,"default",{instance:r,index:a})],2))),128))],2))}}),QI=["data-dp-element","aria-label","aria-disabled"],_a=Bt({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(t,{emit:e}){const n=e,s=be(null);return Jt(()=>n("set-ref",s)),(i,o)=>(C(),F("button",{ref_key:"elRef",ref:s,type:"button","data-dp-element":i.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":i.ariaLabel,"aria-disabled":i.disabled||void 0,onClick:o[0]||(o[0]=r=>i.$emit("activate")),onKeydown:o[1]||(o[1]=r=>G(bn)(r,()=>i.$emit("activate"),!0))},[h("span",{class:Ee(["dp__inner_nav",{dp__inner_nav_disabled:i.disabled}])},[Ie(i.$slots,"default")],2)],40,QI))}}),ZI=["aria-label","data-test"],Gy=Bt({__name:"YearModePicker",props:{...ds,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(t,{emit:e}){const n=e,s=t,{showRightIcon:i,showLeftIcon:o}=Xc(),{defaultedConfig:r,defaultedMultiCalendars:a,defaultedAriaLabels:l,defaultedTransitions:c,defaultedUI:u}=St(s),{showTransition:d,transitionName:f}=Ga(c),g=be(!1),_=(v=!1,$)=>{g.value=!g.value,n("toggle-year-picker",{flow:v,show:$})},m=v=>{g.value=!1,n("year-select",v)},y=(v=!1)=>{n("handle-year",v)};return(v,$)=>{var A,D,x,w,S;return C(),F(Me,null,[h("div",{class:Ee(["dp--year-mode-picker",{"dp--hidden-el":g.value}])},[G(o)(G(a),t.instance)?(C(),Se(_a,{key:0,ref:"mpPrevIconRef","aria-label":(A=G(l))==null?void 0:A.prevYear,disabled:t.isDisabled(!1),class:Ee((D=G(u))==null?void 0:D.navBtnPrev),onActivate:$[0]||($[0]=T=>y(!1))},{default:Pe(()=>[v.$slots["arrow-left"]?Ie(v.$slots,"arrow-left",{key:0}):re("",!0),v.$slots["arrow-left"]?re("",!0):(C(),Se(G(uf),{key:1}))]),_:3},8,["aria-label","disabled","class"])):re("",!0),h("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${t.year}-${(x=G(l))==null?void 0:x.openYearsOverlay}`,"data-test":`year-mode-btn-${t.instance}`,onClick:$[1]||($[1]=()=>_(!1)),onKeydown:$[2]||($[2]=wC(()=>_(!1),["enter"]))},[v.$slots.year?Ie(v.$slots,"year",{key:0,year:t.year}):re("",!0),v.$slots.year?re("",!0):(C(),F(Me,{key:1},[He(xe(t.year),1)],64))],40,ZI),G(i)(G(a),t.instance)?(C(),Se(_a,{key:1,ref:"mpNextIconRef","aria-label":(w=G(l))==null?void 0:w.nextYear,disabled:t.isDisabled(!0),class:Ee((S=G(u))==null?void 0:S.navBtnNext),onActivate:$[3]||($[3]=T=>y(!0))},{default:Pe(()=>[v.$slots["arrow-right"]?Ie(v.$slots,"arrow-right",{key:0}):re("",!0),v.$slots["arrow-right"]?re("",!0):(C(),Se(G(df),{key:1}))]),_:3},8,["aria-label","disabled","class"])):re("",!0)],2),N(Et,{name:G(f)(t.showYearPicker),css:G(d)},{default:Pe(()=>{var T,M;return[t.showYearPicker?(C(),Se(qa,{key:0,items:t.items,"text-input":v.textInput,"esc-close":v.escClose,config:v.config,"is-last":v.autoApply&&!G(r).keepActionRow,"hide-navigation":v.hideNavigation,"aria-labels":v.ariaLabels,"overlay-label":(M=(T=G(l))==null?void 0:T.yearPicker)==null?void 0:M.call(T,!0),type:"year",onToggle:_,onSelected:$[4]||($[4]=E=>m(E))},hn({"button-icon":Pe(()=>[v.$slots["calendar-icon"]?Ie(v.$slots,"calendar-icon",{key:0}):re("",!0),v.$slots["calendar-icon"]?re("",!0):(C(),Se(G(Ir),{key:1}))]),_:2},[v.$slots["year-overlay-value"]?{name:"item",fn:Pe(({item:E})=>[Ie(v.$slots,"year-overlay-value",{text:E.text,value:E.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):re("",!0)]}),_:3},8,["name","css"])],64)}}}),yf=(t,e,n)=>{if(e.value&&Array.isArray(e.value))if(e.value.some(s=>nt(t,s))){const s=e.value.filter(i=>!nt(i,t));e.value=s.length?s:null}else(n&&+n>e.value.length||!n)&&e.value.push(t);else e.value=[t]},wf=(t,e,n)=>{let s=t.value?t.value.slice():[];return s.length===2&&s[1]!==null&&(s=[]),s.length?Ct(e,s[0])?(s.unshift(e),n("range-start",s[0]),n("range-start",s[1])):(s[1]=e,n("range-end",e)):(s=[e],n("range-start",e)),s},Jc=(t,e,n,s)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&s&&n&&e("auto-apply"))},Jy=t=>{Array.isArray(t.value)&&t.value.length<=2&&t.range?t.modelValue.value=t.value.map(e=>En(ye(e),t.timezone)):Array.isArray(t.value)||(t.modelValue.value=En(ye(t.value),t.timezone))},Xy=(t,e,n,s)=>Array.isArray(e.value)&&(e.value.length===2||e.value.length===1&&s.value.partialRange)?s.value.fixedStart&&(It(t,e.value[0])||nt(t,e.value[0]))?[e.value[0],t]:s.value.fixedEnd&&(Ct(t,e.value[1])||nt(t,e.value[1]))?[t,e.value[1]]:(n("invalid-fixed-range",t),e.value):[],Qy=({multiCalendars:t,range:e,highlight:n,propDates:s,calendars:i,modelValue:o,props:r,filters:a,year:l,month:c,emit:u})=>{const d=_e(()=>mf(r.yearRange,r.locale,r.reverseYears)),f=be([!1]),g=_e(()=>(E,V)=>{const X=pt(os(new Date),{month:c.value(E),year:l.value(E)}),le=V?wy(X):Oa(X);return zy(le,s.value.maxDate,s.value.minDate,r.preventMinMaxNavigation,V)}),_=()=>Array.isArray(o.value)&&t.value.solo&&o.value[1],m=()=>{for(let E=0;E{if(!E)return m();const V=pt(ye(),i.value[E]);return i.value[0].year=ze(Iy(V,t.value.count-1)),m()},v=(E,V)=>{const X=d2(V,E);return e.value.showLastInRange&&X>1?V:E},$=E=>r.focusStartDate||t.value.solo?E[0]:E[1]?v(E[0],E[1]):E[0],A=()=>{if(o.value){const E=Array.isArray(o.value)?$(o.value):o.value;i.value[0]={month:Ze(E),year:ze(E)}}},D=()=>{A(),t.value.count&&m()};Ht(o,(E,V)=>{r.isTextInputDate&&JSON.stringify(E??{})!==JSON.stringify(V??{})&&D()}),Jt(()=>{D()});const x=(E,V)=>{i.value[V].year=E,u("update-month-year",{instance:V,year:E,month:i.value[V].month}),t.value.count&&!t.value.solo&&y(V)},w=_e(()=>E=>wr(d.value,V=>{var X;const le=l.value(E)===V.value,Y=La(V.value,xr(s.value.minDate),xr(s.value.maxDate))||((X=a.value.years)==null?void 0:X.includes(l.value(E))),R=vf(n.value,V.value);return{active:le,disabled:Y,highlighted:R}})),S=(E,V)=>{x(E,V),M(V)},T=(E,V=!1)=>{if(!g.value(E,V)){const X=V?l.value(E)+1:l.value(E)-1;x(X,E)}},M=(E,V=!1,X)=>{V||u("reset-flow"),X!==void 0?f.value[E]=X:f.value[E]=!f.value[E],f.value[E]?u("overlay-toggle",{open:!0,overlay:cn.year}):(u("overlay-closed"),u("overlay-toggle",{open:!1,overlay:cn.year}))};return{isDisabled:g,groupedYears:w,showYearPicker:f,selectYear:x,toggleYearPicker:M,handleYearSelect:S,handleYear:T}},eL=(t,e)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:s,defaultedTransitions:i,defaultedConfig:o,defaultedRange:r,defaultedHighlight:a,propDates:l,defaultedTz:c,defaultedFilters:u,defaultedMultiDates:d}=St(t),f=()=>{t.isTextInputDate&&D(ze(ye(t.startDate)),0)},{modelValue:g,year:_,month:m,calendars:y}=Ja(t,e,f),v=_e(()=>Ry(t.formatLocale,t.locale,t.monthNameFormat)),$=be(null),{checkMinMaxRange:A}=Vi(t),{selectYear:D,groupedYears:x,showYearPicker:w,toggleYearPicker:S,handleYearSelect:T,handleYear:M,isDisabled:E}=Qy({modelValue:g,multiCalendars:n,range:r,highlight:a,calendars:y,year:_,propDates:l,month:m,filters:u,props:t,emit:e});Jt(()=>{t.startDate&&(g.value&&t.focusStartDate||!g.value)&&D(ze(ye(t.startDate)),0)});const V=L=>L?{month:Ze(L),year:ze(L)}:{month:null,year:null},X=()=>g.value?Array.isArray(g.value)?g.value.map(L=>V(L)):V(g.value):V(),le=(L,te)=>{const ae=y.value[L],P=X();return Array.isArray(P)?P.some(ie=>ie.year===ae?.year&&ie.month===te):ae?.year===P.year&&te===P.month},Y=(L,te,ae)=>{var P,ie;const de=X();return Array.isArray(de)?_.value(te)===((P=de[ae])==null?void 0:P.year)&&L===((ie=de[ae])==null?void 0:ie.month):!1},R=(L,te)=>{if(r.value.enabled){const ae=X();if(Array.isArray(g.value)&&Array.isArray(ae)){const P=Y(L,te,0)||Y(L,te,1),ie=Ks(os(ye()),L,_.value(te));return Uc(g.value,$.value,ie)&&!P}return!1}return!1},I=_e(()=>L=>wr(v.value,te=>{var ae;const P=le(L,te.value),ie=La(te.value,Vy(_.value(L),l.value.minDate),Hy(_.value(L),l.value.maxDate))||$I(l.value.disabledDates,_.value(L)).includes(te.value)||((ae=u.value.months)==null?void 0:ae.includes(te.value)),de=R(te.value,L),we=Yy(a.value,te.value,_.value(L));return{active:P,disabled:ie,isBetween:de,highlighted:we}})),H=(L,te)=>Ks(os(ye()),L,_.value(te)),Z=(L,te)=>{const ae=g.value?g.value:os(new Date);g.value=Ks(ae,L,_.value(te)),e("auto-apply"),e("update-flow-step")},ee=(L,te)=>{const ae=H(L,te);r.value.fixedEnd||r.value.fixedStart?g.value=Xy(ae,g,e,r):g.value?A(ae,g.value)&&(g.value=wf(g,H(L,te),e)):g.value=[H(L,te)],nn().then(()=>{Jc(g.value,e,t.autoApply,t.modelAuto)})},ce=(L,te)=>{yf(H(L,te),g,d.value.limit),e("auto-apply",!0)},ve=(L,te)=>(y.value[te].month=L,Q(te,y.value[te].year,L),d.value.enabled?ce(L,te):r.value.enabled?ee(L,te):Z(L,te)),U=(L,te)=>{D(L,te),Q(te,L,null)},Q=(L,te,ae)=>{let P=ae;if(!P&&P!==0){const ie=X();P=Array.isArray(ie)?ie[L].month:ie.month}e("update-month-year",{instance:L,year:te,month:P})};return{groupedMonths:I,groupedYears:x,year:_,isDisabled:E,defaultedMultiCalendars:n,defaultedAriaLabels:s,defaultedTransitions:i,defaultedConfig:o,showYearPicker:w,modelValue:g,presetDate:(L,te)=>{Jy({value:L,modelValue:g,range:r.value.enabled,timezone:te?void 0:c.value.timezone}),e("auto-apply")},setHoverDate:(L,te)=>{$.value=H(L,te)},selectMonth:ve,selectYear:U,toggleYearPicker:S,handleYearSelect:T,handleYear:M,getModelMonthYear:X}},tL=Bt({compatConfig:{MODE:3},__name:"MonthPicker",props:{...ds},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(t,{expose:e,emit:n}){const s=n,i=Po(),o=Ln(i,"yearMode"),r=t;Jt(()=>{r.shadow||s("mount",null)});const{groupedMonths:a,groupedYears:l,year:c,isDisabled:u,defaultedMultiCalendars:d,defaultedConfig:f,showYearPicker:g,modelValue:_,presetDate:m,setHoverDate:y,selectMonth:v,selectYear:$,toggleYearPicker:A,handleYearSelect:D,handleYear:x,getModelMonthYear:w}=eL(r,s);return e({getSidebarProps:()=>({modelValue:_,year:c,getModelMonthYear:w,selectMonth:v,selectYear:$,handleYear:x}),presetDate:m,toggleYearPicker:S=>A(0,S)}),(S,T)=>(C(),Se(Gc,{"multi-calendars":G(d).count,collapse:S.collapse,stretch:""},{default:Pe(({instance:M})=>[S.$slots["top-extra"]?Ie(S.$slots,"top-extra",{key:0,value:S.internalModelValue}):re("",!0),S.$slots["month-year"]?Ie(S.$slots,"month-year",en(Yt({key:1},{year:G(c),months:G(a)(M),years:G(l)(M),selectMonth:G(v),selectYear:G($),instance:M}))):(C(),Se(qa,{key:2,items:G(a)(M),"arrow-navigation":S.arrowNavigation,"is-last":S.autoApply&&!G(f).keepActionRow,"esc-close":S.escClose,height:G(f).modeHeight,config:S.config,"no-overlay-focus":!!(S.noOverlayFocus||S.textInput),"use-relative":"",type:"month",onSelected:E=>G(v)(E,M),onHoverValue:E=>G(y)(E,M)},hn({header:Pe(()=>[N(Gy,Yt(S.$props,{items:G(l)(M),instance:M,"show-year-picker":G(g)[M],year:G(c)(M),"is-disabled":E=>G(u)(M,E),onHandleYear:E=>G(x)(M,E),onYearSelect:E=>G(D)(E,M),onToggleYearPicker:E=>G(A)(M,E?.flow,E?.show)}),hn({_:2},[Ke(G(o),(E,V)=>({name:E,fn:Pe(X=>[Ie(S.$slots,E,en(mn(X)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[S.$slots["month-overlay-value"]?{name:"item",fn:Pe(({item:E})=>[Ie(S.$slots,"month-overlay-value",{text:E.text,value:E.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),nL=(t,e)=>{const n=()=>{t.isTextInputDate&&(u.value=ze(ye(t.startDate)))},{modelValue:s}=Ja(t,e,n),i=be(null),{defaultedHighlight:o,defaultedMultiDates:r,defaultedFilters:a,defaultedRange:l,propDates:c}=St(t),u=be();Jt(()=>{t.startDate&&(s.value&&t.focusStartDate||!s.value)&&(u.value=ze(ye(t.startDate)))});const d=m=>Array.isArray(s.value)?s.value.some(y=>ze(y)===m):s.value?ze(s.value)===m:!1,f=m=>l.value.enabled&&Array.isArray(s.value)?Uc(s.value,i.value,_(m)):!1,g=_e(()=>wr(mf(t.yearRange,t.locale,t.reverseYears),m=>{const y=d(m.value),v=La(m.value,xr(c.value.minDate),xr(c.value.maxDate))||a.value.years.includes(m.value),$=f(m.value)&&!y,A=vf(o.value,m.value);return{active:y,disabled:v,isBetween:$,highlighted:A}})),_=m=>ws(os(Oa(new Date)),m);return{groupedYears:g,modelValue:s,focusYear:u,setHoverValue:m=>{i.value=ws(os(new Date),m)},selectYear:m=>{var y;if(e("update-month-year",{instance:0,year:m}),r.value.enabled)return s.value?Array.isArray(s.value)&&(((y=s.value)==null?void 0:y.map(v=>ze(v))).includes(m)?s.value=s.value.filter(v=>ze(v)!==m):s.value.push(ws(wn(ye()),m))):s.value=[ws(wn(Oa(ye())),m)],e("auto-apply",!0);l.value.enabled?(s.value=wf(s,_(m),e),nn().then(()=>{Jc(s.value,e,t.autoApply,t.modelAuto)})):(s.value=_(m),e("auto-apply"))}}},sL=Bt({compatConfig:{MODE:3},__name:"YearPicker",props:{...ds},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(t,{expose:e,emit:n}){const s=n,i=t,{groupedYears:o,modelValue:r,focusYear:a,selectYear:l,setHoverValue:c}=nL(i,s),{defaultedConfig:u}=St(i);return e({getSidebarProps:()=>({modelValue:r,selectYear:l})}),(d,f)=>(C(),F("div",null,[d.$slots["top-extra"]?Ie(d.$slots,"top-extra",{key:0,value:d.internalModelValue}):re("",!0),d.$slots["month-year"]?Ie(d.$slots,"month-year",en(Yt({key:1},{years:G(o),selectYear:G(l)}))):(C(),Se(qa,{key:2,items:G(o),"is-last":d.autoApply&&!G(u).keepActionRow,height:G(u).modeHeight,config:d.config,"no-overlay-focus":!!(d.noOverlayFocus||d.textInput),"focus-value":G(a),type:"year","use-relative":"",onSelected:G(l),onHoverValue:G(c)},hn({_:2},[d.$slots["year-overlay-value"]?{name:"item",fn:Pe(({item:g})=>[Ie(d.$slots,"year-overlay-value",{text:g.text,value:g.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),iL={key:0,class:"dp__time_input"},oL=["data-test","aria-label","onKeydown","onClick","onMousedown"],rL=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),aL=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),lL=["aria-label","disabled","data-test","onKeydown","onClick"],cL=["data-test","aria-label","onKeydown","onClick","onMousedown"],uL=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),dL=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),hL={key:0},fL=["aria-label"],pL=Bt({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...ds},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(t,{expose:e,emit:n}){const s=n,i=t,{setTimePickerElements:o,setTimePickerBackRef:r}=Bi(),{defaultedAriaLabels:a,defaultedTransitions:l,defaultedFilters:c,defaultedConfig:u,defaultedRange:d}=St(i),{transitionName:f,showTransition:g}=Ga(l),_=Ts({hours:!1,minutes:!1,seconds:!1}),m=be("AM"),y=be(null),v=be([]),$=be(),A=be(!1);Jt(()=>{s("mounted")});const D=b=>pt(new Date,{hours:b.hours,minutes:b.minutes,seconds:i.enableSeconds?b.seconds:0,milliseconds:0}),x=_e(()=>b=>H(b,i[b])||S(b,i[b])),w=_e(()=>({hours:i.hours,minutes:i.minutes,seconds:i.seconds})),S=(b,O)=>d.value.enabled&&!d.value.disableTimeRangeValidation?!i.validateTime(b,O):!1,T=(b,O)=>{if(d.value.enabled&&!d.value.disableTimeRangeValidation){const j=O?+i[`${b}Increment`]:-+i[`${b}Increment`],z=i[b]+j;return!i.validateTime(b,z)}return!1},M=_e(()=>b=>!U(+i[b]+ +i[`${b}Increment`],b)||T(b,!0)),E=_e(()=>b=>!U(+i[b]-+i[`${b}Increment`],b)||T(b,!1)),V=(b,O)=>py(pt(ye(),b),O),X=(b,O)=>rI(pt(ye(),b),O),le=_e(()=>({dp__time_col:!0,dp__time_col_block:!i.timePickerInline,dp__time_col_reg_block:!i.enableSeconds&&i.is24&&!i.timePickerInline,dp__time_col_reg_inline:!i.enableSeconds&&i.is24&&i.timePickerInline,dp__time_col_reg_with_button:!i.enableSeconds&&!i.is24,dp__time_col_sec:i.enableSeconds&&i.is24,dp__time_col_sec_with_button:i.enableSeconds&&!i.is24})),Y=_e(()=>{const b=[{type:"hours"}];return i.enableMinutes&&b.push({type:"",separator:!0},{type:"minutes"}),i.enableSeconds&&b.push({type:"",separator:!0},{type:"seconds"}),b}),R=_e(()=>Y.value.filter(b=>!b.separator)),I=_e(()=>b=>{if(b==="hours"){const O=ie(+i.hours);return{text:O<10?`0${O}`:`${O}`,value:O}}return{text:i[b]<10?`0${i[b]}`:`${i[b]}`,value:i[b]}}),H=(b,O)=>{var j;if(!i.disabledTimesConfig)return!1;const z=i.disabledTimesConfig(i.order,b==="hours"?O:void 0);return z[b]?!!((j=z[b])!=null&&j.includes(O)):!0},Z=(b,O)=>O!=="hours"||m.value==="AM"?b:b+12,ee=b=>{const O=i.is24?24:12,j=b==="hours"?O:60,z=+i[`${b}GridIncrement`],oe=b==="hours"&&!i.is24?z:0,W=[];for(let ne=oe;ne({active:!1,disabled:c.value.times[b].includes(ne.value)||!U(ne.value,b)||H(b,ne.value)||S(b,ne.value)}))},ce=b=>b>=0?b:59,ve=b=>b>=0?b:23,U=(b,O)=>{const j=i.minTime?D(zu(i.minTime)):null,z=i.maxTime?D(zu(i.maxTime)):null,oe=D(zu(w.value,O,O==="minutes"||O==="seconds"?ce(b):ve(b)));return j&&z?(Ia(oe,z)||Zo(oe,z))&&(vr(oe,j)||Zo(oe,j)):j?vr(oe,j)||Zo(oe,j):z?Ia(oe,z)||Zo(oe,z):!0},Q=b=>i[`no${b[0].toUpperCase()+b.slice(1)}Overlay`],L=b=>{Q(b)||(_[b]=!_[b],_[b]?(A.value=!0,s("overlay-opened",b)):(A.value=!1,s("overlay-closed",b)))},te=b=>b==="hours"?Qs:b==="minutes"?Mi:br,ae=()=>{$.value&&clearTimeout($.value)},P=(b,O=!0,j)=>{const z=O?V:X,oe=O?+i[`${b}Increment`]:-+i[`${b}Increment`];U(+i[b]+oe,b)&&s(`update:${b}`,te(b)(z({[b]:+i[b]},{[b]:+i[`${b}Increment`]}))),!(j!=null&&j.keyboard)&&u.value.timeArrowHoldThreshold&&($.value=setTimeout(()=>{P(b,O)},u.value.timeArrowHoldThreshold))},ie=b=>i.is24?b:(b>=12?m.value="PM":m.value="AM",hI(b)),de=()=>{m.value==="PM"?(m.value="AM",s("update:hours",i.hours-12)):(m.value="PM",s("update:hours",i.hours+12)),s("am-pm-change",m.value)},we=b=>{_[b]=!0},B=(b,O,j)=>{if(b&&i.arrowNavigation){Array.isArray(v.value[O])?v.value[O][j]=b:v.value[O]=[b];const z=v.value.reduce((oe,W)=>W.map((ne,J)=>[...oe[J]||[],W[J]]),[]);r(i.closeTimePickerBtn),y.value&&(z[1]=z[1].concat(y.value)),o(z,i.order)}},fe=(b,O)=>(L(b),s(`update:${b}`,O));return e({openChildCmp:we}),(b,O)=>{var j;return b.disabled?re("",!0):(C(),F("div",iL,[(C(!0),F(Me,null,Ke(Y.value,(z,oe)=>{var W,ne,J;return C(),F("div",{key:oe,class:Ee(le.value)},[z.separator?(C(),F(Me,{key:0},[A.value?re("",!0):(C(),F(Me,{key:0},[He(":")],64))],64)):(C(),F(Me,{key:1},[h("button",{ref_for:!0,ref:he=>B(he,oe,0),type:"button",class:Ee({dp__btn:!0,dp__inc_dec_button:!b.timePickerInline,dp__inc_dec_button_inline:b.timePickerInline,dp__tp_inline_btn_top:b.timePickerInline,dp__inc_dec_button_disabled:M.value(z.type),"dp--hidden-el":A.value}),"data-test":`${z.type}-time-inc-btn-${i.order}`,"aria-label":(W=G(a))==null?void 0:W.incrementValue(z.type),tabindex:"0",onKeydown:he=>G(bn)(he,()=>P(z.type,!0,{keyboard:!0}),!0),onClick:he=>G(u).timeArrowHoldThreshold?void 0:P(z.type,!0),onMousedown:he=>G(u).timeArrowHoldThreshold?P(z.type,!0):void 0,onMouseup:ae},[i.timePickerInline?(C(),F(Me,{key:1},[b.$slots["tp-inline-arrow-up"]?Ie(b.$slots,"tp-inline-arrow-up",{key:0}):(C(),F(Me,{key:1},[rL,aL],64))],64)):(C(),F(Me,{key:0},[b.$slots["arrow-up"]?Ie(b.$slots,"arrow-up",{key:0}):re("",!0),b.$slots["arrow-up"]?re("",!0):(C(),Se(G(ff),{key:1}))],64))],42,oL),h("button",{ref_for:!0,ref:he=>B(he,oe,1),type:"button","aria-label":`${I.value(z.type).text}-${(ne=G(a))==null?void 0:ne.openTpOverlay(z.type)}`,class:Ee({dp__time_display:!0,dp__time_display_block:!b.timePickerInline,dp__time_display_inline:b.timePickerInline,"dp--time-invalid":x.value(z.type),"dp--time-overlay-btn":!x.value(z.type),"dp--hidden-el":A.value}),disabled:Q(z.type),tabindex:"0","data-test":`${z.type}-toggle-overlay-btn-${i.order}`,onKeydown:he=>G(bn)(he,()=>L(z.type),!0),onClick:he=>L(z.type)},[b.$slots[z.type]?Ie(b.$slots,z.type,{key:0,text:I.value(z.type).text,value:I.value(z.type).value}):re("",!0),b.$slots[z.type]?re("",!0):(C(),F(Me,{key:1},[He(xe(I.value(z.type).text),1)],64))],42,lL),h("button",{ref_for:!0,ref:he=>B(he,oe,2),type:"button",class:Ee({dp__btn:!0,dp__inc_dec_button:!b.timePickerInline,dp__inc_dec_button_inline:b.timePickerInline,dp__tp_inline_btn_bottom:b.timePickerInline,dp__inc_dec_button_disabled:E.value(z.type),"dp--hidden-el":A.value}),"data-test":`${z.type}-time-dec-btn-${i.order}`,"aria-label":(J=G(a))==null?void 0:J.decrementValue(z.type),tabindex:"0",onKeydown:he=>G(bn)(he,()=>P(z.type,!1,{keyboard:!0}),!0),onClick:he=>G(u).timeArrowHoldThreshold?void 0:P(z.type,!1),onMousedown:he=>G(u).timeArrowHoldThreshold?P(z.type,!1):void 0,onMouseup:ae},[i.timePickerInline?(C(),F(Me,{key:1},[b.$slots["tp-inline-arrow-down"]?Ie(b.$slots,"tp-inline-arrow-down",{key:0}):(C(),F(Me,{key:1},[uL,dL],64))],64)):(C(),F(Me,{key:0},[b.$slots["arrow-down"]?Ie(b.$slots,"arrow-down",{key:0}):re("",!0),b.$slots["arrow-down"]?re("",!0):(C(),Se(G(pf),{key:1}))],64))],42,cL)],64))],2)}),128)),b.is24?re("",!0):(C(),F("div",hL,[b.$slots["am-pm-button"]?Ie(b.$slots,"am-pm-button",{key:0,toggle:de,value:m.value}):re("",!0),b.$slots["am-pm-button"]?re("",!0):(C(),F("button",{key:1,ref_key:"amPmButton",ref:y,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(j=G(a))==null?void 0:j.amPmButton,tabindex:"0",onClick:de,onKeydown:O[0]||(O[0]=z=>G(bn)(z,()=>de(),!0))},xe(m.value),41,fL))])),(C(!0),F(Me,null,Ke(R.value,(z,oe)=>(C(),Se(Et,{key:oe,name:G(f)(_[z.type]),css:G(g)},{default:Pe(()=>{var W,ne;return[_[z.type]?(C(),Se(qa,{key:0,items:ee(z.type),"is-last":b.autoApply&&!G(u).keepActionRow,"esc-close":b.escClose,type:z.type,"text-input":b.textInput,config:b.config,"arrow-navigation":b.arrowNavigation,"aria-labels":b.ariaLabels,"overlay-label":(ne=(W=G(a)).timeOverlay)==null?void 0:ne.call(W,z.type),onSelected:J=>fe(z.type,J),onToggle:J=>L(z.type),onResetFlow:O[1]||(O[1]=J=>b.$emit("reset-flow"))},hn({"button-icon":Pe(()=>[b.$slots["clock-icon"]?Ie(b.$slots,"clock-icon",{key:0}):re("",!0),b.$slots["clock-icon"]?re("",!0):(C(),Se(To(b.timePickerInline?G(Ir):G(hf)),{key:1}))]),_:2},[b.$slots[`${z.type}-overlay-value`]?{name:"item",fn:Pe(({item:J})=>[Ie(b.$slots,`${z.type}-overlay-value`,{text:J.text,value:J.value})]),key:"0"}:void 0,b.$slots[`${z.type}-overlay-header`]?{name:"header",fn:Pe(()=>[Ie(b.$slots,`${z.type}-overlay-header`,{toggle:()=>L(z.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):re("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),gL={class:"dp--tp-wrap"},mL=["aria-label","tabindex"],_L=["role","aria-label","tabindex"],bL=["aria-label"],Zy=Bt({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...ds},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(t,{expose:e,emit:n}){const s=n,i=t,{buildMatrix:o,setTimePicker:r}=Bi(),a=Po(),{defaultedTransitions:l,defaultedAriaLabels:c,defaultedTextInput:u,defaultedConfig:d,defaultedRange:f}=St(i),{transitionName:g,showTransition:_}=Ga(l),{hideNavigationButtons:m}=Xc(),y=be(null),v=be(null),$=be([]),A=be(null),D=be(!1);Jt(()=>{s("mount"),!i.timePicker&&i.arrowNavigation?o([Wt(y.value)],"time"):r(!0,i.timePicker)});const x=_e(()=>f.value.enabled&&i.modelAuto?Ny(i.internalModelValue):!0),w=be(!1),S=ee=>({hours:Array.isArray(i.hours)?i.hours[ee]:i.hours,minutes:Array.isArray(i.minutes)?i.minutes[ee]:i.minutes,seconds:Array.isArray(i.seconds)?i.seconds[ee]:i.seconds}),T=_e(()=>{const ee=[];if(f.value.enabled)for(let ce=0;ce<2;ce++)ee.push(S(ce));else ee.push(S(0));return ee}),M=(ee,ce=!1,ve="")=>{ce||s("reset-flow"),w.value=ee,s(ee?"overlay-opened":"overlay-closed",cn.time),i.arrowNavigation&&r(ee),nn(()=>{ve!==""&&$.value[0]&&$.value[0].openChildCmp(ve)})},E=_e(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:i.autoApply&&!d.value.keepActionRow})),V=Ln(a,"timePicker"),X=(ee,ce,ve)=>f.value.enabled?ce===0?[ee,T.value[1][ve]]:[T.value[0][ve],ee]:ee,le=ee=>{s("update:hours",ee)},Y=ee=>{s("update:minutes",ee)},R=ee=>{s("update:seconds",ee)},I=()=>{if(A.value&&!u.value.enabled&&!i.noOverlayFocus){const ee=Fy(A.value);ee&&ee.focus({preventScroll:!0})}},H=ee=>{D.value=!1,s("overlay-closed",ee)},Z=ee=>{D.value=!0,s("overlay-opened",ee)};return e({toggleTimePicker:M}),(ee,ce)=>{var ve;return C(),F("div",gL,[!ee.timePicker&&!ee.timePickerInline?Le((C(),F("button",{key:0,ref_key:"openTimePickerBtn",ref:y,type:"button",class:Ee({...E.value,"dp--hidden-el":w.value}),"aria-label":(ve=G(c))==null?void 0:ve.openTimePicker,tabindex:ee.noOverlayFocus?void 0:0,"data-test":"open-time-picker-btn",onKeydown:ce[0]||(ce[0]=U=>G(bn)(U,()=>M(!0))),onClick:ce[1]||(ce[1]=U=>M(!0))},[ee.$slots["clock-icon"]?Ie(ee.$slots,"clock-icon",{key:0}):re("",!0),ee.$slots["clock-icon"]?re("",!0):(C(),Se(G(hf),{key:1}))],42,mL)),[[Jl,!G(m)(ee.hideNavigation,"time")]]):re("",!0),N(Et,{name:G(g)(w.value),css:G(_)&&!ee.timePickerInline},{default:Pe(()=>{var U,Q;return[w.value||ee.timePicker||ee.timePickerInline?(C(),F("div",{key:0,ref_key:"overlayRef",ref:A,role:ee.timePickerInline?void 0:"dialog",class:Ee({dp__overlay:!ee.timePickerInline,"dp--overlay-absolute":!i.timePicker&&!ee.timePickerInline,"dp--overlay-relative":i.timePicker}),style:zt(ee.timePicker?{height:`${G(d).modeHeight}px`}:void 0),"aria-label":(U=G(c))==null?void 0:U.timePicker,tabindex:ee.timePickerInline?void 0:0},[h("div",{class:Ee(ee.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[ee.$slots["time-picker-overlay"]?Ie(ee.$slots,"time-picker-overlay",{key:0,hours:t.hours,minutes:t.minutes,seconds:t.seconds,setHours:le,setMinutes:Y,setSeconds:R}):re("",!0),ee.$slots["time-picker-overlay"]?re("",!0):(C(),F("div",{key:1,class:Ee(ee.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(C(!0),F(Me,null,Ke(T.value,(L,te)=>Le((C(),Se(pL,Yt({key:te,ref_for:!0},{...ee.$props,order:te,hours:L.hours,minutes:L.minutes,seconds:L.seconds,closeTimePickerBtn:v.value,disabledTimesConfig:t.disabledTimesConfig,disabled:te===0?G(f).fixedStart:G(f).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:$,"validate-time":(ae,P)=>t.validateTime(ae,X(P,te,ae)),"onUpdate:hours":ae=>le(X(ae,te,"hours")),"onUpdate:minutes":ae=>Y(X(ae,te,"minutes")),"onUpdate:seconds":ae=>R(X(ae,te,"seconds")),onMounted:I,onOverlayClosed:H,onOverlayOpened:Z,onAmPmChange:ce[2]||(ce[2]=ae=>ee.$emit("am-pm-change",ae))}),hn({_:2},[Ke(G(V),(ae,P)=>({name:ae,fn:Pe(ie=>[Ie(ee.$slots,ae,Yt({ref_for:!0},ie))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[Jl,te===0?!0:x.value]])),128))],2)),!ee.timePicker&&!ee.timePickerInline?Le((C(),F("button",{key:2,ref_key:"closeTimePickerBtn",ref:v,type:"button",class:Ee({...E.value,"dp--hidden-el":D.value}),"aria-label":(Q=G(c))==null?void 0:Q.closeTimePicker,tabindex:"0",onKeydown:ce[3]||(ce[3]=L=>G(bn)(L,()=>M(!1))),onClick:ce[4]||(ce[4]=L=>M(!1))},[ee.$slots["calendar-icon"]?Ie(ee.$slots,"calendar-icon",{key:0}):re("",!0),ee.$slots["calendar-icon"]?re("",!0):(C(),Se(G(Ir),{key:1}))],42,bL)),[[Jl,!G(m)(ee.hideNavigation,"time")]]):re("",!0)],2)],14,_L)):re("",!0)]}),_:3},8,["name","css"])])}}}),e0=(t,e,n,s)=>{const{defaultedRange:i}=St(t),o=(A,D)=>Array.isArray(e[A])?e[A][D]:e[A],r=A=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[A]:e.seconds:0,a=(A,D)=>A?D!==void 0?Ai(A,o("hours",D),o("minutes",D),r(D)):Ai(A,e.hours,e.minutes,r()):Oy(ye(),r(D)),l=(A,D)=>{e[A]=D},c=_e(()=>t.modelAuto&&i.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:i.value.enabled),u=(A,D)=>{const x=Object.fromEntries(Object.keys(e).map(w=>w===A?[w,D]:[w,e[w]].slice()));if(c.value&&!i.value.disableTimeRangeValidation){const w=T=>n.value?Ai(n.value[T],x.hours[T],x.minutes[T],x.seconds[T]):null,S=T=>Dy(n.value[T],0);return!(nt(w(0),w(1))&&(vr(w(0),S(1))||Ia(w(1),S(0))))}return!0},d=(A,D)=>{u(A,D)&&(l(A,D),s&&s())},f=A=>{d("hours",A)},g=A=>{d("minutes",A)},_=A=>{d("seconds",A)},m=(A,D,x,w)=>{D&&f(A),!D&&!x&&g(A),x&&_(A),n.value&&w(n.value)},y=A=>{if(A){const D=Array.isArray(A),x=D?[+A[0].hours,+A[1].hours]:+A.hours,w=D?[+A[0].minutes,+A[1].minutes]:+A.minutes,S=D?[+A[0].seconds,+A[1].seconds]:+A.seconds;l("hours",x),l("minutes",w),t.enableSeconds&&l("seconds",S)}},v=(A,D)=>{const x={hours:Array.isArray(e.hours)?e.hours[A]:e.hours,disabledArr:[]};return(D||D===0)&&(x.hours=D),Array.isArray(t.disabledTimes)&&(x.disabledArr=i.value.enabled&&Array.isArray(t.disabledTimes[A])?t.disabledTimes[A]:t.disabledTimes),x},$=_e(()=>(A,D)=>{var x;if(Array.isArray(t.disabledTimes)){const{disabledArr:w,hours:S}=v(A,D),T=w.filter(M=>+M.hours===S);return((x=T[0])==null?void 0:x.minutes)==="*"?{hours:[S],minutes:void 0,seconds:void 0}:{hours:[],minutes:T?.map(M=>+M.minutes)??[],seconds:T?.map(M=>M.seconds?+M.seconds:void 0)??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:l,updateHours:f,updateMinutes:g,updateSeconds:_,getSetDateTime:a,updateTimeValues:m,getSecondsValue:r,assignStartTime:y,validateTime:u,disabledTimesConfig:$}},vL=(t,e)=>{const n=()=>{t.isTextInputDate&&D()},{modelValue:s,time:i}=Ja(t,e,n),{defaultedStartTime:o,defaultedRange:r,defaultedTz:a}=St(t),{updateTimeValues:l,getSetDateTime:c,setTime:u,assignStartTime:d,disabledTimesConfig:f,validateTime:g}=e0(t,i,s,_);function _(){e("update-flow-step")}const m=w=>{const{hours:S,minutes:T,seconds:M}=w;return{hours:+S,minutes:+T,seconds:M?+M:0}},y=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const S=m(t.startTime[0]),T=m(t.startTime[1]);return[pt(ye(),S),pt(ye(),T)]}const w=m(t.startTime);return pt(ye(),w)}return r.value.enabled?[null,null]:null},v=()=>{if(r.value.enabled){const[w,S]=y();s.value=[En(c(w,0),a.value.timezone),En(c(S,1),a.value.timezone)]}else s.value=En(c(y()),a.value.timezone)},$=w=>Array.isArray(w)?[vo(ye(w[0])),vo(ye(w[1]))]:[vo(w??ye())],A=(w,S,T)=>{u("hours",w),u("minutes",S),u("seconds",t.enableSeconds?T:0)},D=()=>{const[w,S]=$(s.value);return r.value.enabled?A([w.hours,S.hours],[w.minutes,S.minutes],[w.seconds,S.seconds]):A(w.hours,w.minutes,w.seconds)};Jt(()=>{if(!t.shadow)return d(o.value),s.value?D():v()});const x=()=>{Array.isArray(s.value)?s.value=s.value.map((w,S)=>w&&c(w,S)):s.value=c(s.value),e("time-update")};return{modelValue:s,time:i,disabledTimesConfig:f,updateTime:(w,S=!0,T=!1)=>{l(w,S,T,x)},validateTime:g}},yL=Bt({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...ds},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(t,{expose:e,emit:n}){const s=n,i=t,o=Po(),r=Ln(o,"timePicker"),a=be(null),{time:l,modelValue:c,disabledTimesConfig:u,updateTime:d,validateTime:f}=vL(i,s);return Jt(()=>{i.shadow||s("mount",null)}),e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:d}),toggleTimePicker:(g,_=!1,m="")=>{var y;(y=a.value)==null||y.toggleTimePicker(g,_,m)}}),(g,_)=>(C(),Se(Gc,{"multi-calendars":0,stretch:""},{default:Pe(()=>[N(Zy,Yt({ref_key:"tpRef",ref:a},g.$props,{hours:G(l).hours,minutes:G(l).minutes,seconds:G(l).seconds,"internal-model-value":g.internalModelValue,"disabled-times-config":G(u),"validate-time":G(f),"onUpdate:hours":_[0]||(_[0]=m=>G(d)(m)),"onUpdate:minutes":_[1]||(_[1]=m=>G(d)(m,!1)),"onUpdate:seconds":_[2]||(_[2]=m=>G(d)(m,!1,!0)),onAmPmChange:_[3]||(_[3]=m=>g.$emit("am-pm-change",m)),onResetFlow:_[4]||(_[4]=m=>g.$emit("reset-flow")),onOverlayClosed:_[5]||(_[5]=m=>g.$emit("overlay-toggle",{open:!1,overlay:m})),onOverlayOpened:_[6]||(_[6]=m=>g.$emit("overlay-toggle",{open:!0,overlay:m}))}),hn({_:2},[Ke(G(r),(m,y)=>({name:m,fn:Pe(v=>[Ie(g.$slots,m,en(mn(v)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),wL={class:"dp--header-wrap"},xL={key:0,class:"dp__month_year_wrap"},kL={key:0},SL={class:"dp__month_year_wrap"},$L=["data-dp-element","aria-label","data-test","onClick","onKeydown"],AL=Bt({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...ds},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(t,{expose:e,emit:n}){const s=n,i=t,{defaultedTransitions:o,defaultedAriaLabels:r,defaultedMultiCalendars:a,defaultedFilters:l,defaultedConfig:c,defaultedHighlight:u,propDates:d,defaultedUI:f}=St(i),{transitionName:g,showTransition:_}=Ga(o),{buildMatrix:m}=Bi(),{handleMonthYearChange:y,isDisabled:v,updateMonthYear:$}=zI(i,s),{showLeftIcon:A,showRightIcon:D}=Xc(),x=be(!1),w=be(!1),S=be(!1),T=be([null,null,null,null]);Jt(()=>{s("mount")});const M=Q=>({get:()=>i[Q],set:L=>{const te=Q===ts.month?ts.year:ts.month;s("update-month-year",{[Q]:L,[te]:i[te]}),Q===ts.month?H(!0):Z(!0)}}),E=_e(M(ts.month)),V=_e(M(ts.year)),X=_e(()=>Q=>({month:i.month,year:i.year,items:Q===ts.month?i.months:i.years,instance:i.instance,updateMonthYear:$,toggle:Q===ts.month?H:Z})),le=_e(()=>i.months.find(L=>L.value===i.month)||{text:"",value:0}),Y=_e(()=>wr(i.months,Q=>{const L=i.month===Q.value,te=La(Q.value,Vy(i.year,d.value.minDate),Hy(i.year,d.value.maxDate))||l.value.months.includes(Q.value),ae=Yy(u.value,Q.value,i.year);return{active:L,disabled:te,highlighted:ae}})),R=_e(()=>wr(i.years,Q=>{const L=i.year===Q.value,te=La(Q.value,xr(d.value.minDate),xr(d.value.maxDate))||l.value.years.includes(Q.value),ae=vf(u.value,Q.value);return{active:L,disabled:te,highlighted:ae}})),I=(Q,L,te)=>{te!==void 0?Q.value=te:Q.value=!Q.value,Q.value?(S.value=!0,s("overlay-opened",L)):(S.value=!1,s("overlay-closed",L))},H=(Q=!1,L)=>{ee(Q),I(x,cn.month,L)},Z=(Q=!1,L)=>{ee(Q),I(w,cn.year,L)},ee=Q=>{Q||s("reset-flow")},ce=(Q,L)=>{i.arrowNavigation&&(T.value[L]=Wt(Q),m(T.value,"monthYear"))},ve=_e(()=>{var Q,L,te,ae,P,ie;return[{type:ts.month,index:1,toggle:H,modelValue:E.value,updateModelValue:de=>E.value=de,text:le.value.text,showSelectionGrid:x.value,items:Y.value,ariaLabel:(Q=r.value)==null?void 0:Q.openMonthsOverlay,overlayLabel:((te=(L=r.value).monthPicker)==null?void 0:te.call(L,!0))??void 0},{type:ts.year,index:2,toggle:Z,modelValue:V.value,updateModelValue:de=>V.value=de,text:By(i.year,i.locale),showSelectionGrid:w.value,items:R.value,ariaLabel:(ae=r.value)==null?void 0:ae.openYearsOverlay,overlayLabel:((ie=(P=r.value).yearPicker)==null?void 0:ie.call(P,!0))??void 0}]}),U=_e(()=>i.disableYearSelect?[ve.value[0]]:i.yearFirst?[...ve.value].reverse():ve.value);return e({toggleMonthPicker:H,toggleYearPicker:Z,handleMonthYearChange:y}),(Q,L)=>{var te,ae,P,ie,de,we;return C(),F("div",wL,[Q.$slots["month-year"]?(C(),F("div",xL,[Ie(Q.$slots,"month-year",en(mn({month:t.month,year:t.year,months:t.months,years:t.years,updateMonthYear:G($),handleMonthYearChange:G(y),instance:t.instance})))])):(C(),F(Me,{key:1},[Q.$slots["top-extra"]?(C(),F("div",kL,[Ie(Q.$slots,"top-extra",{value:Q.internalModelValue})])):re("",!0),h("div",SL,[G(A)(G(a),t.instance)&&!Q.vertical?(C(),Se(_a,{key:0,"aria-label":(te=G(r))==null?void 0:te.prevMonth,disabled:G(v)(!1),class:Ee((ae=G(f))==null?void 0:ae.navBtnPrev),"el-name":"action-prev",onActivate:L[0]||(L[0]=B=>G(y)(!1,!0)),onSetRef:L[1]||(L[1]=B=>ce(B,0))},{default:Pe(()=>[Q.$slots["arrow-left"]?Ie(Q.$slots,"arrow-left",{key:0}):re("",!0),Q.$slots["arrow-left"]?re("",!0):(C(),Se(G(uf),{key:1}))]),_:3},8,["aria-label","disabled","class"])):re("",!0),h("div",{class:Ee(["dp__month_year_wrap",{dp__year_disable_select:Q.disableYearSelect}])},[(C(!0),F(Me,null,Ke(U.value,(B,fe)=>(C(),F(Me,{key:B.type},[h("button",{ref_for:!0,ref:b=>ce(b,fe+1),type:"button","data-dp-element":`overlay-${B.type}`,class:Ee(["dp__btn dp__month_year_select",{"dp--hidden-el":S.value}]),"aria-label":`${B.text}-${B.ariaLabel}`,"data-test":`${B.type}-toggle-overlay-${t.instance}`,onClick:B.toggle,onKeydown:b=>G(bn)(b,()=>B.toggle(),!0)},[Q.$slots[B.type]?Ie(Q.$slots,B.type,{key:0,text:B.text,value:i[B.type]}):re("",!0),Q.$slots[B.type]?re("",!0):(C(),F(Me,{key:1},[He(xe(B.text),1)],64))],42,$L),N(Et,{name:G(g)(B.showSelectionGrid),css:G(_)},{default:Pe(()=>[B.showSelectionGrid?(C(),Se(qa,{key:0,items:B.items,"arrow-navigation":Q.arrowNavigation,"hide-navigation":Q.hideNavigation,"is-last":Q.autoApply&&!G(c).keepActionRow,"skip-button-ref":!1,config:Q.config,type:B.type,"header-refs":[],"esc-close":Q.escClose,"menu-wrap-ref":Q.menuWrapRef,"text-input":Q.textInput,"aria-labels":Q.ariaLabels,"overlay-label":B.overlayLabel,onSelected:B.updateModelValue,onToggle:B.toggle},hn({"button-icon":Pe(()=>[Q.$slots["calendar-icon"]?Ie(Q.$slots,"calendar-icon",{key:0}):re("",!0),Q.$slots["calendar-icon"]?re("",!0):(C(),Se(G(Ir),{key:1}))]),_:2},[Q.$slots[`${B.type}-overlay-value`]?{name:"item",fn:Pe(({item:b})=>[Ie(Q.$slots,`${B.type}-overlay-value`,{text:b.text,value:b.value})]),key:"0"}:void 0,Q.$slots[`${B.type}-overlay`]?{name:"overlay",fn:Pe(()=>[Ie(Q.$slots,`${B.type}-overlay`,Yt({ref_for:!0},X.value(B.type)))]),key:"1"}:void 0,Q.$slots[`${B.type}-overlay-header`]?{name:"header",fn:Pe(()=>[Ie(Q.$slots,`${B.type}-overlay-header`,{toggle:B.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):re("",!0)]),_:2},1032,["name","css"])],64))),128))],2),G(A)(G(a),t.instance)&&Q.vertical?(C(),Se(_a,{key:1,"aria-label":(P=G(r))==null?void 0:P.prevMonth,"el-name":"action-prev",disabled:G(v)(!1),class:Ee((ie=G(f))==null?void 0:ie.navBtnPrev),onActivate:L[2]||(L[2]=B=>G(y)(!1,!0))},{default:Pe(()=>[Q.$slots["arrow-up"]?Ie(Q.$slots,"arrow-up",{key:0}):re("",!0),Q.$slots["arrow-up"]?re("",!0):(C(),Se(G(ff),{key:1}))]),_:3},8,["aria-label","disabled","class"])):re("",!0),G(D)(G(a),t.instance)?(C(),Se(_a,{key:2,ref:"rightIcon","el-name":"action-next",disabled:G(v)(!0),"aria-label":(de=G(r))==null?void 0:de.nextMonth,class:Ee((we=G(f))==null?void 0:we.navBtnNext),onActivate:L[3]||(L[3]=B=>G(y)(!0,!0)),onSetRef:L[4]||(L[4]=B=>ce(B,Q.disableYearSelect?2:3))},{default:Pe(()=>[Q.$slots[Q.vertical?"arrow-down":"arrow-right"]?Ie(Q.$slots,Q.vertical?"arrow-down":"arrow-right",{key:0}):re("",!0),Q.$slots[Q.vertical?"arrow-down":"arrow-right"]?re("",!0):(C(),Se(To(Q.vertical?G(pf):G(df)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):re("",!0)])],64))])}}}),CL={class:"dp__calendar_header",role:"row"},EL={key:0,class:"dp__calendar_header_item",role:"gridcell"},TL=["aria-label"],PL=h("div",{class:"dp__calendar_header_separator"},null,-1),ML={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},DL={class:"dp__cell_inner"},OL=["id","aria-pressed","aria-disabled","aria-label","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],IL=Bt({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...ds},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(t,{expose:e,emit:n}){const s=n,i=t,{buildMultiLevelMatrix:o}=Bi(),{defaultedTransitions:r,defaultedConfig:a,defaultedAriaLabels:l,defaultedMultiCalendars:c,defaultedWeekNumbers:u,defaultedMultiDates:d,defaultedUI:f}=St(i),g=be(null),_=be({bottom:"",left:"",transform:""}),m=be([]),y=be(null),v=be(!0),$=be(""),A=be({startX:0,endX:0,startY:0,endY:0}),D=be([]),x=be({left:"50%"}),w=be(!1),S=_e(()=>i.calendar?i.calendar(i.mappedDates):i.mappedDates),T=_e(()=>i.dayNames?Array.isArray(i.dayNames)?i.dayNames:i.dayNames(i.locale,+i.weekStart):dI(i.formatLocale,i.locale,+i.weekStart));Jt(()=>{s("mount",{cmp:"calendar",refs:m}),a.value.noSwipe||y.value&&(y.value.addEventListener("touchstart",ce,{passive:!1}),y.value.addEventListener("touchend",ve,{passive:!1}),y.value.addEventListener("touchmove",U,{passive:!1})),i.monthChangeOnScroll&&y.value&&y.value.addEventListener("wheel",te,{passive:!1})});const M=B=>B?i.vertical?"vNext":"next":i.vertical?"vPrevious":"previous",E=(B,fe)=>{if(i.transitions){const b=wn(Ks(ye(),i.month,i.year));$.value=It(wn(Ks(ye(),B,fe)),b)?r.value[M(!0)]:r.value[M(!1)],v.value=!1,nn(()=>{v.value=!0})}},V=_e(()=>({...f.value.calendar??{}})),X=_e(()=>B=>{const fe=fI(B);return{dp__marker_dot:fe.type==="dot",dp__marker_line:fe.type==="line"}}),le=_e(()=>B=>nt(B,g.value)),Y=_e(()=>({dp__calendar:!0,dp__calendar_next:c.value.count>0&&i.instance!==0})),R=_e(()=>B=>i.hideOffsetDates?B.current:!0),I=async(B,fe)=>{const{width:b,height:O}=B.getBoundingClientRect();g.value=fe.value;let j={left:`${b/2}px`},z=-50;if(await nn(),D.value[0]){const{left:oe,width:W}=D.value[0].getBoundingClientRect();oe<0&&(j={left:"0"},z=0,x.value.left=`${b/2}px`),window.innerWidth{var O,j,z;const oe=Wt(m.value[fe][b]);oe&&((O=B.marker)!=null&&O.customPosition&&(z=(j=B.marker)==null?void 0:j.tooltip)!=null&&z.length?_.value=B.marker.customPosition(oe):await I(oe,B),s("tooltip-open",B.marker))},Z=async(B,fe,b)=>{var O,j;if(w.value&&d.value.enabled&&d.value.dragSelect)return s("select-date",B);s("set-hover-date",B),(j=(O=B.marker)==null?void 0:O.tooltip)!=null&&j.length&&await H(B,fe,b)},ee=B=>{g.value&&(g.value=null,_.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),s("tooltip-close",B.marker))},ce=B=>{A.value.startX=B.changedTouches[0].screenX,A.value.startY=B.changedTouches[0].screenY},ve=B=>{A.value.endX=B.changedTouches[0].screenX,A.value.endY=B.changedTouches[0].screenY,Q()},U=B=>{i.vertical&&!i.inline&&B.preventDefault()},Q=()=>{const B=i.vertical?"Y":"X";Math.abs(A.value[`start${B}`]-A.value[`end${B}`])>10&&s("handle-swipe",A.value[`start${B}`]>A.value[`end${B}`]?"right":"left")},L=(B,fe,b)=>{B&&(Array.isArray(m.value[fe])?m.value[fe][b]=B:m.value[fe]=[B]),i.arrowNavigation&&o(m.value,"calendar")},te=B=>{i.monthChangeOnScroll&&(B.preventDefault(),s("handle-scroll",B))},ae=B=>u.value.type==="local"?af(B.value,{weekStartsOn:+i.weekStart}):u.value.type==="iso"?of(B.value):typeof u.value.type=="function"?u.value.type(B.value):"",P=B=>{const fe=B[0];return u.value.hideOnOffsetDates?B.some(b=>b.current)?ae(fe):"":ae(fe)},ie=(B,fe,b=!0)=>{b&&bI()||d.value.enabled||($i(B,a.value),s("select-date",fe))},de=B=>{$i(B,a.value)},we=B=>{d.value.enabled&&d.value.dragSelect?(w.value=!0,s("select-date",B)):d.value.enabled&&s("select-date",B)};return e({triggerTransition:E}),(B,fe)=>(C(),F("div",{class:Ee(Y.value)},[h("div",{ref_key:"calendarWrapRef",ref:y,class:Ee(V.value),role:"grid"},[h("div",CL,[B.weekNumbers?(C(),F("div",EL,xe(B.weekNumName),1)):re("",!0),(C(!0),F(Me,null,Ke(T.value,(b,O)=>{var j,z;return C(),F("div",{key:O,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(z=(j=G(l))==null?void 0:j.weekDay)==null?void 0:z.call(j,O)},[B.$slots["calendar-header"]?Ie(B.$slots,"calendar-header",{key:0,day:b,index:O}):re("",!0),B.$slots["calendar-header"]?re("",!0):(C(),F(Me,{key:1},[He(xe(b),1)],64))],8,TL)}),128))]),PL,N(Et,{name:$.value,css:!!B.transitions},{default:Pe(()=>[v.value?(C(),F("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:fe[1]||(fe[1]=b=>w.value=!1)},[(C(!0),F(Me,null,Ke(S.value,(b,O)=>(C(),F("div",{key:O,class:"dp__calendar_row",role:"row"},[B.weekNumbers?(C(),F("div",ML,[h("div",DL,xe(P(b.days)),1)])):re("",!0),(C(!0),F(Me,null,Ke(b.days,(j,z)=>{var oe,W,ne;return C(),F("div",{id:G(Uy)(j.value),ref_for:!0,ref:J=>L(J,O,z),key:z+O,role:"gridcell",class:"dp__calendar_item","aria-pressed":(j.classData.dp__active_date||j.classData.dp__range_start||j.classData.dp__range_start)??void 0,"aria-disabled":j.classData.dp__cell_disabled||void 0,"aria-label":(W=(oe=G(l))==null?void 0:oe.day)==null?void 0:W.call(oe,j),tabindex:"0","data-test":j.value,onClick:Ma(J=>ie(J,j),["prevent"]),onTouchend:J=>ie(J,j,!1),onKeydown:J=>G(bn)(J,()=>B.$emit("select-date",j)),onMouseenter:J=>Z(j,O,z),onMouseleave:J=>ee(j),onMousedown:J=>we(j),onMouseup:fe[0]||(fe[0]=J=>w.value=!1)},[h("div",{class:Ee(["dp__cell_inner",j.classData])},[B.$slots.day&&R.value(j)?Ie(B.$slots,"day",{key:0,day:+j.text,date:j.value}):re("",!0),B.$slots.day?re("",!0):(C(),F(Me,{key:1},[He(xe(j.text),1)],64)),j.marker&&R.value(j)?(C(),F(Me,{key:2},[B.$slots.marker?Ie(B.$slots,"marker",{key:0,marker:j.marker,day:+j.text,date:j.value}):(C(),F("div",{key:1,class:Ee(X.value(j.marker)),style:zt(j.marker.color?{backgroundColor:j.marker.color}:{})},null,6))],64)):re("",!0),le.value(j.value)?(C(),F("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:D,class:"dp__marker_tooltip",style:zt(_.value)},[(ne=j.marker)!=null&&ne.tooltip?(C(),F("div",{key:0,class:"dp__tooltip_content",onClick:de},[(C(!0),F(Me,null,Ke(j.marker.tooltip,(J,he)=>(C(),F("div",{key:he,class:"dp__tooltip_text"},[B.$slots["marker-tooltip"]?Ie(B.$slots,"marker-tooltip",{key:0,tooltip:J,day:j.value}):re("",!0),B.$slots["marker-tooltip"]?re("",!0):(C(),F(Me,{key:1},[h("div",{class:"dp__tooltip_mark",style:zt(J.color?{backgroundColor:J.color}:{})},null,4),h("div",null,xe(J.text),1)],64))]))),128)),h("div",{class:"dp__arrow_bottom_tp",style:zt(x.value)},null,4)])):re("",!0)],4)):re("",!0)],2)],40,OL)}),128))]))),128))],32)):re("",!0)]),_:3},8,["name","css"])],2)],2))}}),bm=t=>Array.isArray(t),LL=(t,e,n,s)=>{const i=be([]),o=be(new Date),r=be(),a=()=>ce(t.isTextInputDate),{modelValue:l,calendars:c,time:u,today:d}=Ja(t,e,a),{defaultedMultiCalendars:f,defaultedStartTime:g,defaultedRange:_,defaultedConfig:m,defaultedTz:y,propDates:v,defaultedMultiDates:$}=St(t),{validateMonthYearInRange:A,isDisabled:D,isDateRangeAllowed:x,checkMinMaxRange:w}=Vi(t),{updateTimeValues:S,getSetDateTime:T,setTime:M,assignStartTime:E,validateTime:V,disabledTimesConfig:X}=e0(t,u,l,s),le=_e(()=>se=>c.value[se]?c.value[se].month:0),Y=_e(()=>se=>c.value[se]?c.value[se].year:0),R=se=>!m.value.keepViewOnOffsetClick||se?!0:!r.value,I=(se,$e,ue,Ae=!1)=>{var De,sn;R(Ae)&&(c.value[se]||(c.value[se]={month:0,year:0}),c.value[se].month=fm($e)?(De=c.value[se])==null?void 0:De.month:$e,c.value[se].year=fm(ue)?(sn=c.value[se])==null?void 0:sn.year:ue)},H=()=>{t.autoApply&&e("select-date")};Jt(()=>{t.shadow||(l.value||(B(),g.value&&E(g.value)),ce(!0),t.focusStartDate&&t.startDate&&B())});const Z=_e(()=>{var se;return(se=t.flow)!=null&&se.length&&!t.partialFlow?t.flowStep===t.flow.length:!0}),ee=()=>{t.autoApply&&Z.value&&e("auto-apply",t.partialFlow?t.flowStep!==t.flow.length:!1)},ce=(se=!1)=>{if(l.value)return Array.isArray(l.value)?(i.value=l.value,P(se)):Q(l.value,se);if(f.value.count&&se&&!t.startDate)return U(ye(),se)},ve=()=>Array.isArray(l.value)&&_.value.enabled?Ze(l.value[0])===Ze(l.value[1]??l.value[0]):!1,U=(se=new Date,$e=!1)=>{if((!f.value.count||!f.value.static||$e)&&I(0,Ze(se),ze(se)),f.value.count&&(!f.value.solo||!l.value||ve()))for(let ue=1;ue{U(se),M("hours",Qs(se)),M("minutes",Mi(se)),M("seconds",br(se)),f.value.count&&$e&&we()},L=se=>{if(f.value.count){if(f.value.solo)return 0;const $e=Ze(se[0]),ue=Ze(se[1]);return Math.abs(ue-$e){se[1]&&_.value.showLastInRange?U(se[L(se)],$e):U(se[0],$e);const ue=(Ae,De)=>[Ae(se[0]),se[1]?Ae(se[1]):u[De][1]];M("hours",ue(Qs,"hours")),M("minutes",ue(Mi,"minutes")),M("seconds",ue(br,"seconds"))},ae=(se,$e)=>{if((_.value.enabled||t.weekPicker)&&!$.value.enabled)return te(se,$e);if($.value.enabled&&$e){const ue=se[se.length-1];return Q(ue,$e)}},P=se=>{const $e=l.value;ae($e,se),f.value.count&&f.value.solo&&we()},ie=(se,$e)=>{const ue=pt(ye(),{month:le.value($e),year:Y.value($e)}),Ae=se<0?ls(ue,1):yr(ue,1);A(Ze(Ae),ze(Ae),se<0,t.preventMinMaxNavigation)&&(I($e,Ze(Ae),ze(Ae)),e("update-month-year",{instance:$e,month:Ze(Ae),year:ze(Ae)}),f.value.count&&!f.value.solo&&de($e),n())},de=se=>{for(let $e=se-1;$e>=0;$e--){const ue=yr(pt(ye(),{month:le.value($e+1),year:Y.value($e+1)}),1);I($e,Ze(ue),ze(ue))}for(let $e=se+1;$e<=f.value.count-1;$e++){const ue=ls(pt(ye(),{month:le.value($e-1),year:Y.value($e-1)}),1);I($e,Ze(ue),ze(ue))}},we=()=>{if(Array.isArray(l.value)&&l.value.length===2){const se=ye(ye(l.value[1]?l.value[1]:ls(l.value[0],1))),[$e,ue]=[Ze(l.value[0]),ze(l.value[0])],[Ae,De]=[Ze(l.value[1]),ze(l.value[1])];($e!==Ae||$e===Ae&&ue!==De)&&f.value.solo&&I(1,Ze(se),ze(se))}else l.value&&!Array.isArray(l.value)&&(I(0,Ze(l.value),ze(l.value)),U(ye()))},B=()=>{t.startDate&&(I(0,Ze(ye(t.startDate)),ze(ye(t.startDate))),f.value.count&&de(0))},fe=(se,$e)=>{if(t.monthChangeOnScroll){const ue=new Date().getTime()-o.value.getTime(),Ae=Math.abs(se.deltaY);let De=500;Ae>1&&(De=100),Ae>100&&(De=0),ue>De&&(o.value=new Date,ie(t.monthChangeOnScroll!=="inverse"?-se.deltaY:se.deltaY,$e))}},b=(se,$e,ue=!1)=>{t.monthChangeOnArrows&&t.vertical===ue&&O(se,$e)},O=(se,$e)=>{ie(se==="right"?-1:1,$e)},j=se=>{if(v.value.markers)return pc(se.value,v.value.markers)},z=(se,$e)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[se==0,!0];case"fair":return[se==0||$e>se,!0];case"append":return[!1,!1];default:return[!1,!1]}},oe=(se,$e,ue,Ae)=>{if(t.sixWeeks&&se.length<6){const De=6-se.length,sn=($e.getDay()+7-Ae)%7,xn=6-(ue.getDay()+7-Ae)%7,[Os,Lo]=z(sn,xn);for(let Ki=1;Ki<=De;Ki++)if(Lo?!!(Ki%2)==Os:Os){const hs=se[0].days[0],Nr=W(is(hs.value,-7),Ze($e));se.unshift({days:Nr})}else{const hs=se[se.length-1],Nr=hs.days[hs.days.length-1],pu=W(is(Nr.value,1),Ze($e));se.push({days:pu})}}return se},W=(se,$e)=>{const ue=ye(se),Ae=[];for(let De=0;De<7;De++){const sn=is(ue,De),xn=Ze(sn)!==$e;Ae.push({text:t.hideOffsetDates&&xn?"":sn.getDate(),value:sn,current:!xn,classData:{}})}return Ae},ne=(se,$e)=>{const ue=[],Ae=new Date($e,se),De=new Date($e,se+1,0),sn=t.weekStart,xn=us(Ae,{weekStartsOn:sn}),Os=Lo=>{const Ki=W(Lo,se);if(ue.push({days:Ki}),!ue[ue.length-1].days.some(hs=>nt(wn(hs.value),wn(De)))){const hs=is(Lo,7);Os(hs)}};return Os(xn),oe(ue,Ae,De,sn)},J=se=>{const $e=Ai(ye(se.value),u.hours,u.minutes,Be());e("date-update",$e),$.value.enabled?yf($e,l,$.value.limit):l.value=$e,s(),nn().then(()=>{ee()})},he=se=>_.value.noDisabledRange?jy(i.value[0],se).some($e=>D($e)):!1,me=()=>{i.value=l.value?l.value.slice():[],i.value.length===2&&!(_.value.fixedStart||_.value.fixedEnd)&&(i.value=[])},pe=(se,$e)=>{const ue=[ye(se.value),is(ye(se.value),+_.value.autoRange)];x(ue)?($e&&Re(se.value),i.value=ue):e("invalid-date",se.value)},Re=se=>{const $e=Ze(ye(se)),ue=ze(ye(se));if(I(0,$e,ue),f.value.count>0)for(let Ae=1;Ae{if(he(se.value)||!w(se.value,l.value,_.value.fixedStart?0:1))return e("invalid-date",se.value);i.value=Xy(ye(se.value),l,e,_)},Ve=(se,$e)=>{if(me(),_.value.autoRange)return pe(se,$e);if(_.value.fixedStart||_.value.fixedEnd)return Oe(se);i.value[0]?w(ye(se.value),l.value)&&!he(se.value)?Ct(ye(se.value),ye(i.value[0]))?(i.value.unshift(ye(se.value)),e("range-end",i.value[0])):(i.value[1]=ye(se.value),e("range-end",i.value[1])):(t.autoApply&&e("auto-apply-invalid",se.value),e("invalid-date",se.value)):(i.value[0]=ye(se.value),e("range-start",i.value[0]))},Be=(se=!0)=>t.enableSeconds?Array.isArray(u.seconds)?se?u.seconds[0]:u.seconds[1]:u.seconds:0,tt=se=>{i.value[se]=Ai(i.value[se],u.hours[se],u.minutes[se],Be(se!==1))},Je=()=>{var se,$e;i.value[0]&&i.value[1]&&+((se=i.value)==null?void 0:se[0])>+(($e=i.value)==null?void 0:$e[1])&&(i.value.reverse(),e("range-start",i.value[0]),e("range-end",i.value[1]))},mt=()=>{i.value.length&&(i.value[0]&&!i.value[1]?tt(0):(tt(0),tt(1),s()),Je(),l.value=i.value.slice(),Jc(i.value,e,t.autoApply,t.modelAuto))},rn=(se,$e=!1)=>{if(D(se.value)||!se.current&&t.hideOffsetDates)return e("invalid-date",se.value);if(r.value=JSON.parse(JSON.stringify(se)),!_.value.enabled)return J(se);bm(u.hours)&&bm(u.minutes)&&!$.value.enabled&&(Ve(se,$e),mt())},Hn=(se,$e)=>{var ue;I(se,$e.month,$e.year,!0),f.value.count&&!f.value.solo&&de(se),e("update-month-year",{instance:se,month:$e.month,year:$e.year}),n(f.value.solo?se:void 0);const Ae=(ue=t.flow)!=null&&ue.length?t.flow[t.flowStep]:void 0;!$e.fromNav&&(Ae===cn.month||Ae===cn.year)&&s()},ni=(se,$e)=>{Jy({value:se,modelValue:l,range:_.value.enabled,timezone:$e?void 0:y.value.timezone}),H(),t.multiCalendars&&nn().then(()=>ce(!0))},Qn=()=>{const se=gf(ye(),y.value);_.value.enabled?l.value&&Array.isArray(l.value)&&l.value[0]?l.value=Ct(se,l.value[0])?[se,l.value[0]]:[l.value[0],se]:l.value=[se]:l.value=se,H()},Ds=()=>{if(Array.isArray(l.value))if($.value.enabled){const se=jt();l.value[l.value.length-1]=T(se)}else l.value=l.value.map((se,$e)=>se&&T(se,$e));else l.value=T(l.value);e("time-update")},jt=()=>Array.isArray(l.value)&&l.value.length?l.value[l.value.length-1]:null;return{calendars:c,modelValue:l,month:le,year:Y,time:u,disabledTimesConfig:X,today:d,validateTime:V,getCalendarDays:ne,getMarker:j,handleScroll:fe,handleSwipe:O,handleArrow:b,selectDate:rn,updateMonthYear:Hn,presetDate:ni,selectCurrentDate:Qn,updateTime:(se,$e=!0,ue=!1)=>{S(se,$e,ue,Ds)},assignMonthAndYear:U}},RL={key:0},NL=Bt({__name:"DatePicker",props:{...ds},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(t,{expose:e,emit:n}){const s=n,i=t,{calendars:o,month:r,year:a,modelValue:l,time:c,disabledTimesConfig:u,today:d,validateTime:f,getCalendarDays:g,getMarker:_,handleArrow:m,handleScroll:y,handleSwipe:v,selectDate:$,updateMonthYear:A,presetDate:D,selectCurrentDate:x,updateTime:w,assignMonthAndYear:S}=LL(i,s,ve,U),T=Po(),{setHoverDate:M,getDayClassData:E,clearHoverDate:V}=eR(l,i),{defaultedMultiCalendars:X}=St(i),le=be([]),Y=be([]),R=be(null),I=Ln(T,"calendar"),H=Ln(T,"monthYear"),Z=Ln(T,"timePicker"),ee=fe=>{i.shadow||s("mount",fe)};Ht(o,()=>{i.shadow||setTimeout(()=>{s("recalculate-position")},0)},{deep:!0}),Ht(X,(fe,b)=>{fe.count-b.count>0&&S()},{deep:!0});const ce=_e(()=>fe=>g(r.value(fe),a.value(fe)).map(b=>({...b,days:b.days.map(O=>(O.marker=_(O),O.classData=E(O),O))})));function ve(fe){var b;fe||fe===0?(b=Y.value[fe])==null||b.triggerTransition(r.value(fe),a.value(fe)):Y.value.forEach((O,j)=>O.triggerTransition(r.value(j),a.value(j)))}function U(){s("update-flow-step")}const Q=(fe,b=!1)=>{$(fe,b),i.spaceConfirm&&s("select-date")},L=(fe,b,O=0)=>{var j;(j=le.value[O])==null||j.toggleMonthPicker(fe,b)},te=(fe,b,O=0)=>{var j;(j=le.value[O])==null||j.toggleYearPicker(fe,b)},ae=(fe,b,O)=>{var j;(j=R.value)==null||j.toggleTimePicker(fe,b,O)},P=(fe,b)=>{var O;if(!i.range){const j=l.value?l.value:d,z=b?new Date(b):j,oe=fe?us(z,{weekStartsOn:1}):xy(z,{weekStartsOn:1});$({value:oe,current:Ze(z)===r.value(0),text:"",classData:{}}),(O=document.getElementById(Uy(oe)))==null||O.focus()}},ie=fe=>{var b;(b=le.value[0])==null||b.handleMonthYearChange(fe,!0)},de=fe=>{A(0,{month:r.value(0),year:a.value(0)+(fe?1:-1),fromNav:!0})},we=(fe,b)=>{fe===cn.time&&s(`time-picker-${b?"open":"close"}`),s("overlay-toggle",{open:b,overlay:fe})},B=fe=>{s("overlay-toggle",{open:!1,overlay:fe}),s("focus-menu")};return e({clearHoverDate:V,presetDate:D,selectCurrentDate:x,toggleMonthPicker:L,toggleYearPicker:te,toggleTimePicker:ae,handleArrow:m,updateMonthYear:A,getSidebarProps:()=>({modelValue:l,month:r,year:a,time:c,updateTime:w,updateMonthYear:A,selectDate:$,presetDate:D}),changeMonth:ie,changeYear:de,selectWeekDate:P}),(fe,b)=>(C(),F(Me,null,[N(Gc,{"multi-calendars":G(X).count,collapse:fe.collapse},{default:Pe(({instance:O,index:j})=>[fe.disableMonthYearSelect?re("",!0):(C(),Se(AL,Yt({key:0,ref:z=>{z&&(le.value[j]=z)},months:G(Ry)(fe.formatLocale,fe.locale,fe.monthNameFormat),years:G(mf)(fe.yearRange,fe.locale,fe.reverseYears),month:G(r)(O),year:G(a)(O),instance:O},fe.$props,{onMount:b[0]||(b[0]=z=>ee(G(bo).header)),onResetFlow:b[1]||(b[1]=z=>fe.$emit("reset-flow")),onUpdateMonthYear:z=>G(A)(O,z),onOverlayClosed:B,onOverlayOpened:b[2]||(b[2]=z=>fe.$emit("overlay-toggle",{open:!0,overlay:z}))}),hn({_:2},[Ke(G(H),(z,oe)=>({name:z,fn:Pe(W=>[Ie(fe.$slots,z,en(mn(W)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),N(IL,Yt({ref:z=>{z&&(Y.value[j]=z)},"mapped-dates":ce.value(O),month:G(r)(O),year:G(a)(O),instance:O},fe.$props,{onSelectDate:z=>G($)(z,O!==1),onHandleSpace:z=>Q(z,O!==1),onSetHoverDate:b[3]||(b[3]=z=>G(M)(z)),onHandleScroll:z=>G(y)(z,O),onHandleSwipe:z=>G(v)(z,O),onMount:b[4]||(b[4]=z=>ee(G(bo).calendar)),onResetFlow:b[5]||(b[5]=z=>fe.$emit("reset-flow")),onTooltipOpen:b[6]||(b[6]=z=>fe.$emit("tooltip-open",z)),onTooltipClose:b[7]||(b[7]=z=>fe.$emit("tooltip-close",z))}),hn({_:2},[Ke(G(I),(z,oe)=>({name:z,fn:Pe(W=>[Ie(fe.$slots,z,en(mn({...W})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),fe.enableTimePicker?(C(),F("div",RL,[fe.$slots["time-picker"]?Ie(fe.$slots,"time-picker",en(Yt({key:0},{time:G(c),updateTime:G(w)}))):(C(),Se(Zy,Yt({key:1,ref_key:"timePickerRef",ref:R},fe.$props,{hours:G(c).hours,minutes:G(c).minutes,seconds:G(c).seconds,"internal-model-value":fe.internalModelValue,"disabled-times-config":G(u),"validate-time":G(f),onMount:b[8]||(b[8]=O=>ee(G(bo).timePicker)),"onUpdate:hours":b[9]||(b[9]=O=>G(w)(O)),"onUpdate:minutes":b[10]||(b[10]=O=>G(w)(O,!1)),"onUpdate:seconds":b[11]||(b[11]=O=>G(w)(O,!1,!0)),onResetFlow:b[12]||(b[12]=O=>fe.$emit("reset-flow")),onOverlayClosed:b[13]||(b[13]=O=>we(O,!1)),onOverlayOpened:b[14]||(b[14]=O=>we(O,!0)),onAmPmChange:b[15]||(b[15]=O=>fe.$emit("am-pm-change",O))}),hn({_:2},[Ke(G(Z),(O,j)=>({name:O,fn:Pe(z=>[Ie(fe.$slots,O,en(mn(z)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):re("",!0)],64))}}),FL=(t,e)=>{const n=be(),{defaultedMultiCalendars:s,defaultedConfig:i,defaultedHighlight:o,defaultedRange:r,propDates:a,defaultedFilters:l,defaultedMultiDates:c}=St(t),{modelValue:u,year:d,month:f,calendars:g}=Ja(t,e),{isDisabled:_}=Vi(t),{selectYear:m,groupedYears:y,showYearPicker:v,isDisabled:$,toggleYearPicker:A,handleYearSelect:D,handleYear:x}=Qy({modelValue:u,multiCalendars:s,range:r,highlight:o,calendars:g,propDates:a,month:f,year:d,filters:l,props:t,emit:e}),w=(R,I)=>[R,I].map(H=>Ss(H,"MMMM",{locale:t.formatLocale})).join("-"),S=_e(()=>R=>u.value?Array.isArray(u.value)?u.value.some(I=>um(R,I)):um(u.value,R):!1),T=R=>{if(r.value.enabled){if(Array.isArray(u.value)){const I=nt(R,u.value[0])||nt(R,u.value[1]);return Uc(u.value,n.value,R)&&!I}return!1}return!1},M=(R,I)=>R.quarter===im(I)&&R.year===ze(I),E=R=>typeof o.value=="function"?o.value({quarter:im(R),year:ze(R)}):!!o.value.quarters.find(I=>M(I,R)),V=_e(()=>R=>{const I=pt(new Date,{year:d.value(R)});return h2({start:Oa(I),end:wy(I)}).map(H=>{const Z=fo(H),ee=om(H),ce=_(H),ve=T(Z),U=E(Z);return{text:w(Z,ee),value:Z,active:S.value(Z),highlighted:U,disabled:ce,isBetween:ve}})}),X=R=>{yf(R,u,c.value.limit),e("auto-apply",!0)},le=R=>{u.value=wf(u,R,e),Jc(u.value,e,t.autoApply,t.modelAuto)},Y=R=>{u.value=R,e("auto-apply")};return{defaultedConfig:i,defaultedMultiCalendars:s,groupedYears:y,year:d,isDisabled:$,quarters:V,showYearPicker:v,modelValue:u,setHoverDate:R=>{n.value=R},selectYear:m,selectQuarter:(R,I,H)=>{if(!H)return g.value[I].month=Ze(om(R)),c.value.enabled?X(R):r.value.enabled?le(R):Y(R)},toggleYearPicker:A,handleYearSelect:D,handleYear:x}},BL={class:"dp--quarter-items"},VL=["data-test","disabled","onClick","onMouseover"],HL=Bt({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...ds},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(t,{expose:e,emit:n}){const s=n,i=t,o=Po(),r=Ln(o,"yearMode"),{defaultedMultiCalendars:a,defaultedConfig:l,groupedYears:c,year:u,isDisabled:d,quarters:f,modelValue:g,showYearPicker:_,setHoverDate:m,selectQuarter:y,toggleYearPicker:v,handleYearSelect:$,handleYear:A}=FL(i,s);return e({getSidebarProps:()=>({modelValue:g,year:u,selectQuarter:y,handleYearSelect:$,handleYear:A})}),(D,x)=>(C(),Se(Gc,{"multi-calendars":G(a).count,collapse:D.collapse,stretch:""},{default:Pe(({instance:w})=>[h("div",{class:"dp-quarter-picker-wrap",style:zt({minHeight:`${G(l).modeHeight}px`})},[D.$slots["top-extra"]?Ie(D.$slots,"top-extra",{key:0,value:D.internalModelValue}):re("",!0),h("div",null,[N(Gy,Yt(D.$props,{items:G(c)(w),instance:w,"show-year-picker":G(_)[w],year:G(u)(w),"is-disabled":S=>G(d)(w,S),onHandleYear:S=>G(A)(w,S),onYearSelect:S=>G($)(S,w),onToggleYearPicker:S=>G(v)(w,S?.flow,S?.show)}),hn({_:2},[Ke(G(r),(S,T)=>({name:S,fn:Pe(M=>[Ie(D.$slots,S,en(mn(M)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),h("div",BL,[(C(!0),F(Me,null,Ke(G(f)(w),(S,T)=>(C(),F("div",{key:T},[h("button",{type:"button",class:Ee(["dp--qr-btn",{"dp--qr-btn-active":S.active,"dp--qr-btn-between":S.isBetween,"dp--qr-btn-disabled":S.disabled,"dp--highlighted":S.highlighted}]),"data-test":S.value,disabled:S.disabled,onClick:M=>G(y)(S.value,w,S.disabled),onMouseover:M=>G(m)(S.value)},[D.$slots.quarter?Ie(D.$slots,"quarter",{key:0,value:S.value,text:S.text}):(C(),F(Me,{key:1},[He(xe(S.text),1)],64))],42,VL)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),jL=["id","tabindex","role","aria-label"],WL={key:0,class:"dp--menu-load-container"},zL=h("span",{class:"dp--menu-loader"},null,-1),KL=[zL],YL={key:1,class:"dp--menu-header"},UL={key:0,class:"dp__sidebar_left"},qL=["data-test","onClick","onKeydown"],GL={key:2,class:"dp__sidebar_right"},JL={key:3,class:"dp__action_extra"},vm=Bt({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...qc,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(t,{expose:e,emit:n}){const s=n,i=t,o=be(null),r=_e(()=>{const{openOnTop:W,...ne}=i;return{...ne,flowStep:M.value,collapse:i.collapse,noOverlayFocus:i.noOverlayFocus,menuWrapRef:o.value}}),{setMenuFocused:a,setShiftKey:l,control:c}=qy(),u=Po(),{defaultedTextInput:d,defaultedInline:f,defaultedConfig:g,defaultedUI:_}=St(i),m=be(null),y=be(0),v=be(null),$=be(!1),A=be(null);Jt(()=>{if(!i.shadow){$.value=!0,D(),window.addEventListener("resize",D);const W=Wt(o);if(W&&!d.value.enabled&&!f.value.enabled&&(a(!0),I()),W){const ne=J=>{g.value.allowPreventDefault&&J.preventDefault(),$i(J,g.value,!0)};W.addEventListener("pointerdown",ne),W.addEventListener("mousedown",ne)}}}),Dr(()=>{window.removeEventListener("resize",D)});const D=()=>{const W=Wt(v);W&&(y.value=W.getBoundingClientRect().width)},{arrowRight:x,arrowLeft:w,arrowDown:S,arrowUp:T}=Bi(),{flowStep:M,updateFlowStep:E,childMount:V,resetFlow:X,handleFlow:le}=tR(i,s,A),Y=_e(()=>i.monthPicker?tL:i.yearPicker?sL:i.timePicker?yL:i.quarterPicker?HL:NL),R=_e(()=>{var W;if(g.value.arrowLeft)return g.value.arrowLeft;const ne=(W=o.value)==null?void 0:W.getBoundingClientRect(),J=i.getInputRect();return J?.width=(ne?.right??0)&&J?.width{const W=Wt(o);W&&W.focus({preventScroll:!0})},H=_e(()=>{var W;return((W=A.value)==null?void 0:W.getSidebarProps())||{}}),Z=()=>{i.openOnTop&&s("recalculate-position")},ee=Ln(u,"action"),ce=_e(()=>i.monthPicker||i.yearPicker?Ln(u,"monthYear"):i.timePicker?Ln(u,"timePicker"):Ln(u,"shared")),ve=_e(()=>i.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),U=_e(()=>({dp__menu_disabled:i.disabled,dp__menu_readonly:i.readonly,"dp-menu-loading":i.loading})),Q=_e(()=>({dp__menu:!0,dp__menu_index:!f.value.enabled,dp__relative:f.value.enabled,..._.value.menu??{}})),L=W=>{$i(W,g.value,!0)},te=()=>{i.escClose&&s("close-picker")},ae=W=>{if(i.arrowNavigation){if(W===gn.up)return T();if(W===gn.down)return S();if(W===gn.left)return w();if(W===gn.right)return x()}else W===gn.left||W===gn.up?B("handleArrow",gn.left,0,W===gn.up):B("handleArrow",gn.right,0,W===gn.down)},P=W=>{l(W.shiftKey),!i.disableMonthYearSelect&&W.code===bt.tab&&W.target.classList.contains("dp__menu")&&c.value.shiftKeyInMenu&&(W.preventDefault(),$i(W,g.value,!0),s("close-picker"))},ie=()=>{I(),s("time-picker-close")},de=W=>{var ne,J,he;(ne=A.value)==null||ne.toggleTimePicker(!1,!1),(J=A.value)==null||J.toggleMonthPicker(!1,!1,W),(he=A.value)==null||he.toggleYearPicker(!1,!1,W)},we=(W,ne=0)=>{var J,he,me;return W==="month"?(J=A.value)==null?void 0:J.toggleMonthPicker(!1,!0,ne):W==="year"?(he=A.value)==null?void 0:he.toggleYearPicker(!1,!0,ne):W==="time"?(me=A.value)==null?void 0:me.toggleTimePicker(!0,!1):de(ne)},B=(W,...ne)=>{var J,he;(J=A.value)!=null&&J[W]&&((he=A.value)==null||he[W](...ne))},fe=()=>{B("selectCurrentDate")},b=(W,ne)=>{B("presetDate",W,ne)},O=()=>{B("clearHoverDate")},j=(W,ne)=>{B("updateMonthYear",W,ne)},z=(W,ne)=>{W.preventDefault(),ae(ne)},oe=W=>{var ne,J,he;if(P(W),W.key===bt.home||W.key===bt.end)return B("selectWeekDate",W.key===bt.home,W.target.getAttribute("id"));switch((W.key===bt.pageUp||W.key===bt.pageDown)&&(W.shiftKey?(B("changeYear",W.key===bt.pageUp),(ne=Kd(o.value,"overlay-year"))==null||ne.focus()):(B("changeMonth",W.key===bt.pageUp),(J=Kd(o.value,W.key===bt.pageUp?"action-prev":"action-next"))==null||J.focus()),W.target.getAttribute("id")&&((he=o.value)==null||he.focus({preventScroll:!0}))),W.key){case bt.esc:return te();case bt.arrowLeft:return z(W,gn.left);case bt.arrowRight:return z(W,gn.right);case bt.arrowUp:return z(W,gn.up);case bt.arrowDown:return z(W,gn.down);default:return}};return e({updateMonthYear:j,switchView:we,handleFlow:le}),(W,ne)=>{var J,he,me;return C(),F("div",{id:W.uid?`dp-menu-${W.uid}`:void 0,ref_key:"dpMenuRef",ref:o,tabindex:G(f).enabled?void 0:"0",role:G(f).enabled?void 0:"dialog","aria-label":(J=W.ariaLabels)==null?void 0:J.menu,class:Ee(Q.value),style:zt({"--dp-arrow-left":R.value}),onMouseleave:O,onClick:L,onKeydown:oe},[(W.disabled||W.readonly)&&G(f).enabled||W.loading?(C(),F("div",{key:0,class:Ee(U.value)},[W.loading?(C(),F("div",WL,KL)):re("",!0)],2)):re("",!0),W.$slots["menu-header"]?(C(),F("div",YL,[Ie(W.$slots,"menu-header")])):re("",!0),!G(f).enabled&&!W.teleportCenter?(C(),F("div",{key:2,class:Ee(ve.value)},null,2)):re("",!0),h("div",{ref_key:"innerMenuRef",ref:v,class:Ee({dp__menu_content_wrapper:((he=W.presetDates)==null?void 0:he.length)||!!W.$slots["left-sidebar"]||!!W.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":t.collapse&&(((me=W.presetDates)==null?void 0:me.length)||!!W.$slots["left-sidebar"]||!!W.$slots["right-sidebar"])}),style:zt({"--dp-menu-width":`${y.value}px`})},[W.$slots["left-sidebar"]?(C(),F("div",UL,[Ie(W.$slots,"left-sidebar",en(mn(H.value)))])):re("",!0),W.presetDates.length?(C(),F("div",{key:1,class:Ee({"dp--preset-dates-collapsed":t.collapse,"dp--preset-dates":!0})},[(C(!0),F(Me,null,Ke(W.presetDates,(pe,Re)=>(C(),F(Me,{key:Re},[pe.slot?Ie(W.$slots,pe.slot,{key:0,presetDate:b,label:pe.label,value:pe.value}):(C(),F("button",{key:1,type:"button",style:zt(pe.style||{}),class:Ee(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":t.collapse}]),"data-test":pe.testId??void 0,onClick:Ma(Oe=>b(pe.value,pe.noTz),["prevent"]),onKeydown:Oe=>G(bn)(Oe,()=>b(pe.value,pe.noTz),!0)},xe(pe.label),47,qL))],64))),128))],2)):re("",!0),h("div",{ref_key:"calendarWrapperRef",ref:m,class:"dp__instance_calendar",role:"document"},[(C(),Se(To(Y.value),Yt({ref_key:"dynCmpRef",ref:A},r.value,{"flow-step":G(M),onMount:G(V),onUpdateFlowStep:G(E),onResetFlow:G(X),onFocusMenu:I,onSelectDate:ne[0]||(ne[0]=pe=>W.$emit("select-date")),onDateUpdate:ne[1]||(ne[1]=pe=>W.$emit("date-update",pe)),onTooltipOpen:ne[2]||(ne[2]=pe=>W.$emit("tooltip-open",pe)),onTooltipClose:ne[3]||(ne[3]=pe=>W.$emit("tooltip-close",pe)),onAutoApply:ne[4]||(ne[4]=pe=>W.$emit("auto-apply",pe)),onRangeStart:ne[5]||(ne[5]=pe=>W.$emit("range-start",pe)),onRangeEnd:ne[6]||(ne[6]=pe=>W.$emit("range-end",pe)),onInvalidFixedRange:ne[7]||(ne[7]=pe=>W.$emit("invalid-fixed-range",pe)),onTimeUpdate:ne[8]||(ne[8]=pe=>W.$emit("time-update")),onAmPmChange:ne[9]||(ne[9]=pe=>W.$emit("am-pm-change",pe)),onTimePickerOpen:ne[10]||(ne[10]=pe=>W.$emit("time-picker-open",pe)),onTimePickerClose:ie,onRecalculatePosition:Z,onUpdateMonthYear:ne[11]||(ne[11]=pe=>W.$emit("update-month-year",pe)),onAutoApplyInvalid:ne[12]||(ne[12]=pe=>W.$emit("auto-apply-invalid",pe)),onInvalidDate:ne[13]||(ne[13]=pe=>W.$emit("invalid-date",pe)),onOverlayToggle:ne[14]||(ne[14]=pe=>W.$emit("overlay-toggle",pe)),"onUpdate:internalModelValue":ne[15]||(ne[15]=pe=>W.$emit("update:internal-model-value",pe))}),hn({_:2},[Ke(ce.value,(pe,Re)=>({name:pe,fn:Pe(Oe=>[Ie(W.$slots,pe,en(mn({...Oe})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),W.$slots["right-sidebar"]?(C(),F("div",GL,[Ie(W.$slots,"right-sidebar",en(mn(H.value)))])):re("",!0),W.$slots["action-extra"]?(C(),F("div",JL,[W.$slots["action-extra"]?Ie(W.$slots,"action-extra",{key:0,selectCurrentDate:fe}):re("",!0)])):re("",!0)],6),!W.autoApply||G(g).keepActionRow?(C(),Se(UI,Yt({key:3,"menu-mount":$.value},r.value,{"calendar-width":y.value,onClosePicker:ne[16]||(ne[16]=pe=>W.$emit("close-picker")),onSelectDate:ne[17]||(ne[17]=pe=>W.$emit("select-date")),onInvalidSelect:ne[18]||(ne[18]=pe=>W.$emit("invalid-select")),onSelectNow:fe}),hn({_:2},[Ke(G(ee),(pe,Re)=>({name:pe,fn:Pe(Oe=>[Ie(W.$slots,pe,en(mn({...Oe})))])}))]),1040,["menu-mount","calendar-width"])):re("",!0)],46,jL)}}});var Qo=(t=>(t.center="center",t.left="left",t.right="right",t))(Qo||{});const XL=({menuRef:t,menuRefInner:e,inputRef:n,pickerWrapperRef:s,inline:i,emit:o,props:r,slots:a})=>{const{defaultedConfig:l}=St(r),c=be({}),u=be(!1),d=be({top:"0",left:"0"}),f=be(!1),g=$a(r,"teleportCenter");Ht(g,()=>{d.value=JSON.parse(JSON.stringify({})),x()});const _=I=>{if(r.teleport){const H=I.getBoundingClientRect();return{left:H.left+window.scrollX,top:H.top+window.scrollY}}return{top:0,left:0}},m=(I,H)=>{d.value.left=`${I+H-c.value.width}px`},y=I=>{d.value.left=`${I}px`},v=(I,H)=>{r.position===Qo.left&&y(I),r.position===Qo.right&&m(I,H),r.position===Qo.center&&(d.value.left=`${I+H/2-c.value.width/2}px`)},$=I=>{const{width:H,height:Z}=I.getBoundingClientRect(),{top:ee,left:ce}=r.altPosition?r.altPosition(I):_(I);return{top:+ee,left:+ce,width:H,height:Z}},A=()=>{d.value.left="50%",d.value.top="50%",d.value.transform="translate(-50%, -50%)",d.value.position="fixed",delete d.value.opacity},D=()=>{const I=Wt(n),{top:H,left:Z,transform:ee}=r.altPosition(I);d.value={top:`${H}px`,left:`${Z}px`,transform:ee??""}},x=(I=!0)=>{var H;if(!i.value.enabled){if(g.value)return A();if(r.altPosition!==null)return D();if(I){const Z=r.teleport?(H=e.value)==null?void 0:H.$el:t.value;Z&&(c.value=Z.getBoundingClientRect()),o("recalculate-position")}return X()}},w=({inputEl:I,left:H,width:Z})=>{window.screen.width>768&&!u.value&&v(H,Z),M(I)},S=I=>{const{top:H,left:Z,height:ee,width:ce}=$(I);d.value.top=`${ee+H+ +r.offset}px`,f.value=!1,u.value||(d.value.left=`${Z+ce/2-c.value.width/2}px`),w({inputEl:I,left:Z,width:ce})},T=I=>{const{top:H,left:Z,width:ee}=$(I);d.value.top=`${H-+r.offset-c.value.height}px`,f.value=!0,w({inputEl:I,left:Z,width:ee})},M=I=>{if(r.autoPosition){const{left:H,width:Z}=$(I),{left:ee,right:ce}=c.value;if(!u.value){if(Math.abs(ee)!==Math.abs(ce)){if(ee<=0)return u.value=!0,y(H);if(ce>=document.documentElement.clientWidth)return u.value=!0,m(H,Z)}return v(H,Z)}}},E=()=>{const I=Wt(n);if(I){const{height:H}=c.value,{top:Z,height:ee}=I.getBoundingClientRect(),ce=window.innerHeight-Z-ee,ve=Z;return H<=ce?ao.bottom:H>ce&&H<=ve?ao.top:ce>=ve?ao.bottom:ao.top}return ao.bottom},V=I=>E()===ao.bottom?S(I):T(I),X=()=>{const I=Wt(n);if(I)return r.autoPosition?V(I):S(I)},le=function(I){if(I){const H=I.scrollHeight>I.clientHeight,Z=window.getComputedStyle(I).overflowY.indexOf("hidden")!==-1;return H&&!Z}return!0},Y=function(I){return!I||I===document.body||I.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:le(I)?I:Y(I.assignedSlot&&l.value.shadowDom?I.assignedSlot.parentNode:I.parentNode)},R=I=>{if(I)switch(r.position){case Qo.left:return{left:0,transform:"translateX(0)"};case Qo.right:return{left:`${I.width}px`,transform:"translateX(-100%)"};default:return{left:`${I.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:f,menuStyle:d,xCorrect:u,setMenuPosition:x,getScrollableParent:Y,shadowRender:(I,H)=>{var Z,ee,ce;const ve=document.createElement("div"),U=(Z=Wt(n))==null?void 0:Z.getBoundingClientRect();ve.setAttribute("id","dp--temp-container");const Q=(ee=s.value)!=null&&ee.clientWidth?s.value:document.body;Q.append(ve);const L=R(U),te=l.value.shadowDom?Object.keys(a).filter(P=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(P)):Object.keys(a),ae=$o(I,{...H,shadow:!0,style:{opacity:0,position:"absolute",...L}},Object.fromEntries(te.map(P=>[P,a[P]])));Rg(ae,ve),c.value=(ce=ae.el)==null?void 0:ce.getBoundingClientRect(),Rg(null,ve),Q.removeChild(ve)}}},ci=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],QL=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],ZL={all:()=>ci,monthYear:()=>ci.filter(t=>t.use.includes("month-year")),input:()=>QL,timePicker:()=>ci.filter(t=>t.use.includes("time")),action:()=>ci.filter(t=>t.use.includes("action")),calendar:()=>ci.filter(t=>t.use.includes("calendar")),menu:()=>ci.filter(t=>t.use.includes("menu")),shared:()=>ci.filter(t=>t.use.includes("shared")),yearMode:()=>ci.filter(t=>t.use.includes("year-mode"))},Ln=(t,e,n)=>{const s=[];return ZL[e]().forEach(i=>{t[i.name]&&s.push(i.name)}),n!=null&&n.length&&n.forEach(i=>{i.slot&&s.push(i.slot)}),s},Ga=t=>{const e=_e(()=>s=>t.value?s?t.value.open:t.value.close:""),n=_e(()=>s=>t.value?s?t.value.menuAppearTop:t.value.menuAppearBottom:"");return{transitionName:e,showTransition:!!t.value,menuTransition:n}},Ja=(t,e,n)=>{const{defaultedRange:s,defaultedTz:i}=St(t),o=ye(En(ye(),i.value.timezone)),r=be([{month:Ze(o),year:ze(o)}]),a=f=>{const g={hours:Qs(o),minutes:Mi(o),seconds:0};return s.value.enabled?[g[f],g[f]]:g[f]},l=Ts({hours:a("hours"),minutes:a("minutes"),seconds:a("seconds")});Ht(s,(f,g)=>{f.enabled!==g.enabled&&(l.hours=a("hours"),l.minutes=a("minutes"),l.seconds=a("seconds"))},{deep:!0});const c=_e({get:()=>t.internalModelValue,set:f=>{!t.readonly&&!t.disabled&&e("update:internal-model-value",f)}}),u=_e(()=>f=>r.value[f]?r.value[f].month:0),d=_e(()=>f=>r.value[f]?r.value[f].year:0);return Ht(c,(f,g)=>{n&&JSON.stringify(f??{})!==JSON.stringify(g??{})&&n()},{deep:!0}),{calendars:r,time:l,modelValue:c,month:u,year:d,today:o}},eR=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:s,defaultedUI:i,defaultedHighlight:o,defaultedTz:r,propDates:a,defaultedRange:l}=St(e),{isDisabled:c}=Vi(e),u=be(null),d=be(En(new Date,r.value.timezone)),f=L=>{!L.current&&e.hideOffsetDates||(u.value=L.value)},g=()=>{u.value=null},_=L=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&u.value?L?It(u.value,t.value[0]):Ct(u.value,t.value[0]):!0,m=(L,te)=>{const ae=()=>t.value?te?t.value[0]||null:t.value[1]:null,P=t.value&&Array.isArray(t.value)?ae():null;return nt(ye(L.value),P)},y=L=>{const te=Array.isArray(t.value)?t.value[0]:null;return L?!Ct(u.value??null,te):!0},v=(L,te=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!L.current?!1:nt(ye(L.value),t.value[te?0:1]):l.value.enabled?m(L,te)&&y(te)||nt(L.value,Array.isArray(t.value)?t.value[0]:null)&&_(te):!1,$=(L,te)=>{if(Array.isArray(t.value)&&t.value[0]&&t.value.length===1){const ae=nt(L.value,u.value);return te?It(t.value[0],L.value)&&ae:Ct(t.value[0],L.value)&&ae}return!1},A=L=>!t.value||e.hideOffsetDates&&!L.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?nt(L.value,t.value[0]?t.value[0]:d.value):!1:s.value.enabled&&Array.isArray(t.value)?t.value.some(te=>nt(te,L.value)):nt(L.value,t.value?t.value:d.value),D=L=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!L.current)return!1;const te=is(u.value,+l.value.autoRange),ae=js(ye(u.value),e.weekStart);return e.weekPicker?nt(ae[1],ye(L.value)):nt(te,ye(L.value))}return!1}return!1},x=L=>{if(l.value.autoRange||e.weekPicker){if(u.value){const te=is(u.value,+l.value.autoRange);if(e.hideOffsetDates&&!L.current)return!1;const ae=js(ye(u.value),e.weekStart);return e.weekPicker?It(L.value,ae[0])&&Ct(L.value,ae[1]):It(L.value,u.value)&&Ct(L.value,te)}return!1}return!1},w=L=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!L.current)return!1;const te=js(ye(u.value),e.weekStart);return e.weekPicker?nt(te[0],L.value):nt(u.value,L.value)}return!1}return!1},S=L=>Uc(t.value,u.value,L.value),T=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,M=()=>e.modelAuto?Ny(e.internalModelValue):!0,E=L=>{if(e.weekPicker)return!1;const te=l.value.enabled?!v(L)&&!v(L,!1):!0;return!c(L.value)&&!A(L)&&!(!L.current&&e.hideOffsetDates)&&te},V=L=>l.value.enabled?e.modelAuto?T()&&A(L):!1:A(L),X=L=>o.value?_I(L.value,a.value.highlight):!1,le=L=>{const te=c(L.value);return te&&(typeof o.value=="function"?!o.value(L.value,te):!o.value.options.highlightDisabled)},Y=L=>{var te;return typeof o.value=="function"?o.value(L.value):(te=o.value.weekdays)==null?void 0:te.includes(L.value.getDay())},R=L=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||L.current)&&M()&&!(!L.current&&e.hideOffsetDates)&&!A(L)?S(L):!1,I=L=>{const{isRangeStart:te,isRangeEnd:ae}=ce(L),P=l.value.enabled?te||ae:!1;return{dp__cell_offset:!L.current,dp__pointer:!e.disabled&&!(!L.current&&e.hideOffsetDates)&&!c(L.value),dp__cell_disabled:c(L.value),dp__cell_highlight:!le(L)&&(X(L)||Y(L))&&!V(L)&&!P&&!w(L)&&!(R(L)&&e.weekPicker)&&!ae,dp__cell_highlight_active:!le(L)&&(X(L)||Y(L))&&V(L),dp__today:!e.noToday&&nt(L.value,d.value)&&L.current,"dp--past":Ct(L.value,d.value),"dp--future":It(L.value,d.value)}},H=L=>({dp__active_date:V(L),dp__date_hover:E(L)}),Z=L=>{if(t.value&&!Array.isArray(t.value)){const te=js(t.value,e.weekStart);return{...U(L),dp__range_start:nt(te[0],L.value),dp__range_end:nt(te[1],L.value),dp__range_between_week:It(L.value,te[0])&&Ct(L.value,te[1])}}return{...U(L)}},ee=L=>{if(t.value&&Array.isArray(t.value)){const te=js(t.value[0],e.weekStart),ae=t.value[1]?js(t.value[1],e.weekStart):[];return{...U(L),dp__range_start:nt(te[0],L.value)||nt(ae[0],L.value),dp__range_end:nt(te[1],L.value)||nt(ae[1],L.value),dp__range_between_week:It(L.value,te[0])&&Ct(L.value,te[1])||It(L.value,ae[0])&&Ct(L.value,ae[1]),dp__range_between:It(L.value,te[1])&&Ct(L.value,ae[0])}}return{...U(L)}},ce=L=>{const te=n.value.count>0?L.current&&v(L)&&M():v(L)&&M(),ae=n.value.count>0?L.current&&v(L,!1)&&M():v(L,!1)&&M();return{isRangeStart:te,isRangeEnd:ae}},ve=L=>{const{isRangeStart:te,isRangeEnd:ae}=ce(L);return{dp__range_start:te,dp__range_end:ae,dp__range_between:R(L),dp__date_hover:nt(L.value,u.value)&&!te&&!ae&&!e.weekPicker,dp__date_hover_start:$(L,!0),dp__date_hover_end:$(L,!1)}},U=L=>({...ve(L),dp__cell_auto_range:x(L),dp__cell_auto_range_start:w(L),dp__cell_auto_range_end:D(L)}),Q=L=>l.value.enabled?l.value.autoRange?U(L):e.modelAuto?{...H(L),...ve(L)}:e.weekPicker?ee(L):ve(L):e.weekPicker?Z(L):H(L);return{setHoverDate:f,clearHoverDate:g,getDayClassData:L=>e.hideOffsetDates&&!L.current?{}:{...I(L),...Q(L),[e.dayClass?e.dayClass(L.value,e.internalModelValue):""]:!0,...i.value.calendarCell??{}}}},Vi=t=>{const{defaultedFilters:e,defaultedRange:n,propDates:s,defaultedMultiDates:i}=St(t),o=Y=>s.value.disabledDates?typeof s.value.disabledDates=="function"?s.value.disabledDates(ye(Y)):!!pc(Y,s.value.disabledDates):!1,r=Y=>s.value.maxDate?t.yearPicker?ze(Y)>ze(s.value.maxDate):It(Y,s.value.maxDate):!1,a=Y=>s.value.minDate?t.yearPicker?ze(Y){const R=r(Y),I=a(Y),H=o(Y),Z=e.value.months.map(Q=>+Q).includes(Ze(Y)),ee=t.disabledWeekDays.length?t.disabledWeekDays.some(Q=>+Q===oO(Y)):!1,ce=g(Y),ve=ze(Y),U=ve<+t.yearRange[0]||ve>+t.yearRange[1];return!(R||I||H||Z||U||ee||ce)},c=(Y,R)=>Ct(...bi(s.value.minDate,Y,R))||nt(...bi(s.value.minDate,Y,R)),u=(Y,R)=>It(...bi(s.value.maxDate,Y,R))||nt(...bi(s.value.maxDate,Y,R)),d=(Y,R,I)=>{let H=!1;return s.value.maxDate&&I&&u(Y,R)&&(H=!0),s.value.minDate&&!I&&c(Y,R)&&(H=!0),H},f=(Y,R,I,H)=>{let Z=!1;return H?s.value.minDate&&s.value.maxDate?Z=d(Y,R,I):(s.value.minDate&&c(Y,R)||s.value.maxDate&&u(Y,R))&&(Z=!0):Z=!0,Z},g=Y=>Array.isArray(s.value.allowedDates)&&!s.value.allowedDates.length?!0:s.value.allowedDates?!pc(Y,s.value.allowedDates):!1,_=Y=>!l(Y),m=Y=>n.value.noDisabledRange?!yy({start:Y[0],end:Y[1]}).some(R=>_(R)):!0,y=Y=>{if(Y){const R=ze(Y);return R>=+t.yearRange[0]&&R<=t.yearRange[1]}return!0},v=(Y,R)=>!!(Array.isArray(Y)&&Y[R]&&(n.value.maxRange||n.value.minRange)&&y(Y[R])),$=(Y,R,I=0)=>{if(v(R,I)&&y(Y)){const H=by(Y,R[I]),Z=jy(R[I],Y),ee=Z.length===1?0:Z.filter(ve=>_(ve)).length,ce=Math.abs(H)-(n.value.minMaxRawRange?0:ee);if(n.value.minRange&&n.value.maxRange)return ce>=+n.value.minRange&&ce<=+n.value.maxRange;if(n.value.minRange)return ce>=+n.value.minRange;if(n.value.maxRange)return ce<=+n.value.maxRange}return!0},A=()=>!t.enableTimePicker||t.monthPicker||t.yearPicker||t.ignoreTimeValidation,D=Y=>Array.isArray(Y)?[Y[0]?Uu(Y[0]):null,Y[1]?Uu(Y[1]):null]:Uu(Y),x=(Y,R,I)=>Y.find(H=>+H.hours===Qs(R)&&H.minutes==="*"?!0:+H.minutes===Mi(R)&&+H.hours===Qs(R))&&I,w=(Y,R,I)=>{const[H,Z]=Y,[ee,ce]=R;return!x(H,ee,I)&&!x(Z,ce,I)&&I},S=(Y,R)=>{const I=Array.isArray(R)?R:[R];return Array.isArray(t.disabledTimes)?Array.isArray(t.disabledTimes[0])?w(t.disabledTimes,I,Y):!I.some(H=>x(t.disabledTimes,H,Y)):Y},T=(Y,R)=>{const I=Array.isArray(R)?[vo(R[0]),R[1]?vo(R[1]):void 0]:vo(R),H=!t.disabledTimes(I);return Y&&H},M=(Y,R)=>t.disabledTimes?Array.isArray(t.disabledTimes)?S(R,Y):T(R,Y):R,E=Y=>{let R=!0;if(!Y||A())return!0;const I=!s.value.minDate&&!s.value.maxDate?D(Y):Y;return(t.maxTime||s.value.maxDate)&&(R=gm(t.maxTime,s.value.maxDate,"max",Qt(I),R)),(t.minTime||s.value.minDate)&&(R=gm(t.minTime,s.value.minDate,"min",Qt(I),R)),M(Y,R)},V=Y=>{if(!t.monthPicker)return!0;let R=!0;const I=ye(os(Y));if(s.value.minDate&&s.value.maxDate){const H=ye(os(s.value.minDate)),Z=ye(os(s.value.maxDate));return It(I,H)&&Ct(I,Z)||nt(I,H)||nt(I,Z)}if(s.value.minDate){const H=ye(os(s.value.minDate));R=It(I,H)||nt(I,H)}if(s.value.maxDate){const H=ye(os(s.value.maxDate));R=Ct(I,H)||nt(I,H)}return R},X=_e(()=>Y=>!t.enableTimePicker||t.ignoreTimeValidation?!0:E(Y)),le=_e(()=>Y=>t.monthPicker?Array.isArray(Y)&&(n.value.enabled||i.value.enabled)?!Y.filter(R=>!V(R)).length:V(Y):!0);return{isDisabled:_,validateDate:l,validateMonthYearInRange:f,isDateRangeAllowed:m,checkMinMaxRange:$,isValidTime:E,isTimeValid:X,isMonthValid:le}},Xc=()=>{const t=_e(()=>(s,i)=>s?.includes(i)),e=_e(()=>(s,i)=>s.count?s.solo?!0:i===0:!0),n=_e(()=>(s,i)=>s.count?s.solo?!0:i===s.count-1:!0);return{hideNavigationButtons:t,showLeftIcon:e,showRightIcon:n}},tR=(t,e,n)=>{const s=be(0),i=Ts({[bo.timePicker]:!t.enableTimePicker||t.timePicker||t.monthPicker,[bo.calendar]:!1,[bo.header]:!1}),o=_e(()=>t.monthPicker||t.timePicker),r=d=>{var f;if((f=t.flow)!=null&&f.length){if(!d&&o.value)return u();i[d]=!0,Object.keys(i).filter(g=>!i[g]).length||u()}},a=()=>{var d,f;(d=t.flow)!=null&&d.length&&s.value!==-1&&(s.value+=1,e("flow-step",s.value),u()),((f=t.flow)==null?void 0:f.length)===s.value&&nn().then(()=>l())},l=()=>{s.value=-1},c=(d,f,...g)=>{var _,m;t.flow[s.value]===d&&n.value&&((m=(_=n.value)[f])==null||m.call(_,...g))},u=(d=0)=>{d&&(s.value+=d),c(cn.month,"toggleMonthPicker",!0),c(cn.year,"toggleYearPicker",!0),c(cn.calendar,"toggleTimePicker",!1,!0),c(cn.time,"toggleTimePicker",!0,!0);const f=t.flow[s.value];(f===cn.hours||f===cn.minutes||f===cn.seconds)&&c(f,"toggleTimePicker",!0,!0,f)};return{childMount:r,updateFlowStep:a,resetFlow:l,handleFlow:u,flowStep:s}},nR={key:1,class:"dp__input_wrap"},sR=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-disabled","aria-invalid"],iR={key:2,class:"dp--clear-btn"},oR=["aria-label"],rR=Bt({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...qc},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(t,{expose:e,emit:n}){const s=n,i=t,{defaultedTextInput:o,defaultedAriaLabels:r,defaultedInline:a,defaultedConfig:l,defaultedRange:c,defaultedMultiDates:u,defaultedUI:d,getDefaultPattern:f,getDefaultStartTime:g}=St(i),{checkMinMaxRange:_}=Vi(i),m=be(),y=be(null),v=be(!1),$=be(!1),A=be(!1),D=be(null),x=_e(()=>({dp__pointer:!i.disabled&&!i.readonly&&!o.value.enabled,dp__disabled:i.disabled,dp__input_readonly:!o.value.enabled,dp__input:!0,dp__input_icon_pad:!i.hideInputIcon,dp__input_valid:typeof i.state=="boolean"?i.state:!1,dp__input_invalid:typeof i.state=="boolean"?!i.state:!1,dp__input_focus:v.value||i.isMenuOpen,dp__input_reg:!o.value.enabled,...d.value.input??{}})),w=()=>{s("set-input-date",null),i.clearable&&i.autoApply&&(s("set-empty-date"),m.value=null)},S=U=>{const Q=g();return vI(U,o.value.format??f(),Q??Wy({},i.enableSeconds),i.inputValue,A.value,i.formatLocale)},T=U=>{const{rangeSeparator:Q}=o.value,[L,te]=U.split(`${Q}`);if(L){const ae=S(L.trim()),P=te?S(te.trim()):null;if(vr(ae,P))return;const ie=ae&&P?[ae,P]:[ae];_(P,ie,0)&&(m.value=ae?ie:null)}},M=()=>{A.value=!0},E=U=>{if(c.value.enabled)T(U);else if(u.value.enabled){const Q=U.split(";");m.value=Q.map(L=>S(L.trim())).filter(L=>L)}else m.value=S(U)},V=U=>{var Q;const L=typeof U=="string"?U:(Q=U.target)==null?void 0:Q.value;L!==""?(o.value.openMenu&&!i.isMenuOpen&&s("open"),E(L),s("set-input-date",m.value)):w(),A.value=!1,s("update:input-value",L),s("text-input",U,m.value)},X=U=>{o.value.enabled?(E(U.target.value),o.value.enterSubmit&&Yd(m.value)&&i.inputValue!==""?(s("set-input-date",m.value,!0),m.value=null):o.value.enterSubmit&&i.inputValue===""&&(m.value=null,s("clear"))):R(U)},le=(U,Q)=>{var L;if(D.value&&Q&&!$.value)return U.preventDefault(),$.value=!0,(L=D.value)==null?void 0:L.focus();o.value.enabled&&o.value.tabSubmit&&E(U.target.value),o.value.tabSubmit&&Yd(m.value)&&i.inputValue!==""?(s("set-input-date",m.value,!0,!0),m.value=null):o.value.tabSubmit&&i.inputValue===""&&(m.value=null,s("clear",!0))},Y=()=>{v.value=!0,s("focus"),nn().then(()=>{var U;o.value.enabled&&o.value.selectOnFocus&&((U=y.value)==null||U.select())})},R=U=>{if(U.preventDefault(),$i(U,l.value,!0),o.value.enabled&&o.value.openMenu&&!a.value.input){if(o.value.openMenu==="open"&&!i.isMenuOpen)return s("open");if(o.value.openMenu==="toggle")return s("toggle")}else o.value.enabled||s("toggle")},I=()=>{s("real-blur"),v.value=!1,(!i.isMenuOpen||a.value.enabled&&a.value.input)&&s("blur"),i.autoApply&&o.value.enabled&&m.value&&!i.isMenuOpen&&(s("set-input-date",m.value),s("select-date"),m.value=null)},H=U=>{$i(U,l.value,!0),s("clear")},Z=(U,Q)=>{if(U.key==="Tab"&&le(U,Q),U.key==="Enter"&&X(U),!o.value.enabled){if(U.code==="Tab")return;U.preventDefault()}},ee=()=>{var U;(U=y.value)==null||U.focus({preventScroll:!0})},ce=U=>{m.value=U},ve=U=>{U.key===bt.tab&&($.value=!1,le(U))};return e({focusInput:ee,setParsedDate:ce}),(U,Q)=>{var L,te;return C(),F("div",{onClick:R},[U.$slots.trigger&&!U.$slots["dp-input"]&&!G(a).enabled?Ie(U.$slots,"trigger",{key:0}):re("",!0),!U.$slots.trigger&&(!G(a).enabled||G(a).input)?(C(),F("div",nR,[U.$slots["dp-input"]&&!U.$slots.trigger&&(!G(a).enabled||G(a).enabled&&G(a).input)?Ie(U.$slots,"dp-input",{key:0,value:t.inputValue,isMenuOpen:t.isMenuOpen,onInput:V,onEnter:X,onTab:le,onClear:H,onBlur:I,onKeypress:Z,onPaste:M,onFocus:Y,openMenu:()=>U.$emit("open"),closeMenu:()=>U.$emit("close"),toggleMenu:()=>U.$emit("toggle")}):re("",!0),U.$slots["dp-input"]?re("",!0):(C(),F("input",{key:1,id:U.uid?`dp-input-${U.uid}`:void 0,ref_key:"inputRef",ref:y,"data-test":"dp-input",name:U.name,class:Ee(x.value),inputmode:G(o).enabled?"text":"none",placeholder:U.placeholder,disabled:U.disabled,readonly:U.readonly,required:U.required,value:t.inputValue,autocomplete:U.autocomplete,"aria-disabled":U.disabled||void 0,"aria-invalid":U.state===!1?!0:void 0,onInput:V,onBlur:I,onFocus:Y,onKeypress:Z,onKeydown:Q[0]||(Q[0]=ae=>Z(ae,!0)),onPaste:M},null,42,sR)),h("div",{onClick:Q[3]||(Q[3]=ae=>s("toggle"))},[U.$slots["input-icon"]&&!U.hideInputIcon?(C(),F("span",{key:0,class:"dp__input_icon",onClick:Q[1]||(Q[1]=ae=>s("toggle"))},[Ie(U.$slots,"input-icon")])):re("",!0),!U.$slots["input-icon"]&&!U.hideInputIcon&&!U.$slots["dp-input"]?(C(),Se(G(Ir),{key:1,"aria-label":(L=G(r))==null?void 0:L.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:Q[2]||(Q[2]=ae=>s("toggle"))},null,8,["aria-label"])):re("",!0)]),U.$slots["clear-icon"]&&t.inputValue&&U.clearable&&!U.disabled&&!U.readonly?(C(),F("span",iR,[Ie(U.$slots,"clear-icon",{clear:H})])):re("",!0),U.clearable&&!U.$slots["clear-icon"]&&t.inputValue&&!U.disabled&&!U.readonly?(C(),F("button",{key:3,ref_key:"clearBtnRef",ref:D,"aria-label":(te=G(r))==null?void 0:te.clearInput,class:"dp--clear-btn",type:"button",onBlur:Q[4]||(Q[4]=ae=>$.value=!1),onKeydown:Q[5]||(Q[5]=ae=>G(bn)(ae,()=>H(ae),!0,ve)),onClick:Q[6]||(Q[6]=Ma(ae=>H(ae),["prevent"]))},[N(G(Ly),{class:"dp__input_icons","data-test":"clear-icon"})],40,oR)):re("",!0)])):re("",!0)])}}}),aR=typeof window<"u"?window:void 0,Zu=()=>{},lR=t=>Dc()?(Ph(t),!0):!1,cR=(t,e,n,s)=>{if(!t)return Zu;let i=Zu;const o=Ht(()=>G(t),a=>{i(),a&&(a.addEventListener(e,n,s),i=()=>{a.removeEventListener(e,n,s),i=Zu})},{immediate:!0,flush:"post"}),r=()=>{o(),i()};return lR(r),r},uR=(t,e,n,s={})=>{const{window:i=aR,event:o="pointerdown"}=s;return i?cR(i,o,r=>{const a=Wt(t),l=Wt(e);!a||!l||a===r.target||r.composedPath().includes(a)||r.composedPath().includes(l)||n(r)},{passive:!0}):void 0},dR=Bt({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...qc},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(t,{expose:e,emit:n}){const s=n,i=t,o=Po(),r=be(!1),a=$a(i,"modelValue"),l=$a(i,"timezone"),c=be(null),u=be(null),d=be(null),f=be(!1),g=be(null),_=be(!1),m=be(!1),y=be(!1),v=be(!1),{setMenuFocused:$,setShiftKey:A}=qy(),{clearArrowNav:D}=Bi(),{validateDate:x,isValidTime:w}=Vi(i),{defaultedTransitions:S,defaultedTextInput:T,defaultedInline:M,defaultedConfig:E,defaultedRange:V,defaultedMultiDates:X}=St(i),{menuTransition:le,showTransition:Y}=Ga(S);Jt(()=>{te(i.modelValue),nn().then(()=>{if(!M.value.enabled){const ue=ve(g.value);ue?.addEventListener("scroll",j),window?.addEventListener("resize",z)}}),M.value.enabled&&(r.value=!0),window?.addEventListener("keyup",oe),window?.addEventListener("keydown",W)}),Dr(()=>{if(!M.value.enabled){const ue=ve(g.value);ue?.removeEventListener("scroll",j),window?.removeEventListener("resize",z)}window?.removeEventListener("keyup",oe),window?.removeEventListener("keydown",W)});const R=Ln(o,"all",i.presetDates),I=Ln(o,"input");Ht([a,l],()=>{te(a.value)},{deep:!0});const{openOnTop:H,menuStyle:Z,xCorrect:ee,setMenuPosition:ce,getScrollableParent:ve,shadowRender:U}=XL({menuRef:c,menuRefInner:u,inputRef:d,pickerWrapperRef:g,inline:M,emit:s,props:i,slots:o}),{inputValue:Q,internalModelValue:L,parseExternalModelValue:te,emitModelValue:ae,formatInputValue:P,checkBeforeEmit:ie}=WI(s,i,f),de=_e(()=>({dp__main:!0,dp__theme_dark:i.dark,dp__theme_light:!i.dark,dp__flex_display:M.value.enabled,"dp--flex-display-collapsed":y.value,dp__flex_display_with_input:M.value.input})),we=_e(()=>i.dark?"dp__theme_dark":"dp__theme_light"),B=_e(()=>i.teleport?{to:typeof i.teleport=="boolean"?"body":i.teleport,disabled:!i.teleport||M.value.enabled}:{}),fe=_e(()=>({class:"dp__outer_menu_wrap"})),b=_e(()=>M.value.enabled&&(i.timePicker||i.monthPicker||i.yearPicker||i.quarterPicker)),O=()=>{var ue,Ae;return(Ae=(ue=d.value)==null?void 0:ue.$el)==null?void 0:Ae.getBoundingClientRect()},j=()=>{r.value&&(E.value.closeOnScroll?Be():ce())},z=()=>{var ue;r.value&&ce();const Ae=(ue=u.value)==null?void 0:ue.$el.getBoundingClientRect().width;y.value=document.body.offsetWidth<=Ae},oe=ue=>{ue.key==="Tab"&&!M.value.enabled&&!i.teleport&&E.value.tabOutClosesMenu&&(g.value.contains(document.activeElement)||Be()),m.value=ue.shiftKey},W=ue=>{m.value=ue.shiftKey},ne=()=>{!i.disabled&&!i.readonly&&(U(vm,i),ce(!1),r.value=!0,r.value&&s("open"),r.value||Ve(),te(i.modelValue))},J=()=>{var ue;Q.value="",Ve(),(ue=d.value)==null||ue.setParsedDate(null),s("update:model-value",null),s("update:model-timezone-value",null),s("cleared"),E.value.closeOnClearValue&&Be()},he=()=>{const ue=L.value;return!ue||!Array.isArray(ue)&&x(ue)?!0:Array.isArray(ue)?X.value.enabled||ue.length===2&&x(ue[0])&&x(ue[1])?!0:V.value.partialRange&&!i.timePicker?x(ue[0]):!1:!1},me=()=>{ie()&&he()?(ae(),Be()):s("invalid-select",L.value)},pe=ue=>{Re(),ae(),E.value.closeOnAutoApply&&!ue&&Be()},Re=()=>{d.value&&T.value.enabled&&d.value.setParsedDate(L.value)},Oe=(ue=!1)=>{i.autoApply&&w(L.value)&&he()&&(V.value.enabled&&Array.isArray(L.value)?(V.value.partialRange||L.value.length===2)&&pe(ue):pe(ue))},Ve=()=>{T.value.enabled||(L.value=null)},Be=()=>{M.value.enabled||(r.value&&(r.value=!1,ee.value=!1,$(!1),A(!1),D(),s("closed"),Q.value&&te(a.value)),Ve(),s("blur"))},tt=(ue,Ae,De=!1)=>{if(!ue){L.value=null;return}const sn=Array.isArray(ue)?!ue.some(Os=>!x(Os)):x(ue),xn=w(ue);sn&&xn&&(v.value=!0,L.value=ue,Ae&&(_.value=De,me(),s("text-submit")),nn().then(()=>{v.value=!1}))},Je=()=>{i.autoApply&&w(L.value)&&ae(),Re()},mt=()=>r.value?Be():ne(),rn=ue=>{L.value=ue},Hn=()=>{T.value.enabled&&(f.value=!0,P()),s("focus")},ni=()=>{if(T.value.enabled&&(f.value=!1,te(i.modelValue),_.value)){const ue=mI(g.value,m.value);ue?.focus()}s("blur")},Qn=ue=>{u.value&&u.value.updateMonthYear(0,{month:hm(ue.month),year:hm(ue.year)})},Ds=ue=>{te(ue??i.modelValue)},jt=(ue,Ae)=>{var De;(De=u.value)==null||De.switchView(ue,Ae)},se=ue=>E.value.onClickOutside?E.value.onClickOutside(ue):Be(),$e=(ue=0)=>{var Ae;(Ae=u.value)==null||Ae.handleFlow(ue)};return uR(c,d,()=>se(he)),e({closeMenu:Be,selectDate:me,clearValue:J,openMenu:ne,onScroll:j,formatInputValue:P,updateInternalModelValue:rn,setMonthYear:Qn,parseModel:Ds,switchView:jt,toggleMenu:mt,handleFlow:$e,dpWrapMenuRef:c}),(ue,Ae)=>(C(),F("div",{ref_key:"pickerWrapperRef",ref:g,class:Ee(de.value),"data-datepicker-instance":""},[N(rR,Yt({ref_key:"inputRef",ref:d,"input-value":G(Q),"onUpdate:inputValue":Ae[0]||(Ae[0]=De=>Mt(Q)?Q.value=De:null),"is-menu-open":r.value},ue.$props,{onClear:J,onOpen:ne,onSetInputDate:tt,onSetEmptyDate:G(ae),onSelectDate:me,onToggle:mt,onClose:Be,onFocus:Hn,onBlur:ni,onRealBlur:Ae[1]||(Ae[1]=De=>f.value=!1),onTextInput:Ae[2]||(Ae[2]=De=>ue.$emit("text-input",De))}),hn({_:2},[Ke(G(I),(De,sn)=>({name:De,fn:Pe(xn=>[Ie(ue.$slots,De,en(mn(xn)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(C(),Se(To(ue.teleport?OA:"div"),en(mn(B.value)),{default:Pe(()=>[N(Et,{name:G(le)(G(H)),css:G(Y)&&!G(M).enabled},{default:Pe(()=>[r.value?(C(),F("div",Yt({key:0,ref_key:"dpWrapMenuRef",ref:c},fe.value,{class:{"dp--menu-wrapper":!G(M).enabled},style:G(M).enabled?void 0:G(Z)}),[N(vm,Yt({ref_key:"dpMenuRef",ref:u},ue.$props,{"internal-model-value":G(L),"onUpdate:internalModelValue":Ae[3]||(Ae[3]=De=>Mt(L)?L.value=De:null),class:{[we.value]:!0,"dp--menu-wrapper":ue.teleport},"open-on-top":G(H),"no-overlay-focus":b.value,collapse:y.value,"get-input-rect":O,"is-text-input-date":v.value,onClosePicker:Be,onSelectDate:me,onAutoApply:Oe,onTimeUpdate:Je,onFlowStep:Ae[4]||(Ae[4]=De=>ue.$emit("flow-step",De)),onUpdateMonthYear:Ae[5]||(Ae[5]=De=>ue.$emit("update-month-year",De)),onInvalidSelect:Ae[6]||(Ae[6]=De=>ue.$emit("invalid-select",G(L))),onAutoApplyInvalid:Ae[7]||(Ae[7]=De=>ue.$emit("invalid-select",De)),onInvalidFixedRange:Ae[8]||(Ae[8]=De=>ue.$emit("invalid-fixed-range",De)),onRecalculatePosition:G(ce),onTooltipOpen:Ae[9]||(Ae[9]=De=>ue.$emit("tooltip-open",De)),onTooltipClose:Ae[10]||(Ae[10]=De=>ue.$emit("tooltip-close",De)),onTimePickerOpen:Ae[11]||(Ae[11]=De=>ue.$emit("time-picker-open",De)),onTimePickerClose:Ae[12]||(Ae[12]=De=>ue.$emit("time-picker-close",De)),onAmPmChange:Ae[13]||(Ae[13]=De=>ue.$emit("am-pm-change",De)),onRangeStart:Ae[14]||(Ae[14]=De=>ue.$emit("range-start",De)),onRangeEnd:Ae[15]||(Ae[15]=De=>ue.$emit("range-end",De)),onDateUpdate:Ae[16]||(Ae[16]=De=>ue.$emit("date-update",De)),onInvalidDate:Ae[17]||(Ae[17]=De=>ue.$emit("invalid-date",De)),onOverlayToggle:Ae[18]||(Ae[18]=De=>ue.$emit("overlay-toggle",De))}),hn({_:2},[Ke(G(R),(De,sn)=>({name:De,fn:Pe(xn=>[Ie(ue.$slots,De,en(mn({...xn})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):re("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),Xa=(()=>{const t=dR;return t.install=e=>{e.component("Vue3DatePicker",t)},t})(),hR=Object.freeze(Object.defineProperty({__proto__:null,default:Xa},Symbol.toStringTag,{value:"Module"}));Object.entries(hR).forEach(([t,e])=>{t!=="default"&&(Xa[t]=e)});const fR={name:"newDashboardAPIKey",components:{LocaleText:Ge,VueDatePicker:Xa},data(){return{newKeyData:{ExpiredAt:Cn().add(7,"d").format("YYYY-MM-DD HH:mm:ss"),neverExpire:!1},submitting:!1}},setup(){return{store:Xe()}},mounted(){console.log(this.newKeyData.ExpiredAt)},methods:{submitNewAPIKey(){this.submitting=!0,ht("/api/newDashboardAPIKey",this.newKeyData,t=>{t.status?(this.$emit("created",t.data),this.store.newMessage("Server","API Key created","success"),this.$emit("close")):this.store.newMessage("Server",t.message,"danger"),this.submitting=!1})},fixDate(t){return console.log(Cn(t).format("YYYY-MM-DDTHH:mm:ss")),Cn(t).format("YYYY-MM-DDTHH:mm:ss")},parseTime(t){t?this.newKeyData.ExpiredAt=Cn(t).format("YYYY-MM-DD HH:mm:ss"):this.newKeyData.ExpiredAt=void 0}}},pR={class:"position-absolute w-100 h-100 top-0 start-0 rounded-bottom-3 p-3 d-flex",style:{"background-color":"#00000060","backdrop-filter":"blur(3px)"}},gR={class:"card m-auto rounded-3 mt-5"},mR={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},_R={class:"mb-0"},bR={class:"card-body d-flex gap-2 p-4 flex-column"},vR={class:"text-muted"},yR={class:"d-flex align-items-center gap-2"},wR={class:"form-check"},xR=["disabled"],kR={class:"form-check-label",for:"neverExpire"},SR=h("i",{class:"bi bi-emoji-grimace-fill me-2"},null,-1),$R={key:0,class:"bi bi-check-lg me-2"};function AR(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("VueDatePicker");return C(),F("div",pR,[h("div",gR,[h("div",mR,[h("h6",_R,[N(r,{t:"Create API Key"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),h("div",bR,[h("small",vR,[N(r,{t:"When should this API Key expire?"})]),h("div",yR,[N(a,{is24:!0,"min-date":new Date,"model-value":this.newKeyData.ExpiredAt,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",clearable:!1,disabled:this.newKeyData.neverExpire||this.submitting,dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","disabled","dark"])]),h("div",wR,[Le(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[1]||(e[1]=l=>this.newKeyData.neverExpire=l),id:"neverExpire",disabled:this.submitting},null,8,xR),[[_n,this.newKeyData.neverExpire]]),h("label",kR,[N(r,{t:"Never Expire"}),He(" ("),SR,N(r,{t:"Don't think that's a good idea"}),He(") ")])]),h("button",{class:Ee(["ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",{disabled:this.submitting}]),onClick:e[2]||(e[2]=l=>this.submitNewAPIKey())},[this.submitting?re("",!0):(C(),F("i",$R)),this.submitting?(C(),Se(r,{key:1,t:"Creating..."})):(C(),Se(r,{key:2,t:"Create"}))],2)])])])}const CR=je(fR,[["render",AR]]),ER={name:"dashboardAPIKey",components:{LocaleText:Ge},props:{apiKey:Object},setup(){return{store:Xe()}},data(){return{confirmDelete:!1}},methods:{deleteAPIKey(){ht("/api/deleteDashboardAPIKey",{Key:this.apiKey.Key},t=>{t.status?(this.$emit("deleted",t.data),this.store.newMessage("Server","API Key deleted","success")):this.store.newMessage("Server",t.message,"danger")})}}},xf=t=>(qt("data-v-a76253c8"),t=t(),Gt(),t),TR={class:"card rounded-3 shadow-sm"},PR={key:0,class:"card-body d-flex gap-3 align-items-center apiKey-card-body"},MR={class:"d-flex align-items-center gap-2"},DR={class:"text-muted"},OR={style:{"word-break":"break-all"}},IR={class:"d-flex align-items-center gap-2 ms-auto"},LR={class:"text-muted"},RR=xf(()=>h("i",{class:"bi bi-trash-fill"},null,-1)),NR=[RR],FR={key:0,class:"card-body d-flex gap-3 align-items-center justify-content-end"},BR=xf(()=>h("i",{class:"bi bi-check-lg"},null,-1)),VR=[BR],HR=xf(()=>h("i",{class:"bi bi-x-lg"},null,-1)),jR=[HR];function WR(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",TR,[this.confirmDelete?(C(),F(Me,{key:1},[this.store.getActiveCrossServer()?re("",!0):(C(),F("div",FR,[N(r,{t:"Are you sure to delete this API key?"}),h("a",{role:"button",class:"btn btn-sm bg-success-subtle text-success-emphasis rounded-3",onClick:e[1]||(e[1]=a=>this.deleteAPIKey())},VR),h("a",{role:"button",class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis rounded-3",onClick:e[2]||(e[2]=a=>this.confirmDelete=!1)},jR)]))],64)):(C(),F("div",PR,[h("div",MR,[h("small",DR,[N(r,{t:"Key"})]),h("span",OR,xe(this.apiKey.Key),1)]),h("div",IR,[h("small",LR,[N(r,{t:"Expire At"})]),this.apiKey.ExpiredAt?re("",!0):(C(),Se(r,{key:0,t:"Never Expire"})),h("span",null,xe(this.apiKey.ExpiredAt),1)]),this.store.getActiveCrossServer()?re("",!0):(C(),F("a",{key:0,role:"button",class:"btn btn-sm bg-danger-subtle text-danger-emphasis rounded-3",onClick:e[0]||(e[0]=a=>this.confirmDelete=!0)},NR))]))])}const zR=je(ER,[["render",WR],["__scopeId","data-v-a76253c8"]]),KR={name:"dashboardAPIKeys",components:{LocaleText:Ge,DashboardAPIKey:zR,NewDashboardAPIKey:CR},setup(){return{store:Xe()}},data(){return{value:this.store.Configuration.Server.dashboard_api_key,apiKeys:[],newDashboardAPIKey:!1}},methods:{async toggleDashboardAPIKeys(){await ht("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_api_key",value:this.value},t=>{t.status?(this.store.Configuration.Peers[this.targetData]=this.value,this.store.newMessage("Server",`API Keys function is successfully ${this.value?"enabled":"disabled"}`,"success")):(this.value=this.store.Configuration.Peers[this.targetData],this.store.newMessage("Server",`API Keys function is failed to ${this.value?"enabled":"disabled"}`,"danger"))})}},watch:{value:{immediate:!0,handler(t){t?kt("/api/getDashboardAPIKeys",{},e=>{console.log(e),e.status?this.apiKeys=e.data:(this.apiKeys=[],this.store.newMessage("Server",e.message,"danger"))}):this.apiKeys=[]}}}},YR=t=>(qt("data-v-167c06a6"),t=t(),Gt(),t),UR={class:"card mb-4 shadow rounded-3"},qR={class:"card-header d-flex"},GR={key:0,class:"form-check form-switch ms-auto"},JR={class:"form-check-label",for:"allowAPIKeysSwitch"},XR={key:0,class:"card-body position-relative d-flex flex-column gap-2"},QR=YR(()=>h("i",{class:"bi bi-plus-circle-fill me-2"},null,-1)),ZR={key:1,class:"card",style:{height:"300px"}},e3={class:"card-body d-flex text-muted"},t3={class:"m-auto"},n3={key:2,class:"d-flex flex-column gap-2 position-relative",style:{"min-height":"300px"}};function s3(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("DashboardAPIKey"),l=ke("NewDashboardAPIKey");return C(),F("div",UR,[h("div",qR,[N(r,{t:"API Keys"}),this.store.getActiveCrossServer()?re("",!0):(C(),F("div",GR,[Le(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=c=>this.value=c),onChange:e[1]||(e[1]=c=>this.toggleDashboardAPIKeys()),role:"switch",id:"allowAPIKeysSwitch"},null,544),[[_n,this.value]]),h("label",JR,[this.value?(C(),Se(r,{key:0,t:"Enabled"})):(C(),Se(r,{key:1,t:"Disabled"}))])]))]),this.value?(C(),F("div",XR,[this.store.getActiveCrossServer()?re("",!0):(C(),F("button",{key:0,class:"ms-auto btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle rounded-3 shadow-sm",onClick:e[2]||(e[2]=c=>this.newDashboardAPIKey=!0)},[QR,N(r,{t:"API Key"})])),this.apiKeys.length===0?(C(),F("div",ZR,[h("div",e3,[h("span",t3,[N(r,{t:"No WGDashboard API Key"})])])])):(C(),F("div",n3,[N(Ni,{name:"apiKey"},{default:Pe(()=>[(C(!0),F(Me,null,Ke(this.apiKeys,c=>(C(),Se(a,{apiKey:c,key:c.Key,onDeleted:e[3]||(e[3]=u=>this.apiKeys=u)},null,8,["apiKey"]))),128))]),_:1})])),N(Et,{name:"zoomReversed"},{default:Pe(()=>[this.newDashboardAPIKey?(C(),Se(l,{key:0,onCreated:e[4]||(e[4]=c=>this.apiKeys=c),onClose:e[5]||(e[5]=c=>this.newDashboardAPIKey=!1)})):re("",!0)]),_:1})])):re("",!0)])}const i3=je(KR,[["render",s3],["__scopeId","data-v-167c06a6"]]),o3={name:"accountSettingsMFA",components:{LocaleText:Ge},setup(){const t=Xe(),e=`input_${Es()}`;return{store:t,uuid:e}},data(){return{status:!1}},mounted(){this.status=this.store.Configuration.Account.enable_totp},methods:{async resetMFA(){await ht("/api/updateDashboardConfigurationItem",{section:"Account",key:"totp_verified",value:"false"},async t=>{await ht("/api/updateDashboardConfigurationItem",{section:"Account",key:"enable_totp",value:"false"},e=>{e.status&&this.$router.push("/2FASetup")})})}}},r3={class:"d-flex align-items-center"},a3={class:"form-check form-switch ms-3"},l3=h("i",{class:"bi bi-shield-lock-fill me-2"},null,-1);function c3(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",null,[h("div",r3,[h("strong",null,[N(r,{t:"Multi-Factor Authentication (MFA)"})]),h("div",a3,[Le(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=a=>this.status=a),role:"switch",id:"allowMFAKeysSwitch"},null,512),[[_n,this.status]])]),this.status?(C(),F("button",{key:0,class:"btn bg-warning-subtle text-warning-emphasis border-1 border-warning-subtle ms-auto rounded-3 shadow-sm",onClick:e[1]||(e[1]=a=>this.resetMFA())},[l3,this.store.Configuration.Account.totp_verified?(C(),Se(r,{key:0,t:"Reset"})):(C(),Se(r,{key:1,t:"Setup"})),He(" MFA ")])):re("",!0)])])}const u3=je(o3,[["render",c3]]),d3={name:"dashboardLanguage",components:{LocaleText:Ge},setup(){return{store:Xe()}},data(){return{languages:void 0}},mounted(){kt("/api/locale/available",{},t=>{this.languages=t.data})},methods:{changeLanguage(t){ht("/api/locale/update",{lang_id:t},e=>{e.status?(this.store.Configuration.Server.dashboard_language=t,this.store.Locale=e.data):this.store.newMessage("Server","Dashboard language update failed","danger")})}},computed:{currentLanguage(){let t=this.store.Configuration.Server.dashboard_language;return this.languages.find(e=>e.lang_id===t)}}},h3={class:"card mb-4 shadow rounded-3"},f3={class:"card-header"},p3={class:"card-body d-flex gap-2"},g3={class:"dropdown w-100"},m3=["disabled"],_3={key:1},b3={class:"dropdown-menu rounded-3 shadow",style:{width:"500px"}},v3=["onClick"],y3={class:"me-auto mb-0"},w3={class:"d-block",style:{"font-size":"0.8rem"}},x3={key:0,class:"bi bi-check text-primary fs-5"};function k3(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",h3,[h("p",f3,[N(r,{t:"Dashboard Language"})]),h("div",p3,[h("div",g3,[h("button",{class:"btn bg-primary-subtle text-primary-emphasis dropdown-toggle w-100 rounded-3",disabled:!this.languages,type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[this.languages?(C(),F("span",_3,xe(o.currentLanguage?.lang_name_localized),1)):(C(),Se(r,{key:0,t:"Loading..."}))],8,m3),h("ul",b3,[(C(!0),F(Me,null,Ke(this.languages,a=>(C(),F("li",null,[h("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:l=>this.changeLanguage(a.lang_id)},[h("p",y3,[He(xe(a.lang_name_localized)+" ",1),h("small",w3,xe(a.lang_name),1)]),o.currentLanguage?.lang_id===a.lang_id?(C(),F("i",x3)):re("",!0)],8,v3)]))),256))])])])])}const S3=je(d3,[["render",k3]]),$3={name:"settings",methods:{ipV46RegexCheck:WM},components:{DashboardLanguage:S3,LocaleText:Ge,AccountSettingsMFA:u3,DashboardAPIKeys:i3,DashboardSettingsInputIPAddressAndPort:t2,DashboardTheme:FD,DashboardSettingsInputWireguardConfigurationPath:PD,AccountSettingsInputPassword:mD,AccountSettingsInputUsername:JM,PeersDefaultSettingsInput:jM},setup(){return{dashboardConfigurationStore:Xe()}}},A3={class:"mt-md-5 mt-3"},C3={class:"container-md"},E3={class:"mb-3 text-body"},T3={class:"card mb-4 shadow rounded-3"},P3={class:"card-header"},M3={class:"card-body"},D3={class:"card mb-4 shadow rounded-3"},O3={class:"card-header"},I3={class:"card-body"},L3={class:"card mb-4 shadow rounded-3"},R3={class:"card-header"},N3={class:"card-body d-flex gap-4 flex-column"},F3=h("hr",{class:"m-0"},null,-1),B3={key:0,class:"m-0"};function V3(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("DashboardTheme"),l=ke("DashboardLanguage"),c=ke("PeersDefaultSettingsInput"),u=ke("DashboardSettingsInputWireguardConfigurationPath"),d=ke("AccountSettingsInputUsername"),f=ke("AccountSettingsInputPassword"),g=ke("AccountSettingsMFA"),_=ke("DashboardAPIKeys");return C(),F("div",A3,[h("div",C3,[h("h3",E3,[N(r,{t:"Settings"})]),N(a),N(l),h("div",T3,[h("p",P3,[N(r,{t:"Peers Default Settings"})]),h("div",M3,[N(c,{targetData:"peer_global_dns",title:"DNS"}),N(c,{targetData:"peer_endpoint_allowed_ip",title:"Endpoint Allowed IPs"}),N(c,{targetData:"peer_mtu",title:"MTU"}),N(c,{targetData:"peer_keep_alive",title:"Persistent Keepalive"}),N(c,{targetData:"remote_endpoint",title:"Peer Remote Endpoint",warning:!0,warningText:"This will be changed globally, and will be apply to all peer's QR code and configuration file."})])]),h("div",D3,[h("p",O3,[N(r,{t:"WireGuard Configurations Settings"})]),h("div",I3,[N(u,{targetData:"wg_conf_path",title:"Configurations Directory",warning:!0,"warning-text":"Remember to remove / at the end of your path. e.g /etc/wireguard"})])]),h("div",L3,[h("p",R3,[N(r,{t:"WGDashboard Account Settings"})]),h("div",N3,[N(d,{targetData:"username",title:"Username"}),F3,N(f,{targetData:"password"}),this.dashboardConfigurationStore.getActiveCrossServer()?re("",!0):(C(),F("hr",B3)),this.dashboardConfigurationStore.getActiveCrossServer()?re("",!0):(C(),Se(g,{key:1}))])]),N(_)])])}const H3=je($3,[["render",V3]]),j3={name:"setup",components:{LocaleText:Ge},setup(){return{store:Xe()}},data(){return{setup:{username:"",newPassword:"",repeatNewPassword:"",enable_totp:!0},loading:!1,errorMessage:"",done:!1}},computed:{goodToSubmit(){return this.setup.username&&this.setup.newPassword.length>=8&&this.setup.repeatNewPassword.length>=8&&this.setup.newPassword===this.setup.repeatNewPassword}},methods:{submit(){this.loading=!0,ht("/api/Welcome_Finish",this.setup,t=>{t.status?(this.done=!0,this.$router.push("/2FASetup")):(document.querySelectorAll("#createAccount input").forEach(e=>e.classList.add("is-invalid")),this.errorMessage=t.message,document.querySelector(".login-container-fluid").scrollTo({top:0,left:0,behavior:"smooth"})),this.loading=!1})}}},W3=["data-bs-theme"],z3={class:"m-auto text-body",style:{width:"500px"}},K3={class:"dashboardLogo display-4"},Y3={class:"mb-5"},U3={key:0,class:"alert alert-danger"},q3={class:"d-flex flex-column gap-3"},G3={id:"createAccount",class:"d-flex flex-column gap-2"},J3={class:"form-group text-body"},X3={for:"username",class:"mb-1 text-muted"},Q3={class:"form-group text-body"},Z3={for:"password",class:"mb-1 text-muted"},eN={class:"form-group text-body"},tN={for:"confirmPassword",class:"mb-1 text-muted"},nN=["disabled"],sN={key:0,class:"d-flex align-items-center w-100"},iN=h("i",{class:"bi bi-chevron-right ms-auto"},null,-1),oN={key:1,class:"d-flex align-items-center w-100"},rN=h("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},[h("span",{class:"visually-hidden"},"Loading...")],-1);function aN(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[h("div",z3,[h("span",K3,[N(r,{t:"Nice to meet you!"})]),h("p",Y3,[N(r,{t:"Please fill in the following fields to finish setup"}),He(" 😊")]),h("div",null,[h("h3",null,[N(r,{t:"Create an account"})]),this.errorMessage?(C(),F("div",U3,xe(this.errorMessage),1)):re("",!0),h("div",q3,[h("form",G3,[h("div",J3,[h("label",X3,[h("small",null,[N(r,{t:"Enter an username you like"})])]),Le(h("input",{type:"text",autocomplete:"username","onUpdate:modelValue":e[0]||(e[0]=a=>this.setup.username=a),class:"form-control",id:"username",name:"username",required:""},null,512),[[We,this.setup.username]])]),h("div",Q3,[h("label",Z3,[h("small",null,[N(r,{t:"Enter a password"}),h("code",null,[N(r,{t:"(At least 8 characters and make sure is strong enough!)"})])])]),Le(h("input",{type:"password",autocomplete:"new-password","onUpdate:modelValue":e[1]||(e[1]=a=>this.setup.newPassword=a),class:"form-control",id:"password",name:"password",required:""},null,512),[[We,this.setup.newPassword]])]),h("div",eN,[h("label",tN,[h("small",null,[N(r,{t:"Confirm password"})])]),Le(h("input",{type:"password",autocomplete:"confirm-new-password","onUpdate:modelValue":e[2]||(e[2]=a=>this.setup.repeatNewPassword=a),class:"form-control",id:"confirmPassword",name:"confirmPassword",required:""},null,512),[[We,this.setup.repeatNewPassword]])])]),h("button",{class:"btn btn-dark btn-lg mb-5 d-flex btn-brand shadow align-items-center",ref:"signInBtn",disabled:!this.goodToSubmit||this.loading||this.done,onClick:e[3]||(e[3]=a=>this.submit())},[!this.loading&&!this.done?(C(),F("span",sN,[N(r,{t:"Next"}),iN])):(C(),F("span",oN,[N(r,{t:"Saving..."}),rN]))],8,nN)])])])],8,W3)}const lN=je(j3,[["render",aN]]);function kf(t){return t.includes(":")?6:t.includes(".")?4:0}function cN(t){const e=kf(t);if(!e)throw new Error(`Invalid IP address: ${t}`);let n=0n,s=0n;const i=Object.create(null);if(e===4)for(const o of t.split(".").map(BigInt).reverse())n+=o*2n**s,s+=8n;else{if(t.includes(".")&&(i.ipv4mapped=!0,t=t.split(":").map(a=>{if(a.includes(".")){const[l,c,u,d]=a.split(".").map(f=>Number(f).toString(16).padStart(2,"0"));return`${l}${c}:${u}${d}`}else return a}).join(":")),t.includes("%")){let a;[,t,a]=/(.+)%(.+)/.exec(t),i.scopeid=a}const o=t.split(":"),r=o.indexOf("");if(r!==-1)for(;o.length<8;)o.splice(r,0,"");for(const a of o.map(l=>BigInt(parseInt(l||0,16))).reverse())n+=a*2n**s,s+=16n}return i.number=n,i.version=e,i}const ym={4:32,6:128},uN=t=>t.includes("/")?kf(t):0;function dN(t){const e=uN(t),n=Object.create(null);if(n.single=!1,e)n.cidr=t,n.version=e;else{const d=kf(t);if(d)n.cidr=`${t}/${ym[d]}`,n.version=d,n.single=!0;else throw new Error(`Network is not a CIDR or IP: ${t}`)}const[s,i]=n.cidr.split("/");n.prefix=i;const{number:o,version:r}=cN(s),a=ym[r],l=o.toString(2).padStart(a,"0"),c=Number(a-i),u=l.substring(0,a-c);return n.start=BigInt(`0b${u}${"0".repeat(c)}`),n.end=BigInt(`0b${u}${"1".repeat(c)}`),n}/*! SPDX-License-Identifier: GPL-2.0 * * Copyright (C) 2015-2020 Jason A. Donenfeld . All Rights Reserved. - */(function(){function t(x){var y=new Float64Array(16);if(x)for(var S=0;S>16&1),E[C-1]&=65535;E[15]=T[15]-32767-(E[14]>>16&1),S=E[15]>>16&1,E[14]&=65535,s(T,E,1-S)}for(var C=0;C<16;++C)x[2*C]=T[C]&255,x[2*C+1]=T[C]>>8}function n(x){for(var y=0;y<16;++y)x[(y+1)%16]+=(y<15?1:38)*Math.floor(x[y]/65536),x[y]&=65535}function s(x,y,S){for(var E,T=~(S-1),C=0;C<16;++C)E=T&(x[C]^y[C]),x[C]^=E,y[C]^=E}function i(x,y,S){for(var E=0;E<16;++E)x[E]=y[E]+S[E]|0}function o(x,y,S){for(var E=0;E<16;++E)x[E]=y[E]-S[E]|0}function r(x,y,S){for(var E=new Float64Array(31),T=0;T<16;++T)for(var C=0;C<16;++C)E[T+C]+=y[T]*S[C];for(var T=0;T<15;++T)E[T]+=38*E[T+16];for(var T=0;T<16;++T)x[T]=E[T];n(x),n(x)}function a(x,y){for(var S=t(),E=0;E<16;++E)S[E]=y[E];for(var E=253;E>=0;--E)r(S,S,S),E!==2&&E!==4&&r(S,S,y);for(var E=0;E<16;++E)x[E]=S[E]}function l(x){x[31]=x[31]&127|64,x[0]&=248}function c(x){for(var y,S=new Uint8Array(32),E=t([1]),T=t([9]),C=t(),B=t([1]),J=t(),ae=t(),Y=t([56129,1]),L=t([9]),I=0;I<32;++I)S[I]=x[I];l(S);for(var I=254;I>=0;--I)y=S[I>>>3]>>>(I&7)&1,s(E,T,y),s(C,B,y),i(J,E,C),o(E,E,C),i(C,T,B),o(T,T,B),r(B,J,J),r(ae,E,E),r(E,C,E),r(C,T,J),i(J,E,C),o(E,E,C),r(T,E,E),o(C,B,ae),r(E,C,Y),i(E,E,B),r(C,C,E),r(E,B,ae),r(B,T,L),r(T,J,J),s(E,T,y),s(C,B,y);return a(C,C),r(E,E,C),e(S,E),S}function u(){var x=new Uint8Array(32);return window.crypto.getRandomValues(x),x}function d(){var x=u();return l(x),x}function f(x,y){for(var S=Uint8Array.from([y[0]>>2&63,(y[0]<<4|y[1]>>4)&63,(y[1]<<2|y[2]>>6)&63,y[2]&63]),E=0;E<4;++E)x[E]=S[E]+65+(25-S[E]>>8&6)-(51-S[E]>>8&75)-(61-S[E]>>8&15)+(62-S[E]>>8&3)}function g(x){var y,S=new Uint8Array(44);for(y=0;y<32/3;++y)f(S.subarray(y*4),x.subarray(y*3));return f(S.subarray(y*4),Uint8Array.from([x[y*3+0],x[y*3+1],0])),S[43]=61,String.fromCharCode.apply(null,S)}function _(x){let y=window.atob(x),S=y.length,E=new Uint8Array(S);for(let C=0;C>>8&255,y>>>16&255,y>>>24&255)}function b(x,y){x.push(y&255,y>>>8&255)}function w(x,y){for(var S=0;S>>1:y>>>1;A.table[S]=y}}for(var T=-1,C=0;C>>8^A.table[(T^x[C])&255];return(T^-1)>>>0}function D(x){for(var y=[],S=[],E=0,T=0;T{t.status?(this.success=!0,await this.store.getConfigurations(),setTimeout(()=>{this.$router.push("/")},1e3)):(this.error=!0,this.errorMessage=t.message,document.querySelector(`#${t.data}`).classList.remove("is-valid"),document.querySelector(`#${t.data}`).classList.add("is-invalid"),this.loading=!1)}))}},computed:{goodToSubmit(){let t=["ConfigurationName","Address","ListenPort","PrivateKey"],e=[...document.querySelectorAll("input[required]")];return t.find(n=>this.newConfiguration[n].length===0)===void 0&&e.find(n=>n.classList.contains("is-invalid"))===void 0}},watch:{"newConfiguration.Address"(t){let e=document.querySelector("#Address");e.classList.remove("is-invalid","is-valid");try{if(t.trim().split("/").filter(i=>i.length>0).length!==2)throw Error();let n=G3(t),s=n.end-n.start;this.numberOfAvailableIPs=s.toLocaleString(),e.classList.add("is-valid")}catch{this.numberOfAvailableIPs="0",e.classList.add("is-invalid")}},"newConfiguration.ListenPort"(t){let e=document.querySelector("#ListenPort");e.classList.remove("is-invalid","is-valid"),t<0||t>65353||!Number.isInteger(t)?e.classList.add("is-invalid"):e.classList.add("is-valid")},"newConfiguration.ConfigurationName"(t){let e=document.querySelector("#ConfigurationName");e.classList.remove("is-invalid","is-valid"),!/^[a-zA-Z0-9_=+.-]{1,15}$/.test(t)||t.length===0||this.store.Configurations.find(n=>n.Name===t)?e.classList.add("is-invalid"):e.classList.add("is-valid")},"newConfiguration.PrivateKey"(t){let e=document.querySelector("#PrivateKey");e.classList.remove("is-invalid","is-valid");try{wireguard.generatePublicKey(t),e.classList.add("is-valid")}catch{e.classList.add("is-invalid")}}}},X3={class:"mt-5"},Q3={class:"container mb-4"},Z3={class:"mb-4 d-flex align-items-center gap-4"},eN=h("h3",{class:"mb-0 text-body"},[h("i",{class:"bi bi-chevron-left me-4"}),be(" New Configuration ")],-1),tN={class:"card rounded-3 shadow"},nN=h("div",{class:"card-header"},"Configuration Name",-1),sN={class:"card-body"},iN=["disabled"],oN={class:"invalid-feedback"},rN={key:0},aN={key:1},lN=h("ul",{class:"mb-0"},[h("li",null,"Configuration name already exist."),h("li",null,'Configuration name can only contain 15 lower/uppercase alphabet, numbers, "_"(underscore), "="(equal), "+"(plus), "."(period/dot), "-"(dash/hyphen)')],-1),cN={class:"card rounded-3 shadow"},uN=h("div",{class:"card-header"},"Private Key / Public Key / Pre-Shared Key",-1),dN={class:"card-body",style:{"font-family":"var(--bs-font-monospace)"}},hN={class:"mb-2"},fN=h("label",{class:"text-muted fw-bold mb-1"},[h("small",null,"PRIVATE KEY")],-1),pN={class:"input-group"},gN=["disabled"],mN=h("i",{class:"bi bi-arrow-repeat"},null,-1),_N=[mN],vN=h("label",{class:"text-muted fw-bold mb-1"},[h("small",null,"PUBLIC KEY")],-1),bN={class:"card rounded-3 shadow"},yN=h("div",{class:"card-header"},"Listen Port",-1),wN={class:"card-body"},xN=["disabled"],kN={class:"invalid-feedback"},SN={key:0},$N={key:1},AN={class:"card rounded-3 shadow"},CN={class:"card-header d-flex align-items-center"},EN={class:"badge rounded-pill text-bg-success ms-auto"},PN={class:"card-body"},TN=["disabled"],MN={class:"invalid-feedback"},DN={key:0},ON={key:1},IN=h("hr",null,null,-1),RN={class:"accordion",id:"newConfigurationOptionalAccordion"},LN={class:"accordion-item"},NN=h("h2",{class:"accordion-header"},[h("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#newConfigurationOptionalAccordionCollapse"}," Optional Settings ")],-1),FN={id:"newConfigurationOptionalAccordionCollapse",class:"accordion-collapse collapse","data-bs-parent":"#newConfigurationOptionalAccordion"},BN={class:"accordion-body d-flex flex-column gap-3"},VN={class:"card rounded-3"},HN=h("div",{class:"card-header"},"PreUp",-1),jN={class:"card-body"},WN={class:"card rounded-3"},zN=h("div",{class:"card-header"},"PreDown",-1),YN={class:"card-body"},UN={class:"card rounded-3"},KN=h("div",{class:"card-header"},"PostUp",-1),qN={class:"card-body"},GN={class:"card rounded-3"},JN=h("div",{class:"card-header"},"PostDown",-1),XN={class:"card-body"},QN=["disabled"],ZN={key:0,class:"d-flex w-100"},e5=h("i",{class:"bi bi-check-circle-fill ms-2"},null,-1),t5={key:1,class:"d-flex w-100"},n5=h("i",{class:"bi bi-save-fill ms-2"},null,-1),s5={key:2,class:"d-flex w-100 align-items-center"},i5=h("span",{class:"ms-2 spinner-border spinner-border-sm",role:"status"},null,-1);function o5(t,e,n,s,i,o){const r=He("RouterLink");return M(),F("div",X3,[h("div",Q3,[h("div",Z3,[Se(r,{to:"/",class:"text-decoration-none"},{default:Pe(()=>[eN]),_:1})]),h("form",{class:"text-body d-flex flex-column gap-3",onSubmit:e[10]||(e[10]=a=>{a.preventDefault(),this.saveNewConfiguration()})},[h("div",tN,[nN,h("div",sN,[Oe(h("input",{type:"text",class:"form-control",placeholder:"ex. wg1",id:"ConfigurationName","onUpdate:modelValue":e[0]||(e[0]=a=>this.newConfiguration.ConfigurationName=a),disabled:this.loading,required:""},null,8,iN),[[je,this.newConfiguration.ConfigurationName]]),h("div",oN,[this.error?(M(),F("div",rN,me(this.errorMessage),1)):(M(),F("div",aN,[be(" Configuration name is invalid. Possible reasons: "),lN]))])])]),h("div",cN,[uN,h("div",dN,[h("div",hN,[fN,h("div",pN,[Oe(h("input",{type:"text",class:"form-control",id:"PrivateKey",required:"",disabled:this.loading,"onUpdate:modelValue":e[1]||(e[1]=a=>this.newConfiguration.PrivateKey=a)},null,8,gN),[[je,this.newConfiguration.PrivateKey]]),h("button",{class:"btn btn-outline-primary",type:"button",title:"Regenerate Private Key",onClick:e[2]||(e[2]=a=>o.wireguardGenerateKeypair())},_N)])]),h("div",null,[vN,Oe(h("input",{type:"text",class:"form-control",id:"PublicKey","onUpdate:modelValue":e[3]||(e[3]=a=>this.newConfiguration.PublicKey=a),disabled:""},null,512),[[je,this.newConfiguration.PublicKey]])])])]),h("div",bN,[yN,h("div",wN,[Oe(h("input",{type:"number",class:"form-control",placeholder:"0-65353",id:"ListenPort",min:"1",max:"65353","onUpdate:modelValue":e[4]||(e[4]=a=>this.newConfiguration.ListenPort=a),disabled:this.loading,required:""},null,8,xN),[[je,this.newConfiguration.ListenPort]]),h("div",kN,[this.error?(M(),F("div",SN,me(this.errorMessage),1)):(M(),F("div",$N," Invalid port "))])])]),h("div",AN,[h("div",CN,[be(" IP Address & Range "),h("span",EN,me(i.numberOfAvailableIPs)+" Available IPs",1)]),h("div",PN,[Oe(h("input",{type:"text",class:"form-control",placeholder:"Ex: 10.0.0.1/24",id:"Address","onUpdate:modelValue":e[5]||(e[5]=a=>this.newConfiguration.Address=a),disabled:this.loading,required:""},null,8,TN),[[je,this.newConfiguration.Address]]),h("div",MN,[this.error?(M(),F("div",DN,me(this.errorMessage),1)):(M(),F("div",ON," IP address & range is invalid. "))])])]),IN,h("div",RN,[h("div",LN,[NN,h("div",FN,[h("div",BN,[h("div",VN,[HN,h("div",jN,[Oe(h("input",{type:"text",class:"form-control",id:"preUp","onUpdate:modelValue":e[6]||(e[6]=a=>this.newConfiguration.PreUp=a)},null,512),[[je,this.newConfiguration.PreUp]])])]),h("div",WN,[zN,h("div",YN,[Oe(h("input",{type:"text",class:"form-control",id:"preDown","onUpdate:modelValue":e[7]||(e[7]=a=>this.newConfiguration.PreDown=a)},null,512),[[je,this.newConfiguration.PreDown]])])]),h("div",UN,[KN,h("div",qN,[Oe(h("input",{type:"text",class:"form-control",id:"postUp","onUpdate:modelValue":e[8]||(e[8]=a=>this.newConfiguration.PostUp=a)},null,512),[[je,this.newConfiguration.PostUp]])])]),h("div",GN,[JN,h("div",XN,[Oe(h("input",{type:"text",class:"form-control",id:"postDown","onUpdate:modelValue":e[9]||(e[9]=a=>this.newConfiguration.PostDown=a)},null,512),[[je,this.newConfiguration.PostDown]])])])])])])]),h("button",{class:"btn btn-dark btn-brand rounded-3 px-3 py-2 shadow ms-auto",disabled:!this.goodToSubmit},[this.success?(M(),F("span",ZN,[be(" Success! "),e5])):this.loading?(M(),F("span",s5,[be(" Saving... "),i5])):(M(),F("span",t5,[be(" Save Configuration "),n5]))],8,QN)],32)])])}const r5=We(J3,[["render",o5]]),a5={name:"configuration"},l5={class:"mt-md-5 mt-3 text-body"};function c5(t,e,n,s,i,o){const r=He("RouterView");return M(),F("div",l5,[Se(r,null,{default:Pe(({Component:a,route:l})=>[Se(At,{name:"fade2",mode:"out-in"},{default:Pe(()=>[(M(),Le(Wh,null,{default:Pe(()=>[(M(),Le(Mo(a),{key:l.path}))]),_:2},1024))]),_:2},1024)]),_:1})])}const u5=We(a5,[["render",c5]]),d5={name:"peerSearch",setup(){const t=Xe(),e=Tn();return{store:t,wireguardConfigurationStore:e}},props:{configuration:Object},data(){return{sort:{status:"Status",name:"Name",allowed_ip:"Allowed IP",restricted:"Restricted"},interval:{5e3:"5 Seconds",1e4:"10 Seconds",3e4:"30 Seconds",6e4:"1 Minutes"},searchString:"",searchStringTimeout:void 0,showDisplaySettings:!1,showMoreSettings:!1}},methods:{debounce(){this.searchStringTimeout?(clearTimeout(this.searchStringTimeout),this.searchStringTimeout=setTimeout(()=>{this.wireguardConfigurationStore.searchString=this.searchString},300)):this.searchStringTimeout=setTimeout(()=>{this.wireguardConfigurationStore.searchString=this.searchString},300)},updateSort(t){ht("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_sort",value:t},e=>{e.status&&this.store.getConfiguration()})},updateRefreshInterval(t){ht("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_refresh_interval",value:t},e=>{e.status&&this.store.getConfiguration()})},downloadAllPeer(){wt(`/api/downloadAllPeers/${this.configuration.Name}`,{},t=>{console.log(t),window.wireguard.generateZipFiles(t,this.configuration.Name)})}},mounted(){}},ni=t=>(Ut("data-v-8d540b8b"),t=t(),Kt(),t),h5={class:"mb-3"},f5={class:"d-flex gap-2 z-3 peerSearchContainer"},p5=ni(()=>h("i",{class:"bi bi-plus-lg me-2"},null,-1)),g5=ni(()=>h("i",{class:"bi bi-download me-2"},null,-1)),m5={class:"mt-3 mt-md-0 flex-grow-1"},_5=ni(()=>h("i",{class:"bi bi-filter-circle me-2"},null,-1)),v5=ni(()=>h("i",{class:"bi bi-three-dots"},null,-1)),b5=[v5],y5={key:0,class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll displayModal"},w5={class:"container-md d-flex h-100 w-100"},x5={class:"m-auto modal-dialog-centered dashboardModal"},k5={class:"card rounded-3 shadow w-100"},S5={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},$5=ni(()=>h("h4",{class:"mb-0 fw-normal"},"Display ",-1)),A5={class:"card-body px-4 pb-4 d-flex gap-3 flex-column"},C5=ni(()=>h("p",{class:"text-muted fw-bold mb-2"},[h("small",null,"Sort by")],-1)),E5={class:"list-group"},P5=["onClick"],T5={class:"me-auto"},M5={key:0,class:"bi bi-check text-primary"},D5=ni(()=>h("p",{class:"text-muted fw-bold mb-2"},[h("small",null,"Refresh interval")],-1)),O5={class:"list-group"},I5=["onClick"],R5={class:"me-auto"},L5={key:0,class:"bi bi-check text-primary"},N5={key:0,class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll displayModal"},F5={class:"container-md d-flex h-100 w-100"},B5={class:"m-auto modal-dialog-centered dashboardModal"},V5={class:"card rounded-3 shadow w-100"},H5={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},j5=ni(()=>h("h4",{class:"mb-0 fw-normal"},"Configuration Settings ",-1)),W5={class:"card-body px-4 pb-4 d-flex gap-3 flex-column"},z5=ni(()=>h("p",{class:"text-muted fw-bold mb-2"},[h("small",null,"Peer Jobs")],-1)),Y5={class:"list-group"};function U5(t,e,n,s,i,o){const r=He("RouterLink");return M(),F("div",h5,[h("div",f5,[Se(r,{to:"create",class:"text-decoration-none btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle shadow-sm"},{default:Pe(()=>[p5,be("Peer ")]),_:1}),h("button",{class:"btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle shadow-sm",onClick:e[0]||(e[0]=a=>this.downloadAllPeer())},[g5,be(" Download All ")]),h("div",m5,[Oe(h("input",{class:"form-control rounded-3 bg-secondary-subtle border-1 border-secondary-subtle shadow-sm w-100",placeholder:"Search Peers...",id:"searchPeers",onKeyup:e[1]||(e[1]=a=>this.debounce()),"onUpdate:modelValue":e[2]||(e[2]=a=>this.searchString=a)},null,544),[[je,this.searchString]])]),h("button",{onClick:e[3]||(e[3]=a=>this.showDisplaySettings=!0),class:"btn text-secondary-emphasis bg-secondary-subtle rounded-3 border-1 border-secondary-subtle shadow-sm",type:"button","aria-expanded":"false"},[_5,be(" Display ")]),h("button",{class:"btn text-secondary-emphasis bg-secondary-subtle rounded-3 border-1 border-secondary-subtle shadow-sm",onClick:e[4]||(e[4]=a=>this.showMoreSettings=!0),type:"button","aria-expanded":"false"},b5),Se(At,{name:"zoom"},{default:Pe(()=>[this.showDisplaySettings?(M(),F("div",y5,[h("div",w5,[h("div",x5,[h("div",k5,[h("div",S5,[$5,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[5]||(e[5]=a=>this.showDisplaySettings=!1)})]),h("div",A5,[h("div",null,[C5,h("div",E5,[(M(!0),F(Te,null,Ue(this.sort,(a,l)=>(M(),F("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:c=>this.updateSort(l)},[h("span",T5,me(a),1),s.store.Configuration.Server.dashboard_sort===l?(M(),F("i",M5)):re("",!0)],8,P5))),256))])]),h("div",null,[D5,h("div",O5,[(M(!0),F(Te,null,Ue(this.interval,(a,l)=>(M(),F("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:c=>this.updateRefreshInterval(l)},[h("span",R5,me(a),1),s.store.Configuration.Server.dashboard_refresh_interval===l?(M(),F("i",L5)):re("",!0)],8,I5))),256))])])])])])])])):re("",!0)]),_:1}),Se(At,{name:"zoom"},{default:Pe(()=>[this.showMoreSettings?(M(),F("div",N5,[h("div",F5,[h("div",B5,[h("div",V5,[h("div",H5,[j5,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[6]||(e[6]=a=>this.showMoreSettings=!1)})]),h("div",W5,[h("div",null,[z5,h("div",Y5,[h("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:e[7]||(e[7]=a=>this.$emit("jobsAll"))}," Active Jobs "),h("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:e[8]||(e[8]=a=>this.$emit("jobLogs"))}," Logs ")])])])])])])])):re("",!0)]),_:1})])])}const K5=We(d5,[["render",U5],["__scopeId","data-v-8d540b8b"]]);function q5(t){return Lc()?(Th(t),!0):!1}function t0(t){return typeof t=="function"?t():q(t)}const n0=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const G5=Object.prototype.toString,J5=t=>G5.call(t)==="[object Object]",sc=()=>{},X5=Q5();function Q5(){var t,e;return n0&&((t=window?.navigator)==null?void 0:t.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((e=window?.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function sa(t){var e;const n=t0(t);return(e=n?.$el)!=null?e:n}const s0=n0?window:void 0;function ed(...t){let e,n,s,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,s,i]=t,e=s0):[e,n,s,i]=t,!e)return sc;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const o=[],r=()=>{o.forEach(u=>u()),o.length=0},a=(u,d,f,g)=>(u.addEventListener(d,f,g),()=>u.removeEventListener(d,f,g)),l=Bt(()=>[sa(e),t0(i)],([u,d])=>{if(r(),!u)return;const f=J5(d)?{...d}:d;o.push(...n.flatMap(g=>s.map(_=>a(u,g,_,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),r()};return q5(c),c}let wm=!1;function Z5(t,e,n={}){const{window:s=s0,ignore:i=[],capture:o=!0,detectIframe:r=!1}=n;if(!s)return sc;X5&&!wm&&(wm=!0,Array.from(s.document.body.children).forEach(f=>f.addEventListener("click",sc)),s.document.documentElement.addEventListener("click",sc));let a=!0;const l=f=>i.some(g=>{if(typeof g=="string")return Array.from(s.document.querySelectorAll(g)).some(_=>_===f.target||f.composedPath().includes(_));{const _=sa(g);return _&&(f.target===_||f.composedPath().includes(_))}}),u=[ed(s,"click",f=>{const g=sa(t);if(!(!g||g===f.target||f.composedPath().includes(g))){if(f.detail===0&&(a=!l(f)),!a){a=!0;return}e(f)}},{passive:!0,capture:o}),ed(s,"pointerdown",f=>{const g=sa(t);a=!l(f)&&!!(g&&!f.composedPath().includes(g))},{passive:!0}),r&&ed(s,"blur",f=>{setTimeout(()=>{var g;const _=sa(t);((g=s.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!_?.contains(s.document.activeElement)&&e(f)},0)})].filter(Boolean);return()=>u.forEach(f=>f())}const eF={name:"peerSettingsDropdown",setup(){return{dashboardStore:Xe()}},props:{Peer:Object},data(){return{deleteBtnDisabled:!1,restrictBtnDisabled:!1,allowAccessBtnDisabled:!1}},methods:{downloadPeer(){wt("/api/downloadPeer/"+this.$route.params.id,{id:this.Peer.id},t=>{if(t.status){const e=new Blob([t.data.file],{type:"text/plain"}),n=URL.createObjectURL(e),s=`${t.data.fileName}.conf`,i=document.createElement("a");i.href=n,i.download=s,i.click(),this.dashboardStore.newMessage("WGDashboard","Peer download started","success")}else this.dashboardStore.newMessage("Server",t.message,"danger")})},downloadQRCode(){wt("/api/downloadPeer/"+this.$route.params.id,{id:this.Peer.id},t=>{t.status?this.$emit("qrcode",t.data.file):this.dashboardStore.newMessage("Server",t.message,"danger")})},deletePeer(){this.deleteBtnDisabled=!0,ht(`/api/deletePeers/${this.$route.params.id}`,{peers:[this.Peer.id]},t=>{this.dashboardStore.newMessage("Server",t.message,t.status?"success":"danger"),this.$emit("refresh"),this.deleteBtnDisabled=!1})},restrictPeer(){this.restrictBtnDisabled=!0,ht(`/api/restrictPeers/${this.$route.params.id}`,{peers:[this.Peer.id]},t=>{this.dashboardStore.newMessage("Server",t.message,t.status?"success":"danger"),this.$emit("refresh"),this.restrictBtnDisabled=!1})},allowAccessPeer(){this.allowAccessBtnDisabled=!0,ht(`/api/allowAccessPeers/${this.$route.params.id}`,{peers:[this.Peer.id]},t=>{this.dashboardStore.newMessage("Server",t.message,t.status?"success":"danger"),this.$emit("refresh"),this.allowAccessBtnDisabled=!1})}}},hs=t=>(Ut("data-v-772e5b77"),t=t(),Kt(),t),tF={class:"dropdown-menu mt-2 shadow-lg d-block rounded-3",style:{"max-width":"200px"}},nF={key:0},sF=hs(()=>h("small",{class:"w-100 dropdown-item text-muted",style:{"white-space":"break-spaces","font-size":"0.7rem"}},[be("Download & QR Code is not available due to no "),h("code",null,"private key"),be(" set for this peer ")],-1)),iF=[sF],oF={key:1,class:"d-flex",style:{"padding-left":"var(--bs-dropdown-item-padding-x)","padding-right":"var(--bs-dropdown-item-padding-x)"}},rF=hs(()=>h("i",{class:"me-auto bi bi-download"},null,-1)),aF=[rF],lF=hs(()=>h("i",{class:"me-auto bi bi-qr-code"},null,-1)),cF=[lF],uF=hs(()=>h("i",{class:"me-auto bi bi-share"},null,-1)),dF=[uF],hF=hs(()=>h("li",null,[h("hr",{class:"dropdown-divider"})],-1)),fF=hs(()=>h("i",{class:"me-auto bi bi-pen"},null,-1)),pF=hs(()=>h("i",{class:"me-auto bi bi-app-indicator"},null,-1)),gF=hs(()=>h("li",null,[h("hr",{class:"dropdown-divider"})],-1)),mF=hs(()=>h("i",{class:"me-auto bi bi-lock"},null,-1)),_F=hs(()=>h("i",{class:"me-auto bi bi-trash"},null,-1)),vF={key:1},bF=hs(()=>h("i",{class:"me-auto bi bi-unlock"},null,-1));function yF(t,e,n,s,i,o){return M(),F("ul",tF,[this.Peer.restricted?(M(),F("li",vF,[h("a",{class:Ce(["dropdown-item d-flex text-warning",{disabled:this.restrictBtnDisabled}]),onClick:e[7]||(e[7]=r=>this.allowAccessPeer()),role:"button"},[bF,be(" "+me(this.allowAccessBtnDisabled?"Allowing...":"Allow Access"),1)],2)])):(M(),F(Te,{key:0},[this.Peer.private_key?(M(),F("li",oF,[h("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:e[0]||(e[0]=r=>this.downloadPeer())},aF),h("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:e[1]||(e[1]=r=>this.downloadQRCode())},cF),h("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:e[2]||(e[2]=r=>this.$emit("share"))},dF)])):(M(),F("li",nF,iF)),hF,h("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:e[3]||(e[3]=r=>this.$emit("setting"))},[fF,be(" Edit ")])]),h("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:e[4]||(e[4]=r=>this.$emit("jobs"))},[pF,be(" Schedule Jobs ")])]),gF,h("li",null,[h("a",{class:Ce(["dropdown-item d-flex text-warning",{disabled:this.restrictBtnDisabled}]),onClick:e[5]||(e[5]=r=>this.restrictPeer()),role:"button"},[mF,be(" "+me(this.restrictBtnDisabled?"Restricting...":"Restrict Access"),1)],2)]),h("li",null,[h("a",{class:Ce(["dropdown-item d-flex fw-bold text-danger",{disabled:this.deleteBtnDisabled}]),onClick:e[6]||(e[6]=r=>this.deletePeer()),role:"button"},[_F,be(" "+me(this.deleteBtnDisabled?"Deleting...":"Delete"),1)],2)])],64))])}const wF=We(eF,[["render",yF],["__scopeId","data-v-772e5b77"]]),xF={name:"peer",components:{PeerSettingsDropdown:wF},props:{Peer:Object},data(){return{}},setup(){const t=ve(null),e=ve(!1);return Z5(t,n=>{e.value=!1}),{target:t,subMenuOpened:e}},computed:{getLatestHandshake(){return this.Peer.latest_handshake.includes(",")?this.Peer.latest_handshake.split(",")[0]:this.Peer.latest_handshake}}},Io=t=>(Ut("data-v-f311ec95"),t=t(),Kt(),t),kF={key:0,class:"card-header bg-transparent d-flex align-items-center gap-2 border-0"},SF={style:{"font-size":"0.8rem"},class:"ms-auto d-flex gap-2"},$F={class:"text-primary"},AF=Io(()=>h("i",{class:"bi bi-arrow-down"},null,-1)),CF={class:"text-success"},EF=Io(()=>h("i",{class:"bi bi-arrow-up"},null,-1)),PF={key:0,class:"text-secondary"},TF=Io(()=>h("i",{class:"bi bi-arrows-angle-contract"},null,-1)),MF={key:1,class:"border-0 card-header bg-transparent text-warning fw-bold",style:{"font-size":"0.8rem"}},DF=Io(()=>h("i",{class:"bi-lock-fill me-2"},null,-1)),OF={class:"card-body pt-1",style:{"font-size":"0.9rem"}},IF={class:"mb-2"},RF=Io(()=>h("small",{class:"text-muted"},"Public Key",-1)),LF={class:"mb-0"},NF={class:"d-flex align-items-end"},FF=Io(()=>h("small",{class:"text-muted"},"Allowed IP",-1)),BF={class:"mb-0"},VF=Io(()=>h("h5",{class:"mb-0"},[h("i",{class:"bi bi-three-dots"})],-1)),HF=[VF];function jF(t,e,n,s,i,o){const r=He("PeerSettingsDropdown");return M(),F("div",{class:Ce(["card shadow-sm rounded-3 peerCard bg-transparent",{"border-warning":n.Peer.restricted}])},[h("div",null,[n.Peer.restricted?(M(),F("div",MF,[DF,be(" Access Restricted ")])):(M(),F("div",kF,[h("div",{class:Ce(["dot ms-0",{active:n.Peer.status==="running"}])},null,2),h("div",SF,[h("span",$F,[AF,h("strong",null,me((n.Peer.cumu_receive+n.Peer.total_receive).toFixed(4)),1),be(" GB ")]),h("span",CF,[EF,h("strong",null,me((n.Peer.cumu_sent+n.Peer.total_sent).toFixed(4)),1),be(" GB ")]),n.Peer.latest_handshake!=="No Handshake"?(M(),F("span",PF,[TF,be(" "+me(o.getLatestHandshake)+" ago ",1)])):re("",!0)])]))]),h("div",OF,[h("h6",null,me(n.Peer.name?n.Peer.name:"Untitled Peer"),1),h("div",IF,[RF,h("p",LF,[h("samp",null,me(n.Peer.id),1)])]),h("div",NF,[h("div",null,[FF,h("p",BF,[h("samp",null,me(n.Peer.allowed_ip),1)])]),h("div",{class:Ce(["ms-auto px-2 rounded-3 subMenuBtn",{active:this.subMenuOpened}])},[h("a",{role:"button",class:"text-body",onClick:e[0]||(e[0]=a=>this.subMenuOpened=!0)},HF),Se(At,{name:"slide-fade"},{default:Pe(()=>[this.subMenuOpened?(M(),Le(r,{key:0,onQrcode:e[1]||(e[1]=a=>this.$emit("qrcode",a)),onSetting:e[2]||(e[2]=a=>this.$emit("setting")),onJobs:e[3]||(e[3]=a=>this.$emit("jobs")),onRefresh:e[4]||(e[4]=a=>this.$emit("refresh")),onShare:e[5]||(e[5]=a=>this.$emit("share")),Peer:n.Peer,ref:"target"},null,8,["Peer"])):re("",!0)]),_:1})],2)])])],2)}const WF=We(xF,[["render",jF],["__scopeId","data-v-f311ec95"]]);/*! - + */(function(){function t(x){var w=new Float64Array(16);if(x)for(var S=0;S>16&1),T[E-1]&=65535;T[15]=M[15]-32767-(T[14]>>16&1),S=T[15]>>16&1,T[14]&=65535,s(M,T,1-S)}for(var E=0;E<16;++E)x[2*E]=M[E]&255,x[2*E+1]=M[E]>>8}function n(x){for(var w=0;w<16;++w)x[(w+1)%16]+=(w<15?1:38)*Math.floor(x[w]/65536),x[w]&=65535}function s(x,w,S){for(var T,M=~(S-1),E=0;E<16;++E)T=M&(x[E]^w[E]),x[E]^=T,w[E]^=T}function i(x,w,S){for(var T=0;T<16;++T)x[T]=w[T]+S[T]|0}function o(x,w,S){for(var T=0;T<16;++T)x[T]=w[T]-S[T]|0}function r(x,w,S){for(var T=new Float64Array(31),M=0;M<16;++M)for(var E=0;E<16;++E)T[M+E]+=w[M]*S[E];for(var M=0;M<15;++M)T[M]+=38*T[M+16];for(var M=0;M<16;++M)x[M]=T[M];n(x),n(x)}function a(x,w){for(var S=t(),T=0;T<16;++T)S[T]=w[T];for(var T=253;T>=0;--T)r(S,S,S),T!==2&&T!==4&&r(S,S,w);for(var T=0;T<16;++T)x[T]=S[T]}function l(x){x[31]=x[31]&127|64,x[0]&=248}function c(x){for(var w,S=new Uint8Array(32),T=t([1]),M=t([9]),E=t(),V=t([1]),X=t(),le=t(),Y=t([56129,1]),R=t([9]),I=0;I<32;++I)S[I]=x[I];l(S);for(var I=254;I>=0;--I)w=S[I>>>3]>>>(I&7)&1,s(T,M,w),s(E,V,w),i(X,T,E),o(T,T,E),i(E,M,V),o(M,M,V),r(V,X,X),r(le,T,T),r(T,E,T),r(E,M,X),i(X,T,E),o(T,T,E),r(M,T,T),o(E,V,le),r(T,E,Y),i(T,T,V),r(E,E,T),r(T,V,le),r(V,M,R),r(M,X,X),s(T,M,w),s(E,V,w);return a(E,E),r(T,T,E),e(S,T),S}function u(){var x=new Uint8Array(32);return window.crypto.getRandomValues(x),x}function d(){var x=u();return l(x),x}function f(x,w){for(var S=Uint8Array.from([w[0]>>2&63,(w[0]<<4|w[1]>>4)&63,(w[1]<<2|w[2]>>6)&63,w[2]&63]),T=0;T<4;++T)x[T]=S[T]+65+(25-S[T]>>8&6)-(51-S[T]>>8&75)-(61-S[T]>>8&15)+(62-S[T]>>8&3)}function g(x){var w,S=new Uint8Array(44);for(w=0;w<32/3;++w)f(S.subarray(w*4),x.subarray(w*3));return f(S.subarray(w*4),Uint8Array.from([x[w*3+0],x[w*3+1],0])),S[43]=61,String.fromCharCode.apply(null,S)}function _(x){let w=window.atob(x),S=w.length,T=new Uint8Array(S);for(let E=0;E>>8&255,w>>>16&255,w>>>24&255)}function y(x,w){x.push(w&255,w>>>8&255)}function v(x,w){for(var S=0;S>>1:w>>>1;A.table[S]=w}}for(var M=-1,E=0;E>>8^A.table[(M^x[E])&255];return(M^-1)>>>0}function D(x){for(var w=[],S=[],T=0,M=0;M{t.status?(this.success=!0,await this.store.getConfigurations(),this.$router.push(`/configuration/${this.newConfiguration.ConfigurationName}/peers`)):(this.error=!0,this.errorMessage=t.message,document.querySelector(`#${t.data}`).classList.remove("is-valid"),document.querySelector(`#${t.data}`).classList.add("is-invalid"),this.loading=!1)}))}},computed:{goodToSubmit(){let t=["ConfigurationName","Address","ListenPort","PrivateKey"],e=[...document.querySelectorAll("input[required]")];return t.find(n=>this.newConfiguration[n].length===0)===void 0&&e.find(n=>n.classList.contains("is-invalid"))===void 0}},watch:{"newConfiguration.Address"(t){let e=document.querySelector("#Address");e.classList.remove("is-invalid","is-valid");try{if(t.trim().split("/").filter(i=>i.length>0).length!==2)throw Error();let n=dN(t),s=n.end-n.start;this.numberOfAvailableIPs=s.toLocaleString(),e.classList.add("is-valid")}catch{this.numberOfAvailableIPs="0",e.classList.add("is-invalid")}},"newConfiguration.ListenPort"(t){let e=document.querySelector("#ListenPort");e.classList.remove("is-invalid","is-valid"),t<0||t>65353||!Number.isInteger(t)?e.classList.add("is-invalid"):e.classList.add("is-valid")},"newConfiguration.ConfigurationName"(t){let e=document.querySelector("#ConfigurationName");e.classList.remove("is-invalid","is-valid"),!/^[a-zA-Z0-9_=+.-]{1,15}$/.test(t)||t.length===0||this.store.Configurations.find(n=>n.Name===t)?e.classList.add("is-invalid"):e.classList.add("is-valid")},"newConfiguration.PrivateKey"(t){let e=document.querySelector("#PrivateKey");e.classList.remove("is-invalid","is-valid");try{wireguard.generatePublicKey(t),e.classList.add("is-valid")}catch{e.classList.add("is-invalid")}}}},fN={class:"mt-5"},pN={class:"container mb-4"},gN={class:"mb-4 d-flex align-items-center gap-4"},mN={class:"mb-0 text-body"},_N=h("i",{class:"bi bi-chevron-left me-4"},null,-1),bN={class:"card rounded-3 shadow"},vN={class:"card-header"},yN={class:"card-body"},wN=["disabled"],xN={class:"invalid-feedback"},kN={key:0},SN={key:1},$N={class:"mb-0"},AN={class:"card rounded-3 shadow"},CN={class:"card-header"},EN={class:"card-body",style:{"font-family":"var(--bs-font-monospace)"}},TN={class:"mb-2"},PN={class:"text-muted fw-bold mb-1"},MN={class:"input-group"},DN=["disabled"],ON=h("i",{class:"bi bi-arrow-repeat"},null,-1),IN=[ON],LN={class:"text-muted fw-bold mb-1"},RN={class:"card rounded-3 shadow"},NN={class:"card-header"},FN={class:"card-body"},BN=["disabled"],VN={class:"invalid-feedback"},HN={key:0},jN={key:1},WN={class:"card rounded-3 shadow"},zN={class:"card-header d-flex align-items-center"},KN={class:"badge rounded-pill text-bg-success ms-auto"},YN={class:"card-body"},UN=["disabled"],qN={class:"invalid-feedback"},GN={key:0},JN={key:1},XN=h("hr",null,null,-1),QN={class:"accordion",id:"newConfigurationOptionalAccordion"},ZN={class:"accordion-item"},e5={class:"accordion-header"},t5={class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#newConfigurationOptionalAccordionCollapse"},n5={id:"newConfigurationOptionalAccordionCollapse",class:"accordion-collapse collapse","data-bs-parent":"#newConfigurationOptionalAccordion"},s5={class:"accordion-body d-flex flex-column gap-3"},i5={class:"card rounded-3"},o5=h("div",{class:"card-header"},"PreUp",-1),r5={class:"card-body"},a5={class:"card rounded-3"},l5=h("div",{class:"card-header"},"PreDown",-1),c5={class:"card-body"},u5={class:"card rounded-3"},d5=h("div",{class:"card-header"},"PostUp",-1),h5={class:"card-body"},f5={class:"card rounded-3"},p5=h("div",{class:"card-header"},"PostDown",-1),g5={class:"card-body"},m5=["disabled"],_5={key:0,class:"d-flex w-100"},b5=h("i",{class:"bi bi-check-circle-fill ms-2"},null,-1),v5={key:1,class:"d-flex w-100"},y5=h("i",{class:"bi bi-save-fill ms-2"},null,-1),w5={key:2,class:"d-flex w-100 align-items-center"},x5=h("span",{class:"ms-2 spinner-border spinner-border-sm",role:"status"},null,-1);function k5(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("RouterLink");return C(),F("div",fN,[h("div",pN,[h("div",gN,[N(a,{to:"/",class:"text-decoration-none"},{default:Pe(()=>[h("h3",mN,[_N,N(r,{t:"New Configuration"})])]),_:1})]),h("form",{class:"text-body d-flex flex-column gap-3",onSubmit:e[10]||(e[10]=l=>{l.preventDefault(),this.saveNewConfiguration()})},[h("div",bN,[h("div",vN,[N(r,{t:"Configuration Name"})]),h("div",yN,[Le(h("input",{type:"text",class:"form-control",placeholder:"ex. wg1",id:"ConfigurationName","onUpdate:modelValue":e[0]||(e[0]=l=>this.newConfiguration.ConfigurationName=l),disabled:this.loading,required:""},null,8,wN),[[We,this.newConfiguration.ConfigurationName]]),h("div",xN,[this.error?(C(),F("div",kN,xe(this.errorMessage),1)):(C(),F("div",SN,[N(r,{t:"Configuration name is invalid. Possible reasons:"}),h("ul",$N,[h("li",null,[N(r,{t:"Configuration name already exist."})]),h("li",null,[N(r,{t:"Configuration name can only contain 15 lower/uppercase alphabet, numbers, underscore, equal sign, plus sign, period and hyphen."})])])]))])])]),h("div",AN,[h("div",CN,[N(r,{t:"Private Key"}),He(" & "),N(r,{t:"Public Key"})]),h("div",EN,[h("div",TN,[h("label",PN,[h("small",null,[N(r,{t:"Private Key"})])]),h("div",MN,[Le(h("input",{type:"text",class:"form-control",id:"PrivateKey",required:"",disabled:this.loading,"onUpdate:modelValue":e[1]||(e[1]=l=>this.newConfiguration.PrivateKey=l)},null,8,DN),[[We,this.newConfiguration.PrivateKey]]),h("button",{class:"btn btn-outline-primary",type:"button",title:"Regenerate Private Key",onClick:e[2]||(e[2]=l=>o.wireguardGenerateKeypair())},IN)])]),h("div",null,[h("label",LN,[h("small",null,[N(r,{t:"Public Key"})])]),Le(h("input",{type:"text",class:"form-control",id:"PublicKey","onUpdate:modelValue":e[3]||(e[3]=l=>this.newConfiguration.PublicKey=l),disabled:""},null,512),[[We,this.newConfiguration.PublicKey]])])])]),h("div",RN,[h("div",NN,[N(r,{t:"Listen Port"})]),h("div",FN,[Le(h("input",{type:"number",class:"form-control",placeholder:"0-65353",id:"ListenPort",min:"1",max:"65353","onUpdate:modelValue":e[4]||(e[4]=l=>this.newConfiguration.ListenPort=l),disabled:this.loading,required:""},null,8,BN),[[We,this.newConfiguration.ListenPort]]),h("div",VN,[this.error?(C(),F("div",HN,xe(this.errorMessage),1)):(C(),F("div",jN,[N(r,{t:"Invalid port"})]))])])]),h("div",WN,[h("div",zN,[N(r,{t:"IP Address/CIDR"}),h("span",KN,xe(i.numberOfAvailableIPs)+" Available IPs",1)]),h("div",YN,[Le(h("input",{type:"text",class:"form-control",placeholder:"Ex: 10.0.0.1/24",id:"Address","onUpdate:modelValue":e[5]||(e[5]=l=>this.newConfiguration.Address=l),disabled:this.loading,required:""},null,8,UN),[[We,this.newConfiguration.Address]]),h("div",qN,[this.error?(C(),F("div",GN,xe(this.errorMessage),1)):(C(),F("div",JN," IP Address/CIDR is invalid "))])])]),XN,h("div",QN,[h("div",ZN,[h("h2",e5,[h("button",t5,[N(r,{t:"Optional Settings"})])]),h("div",n5,[h("div",s5,[h("div",i5,[o5,h("div",r5,[Le(h("input",{type:"text",class:"form-control",id:"preUp","onUpdate:modelValue":e[6]||(e[6]=l=>this.newConfiguration.PreUp=l)},null,512),[[We,this.newConfiguration.PreUp]])])]),h("div",a5,[l5,h("div",c5,[Le(h("input",{type:"text",class:"form-control",id:"preDown","onUpdate:modelValue":e[7]||(e[7]=l=>this.newConfiguration.PreDown=l)},null,512),[[We,this.newConfiguration.PreDown]])])]),h("div",u5,[d5,h("div",h5,[Le(h("input",{type:"text",class:"form-control",id:"postUp","onUpdate:modelValue":e[8]||(e[8]=l=>this.newConfiguration.PostUp=l)},null,512),[[We,this.newConfiguration.PostUp]])])]),h("div",f5,[p5,h("div",g5,[Le(h("input",{type:"text",class:"form-control",id:"postDown","onUpdate:modelValue":e[9]||(e[9]=l=>this.newConfiguration.PostDown=l)},null,512),[[We,this.newConfiguration.PostDown]])])])])])])]),h("button",{class:"btn btn-dark btn-brand rounded-3 px-3 py-2 shadow ms-auto",disabled:!this.goodToSubmit||this.loading||this.success},[this.success?(C(),F("span",_5,[N(r,{t:"Success"}),He("! "),b5])):this.loading?(C(),F("span",w5,[N(r,{t:"Saving..."}),x5])):(C(),F("span",v5,[N(r,{t:"Save Configuration"}),y5]))],8,m5)],32)])])}const S5=je(hN,[["render",k5]]),$5={name:"configuration"},A5={class:"mt-md-5 mt-3 text-body"};function C5(t,e,n,s,i,o){const r=ke("RouterView");return C(),F("div",A5,[N(r,null,{default:Pe(({Component:a,route:l})=>[N(Et,{name:"fade2",mode:"out-in"},{default:Pe(()=>[(C(),Se(Wh,null,{default:Pe(()=>[(C(),Se(To(a),{key:l.path}))]),_:2},1024))]),_:2},1024)]),_:1})])}const E5=je($5,[["render",C5]]),T5={name:"peerSearch",components:{LocaleText:Ge},setup(){const t=Xe(),e=Pn();return{store:t,wireguardConfigurationStore:e}},props:{configuration:Object},data(){return{sort:{status:dt("Status"),name:dt("Name"),allowed_ip:dt("Allowed IPs"),restricted:dt("Restricted")},interval:{5e3:dt("5 Seconds"),1e4:dt("10 Seconds"),3e4:dt("30 Seconds"),6e4:dt("1 Minutes")},searchString:"",searchStringTimeout:void 0,showDisplaySettings:!1,showMoreSettings:!1}},methods:{debounce(){this.searchStringTimeout?(clearTimeout(this.searchStringTimeout),this.searchStringTimeout=setTimeout(()=>{this.wireguardConfigurationStore.searchString=this.searchString},300)):this.searchStringTimeout=setTimeout(()=>{this.wireguardConfigurationStore.searchString=this.searchString},300)},updateSort(t){ht("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_sort",value:t},e=>{e.status&&this.store.getConfiguration()})},updateRefreshInterval(t){ht("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_refresh_interval",value:t},e=>{e.status&&this.store.getConfiguration()})},downloadAllPeer(){kt(`/api/downloadAllPeers/${this.configuration.Name}`,{},t=>{console.log(t),window.wireguard.generateZipFiles(t,this.configuration.Name)})}},computed:{searchBarPlaceholder(){return dt("Search Peers...")}}},Qc=t=>(qt("data-v-c8fa0b7d"),t=t(),Gt(),t),P5={class:"mb-3"},M5={class:"d-flex gap-2 z-3 peerSearchContainer"},D5=Qc(()=>h("i",{class:"bi bi-plus-lg me-2"},null,-1)),O5=Qc(()=>h("i",{class:"bi bi-download me-2"},null,-1)),I5={class:"mt-3 mt-md-0 flex-grow-1"},L5=["placeholder"],R5=Qc(()=>h("i",{class:"bi bi-filter-circle me-2"},null,-1)),N5=Qc(()=>h("i",{class:"bi bi-three-dots"},null,-1)),F5=[N5],B5={key:0,class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll displayModal"},V5={class:"container-md d-flex h-100 w-100"},H5={class:"m-auto modal-dialog-centered dashboardModal"},j5={class:"card rounded-3 shadow w-100"},W5={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},z5={class:"mb-0 fw-normal"},K5={class:"card-body px-4 pb-4 d-flex gap-3 flex-column"},Y5={class:"text-muted fw-bold mb-2"},U5={class:"list-group"},q5=["onClick"],G5={class:"me-auto"},J5={key:0,class:"bi bi-check text-primary"},X5={class:"text-muted fw-bold mb-2"},Q5={class:"list-group"},Z5=["onClick"],eF={class:"me-auto"},tF={key:0,class:"bi bi-check text-primary"},nF={key:0,class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll displayModal"},sF={class:"container-md d-flex h-100 w-100"},iF={class:"m-auto modal-dialog-centered dashboardModal"},oF={class:"card rounded-3 shadow w-100"},rF={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},aF={class:"mb-0 fw-normal"},lF={class:"card-body px-4 pb-4 d-flex gap-3 flex-column"},cF={class:"text-muted fw-bold mb-2"},uF={class:"list-group"};function dF(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("RouterLink");return C(),F("div",P5,[h("div",M5,[N(a,{to:"create",class:"text-decoration-none btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle shadow-sm"},{default:Pe(()=>[D5,N(r,{t:"Peer"})]),_:1}),h("button",{class:"btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle shadow-sm",onClick:e[0]||(e[0]=l=>this.downloadAllPeer())},[O5,N(r,{t:"Download All"})]),h("div",I5,[Le(h("input",{class:"form-control rounded-3 bg-secondary-subtle border-1 border-secondary-subtle shadow-sm w-100",placeholder:o.searchBarPlaceholder,id:"searchPeers",onKeyup:e[1]||(e[1]=l=>this.debounce()),"onUpdate:modelValue":e[2]||(e[2]=l=>this.searchString=l)},null,40,L5),[[We,this.searchString]])]),h("button",{onClick:e[3]||(e[3]=l=>this.showDisplaySettings=!0),class:"btn text-secondary-emphasis bg-secondary-subtle rounded-3 border-1 border-secondary-subtle shadow-sm",type:"button","aria-expanded":"false"},[R5,N(r,{t:"Display"})]),h("button",{class:"btn text-secondary-emphasis bg-secondary-subtle rounded-3 border-1 border-secondary-subtle shadow-sm",onClick:e[4]||(e[4]=l=>this.showMoreSettings=!0),type:"button","aria-expanded":"false"},F5),N(Et,{name:"zoom"},{default:Pe(()=>[this.showDisplaySettings?(C(),F("div",B5,[h("div",V5,[h("div",H5,[h("div",j5,[h("div",W5,[h("h4",z5,[N(r,{t:"Display"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[5]||(e[5]=l=>this.showDisplaySettings=!1)})]),h("div",K5,[h("div",null,[h("p",Y5,[h("small",null,[N(r,{t:"Sort by"})])]),h("div",U5,[(C(!0),F(Me,null,Ke(this.sort,(l,c)=>(C(),F("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:u=>this.updateSort(c)},[h("span",G5,xe(l),1),s.store.Configuration.Server.dashboard_sort===c?(C(),F("i",J5)):re("",!0)],8,q5))),256))])]),h("div",null,[h("p",X5,[h("small",null,[N(r,{t:"Refresh Interval"})])]),h("div",Q5,[(C(!0),F(Me,null,Ke(this.interval,(l,c)=>(C(),F("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:u=>this.updateRefreshInterval(c)},[h("span",eF,xe(l),1),s.store.Configuration.Server.dashboard_refresh_interval===c?(C(),F("i",tF)):re("",!0)],8,Z5))),256))])])])])])])])):re("",!0)]),_:1}),N(Et,{name:"zoom"},{default:Pe(()=>[this.showMoreSettings?(C(),F("div",nF,[h("div",sF,[h("div",iF,[h("div",oF,[h("div",rF,[h("h4",aF,[N(r,{t:"Configuration Settings"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[6]||(e[6]=l=>this.showMoreSettings=!1)})]),h("div",lF,[h("div",null,[h("p",cF,[h("small",null,[N(r,{t:"Peer Jobs"})])]),h("div",uF,[h("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:e[7]||(e[7]=l=>this.$emit("jobsAll"))},[N(r,{t:"Active Jobs"})]),h("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:e[8]||(e[8]=l=>this.$emit("jobLogs"))},[N(r,{t:"Logs"})])])])])])])])])):re("",!0)]),_:1})])])}const hF=je(T5,[["render",dF],["__scopeId","data-v-c8fa0b7d"]]);function fF(t){return Dc()?(Ph(t),!0):!1}function t0(t){return typeof t=="function"?t():G(t)}const n0=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const pF=Object.prototype.toString,gF=t=>pF.call(t)==="[object Object]",Zl=()=>{},mF=_F();function _F(){var t,e;return n0&&((t=window?.navigator)==null?void 0:t.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((e=window?.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function ta(t){var e;const n=t0(t);return(e=n?.$el)!=null?e:n}const s0=n0?window:void 0;function ed(...t){let e,n,s,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,s,i]=t,e=s0):[e,n,s,i]=t,!e)return Zl;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const o=[],r=()=>{o.forEach(u=>u()),o.length=0},a=(u,d,f,g)=>(u.addEventListener(d,f,g),()=>u.removeEventListener(d,f,g)),l=Ht(()=>[ta(e),t0(i)],([u,d])=>{if(r(),!u)return;const f=gF(d)?{...d}:d;o.push(...n.flatMap(g=>s.map(_=>a(u,g,_,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),r()};return fF(c),c}let wm=!1;function bF(t,e,n={}){const{window:s=s0,ignore:i=[],capture:o=!0,detectIframe:r=!1}=n;if(!s)return Zl;mF&&!wm&&(wm=!0,Array.from(s.document.body.children).forEach(f=>f.addEventListener("click",Zl)),s.document.documentElement.addEventListener("click",Zl));let a=!0;const l=f=>i.some(g=>{if(typeof g=="string")return Array.from(s.document.querySelectorAll(g)).some(_=>_===f.target||f.composedPath().includes(_));{const _=ta(g);return _&&(f.target===_||f.composedPath().includes(_))}}),u=[ed(s,"click",f=>{const g=ta(t);if(!(!g||g===f.target||f.composedPath().includes(g))){if(f.detail===0&&(a=!l(f)),!a){a=!0;return}e(f)}},{passive:!0,capture:o}),ed(s,"pointerdown",f=>{const g=ta(t);a=!l(f)&&!!(g&&!f.composedPath().includes(g))},{passive:!0}),r&&ed(s,"blur",f=>{setTimeout(()=>{var g;const _=ta(t);((g=s.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!_?.contains(s.document.activeElement)&&e(f)},0)})].filter(Boolean);return()=>u.forEach(f=>f())}const vF={name:"peerSettingsDropdown",components:{LocaleText:Ge},setup(){return{dashboardStore:Xe()}},props:{Peer:Object},data(){return{deleteBtnDisabled:!1,restrictBtnDisabled:!1,allowAccessBtnDisabled:!1}},methods:{downloadPeer(){kt("/api/downloadPeer/"+this.$route.params.id,{id:this.Peer.id},t=>{if(t.status){const e=new Blob([t.data.file],{type:"text/plain"}),n=URL.createObjectURL(e),s=`${t.data.fileName}.conf`,i=document.createElement("a");i.href=n,i.download=s,i.click(),this.dashboardStore.newMessage("WGDashboard","Peer download started","success")}else this.dashboardStore.newMessage("Server",t.message,"danger")})},downloadQRCode(){kt("/api/downloadPeer/"+this.$route.params.id,{id:this.Peer.id},t=>{t.status?this.$emit("qrcode",t.data.file):this.dashboardStore.newMessage("Server",t.message,"danger")})},deletePeer(){this.deleteBtnDisabled=!0,ht(`/api/deletePeers/${this.$route.params.id}`,{peers:[this.Peer.id]},t=>{this.dashboardStore.newMessage("Server",t.message,t.status?"success":"danger"),this.$emit("refresh"),this.deleteBtnDisabled=!1})},restrictPeer(){this.restrictBtnDisabled=!0,ht(`/api/restrictPeers/${this.$route.params.id}`,{peers:[this.Peer.id]},t=>{this.dashboardStore.newMessage("Server",t.message,t.status?"success":"danger"),this.$emit("refresh"),this.restrictBtnDisabled=!1})},allowAccessPeer(){this.allowAccessBtnDisabled=!0,ht(`/api/allowAccessPeers/${this.$route.params.id}`,{peers:[this.Peer.id]},t=>{this.dashboardStore.newMessage("Server",t.message,t.status?"success":"danger"),this.$emit("refresh"),this.allowAccessBtnDisabled=!1})}}},Ps=t=>(qt("data-v-e53c14b2"),t=t(),Gt(),t),yF={class:"dropdown-menu mt-2 shadow-lg d-block rounded-3",style:{"max-width":"200px"}},wF={key:0},xF={class:"w-100 dropdown-item text-muted",style:{"white-space":"break-spaces","font-size":"0.7rem"}},kF={key:1,class:"d-flex",style:{"padding-left":"var(--bs-dropdown-item-padding-x)","padding-right":"var(--bs-dropdown-item-padding-x)"}},SF=Ps(()=>h("i",{class:"me-auto bi bi-download"},null,-1)),$F=[SF],AF=Ps(()=>h("i",{class:"me-auto bi bi-qr-code"},null,-1)),CF=[AF],EF=Ps(()=>h("i",{class:"me-auto bi bi-share"},null,-1)),TF=[EF],PF=Ps(()=>h("li",null,[h("hr",{class:"dropdown-divider"})],-1)),MF=Ps(()=>h("i",{class:"me-auto bi bi-pen"},null,-1)),DF=Ps(()=>h("i",{class:"me-auto bi bi-app-indicator"},null,-1)),OF=Ps(()=>h("li",null,[h("hr",{class:"dropdown-divider"})],-1)),IF=Ps(()=>h("i",{class:"me-auto bi bi-lock"},null,-1)),LF=Ps(()=>h("i",{class:"me-auto bi bi-trash"},null,-1)),RF={key:1},NF=Ps(()=>h("i",{class:"me-auto bi bi-unlock"},null,-1));function FF(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("ul",yF,[this.Peer.restricted?(C(),F("li",RF,[h("a",{class:Ee(["dropdown-item d-flex text-warning",{disabled:this.allowAccessBtnDisabled}]),onClick:e[7]||(e[7]=a=>this.allowAccessPeer()),role:"button"},[NF,this.allowAccessBtnDisabled?(C(),Se(r,{key:1,t:"Allowing Access..."})):(C(),Se(r,{key:0,t:"Allow Access"}))],2)])):(C(),F(Me,{key:0},[this.Peer.private_key?(C(),F("li",kF,[h("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:e[0]||(e[0]=a=>this.downloadPeer())},$F),h("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:e[1]||(e[1]=a=>this.downloadQRCode())},CF),h("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:e[2]||(e[2]=a=>this.$emit("share"))},TF)])):(C(),F("li",wF,[h("small",xF,[N(r,{t:"Download & QR Code is not available due to no private key set for this peer"})])])),PF,h("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:e[3]||(e[3]=a=>this.$emit("setting"))},[MF,He(),N(r,{t:"Peer Settings"})])]),h("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:e[4]||(e[4]=a=>this.$emit("jobs"))},[DF,He(),N(r,{t:"Schedule Jobs"})])]),OF,h("li",null,[h("a",{class:Ee(["dropdown-item d-flex text-warning",{disabled:this.restrictBtnDisabled}]),onClick:e[5]||(e[5]=a=>this.restrictPeer()),role:"button"},[IF,this.restrictBtnDisabled?(C(),Se(r,{key:1,t:"Restricting..."})):(C(),Se(r,{key:0,t:"Restrict Access"}))],2)]),h("li",null,[h("a",{class:Ee(["dropdown-item d-flex fw-bold text-danger",{disabled:this.deleteBtnDisabled}]),onClick:e[6]||(e[6]=a=>this.deletePeer()),role:"button"},[LF,this.deleteBtnDisabled?(C(),Se(r,{key:1,t:"Deleting..."})):(C(),Se(r,{key:0,t:"Delete"}))],2)])],64))])}const BF=je(vF,[["render",FF],["__scopeId","data-v-e53c14b2"]]),VF={name:"peer",components:{LocaleText:Ge,PeerSettingsDropdown:BF},props:{Peer:Object},data(){return{}},setup(){const t=be(null),e=be(!1);return bF(t,n=>{e.value=!1}),{target:t,subMenuOpened:e}},computed:{getLatestHandshake(){return this.Peer.latest_handshake.includes(",")?this.Peer.latest_handshake.split(",")[0]:this.Peer.latest_handshake}}},Qa=t=>(qt("data-v-4a343fe2"),t=t(),Gt(),t),HF={key:0,class:"card-header bg-transparent d-flex align-items-center gap-2 border-0"},jF={style:{"font-size":"0.8rem"},class:"ms-auto d-flex gap-2"},WF={class:"text-primary"},zF=Qa(()=>h("i",{class:"bi bi-arrow-down"},null,-1)),KF={class:"text-success"},YF=Qa(()=>h("i",{class:"bi bi-arrow-up"},null,-1)),UF={key:0,class:"text-secondary"},qF=Qa(()=>h("i",{class:"bi bi-arrows-angle-contract"},null,-1)),GF={key:1,class:"border-0 card-header bg-transparent text-warning fw-bold",style:{"font-size":"0.8rem"}},JF=Qa(()=>h("i",{class:"bi-lock-fill me-2"},null,-1)),XF={class:"card-body pt-1",style:{"font-size":"0.9rem"}},QF={class:"mb-2"},ZF={class:"text-muted"},eB={class:"mb-0"},tB={class:"d-flex align-items-end"},nB={class:"text-muted"},sB={class:"mb-0"},iB=Qa(()=>h("h5",{class:"mb-0"},[h("i",{class:"bi bi-three-dots"})],-1)),oB=[iB];function rB(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("PeerSettingsDropdown");return C(),F("div",{class:Ee(["card shadow-sm rounded-3 peerCard bg-transparent",{"border-warning":n.Peer.restricted}])},[h("div",null,[n.Peer.restricted?(C(),F("div",GF,[JF,N(r,{t:"Access Restricted"})])):(C(),F("div",HF,[h("div",{class:Ee(["dot ms-0",{active:n.Peer.status==="running"}])},null,2),h("div",jF,[h("span",WF,[zF,h("strong",null,xe((n.Peer.cumu_receive+n.Peer.total_receive).toFixed(4)),1),He(" GB ")]),h("span",KF,[YF,h("strong",null,xe((n.Peer.cumu_sent+n.Peer.total_sent).toFixed(4)),1),He(" GB ")]),n.Peer.latest_handshake!=="No Handshake"?(C(),F("span",UF,[qF,He(" "+xe(o.getLatestHandshake)+" ago ",1)])):re("",!0)])]))]),h("div",XF,[h("h6",null,xe(n.Peer.name?n.Peer.name:"Untitled Peer"),1),h("div",QF,[h("small",ZF,[N(r,{t:"Public Key"})]),h("p",eB,[h("samp",null,xe(n.Peer.id),1)])]),h("div",tB,[h("div",null,[h("small",nB,[N(r,{t:"Allowed IPs"})]),h("p",sB,[h("samp",null,xe(n.Peer.allowed_ip),1)])]),h("div",{class:Ee(["ms-auto px-2 rounded-3 subMenuBtn",{active:this.subMenuOpened}])},[h("a",{role:"button",class:"text-body",onClick:e[0]||(e[0]=l=>this.subMenuOpened=!0)},oB),N(Et,{name:"slide-fade"},{default:Pe(()=>[this.subMenuOpened?(C(),Se(a,{key:0,onQrcode:e[1]||(e[1]=l=>this.$emit("qrcode",l)),onSetting:e[2]||(e[2]=l=>this.$emit("setting")),onJobs:e[3]||(e[3]=l=>this.$emit("jobs")),onRefresh:e[4]||(e[4]=l=>this.$emit("refresh")),onShare:e[5]||(e[5]=l=>this.$emit("share")),Peer:n.Peer,ref:"target"},null,8,["Peer"])):re("",!0)]),_:1})],2)])])],2)}const aB=je(VF,[["render",rB],["__scopeId","data-v-4a343fe2"]]);/*! * @kurkle/color v0.3.2 * https://github.com/kurkle/color#readme * (c) 2023 Jukka Kurkela * Released under the MIT License - - */function tl(t){return t+.5|0}const wi=(t,e,n)=>Math.max(Math.min(t,n),e);function ia(t){return wi(tl(t*2.55),0,255)}function Pi(t){return wi(tl(t*255),0,255)}function Ws(t){return wi(tl(t/2.55)/100,0,1)}function xm(t){return wi(tl(t*100),0,100)}const Yn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Kd=[..."0123456789ABCDEF"],zF=t=>Kd[t&15],YF=t=>Kd[(t&240)>>4]+Kd[t&15],Dl=t=>(t&240)>>4===(t&15),UF=t=>Dl(t.r)&&Dl(t.g)&&Dl(t.b)&&Dl(t.a);function KF(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&Yn[t[1]]*17,g:255&Yn[t[2]]*17,b:255&Yn[t[3]]*17,a:e===5?Yn[t[4]]*17:255}:(e===7||e===9)&&(n={r:Yn[t[1]]<<4|Yn[t[2]],g:Yn[t[3]]<<4|Yn[t[4]],b:Yn[t[5]]<<4|Yn[t[6]],a:e===9?Yn[t[7]]<<4|Yn[t[8]]:255})),n}const qF=(t,e)=>t<255?e(t):"";function GF(t){var e=UF(t)?zF:YF;return t?"#"+e(t.r)+e(t.g)+e(t.b)+qF(t.a,e):void 0}const JF=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function i0(t,e,n){const s=e*Math.min(n,1-n),i=(o,r=(o+t/30)%12)=>n-s*Math.max(Math.min(r-3,9-r,1),-1);return[i(0),i(8),i(4)]}function XF(t,e,n){const s=(i,o=(i+t/60)%6)=>n-n*e*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function QF(t,e,n){const s=i0(t,1,.5);let i;for(e+n>1&&(i=1/(e+n),e*=i,n*=i),i=0;i<3;i++)s[i]*=1-e-n,s[i]+=e;return s}function ZF(t,e,n,s,i){return t===i?(e-n)/s+(e.5?u/(2-o-r):u/(o+r),l=ZF(n,s,i,u,o),l=l*60+.5),[l|0,c||0,a]}function Sf(t,e,n,s){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,s)).map(Pi)}function $f(t,e,n){return Sf(i0,t,e,n)}function eB(t,e,n){return Sf(QF,t,e,n)}function tB(t,e,n){return Sf(XF,t,e,n)}function o0(t){return(t%360+360)%360}function nB(t){const e=JF.exec(t);let n=255,s;if(!e)return;e[5]!==s&&(n=e[6]?ia(+e[5]):Pi(+e[5]));const i=o0(+e[2]),o=+e[3]/100,r=+e[4]/100;return e[1]==="hwb"?s=eB(i,o,r):e[1]==="hsv"?s=tB(i,o,r):s=$f(i,o,r),{r:s[0],g:s[1],b:s[2],a:n}}function sB(t,e){var n=kf(t);n[0]=o0(n[0]+e),n=$f(n),t.r=n[0],t.g=n[1],t.b=n[2]}function iB(t){if(!t)return;const e=kf(t),n=e[0],s=xm(e[1]),i=xm(e[2]);return t.a<255?`hsla(${n}, ${s}%, ${i}%, ${Ws(t.a)})`:`hsl(${n}, ${s}%, ${i}%)`}const km={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Sm={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function oB(){const t={},e=Object.keys(Sm),n=Object.keys(km);let s,i,o,r,a;for(s=0;s>16&255,o>>8&255,o&255]}return t}let Ol;function rB(t){Ol||(Ol=oB(),Ol.transparent=[0,0,0,0]);const e=Ol[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const aB=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function lB(t){const e=aB.exec(t);let n=255,s,i,o;if(e){if(e[7]!==s){const r=+e[7];n=e[8]?ia(r):wi(r*255,0,255)}return s=+e[1],i=+e[3],o=+e[5],s=255&(e[2]?ia(s):wi(s,0,255)),i=255&(e[4]?ia(i):wi(i,0,255)),o=255&(e[6]?ia(o):wi(o,0,255)),{r:s,g:i,b:o,a:n}}}function cB(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Ws(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const td=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,Go=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function uB(t,e,n){const s=Go(Ws(t.r)),i=Go(Ws(t.g)),o=Go(Ws(t.b));return{r:Pi(td(s+n*(Go(Ws(e.r))-s))),g:Pi(td(i+n*(Go(Ws(e.g))-i))),b:Pi(td(o+n*(Go(Ws(e.b))-o))),a:t.a+n*(e.a-t.a)}}function Il(t,e,n){if(t){let s=kf(t);s[e]=Math.max(0,Math.min(s[e]+s[e]*n,e===0?360:1)),s=$f(s),t.r=s[0],t.g=s[1],t.b=s[2]}}function r0(t,e){return t&&Object.assign(e||{},t)}function $m(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Pi(t[3]))):(e=r0(t,{r:0,g:0,b:0,a:1}),e.a=Pi(e.a)),e}function dB(t){return t.charAt(0)==="r"?lB(t):nB(t)}class Fa{constructor(e){if(e instanceof Fa)return e;const n=typeof e;let s;n==="object"?s=$m(e):n==="string"&&(s=KF(e)||rB(e)||dB(e)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var e=r0(this._rgb);return e&&(e.a=Ws(e.a)),e}set rgb(e){this._rgb=$m(e)}rgbString(){return this._valid?cB(this._rgb):void 0}hexString(){return this._valid?GF(this._rgb):void 0}hslString(){return this._valid?iB(this._rgb):void 0}mix(e,n){if(e){const s=this.rgb,i=e.rgb;let o;const r=n===o?.5:n,a=2*r-1,l=s.a-i.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,s.r=255&c*s.r+o*i.r+.5,s.g=255&c*s.g+o*i.g+.5,s.b=255&c*s.b+o*i.b+.5,s.a=r*s.a+(1-r)*i.a,this.rgb=s}return this}interpolate(e,n){return e&&(this._rgb=uB(this._rgb,e._rgb,n)),this}clone(){return new Fa(this.rgb)}alpha(e){return this._rgb.a=Pi(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=tl(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Il(this._rgb,2,e),this}darken(e){return Il(this._rgb,2,-e),this}saturate(e){return Il(this._rgb,1,e),this}desaturate(e){return Il(this._rgb,1,-e),this}rotate(e){return sB(this._rgb,e),this}}/*! - + */function Za(t){return t+.5|0}const vi=(t,e,n)=>Math.max(Math.min(t,n),e);function na(t){return vi(Za(t*2.55),0,255)}function Ci(t){return vi(Za(t*255),0,255)}function Ws(t){return vi(Za(t/2.55)/100,0,1)}function xm(t){return vi(Za(t*100),0,100)}const Kn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Ud=[..."0123456789ABCDEF"],lB=t=>Ud[t&15],cB=t=>Ud[(t&240)>>4]+Ud[t&15],Tl=t=>(t&240)>>4===(t&15),uB=t=>Tl(t.r)&&Tl(t.g)&&Tl(t.b)&&Tl(t.a);function dB(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&Kn[t[1]]*17,g:255&Kn[t[2]]*17,b:255&Kn[t[3]]*17,a:e===5?Kn[t[4]]*17:255}:(e===7||e===9)&&(n={r:Kn[t[1]]<<4|Kn[t[2]],g:Kn[t[3]]<<4|Kn[t[4]],b:Kn[t[5]]<<4|Kn[t[6]],a:e===9?Kn[t[7]]<<4|Kn[t[8]]:255})),n}const hB=(t,e)=>t<255?e(t):"";function fB(t){var e=uB(t)?lB:cB;return t?"#"+e(t.r)+e(t.g)+e(t.b)+hB(t.a,e):void 0}const pB=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function i0(t,e,n){const s=e*Math.min(n,1-n),i=(o,r=(o+t/30)%12)=>n-s*Math.max(Math.min(r-3,9-r,1),-1);return[i(0),i(8),i(4)]}function gB(t,e,n){const s=(i,o=(i+t/60)%6)=>n-n*e*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function mB(t,e,n){const s=i0(t,1,.5);let i;for(e+n>1&&(i=1/(e+n),e*=i,n*=i),i=0;i<3;i++)s[i]*=1-e-n,s[i]+=e;return s}function _B(t,e,n,s,i){return t===i?(e-n)/s+(e.5?u/(2-o-r):u/(o+r),l=_B(n,s,i,u,o),l=l*60+.5),[l|0,c||0,a]}function $f(t,e,n,s){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,s)).map(Ci)}function Af(t,e,n){return $f(i0,t,e,n)}function bB(t,e,n){return $f(mB,t,e,n)}function vB(t,e,n){return $f(gB,t,e,n)}function o0(t){return(t%360+360)%360}function yB(t){const e=pB.exec(t);let n=255,s;if(!e)return;e[5]!==s&&(n=e[6]?na(+e[5]):Ci(+e[5]));const i=o0(+e[2]),o=+e[3]/100,r=+e[4]/100;return e[1]==="hwb"?s=bB(i,o,r):e[1]==="hsv"?s=vB(i,o,r):s=Af(i,o,r),{r:s[0],g:s[1],b:s[2],a:n}}function wB(t,e){var n=Sf(t);n[0]=o0(n[0]+e),n=Af(n),t.r=n[0],t.g=n[1],t.b=n[2]}function xB(t){if(!t)return;const e=Sf(t),n=e[0],s=xm(e[1]),i=xm(e[2]);return t.a<255?`hsla(${n}, ${s}%, ${i}%, ${Ws(t.a)})`:`hsl(${n}, ${s}%, ${i}%)`}const km={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Sm={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function kB(){const t={},e=Object.keys(Sm),n=Object.keys(km);let s,i,o,r,a;for(s=0;s>16&255,o>>8&255,o&255]}return t}let Pl;function SB(t){Pl||(Pl=kB(),Pl.transparent=[0,0,0,0]);const e=Pl[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const $B=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function AB(t){const e=$B.exec(t);let n=255,s,i,o;if(e){if(e[7]!==s){const r=+e[7];n=e[8]?na(r):vi(r*255,0,255)}return s=+e[1],i=+e[3],o=+e[5],s=255&(e[2]?na(s):vi(s,0,255)),i=255&(e[4]?na(i):vi(i,0,255)),o=255&(e[6]?na(o):vi(o,0,255)),{r:s,g:i,b:o,a:n}}}function CB(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Ws(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const td=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,Uo=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function EB(t,e,n){const s=Uo(Ws(t.r)),i=Uo(Ws(t.g)),o=Uo(Ws(t.b));return{r:Ci(td(s+n*(Uo(Ws(e.r))-s))),g:Ci(td(i+n*(Uo(Ws(e.g))-i))),b:Ci(td(o+n*(Uo(Ws(e.b))-o))),a:t.a+n*(e.a-t.a)}}function Ml(t,e,n){if(t){let s=Sf(t);s[e]=Math.max(0,Math.min(s[e]+s[e]*n,e===0?360:1)),s=Af(s),t.r=s[0],t.g=s[1],t.b=s[2]}}function r0(t,e){return t&&Object.assign(e||{},t)}function $m(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Ci(t[3]))):(e=r0(t,{r:0,g:0,b:0,a:1}),e.a=Ci(e.a)),e}function TB(t){return t.charAt(0)==="r"?AB(t):yB(t)}class Ra{constructor(e){if(e instanceof Ra)return e;const n=typeof e;let s;n==="object"?s=$m(e):n==="string"&&(s=dB(e)||SB(e)||TB(e)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var e=r0(this._rgb);return e&&(e.a=Ws(e.a)),e}set rgb(e){this._rgb=$m(e)}rgbString(){return this._valid?CB(this._rgb):void 0}hexString(){return this._valid?fB(this._rgb):void 0}hslString(){return this._valid?xB(this._rgb):void 0}mix(e,n){if(e){const s=this.rgb,i=e.rgb;let o;const r=n===o?.5:n,a=2*r-1,l=s.a-i.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,s.r=255&c*s.r+o*i.r+.5,s.g=255&c*s.g+o*i.g+.5,s.b=255&c*s.b+o*i.b+.5,s.a=r*s.a+(1-r)*i.a,this.rgb=s}return this}interpolate(e,n){return e&&(this._rgb=EB(this._rgb,e._rgb,n)),this}clone(){return new Ra(this.rgb)}alpha(e){return this._rgb.a=Ci(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=Za(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Ml(this._rgb,2,e),this}darken(e){return Ml(this._rgb,2,-e),this}saturate(e){return Ml(this._rgb,1,e),this}desaturate(e){return Ml(this._rgb,1,-e),this}rotate(e){return wB(this._rgb,e),this}}/*! * Chart.js v4.4.1 * https://www.chartjs.org * (c) 2023 Chart.js Contributors * Released under the MIT License - - */function Ns(){}const hB=(()=>{let t=0;return()=>t++})();function it(t){return t===null||typeof t>"u"}function vt(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function nt(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function Ct(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Mn(t,e){return Ct(t)?t:e}function qe(t,e){return typeof t>"u"?e:t}const fB=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/e,a0=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function ft(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function ct(t,e,n,s){let i,o,r;if(vt(t))if(o=t.length,s)for(i=o-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;it,x:t=>t.x,y:t=>t.y};function mB(t){const e=t.split("."),n=[];let s="";for(const i of e)s+=i,s.endsWith("\\")?s=s.slice(0,-1)+".":(n.push(s),s="");return n}function _B(t){const e=mB(t);return n=>{for(const s of e){if(s==="")break;n=n&&n[s]}return n}}function Ii(t,e){return(Am[e]||(Am[e]=_B(e)))(t)}function Af(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Va=t=>typeof t<"u",Ri=t=>typeof t=="function",Cm=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function vB(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const yt=Math.PI,bt=2*yt,bB=bt+yt,wc=Number.POSITIVE_INFINITY,yB=yt/180,Rt=yt/2,io=yt/4,Em=yt*2/3,xi=Math.log10,As=Math.sign;function wa(t,e,n){return Math.abs(t-e)i-o).pop(),e}function $r(t){return!isNaN(parseFloat(t))&&isFinite(t)}function xB(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function c0(t,e,n){let s,i,o;for(s=0,i=t.length;sl&&c=Math.min(e,n)-s&&t<=Math.max(e,n)+s}function Ef(t,e,n){n=n||(r=>t[r]1;)o=i+s>>1,n(o)?i=o:s=o;return{lo:i,hi:s}}const Ks=(t,e,n,s)=>Ef(t,n,s?i=>{const o=t[i][e];return ot[i][e]Ef(t,n,s=>t[s][e]>=n);function AB(t,e,n){let s=0,i=t.length;for(;ss&&t[i-1]>n;)i--;return s>0||i{const s="_onData"+Af(n),i=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...o){const r=i.apply(this,o);return t._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...o)}),r}})})}function Mm(t,e){const n=t._chartjs;if(!n)return;const s=n.listeners,i=s.indexOf(e);i!==-1&&s.splice(i,1),!(s.length>0)&&(d0.forEach(o=>{delete t[o]}),delete t._chartjs)}function h0(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const f0=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function p0(t,e){let n=[],s=!1;return function(...i){n=i,s||(s=!0,f0.call(window,()=>{s=!1,t.apply(e,n)}))}}function EB(t,e){let n;return function(...s){return e?(clearTimeout(n),n=setTimeout(t,e,s)):t.apply(this,s),e}}const Pf=t=>t==="start"?"left":t==="end"?"right":"center",an=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,PB=(t,e,n,s)=>t===(s?"left":"right")?n:t==="center"?(e+n)/2:e;function g0(t,e,n){const s=e.length;let i=0,o=s;if(t._sorted){const{iScale:r,_parsed:a}=t,l=r.axis,{min:c,max:u,minDefined:d,maxDefined:f}=r.getUserBounds();d&&(i=Zt(Math.min(Ks(a,l,c).lo,n?s:Ks(e,l,r.getPixelForValue(c)).lo),0,s-1)),f?o=Zt(Math.max(Ks(a,r.axis,u,!0).hi+1,n?0:Ks(e,l,r.getPixelForValue(u),!0).hi+1),i,s)-i:o=s-i}return{start:i,count:o}}function m0(t){const{xScale:e,yScale:n,_scaleRanges:s}=t,i={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!s)return t._scaleRanges=i,!0;const o=s.xmin!==e.min||s.xmax!==e.max||s.ymin!==n.min||s.ymax!==n.max;return Object.assign(s,i),o}const Rl=t=>t===0||t===1,Dm=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*bt/n)),Om=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*bt/n)+1,xa={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*Rt)+1,easeOutSine:t=>Math.sin(t*Rt),easeInOutSine:t=>-.5*(Math.cos(yt*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>Rl(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Rl(t)?t:Dm(t,.075,.3),easeOutElastic:t=>Rl(t)?t:Om(t,.075,.3),easeInOutElastic(t){return Rl(t)?t:t<.5?.5*Dm(t*2,.1125,.45):.5+.5*Om(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-xa.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?xa.easeInBounce(t*2)*.5:xa.easeOutBounce(t*2-1)*.5+.5};function Tf(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function Im(t){return Tf(t)?t:new Fa(t)}function nd(t){return Tf(t)?t:new Fa(t).saturate(.5).darken(.1).hexString()}const TB=["x","y","borderWidth","radius","tension"],MB=["color","borderColor","backgroundColor"];function DB(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:MB},numbers:{type:"number",properties:TB}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function OB(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Rm=new Map;function IB(t,e){e=e||{};const n=t+JSON.stringify(e);let s=Rm.get(n);return s||(s=new Intl.NumberFormat(t,e),Rm.set(n,s)),s}function nl(t,e,n){return IB(e,n).format(t)}const _0={values(t){return vt(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const s=this.chart.options.locale;let i,o=t;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(i="scientific"),o=RB(t,n)}const r=xi(Math.abs(o)),a=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:i,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),nl(t,s,l)},logarithmic(t,e,n){if(t===0)return"0";const s=n[e].significand||t/Math.pow(10,Math.floor(xi(t)));return[1,2,3,5,10,15].includes(s)||e>.8*n.length?_0.numeric.call(this,t,e,n):""}};function RB(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var nu={formatters:_0};function LB(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,n)=>n.lineWidth,tickColor:(e,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:nu.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Eo=Object.create(null),Gd=Object.create(null);function ka(t,e){if(!e)return t;const n=e.split(".");for(let s=0,i=n.length;ss.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(s,i)=>nd(i.backgroundColor),this.hoverBorderColor=(s,i)=>nd(i.borderColor),this.hoverColor=(s,i)=>nd(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return sd(this,e,n)}get(e){return ka(this,e)}describe(e,n){return sd(Gd,e,n)}override(e,n){return sd(Eo,e,n)}route(e,n,s,i){const o=ka(this,e),r=ka(this,s),a="_"+n;Object.defineProperties(o,{[a]:{value:o[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=r[i];return nt(l)?Object.assign({},c,l):qe(l,c)},set(l){this[a]=l}}})}apply(e){e.forEach(n=>n(this))}}var Et=new NB({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[DB,OB,LB]);function FB(t){return!t||it(t.size)||it(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function xc(t,e,n,s,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>s&&(s=o),s}function BB(t,e,n,s){s=s||{};let i=s.data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(i=s.data={},o=s.garbageCollect=[],s.font=e),t.save(),t.font=e;let r=0;const a=n.length;let l,c,u,d,f;for(l=0;ln.length){for(l=0;l0&&t.stroke()}}function qs(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.xe.top-n&&t.y0&&o.strokeColor!=="";let l,c;for(t.save(),t.font=i.string,jB(t,o),l=0;l+t||0;function Mf(t,e){const n={},s=nt(e),i=s?Object.keys(e):e,o=nt(t)?s?r=>qe(t[r],t[e[r]]):r=>t[r]:()=>t;for(const r of i)n[r]=qB(o(r));return n}function b0(t){return Mf(t,{top:"y",right:"x",bottom:"y",left:"x"})}function xo(t){return Mf(t,["topLeft","topRight","bottomLeft","bottomRight"])}function hn(t){const e=b0(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Yt(t,e){t=t||{},e=e||Et.font;let n=qe(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let s=qe(t.style,e.style);s&&!(""+s).match(UB)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const i={family:qe(t.family,e.family),lineHeight:KB(qe(t.lineHeight,e.lineHeight),n),size:n,style:s,weight:qe(t.weight,e.weight),string:""};return i.string=FB(i),i}function oa(t,e,n,s){let i=!0,o,r,a;for(o=0,r=t.length;on&&a===0?0:a+l;return{min:r(s,-Math.abs(o)),max:r(i,o)}}function Wi(t,e){return Object.assign(Object.create(t),e)}function Df(t,e=[""],n,s,i=()=>t[0]){const o=n||t;typeof s>"u"&&(s=k0("_fallback",t));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:s,_getTarget:i,override:a=>Df([a,...t],e,o,s)};return new Proxy(r,{deleteProperty(a,l){return delete a[l],delete a._keys,delete t[0][l],!0},get(a,l){return w0(a,l,()=>s4(l,e,t,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(a,l){return Fm(a).includes(l)},ownKeys(a){return Fm(a)},set(a,l,c){const u=a._storage||(a._storage=i());return a[l]=u[l]=c,delete a._keys,!0}})}function Ar(t,e,n,s){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:y0(t,s),setContext:o=>Ar(t,o,n,s),override:o=>Ar(t.override(o),e,n,s)};return new Proxy(i,{deleteProperty(o,r){return delete o[r],delete t[r],!0},get(o,r,a){return w0(o,r,()=>XB(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(t,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,r)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(o,r){return Reflect.has(t,r)},ownKeys(){return Reflect.ownKeys(t)},set(o,r,a){return t[r]=a,delete o[r],!0}})}function y0(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:s=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:n,indexable:s,isScriptable:Ri(n)?n:()=>n,isIndexable:Ri(s)?s:()=>s}}const JB=(t,e)=>t?t+Af(e):e,Of=(t,e)=>nt(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function w0(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const s=n();return t[e]=s,s}function XB(t,e,n){const{_proxy:s,_context:i,_subProxy:o,_descriptors:r}=t;let a=s[e];return Ri(a)&&r.isScriptable(e)&&(a=QB(e,a,t,n)),vt(a)&&a.length&&(a=ZB(e,a,t,r.isIndexable)),Of(e,a)&&(a=Ar(a,i,o&&o[e],r)),a}function QB(t,e,n,s){const{_proxy:i,_context:o,_subProxy:r,_stack:a}=n;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);a.add(t);let l=e(o,r||s);return a.delete(t),Of(t,l)&&(l=If(i._scopes,i,t,l)),l}function ZB(t,e,n,s){const{_proxy:i,_context:o,_subProxy:r,_descriptors:a}=n;if(typeof o.index<"u"&&s(t))return e[o.index%e.length];if(nt(e[0])){const l=e,c=i._scopes.filter(u=>u!==l);e=[];for(const u of l){const d=If(c,i,t,u);e.push(Ar(d,o,r&&r[t],a))}}return e}function x0(t,e,n){return Ri(t)?t(e,n):t}const e4=(t,e)=>t===!0?e:typeof t=="string"?Ii(e,t):void 0;function t4(t,e,n,s,i){for(const o of e){const r=e4(n,o);if(r){t.add(r);const a=x0(r._fallback,n,i);if(typeof a<"u"&&a!==n&&a!==s)return a}else if(r===!1&&typeof s<"u"&&n!==s)return null}return!1}function If(t,e,n,s){const i=e._rootScopes,o=x0(e._fallback,n,s),r=[...t,...i],a=new Set;a.add(s);let l=Nm(a,r,n,o||n,s);return l===null||typeof o<"u"&&o!==n&&(l=Nm(a,r,o,l,s),l===null)?!1:Df(Array.from(a),[""],i,o,()=>n4(e,n,s))}function Nm(t,e,n,s,i){for(;n;)n=t4(t,e,n,s,i);return n}function n4(t,e,n){const s=t._getTarget();e in s||(s[e]={});const i=s[e];return vt(i)&&nt(n)?n:i||{}}function s4(t,e,n,s){let i;for(const o of e)if(i=k0(JB(o,t),n),typeof i<"u")return Of(t,i)?If(n,s,t,i):i}function k0(t,e){for(const n of e){if(!n)continue;const s=n[t];if(typeof s<"u")return s}}function Fm(t){let e=t._keys;return e||(e=t._keys=i4(t._scopes)),e}function i4(t){const e=new Set;for(const n of t)for(const s of Object.keys(n).filter(i=>!i.startsWith("_")))e.add(s);return Array.from(e)}function S0(t,e,n,s){const{iScale:i}=t,{key:o="r"}=this._parsing,r=new Array(s);let a,l,c,u;for(a=0,l=s;aet==="x"?"y":"x";function r4(t,e,n,s){const i=t.skip?e:t,o=e,r=n.skip?e:n,a=qd(o,i),l=qd(r,o);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=s*c,f=s*u;return{previous:{x:o.x-d*(r.x-i.x),y:o.y-d*(r.y-i.y)},next:{x:o.x+f*(r.x-i.x),y:o.y+f*(r.y-i.y)}}}function a4(t,e,n){const s=t.length;let i,o,r,a,l,c=Cr(t,0);for(let u=0;u!c.skip)),e.cubicInterpolationMode==="monotone")c4(t,i);else{let c=s?t[t.length-1]:t[0];for(o=0,r=t.length;ot.ownerDocument.defaultView.getComputedStyle(t,null);function h4(t,e){return ou(t).getPropertyValue(e)}const f4=["top","right","bottom","left"];function ko(t,e,n){const s={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=f4[i];s[o]=parseFloat(t[e+"-"+o+n])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const p4=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function g4(t,e){const n=t.touches,s=n&&n.length?n[0]:t,{offsetX:i,offsetY:o}=s;let r=!1,a,l;if(p4(i,o,t.target))a=i,l=o;else{const c=e.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,r=!0}return{x:a,y:l,box:r}}function uo(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:s}=e,i=ou(n),o=i.boxSizing==="border-box",r=ko(i,"padding"),a=ko(i,"border","width"),{x:l,y:c,box:u}=g4(t,n),d=r.left+(u&&a.left),f=r.top+(u&&a.top);let{width:g,height:_}=e;return o&&(g-=r.width+a.width,_-=r.height+a.height),{x:Math.round((l-d)/g*n.width/s),y:Math.round((c-f)/_*n.height/s)}}function m4(t,e,n){let s,i;if(e===void 0||n===void 0){const o=Lf(t);if(!o)e=t.clientWidth,n=t.clientHeight;else{const r=o.getBoundingClientRect(),a=ou(o),l=ko(a,"border","width"),c=ko(a,"padding");e=r.width-c.width-l.width,n=r.height-c.height-l.height,s=kc(a.maxWidth,o,"clientWidth"),i=kc(a.maxHeight,o,"clientHeight")}}return{width:e,height:n,maxWidth:s||wc,maxHeight:i||wc}}const Nl=t=>Math.round(t*10)/10;function _4(t,e,n,s){const i=ou(t),o=ko(i,"margin"),r=kc(i.maxWidth,t,"clientWidth")||wc,a=kc(i.maxHeight,t,"clientHeight")||wc,l=m4(t,e,n);let{width:c,height:u}=l;if(i.boxSizing==="content-box"){const f=ko(i,"border","width"),g=ko(i,"padding");c-=g.width+f.width,u-=g.height+f.height}return c=Math.max(0,c-o.width),u=Math.max(0,s?c/s:u-o.height),c=Nl(Math.min(c,r,l.maxWidth)),u=Nl(Math.min(u,a,l.maxHeight)),c&&!u&&(u=Nl(c/2)),(e!==void 0||n!==void 0)&&s&&l.height&&u>l.height&&(u=l.height,c=Nl(Math.floor(u*s))),{width:c,height:u}}function Bm(t,e,n){const s=e||1,i=Math.floor(t.height*s),o=Math.floor(t.width*s);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const r=t.canvas;return r.style&&(n||!r.style.height&&!r.style.width)&&(r.style.height=`${t.height}px`,r.style.width=`${t.width}px`),t.currentDevicePixelRatio!==s||r.height!==i||r.width!==o?(t.currentDevicePixelRatio=s,r.height=i,r.width=o,t.ctx.setTransform(s,0,0,s,0,0),!0):!1}const v4=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};Rf()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function Vm(t,e){const n=h4(t,e),s=n&&n.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function ho(t,e,n,s){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function b4(t,e,n,s){return{x:t.x+n*(e.x-t.x),y:s==="middle"?n<.5?t.y:e.y:s==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function y4(t,e,n,s){const i={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},r=ho(t,i,n),a=ho(i,o,n),l=ho(o,e,n),c=ho(r,a,n),u=ho(a,l,n);return ho(c,u,n)}const w4=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,s){return n-s},leftForLtr(n,s){return n-s}}},x4=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function ar(t,e,n){return t?w4(e,n):x4()}function A0(t,e){let n,s;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,s=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=s)}function C0(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function E0(t){return t==="angle"?{between:Ha,compare:kB,normalize:On}:{between:Us,compare:(e,n)=>e-n,normalize:e=>e}}function Hm({start:t,end:e,count:n,loop:s,style:i}){return{start:t%n,end:e%n,loop:s&&(e-t+1)%n===0,style:i}}function k4(t,e,n){const{property:s,start:i,end:o}=n,{between:r,normalize:a}=E0(s),l=e.length;let{start:c,end:u,loop:d}=t,f,g;if(d){for(c+=l,u+=l,f=0,g=l;fl(i,A,w)&&a(i,A)!==0,x=()=>a(o,w)===0||l(o,A,w),y=()=>m||D(),S=()=>!m||x();for(let E=u,T=u;E<=d;++E)$=e[E%r],!$.skip&&(w=c($[s]),w!==A&&(m=l(w,i,o),b===null&&y()&&(b=a(w,i)===0?E:T),b!==null&&S()&&(_.push(Hm({start:b,end:E,loop:f,count:r,style:g})),b=null),T=E,A=w));return b!==null&&_.push(Hm({start:b,end:d,loop:f,count:r,style:g})),_}function T0(t,e){const n=[],s=t.segments;for(let i=0;ii&&t[o%e].skip;)o--;return o%=e,{start:i,end:o}}function $4(t,e,n,s){const i=t.length,o=[];let r=e,a=t[e],l;for(l=e+1;l<=n;++l){const c=t[l%i];c.skip||c.stop?a.skip||(s=!1,o.push({start:e%i,end:(l-1)%i,loop:s}),e=r=c.stop?l:null):(r=l,a.skip&&(e=l)),a=c}return r!==null&&o.push({start:e%i,end:r%i,loop:s}),o}function A4(t,e){const n=t.points,s=t.options.spanGaps,i=n.length;if(!i)return[];const o=!!t._loop,{start:r,end:a}=S4(n,i,o,s);if(s===!0)return jm(t,[{start:r,end:a,loop:o}],n,e);const l=a{let t=0;return()=>t++})();function ot(t){return t===null||typeof t>"u"}function yt(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function st(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function Tt(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Mn(t,e){return Tt(t)?t:e}function qe(t,e){return typeof t>"u"?e:t}const MB=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/e,a0=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function gt(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function ut(t,e,n,s){let i,o,r;if(yt(t))if(o=t.length,s)for(i=o-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;it,x:t=>t.x,y:t=>t.y};function IB(t){const e=t.split("."),n=[];let s="";for(const i of e)s+=i,s.endsWith("\\")?s=s.slice(0,-1)+".":(n.push(s),s="");return n}function LB(t){const e=IB(t);return n=>{for(const s of e){if(s==="")break;n=n&&n[s]}return n}}function Di(t,e){return(Am[e]||(Am[e]=LB(e)))(t)}function Cf(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Fa=t=>typeof t<"u",Oi=t=>typeof t=="function",Cm=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function RB(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const xt=Math.PI,wt=2*xt,NB=wt+xt,_c=Number.POSITIVE_INFINITY,FB=xt/180,Nt=xt/2,no=xt/4,Em=xt*2/3,yi=Math.log10,$s=Math.sign;function va(t,e,n){return Math.abs(t-e)i-o).pop(),e}function kr(t){return!isNaN(parseFloat(t))&&isFinite(t)}function VB(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function c0(t,e,n){let s,i,o;for(s=0,i=t.length;sl&&c=Math.min(e,n)-s&&t<=Math.max(e,n)+s}function Tf(t,e,n){n=n||(r=>t[r]1;)o=i+s>>1,n(o)?i=o:s=o;return{lo:i,hi:s}}const Us=(t,e,n,s)=>Tf(t,n,s?i=>{const o=t[i][e];return ot[i][e]Tf(t,n,s=>t[s][e]>=n);function zB(t,e,n){let s=0,i=t.length;for(;ss&&t[i-1]>n;)i--;return s>0||i{const s="_onData"+Cf(n),i=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...o){const r=i.apply(this,o);return t._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...o)}),r}})})}function Mm(t,e){const n=t._chartjs;if(!n)return;const s=n.listeners,i=s.indexOf(e);i!==-1&&s.splice(i,1),!(s.length>0)&&(d0.forEach(o=>{delete t[o]}),delete t._chartjs)}function h0(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const f0=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function p0(t,e){let n=[],s=!1;return function(...i){n=i,s||(s=!0,f0.call(window,()=>{s=!1,t.apply(e,n)}))}}function YB(t,e){let n;return function(...s){return e?(clearTimeout(n),n=setTimeout(t,e,s)):t.apply(this,s),e}}const Pf=t=>t==="start"?"left":t==="end"?"right":"center",ln=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,UB=(t,e,n,s)=>t===(s?"left":"right")?n:t==="center"?(e+n)/2:e;function g0(t,e,n){const s=e.length;let i=0,o=s;if(t._sorted){const{iScale:r,_parsed:a}=t,l=r.axis,{min:c,max:u,minDefined:d,maxDefined:f}=r.getUserBounds();d&&(i=tn(Math.min(Us(a,l,c).lo,n?s:Us(e,l,r.getPixelForValue(c)).lo),0,s-1)),f?o=tn(Math.max(Us(a,r.axis,u,!0).hi+1,n?0:Us(e,l,r.getPixelForValue(u),!0).hi+1),i,s)-i:o=s-i}return{start:i,count:o}}function m0(t){const{xScale:e,yScale:n,_scaleRanges:s}=t,i={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!s)return t._scaleRanges=i,!0;const o=s.xmin!==e.min||s.xmax!==e.max||s.ymin!==n.min||s.ymax!==n.max;return Object.assign(s,i),o}const Dl=t=>t===0||t===1,Dm=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*wt/n)),Om=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*wt/n)+1,ya={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*Nt)+1,easeOutSine:t=>Math.sin(t*Nt),easeInOutSine:t=>-.5*(Math.cos(xt*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>Dl(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Dl(t)?t:Dm(t,.075,.3),easeOutElastic:t=>Dl(t)?t:Om(t,.075,.3),easeInOutElastic(t){return Dl(t)?t:t<.5?.5*Dm(t*2,.1125,.45):.5+.5*Om(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-ya.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?ya.easeInBounce(t*2)*.5:ya.easeOutBounce(t*2-1)*.5+.5};function Mf(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function Im(t){return Mf(t)?t:new Ra(t)}function nd(t){return Mf(t)?t:new Ra(t).saturate(.5).darken(.1).hexString()}const qB=["x","y","borderWidth","radius","tension"],GB=["color","borderColor","backgroundColor"];function JB(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:GB},numbers:{type:"number",properties:qB}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function XB(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Lm=new Map;function QB(t,e){e=e||{};const n=t+JSON.stringify(e);let s=Lm.get(n);return s||(s=new Intl.NumberFormat(t,e),Lm.set(n,s)),s}function el(t,e,n){return QB(e,n).format(t)}const _0={values(t){return yt(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const s=this.chart.options.locale;let i,o=t;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(i="scientific"),o=ZB(t,n)}const r=yi(Math.abs(o)),a=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:i,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),el(t,s,l)},logarithmic(t,e,n){if(t===0)return"0";const s=n[e].significand||t/Math.pow(10,Math.floor(yi(t)));return[1,2,3,5,10,15].includes(s)||e>.8*n.length?_0.numeric.call(this,t,e,n):""}};function ZB(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var Zc={formatters:_0};function e4(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,n)=>n.lineWidth,tickColor:(e,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Zc.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Ao=Object.create(null),Gd=Object.create(null);function wa(t,e){if(!e)return t;const n=e.split(".");for(let s=0,i=n.length;ss.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(s,i)=>nd(i.backgroundColor),this.hoverBorderColor=(s,i)=>nd(i.borderColor),this.hoverColor=(s,i)=>nd(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return sd(this,e,n)}get(e){return wa(this,e)}describe(e,n){return sd(Gd,e,n)}override(e,n){return sd(Ao,e,n)}route(e,n,s,i){const o=wa(this,e),r=wa(this,s),a="_"+n;Object.defineProperties(o,{[a]:{value:o[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=r[i];return st(l)?Object.assign({},c,l):qe(l,c)},set(l){this[a]=l}}})}apply(e){e.forEach(n=>n(this))}}var Pt=new t4({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[JB,XB,e4]);function n4(t){return!t||ot(t.size)||ot(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function bc(t,e,n,s,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>s&&(s=o),s}function s4(t,e,n,s){s=s||{};let i=s.data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(i=s.data={},o=s.garbageCollect=[],s.font=e),t.save(),t.font=e;let r=0;const a=n.length;let l,c,u,d,f;for(l=0;ln.length){for(l=0;l0&&t.stroke()}}function qs(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.xe.top-n&&t.y0&&o.strokeColor!=="";let l,c;for(t.save(),t.font=i.string,r4(t,o),l=0;l+t||0;function Df(t,e){const n={},s=st(e),i=s?Object.keys(e):e,o=st(t)?s?r=>qe(t[r],t[e[r]]):r=>t[r]:()=>t;for(const r of i)n[r]=h4(o(r));return n}function v0(t){return Df(t,{top:"y",right:"x",bottom:"y",left:"x"})}function yo(t){return Df(t,["topLeft","topRight","bottomLeft","bottomRight"])}function fn(t){const e=v0(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Ut(t,e){t=t||{},e=e||Pt.font;let n=qe(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let s=qe(t.style,e.style);s&&!(""+s).match(u4)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const i={family:qe(t.family,e.family),lineHeight:d4(qe(t.lineHeight,e.lineHeight),n),size:n,style:s,weight:qe(t.weight,e.weight),string:""};return i.string=n4(i),i}function sa(t,e,n,s){let i=!0,o,r,a;for(o=0,r=t.length;on&&a===0?0:a+l;return{min:r(s,-Math.abs(o)),max:r(i,o)}}function Hi(t,e){return Object.assign(Object.create(t),e)}function Of(t,e=[""],n,s,i=()=>t[0]){const o=n||t;typeof s>"u"&&(s=k0("_fallback",t));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:s,_getTarget:i,override:a=>Of([a,...t],e,o,s)};return new Proxy(r,{deleteProperty(a,l){return delete a[l],delete a._keys,delete t[0][l],!0},get(a,l){return w0(a,l,()=>w4(l,e,t,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(a,l){return Fm(a).includes(l)},ownKeys(a){return Fm(a)},set(a,l,c){const u=a._storage||(a._storage=i());return a[l]=u[l]=c,delete a._keys,!0}})}function Sr(t,e,n,s){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:y0(t,s),setContext:o=>Sr(t,o,n,s),override:o=>Sr(t.override(o),e,n,s)};return new Proxy(i,{deleteProperty(o,r){return delete o[r],delete t[r],!0},get(o,r,a){return w0(o,r,()=>g4(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(t,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,r)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(o,r){return Reflect.has(t,r)},ownKeys(){return Reflect.ownKeys(t)},set(o,r,a){return t[r]=a,delete o[r],!0}})}function y0(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:s=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:n,indexable:s,isScriptable:Oi(n)?n:()=>n,isIndexable:Oi(s)?s:()=>s}}const p4=(t,e)=>t?t+Cf(e):e,If=(t,e)=>st(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function w0(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const s=n();return t[e]=s,s}function g4(t,e,n){const{_proxy:s,_context:i,_subProxy:o,_descriptors:r}=t;let a=s[e];return Oi(a)&&r.isScriptable(e)&&(a=m4(e,a,t,n)),yt(a)&&a.length&&(a=_4(e,a,t,r.isIndexable)),If(e,a)&&(a=Sr(a,i,o&&o[e],r)),a}function m4(t,e,n,s){const{_proxy:i,_context:o,_subProxy:r,_stack:a}=n;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);a.add(t);let l=e(o,r||s);return a.delete(t),If(t,l)&&(l=Lf(i._scopes,i,t,l)),l}function _4(t,e,n,s){const{_proxy:i,_context:o,_subProxy:r,_descriptors:a}=n;if(typeof o.index<"u"&&s(t))return e[o.index%e.length];if(st(e[0])){const l=e,c=i._scopes.filter(u=>u!==l);e=[];for(const u of l){const d=Lf(c,i,t,u);e.push(Sr(d,o,r&&r[t],a))}}return e}function x0(t,e,n){return Oi(t)?t(e,n):t}const b4=(t,e)=>t===!0?e:typeof t=="string"?Di(e,t):void 0;function v4(t,e,n,s,i){for(const o of e){const r=b4(n,o);if(r){t.add(r);const a=x0(r._fallback,n,i);if(typeof a<"u"&&a!==n&&a!==s)return a}else if(r===!1&&typeof s<"u"&&n!==s)return null}return!1}function Lf(t,e,n,s){const i=e._rootScopes,o=x0(e._fallback,n,s),r=[...t,...i],a=new Set;a.add(s);let l=Nm(a,r,n,o||n,s);return l===null||typeof o<"u"&&o!==n&&(l=Nm(a,r,o,l,s),l===null)?!1:Of(Array.from(a),[""],i,o,()=>y4(e,n,s))}function Nm(t,e,n,s,i){for(;n;)n=v4(t,e,n,s,i);return n}function y4(t,e,n){const s=t._getTarget();e in s||(s[e]={});const i=s[e];return yt(i)&&st(n)?n:i||{}}function w4(t,e,n,s){let i;for(const o of e)if(i=k0(p4(o,t),n),typeof i<"u")return If(t,i)?Lf(n,s,t,i):i}function k0(t,e){for(const n of e){if(!n)continue;const s=n[t];if(typeof s<"u")return s}}function Fm(t){let e=t._keys;return e||(e=t._keys=x4(t._scopes)),e}function x4(t){const e=new Set;for(const n of t)for(const s of Object.keys(n).filter(i=>!i.startsWith("_")))e.add(s);return Array.from(e)}function S0(t,e,n,s){const{iScale:i}=t,{key:o="r"}=this._parsing,r=new Array(s);let a,l,c,u;for(a=0,l=s;aet==="x"?"y":"x";function S4(t,e,n,s){const i=t.skip?e:t,o=e,r=n.skip?e:n,a=qd(o,i),l=qd(r,o);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=s*c,f=s*u;return{previous:{x:o.x-d*(r.x-i.x),y:o.y-d*(r.y-i.y)},next:{x:o.x+f*(r.x-i.x),y:o.y+f*(r.y-i.y)}}}function $4(t,e,n){const s=t.length;let i,o,r,a,l,c=$r(t,0);for(let u=0;u!c.skip)),e.cubicInterpolationMode==="monotone")C4(t,i);else{let c=s?t[t.length-1]:t[0];for(o=0,r=t.length;ot.ownerDocument.defaultView.getComputedStyle(t,null);function P4(t,e){return nu(t).getPropertyValue(e)}const M4=["top","right","bottom","left"];function wo(t,e,n){const s={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=M4[i];s[o]=parseFloat(t[e+"-"+o+n])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const D4=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function O4(t,e){const n=t.touches,s=n&&n.length?n[0]:t,{offsetX:i,offsetY:o}=s;let r=!1,a,l;if(D4(i,o,t.target))a=i,l=o;else{const c=e.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,r=!0}return{x:a,y:l,box:r}}function lo(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:s}=e,i=nu(n),o=i.boxSizing==="border-box",r=wo(i,"padding"),a=wo(i,"border","width"),{x:l,y:c,box:u}=O4(t,n),d=r.left+(u&&a.left),f=r.top+(u&&a.top);let{width:g,height:_}=e;return o&&(g-=r.width+a.width,_-=r.height+a.height),{x:Math.round((l-d)/g*n.width/s),y:Math.round((c-f)/_*n.height/s)}}function I4(t,e,n){let s,i;if(e===void 0||n===void 0){const o=Nf(t);if(!o)e=t.clientWidth,n=t.clientHeight;else{const r=o.getBoundingClientRect(),a=nu(o),l=wo(a,"border","width"),c=wo(a,"padding");e=r.width-c.width-l.width,n=r.height-c.height-l.height,s=vc(a.maxWidth,o,"clientWidth"),i=vc(a.maxHeight,o,"clientHeight")}}return{width:e,height:n,maxWidth:s||_c,maxHeight:i||_c}}const Il=t=>Math.round(t*10)/10;function L4(t,e,n,s){const i=nu(t),o=wo(i,"margin"),r=vc(i.maxWidth,t,"clientWidth")||_c,a=vc(i.maxHeight,t,"clientHeight")||_c,l=I4(t,e,n);let{width:c,height:u}=l;if(i.boxSizing==="content-box"){const f=wo(i,"border","width"),g=wo(i,"padding");c-=g.width+f.width,u-=g.height+f.height}return c=Math.max(0,c-o.width),u=Math.max(0,s?c/s:u-o.height),c=Il(Math.min(c,r,l.maxWidth)),u=Il(Math.min(u,a,l.maxHeight)),c&&!u&&(u=Il(c/2)),(e!==void 0||n!==void 0)&&s&&l.height&&u>l.height&&(u=l.height,c=Il(Math.floor(u*s))),{width:c,height:u}}function Bm(t,e,n){const s=e||1,i=Math.floor(t.height*s),o=Math.floor(t.width*s);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const r=t.canvas;return r.style&&(n||!r.style.height&&!r.style.width)&&(r.style.height=`${t.height}px`,r.style.width=`${t.width}px`),t.currentDevicePixelRatio!==s||r.height!==i||r.width!==o?(t.currentDevicePixelRatio=s,r.height=i,r.width=o,t.ctx.setTransform(s,0,0,s,0,0),!0):!1}const R4=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};Rf()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function Vm(t,e){const n=P4(t,e),s=n&&n.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function co(t,e,n,s){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function N4(t,e,n,s){return{x:t.x+n*(e.x-t.x),y:s==="middle"?n<.5?t.y:e.y:s==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function F4(t,e,n,s){const i={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},r=co(t,i,n),a=co(i,o,n),l=co(o,e,n),c=co(r,a,n),u=co(a,l,n);return co(c,u,n)}const B4=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,s){return n-s},leftForLtr(n,s){return n-s}}},V4=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function or(t,e,n){return t?B4(e,n):V4()}function A0(t,e){let n,s;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,s=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=s)}function C0(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function E0(t){return t==="angle"?{between:Ba,compare:HB,normalize:On}:{between:Ys,compare:(e,n)=>e-n,normalize:e=>e}}function Hm({start:t,end:e,count:n,loop:s,style:i}){return{start:t%n,end:e%n,loop:s&&(e-t+1)%n===0,style:i}}function H4(t,e,n){const{property:s,start:i,end:o}=n,{between:r,normalize:a}=E0(s),l=e.length;let{start:c,end:u,loop:d}=t,f,g;if(d){for(c+=l,u+=l,f=0,g=l;fl(i,A,v)&&a(i,A)!==0,x=()=>a(o,v)===0||l(o,A,v),w=()=>m||D(),S=()=>!m||x();for(let T=u,M=u;T<=d;++T)$=e[T%r],!$.skip&&(v=c($[s]),v!==A&&(m=l(v,i,o),y===null&&w()&&(y=a(v,i)===0?T:M),y!==null&&S()&&(_.push(Hm({start:y,end:T,loop:f,count:r,style:g})),y=null),M=T,A=v));return y!==null&&_.push(Hm({start:y,end:d,loop:f,count:r,style:g})),_}function P0(t,e){const n=[],s=t.segments;for(let i=0;ii&&t[o%e].skip;)o--;return o%=e,{start:i,end:o}}function W4(t,e,n,s){const i=t.length,o=[];let r=e,a=t[e],l;for(l=e+1;l<=n;++l){const c=t[l%i];c.skip||c.stop?a.skip||(s=!1,o.push({start:e%i,end:(l-1)%i,loop:s}),e=r=c.stop?l:null):(r=l,a.skip&&(e=l)),a=c}return r!==null&&o.push({start:e%i,end:r%i,loop:s}),o}function z4(t,e){const n=t.points,s=t.options.spanGaps,i=n.length;if(!i)return[];const o=!!t._loop,{start:r,end:a}=j4(n,i,o,s);if(s===!0)return jm(t,[{start:r,end:a,loop:o}],n,e);const l=aa({chart:e,initial:n.initial,numSteps:r,currentStep:Math.min(s-n.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=f0.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((s,i)=>{if(!s.running||!s.items.length)return;const o=s.items;let r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(e),a=!0):(o[r]=o[o.length-1],o.pop());a&&(i.draw(),this._notify(i,s,e,"progress")),o.length||(s.running=!1,this._notify(i,s,e,"complete"),s.initial=!1),n+=o.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let s=n.get(e);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,s)),s}listen(e,n,s){this._getAnims(e).listeners[n].push(s)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((s,i)=>Math.max(s,i._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const s=n.items;let i=s.length-1;for(;i>=0;--i)s[i].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var Bs=new P4;const zm="transparent",T4={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const s=Im(t||zm),i=s.valid&&Im(e||zm);return i&&i.valid?i.mix(s,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class M4{constructor(e,n,s,i){const o=n[s];i=oa([e.to,i,o,e.from]);const r=oa([e.from,o,i]);this._active=!0,this._fn=e.fn||T4[e.type||typeof r],this._easing=xa[e.easing]||xa.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=s,this._from=r,this._to=i,this._promises=void 0}active(){return this._active}update(e,n,s){if(this._active){this._notify(!1);const i=this._target[this._prop],o=s-this._start,r=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(r,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=oa([e.to,n,i,e.from]),this._from=oa([e.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,s=this._duration,i=this._prop,o=this._from,r=this._loop,a=this._to;let l;if(this._active=o!==a&&(r||n1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[i]=this._fn(o,a,l)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,s)=>{e.push({res:n,rej:s})})}_notify(e){const n=e?"res":"rej",s=this._promises||[];for(let i=0;i{const o=e[i];if(!nt(o))return;const r={};for(const a of n)r[a]=o[a];(vt(o.properties)&&o.properties||[i]).forEach(a=>{(a===i||!s.has(a))&&s.set(a,r)})})}_animateOptions(e,n){const s=n.options,i=O4(e,s);if(!i)return[];const o=this._createAnimations(i,s);return s.$shared&&D4(e.options.$animations,s).then(()=>{e.options=s},()=>{}),o}_createAnimations(e,n){const s=this._properties,i=[],o=e.$animations||(e.$animations={}),r=Object.keys(n),a=Date.now();let l;for(l=r.length-1;l>=0;--l){const c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){i.push(...this._animateOptions(e,n));continue}const u=n[c];let d=o[c];const f=s.get(c);if(d)if(f&&d.active()){d.update(f,u,a);continue}else d.cancel();if(!f||!f.duration){e[c]=u;continue}o[c]=d=new M4(f,e,c,u),i.push(d)}return i}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const s=this._createAnimations(e,n);if(s.length)return Bs.add(this._chart,s),!0}}function D4(t,e){const n=[],s=Object.keys(e);for(let i=0;i0||!n&&o<0)return i.index}return null}function Gm(t,e){const{chart:n,_cachedMeta:s}=t,i=n._stacks||(n._stacks={}),{iScale:o,vScale:r,index:a}=s,l=o.axis,c=r.axis,u=N4(o,r,s),d=e.length;let f;for(let g=0;gn[s].axis===e).shift()}function V4(t,e){return Wi(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function H4(t,e,n){return Wi(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function Xr(t,e){const n=t.controller.index,s=t.vScale&&t.vScale.axis;if(s){e=e||t._parsed;for(const i of e){const o=i._stacks;if(!o||o[s]===void 0||o[s][n]===void 0)return;delete o[s][n],o[s]._visualValues!==void 0&&o[s]._visualValues[n]!==void 0&&delete o[s]._visualValues[n]}}}const od=t=>t==="reset"||t==="none",Jm=(t,e)=>e?t:Object.assign({},t),j4=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:D0(n,!0),values:null};class zi{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Km(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&Xr(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,s=this.getDataset(),i=(d,f,g,_)=>d==="x"?f:d==="r"?_:g,o=n.xAxisID=qe(s.xAxisID,id(e,"x")),r=n.yAxisID=qe(s.yAxisID,id(e,"y")),a=n.rAxisID=qe(s.rAxisID,id(e,"r")),l=n.indexAxis,c=n.iAxisID=i(l,o,r,a),u=n.vAxisID=i(l,r,o,a);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(r),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Mm(this._data,this),e._stacked&&Xr(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),s=this._data;if(nt(n))this._data=L4(n);else if(s!==n){if(s){Mm(s,this);const i=this._cachedMeta;Xr(i),i._parsed=[]}n&&Object.isExtensible(n)&&CB(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,s=this.getDataset();let i=!1;this._dataCheck();const o=n._stacked;n._stacked=Km(n.vScale,n),n.stack!==s.stack&&(i=!0,Xr(n),n.stack=s.stack),this._resyncElements(e),(i||o!==n._stacked)&&Gm(this,n._parsed)}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),s=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:s,_data:i}=this,{iScale:o,_stacked:r}=s,a=o.axis;let l=e===0&&n===i.length?!0:s._sorted,c=e>0&&s._parsed[e-1],u,d,f;if(this._parsing===!1)s._parsed=i,s._sorted=!0,f=i;else{vt(i[e])?f=this.parseArrayData(s,i,e,n):nt(i[e])?f=this.parseObjectData(s,i,e,n):f=this.parsePrimitiveData(s,i,e,n);const g=()=>d[a]===null||c&&d[a]m||d=0;--f)if(!_()){this.updateRangeFromParsed(c,e,g,l);break}}return c}getAllParsedValues(e){const n=this._cachedMeta._parsed,s=[];let i,o,r;for(i=0,o=n.length;i=0&&ethis.getContext(s,i,n),m=c.resolveNamedOptions(f,g,_,d);return m.$shared&&(m.$shared=l,o[r]=Object.freeze(Jm(m,l))),m}_resolveAnimations(e,n,s){const i=this.chart,o=this._cachedDataOpts,r=`animation-${n}`,a=o[r];if(a)return a;let l;if(i.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),d);l=u.createResolver(f,this.getContext(e,s,n))}const c=new M0(i,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||od(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const s=this.resolveDataElementOptions(e,n),i=this._sharedOptions,o=this.getSharedOptions(s),r=this.includeOptions(n,o)||o!==i;return this.updateSharedOptions(o,n,s),{sharedOptions:o,includeOptions:r}}updateElement(e,n,s,i){od(i)?Object.assign(e,s):this._resolveAnimations(n,i).update(e,s)}updateSharedOptions(e,n,s){e&&!od(n)&&this._resolveAnimations(void 0,n).update(e,s)}_setStyle(e,n,s,i){e.active=i;const o=this.getStyle(n,i);this._resolveAnimations(n,s,i).update(e,{options:!i&&this.getSharedOptions(o)||o})}removeHoverStyle(e,n,s){this._setStyle(e,s,"active",!1)}setHoverStyle(e,n,s){this._setStyle(e,s,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,s=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const i=s.length,o=n.length,r=Math.min(o,i);r&&this.parse(0,r),o>i?this._insertElements(i,o-i,e):o{for(c.length+=n,a=c.length-1;a>=r;a--)c[a]=c[a-n]};for(l(o),a=e;ai-o))}return t._cache.$bar}function z4(t){const e=t.iScale,n=W4(e,t.type);let s=e._length,i,o,r,a;const l=()=>{r===32767||r===-32768||(Va(a)&&(s=Math.min(s,Math.abs(r-a)||s)),a=r)};for(i=0,o=n.length;i0?i[t-1]:null,a=tMath.abs(a)&&(l=a,c=r),e[n.axis]=c,e._custom={barStart:l,barEnd:c,start:i,end:o,min:r,max:a}}function O0(t,e,n,s){return vt(t)?K4(t,e,n,s):e[n.axis]=n.parse(t,s),e}function Xm(t,e,n,s){const i=t.iScale,o=t.vScale,r=i.getLabels(),a=i===o,l=[];let c,u,d,f;for(c=n,u=n+s;c=n?1:-1)}function G4(t){let e,n,s,i,o;return t.horizontal?(e=t.base>t.x,n="left",s="right"):(e=t.basel.controller.options.grouped),o=s.options.stacked,r=[],a=l=>{const c=l.controller.getParsed(n),u=c&&c[l.vScale.axis];if(it(u)||isNaN(u))return!0};for(const l of i)if(!(n!==void 0&&a(l))&&((o===!1||r.indexOf(l.stack)===-1||o===void 0&&l.stack===void 0)&&r.push(l.stack),l.index===e))break;return r.length||r.push(void 0),r}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,n,s){const i=this._getStacks(e,s),o=n!==void 0?i.indexOf(n):-1;return o===-1?i.length-1:o}_getRuler(){const e=this.options,n=this._cachedMeta,s=n.iScale,i=[];let o,r;for(o=0,r=n.data.length;o=0;--s)n=Math.max(n,e[s].size(this.resolveDataElementOptions(s))/2);return n>0&&n}getLabelAndValue(e){const n=this._cachedMeta,s=this.chart.data.labels||[],{xScale:i,yScale:o}=n,r=this.getParsed(e),a=i.getLabelForValue(r.x),l=o.getLabelForValue(r.y),c=r._custom;return{label:s[e]||"",value:"("+a+", "+l+(c?", "+c:"")+")"}}update(e){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,e)}updateElements(e,n,s,i){const o=i==="reset",{iScale:r,vScale:a}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(n,i),u=r.axis,d=a.axis;for(let f=n;fHa(A,a,l,!0)?1:Math.max(D,D*n,x,x*n),_=(A,D,x)=>Ha(A,a,l,!0)?-1:Math.min(D,D*n,x,x*n),m=g(0,c,d),b=g(Rt,u,f),w=_(yt,c,d),$=_(yt+Rt,u,f);s=(m-w)/2,i=(b-$)/2,o=-(m+w)/2,r=-(b+$)/2}return{ratioX:s,ratioY:i,offsetX:o,offsetY:r}}class R0 extends zi{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:s,color:i}}=e.legend.options;return n.labels.map((o,r)=>{const l=e.getDatasetMeta(0).controller.getStyle(r);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:s,hidden:!e.getDataVisibility(r),index:r}})}return[]}},onClick(e,n,s){s.chart.toggleDataVisibility(n.index),s.chart.update()}}}};constructor(e,n){super(e,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,n){const s=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=s;else{let o=l=>+s[l];if(nt(s[e])){const{key:l="value"}=this._parsing;o=c=>+Ii(s[c],l)}let r,a;for(r=e,a=e+n;r0&&!isNaN(e)?bt*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,s=this.chart,i=s.data.labels||[],o=nl(n._parsed[e],s.options.locale);return{label:i[e]||"",value:o}}getMaxBorderWidth(e){let n=0;const s=this.chart;let i,o,r,a,l;if(!e){for(i=0,o=s.data.datasets.length;i0&&this.getParsed(n-1);for(let x=0;x=$){S.skip=!0;continue}const E=this.getParsed(x),T=it(E[g]),C=S[f]=r.getPixelForValue(E[f],x),B=S[g]=o||T?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,E,l):E[g],x);S.skip=isNaN(C)||isNaN(B)||T,S.stop=x>0&&Math.abs(E[f]-D[f])>b,m&&(S.parsed=E,S.raw=c.data[x]),d&&(S.options=u||this.resolveDataElementOptions(x,y.active?"active":i)),w||this.updateElement(y,x,S,i),D=E}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,s=n.options&&n.options.borderWidth||0,i=e.data||[];if(!i.length)return s;const o=i[0].size(this.resolveDataElementOptions(0)),r=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(s,o,r)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}class tV extends zi{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:s,color:i}}=e.legend.options;return n.labels.map((o,r)=>{const l=e.getDatasetMeta(0).controller.getStyle(r);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:s,hidden:!e.getDataVisibility(r),index:r}})}return[]}},onClick(e,n,s){s.chart.toggleDataVisibility(n.index),s.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,n){super(e,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const n=this._cachedMeta,s=this.chart,i=s.data.labels||[],o=nl(n._parsed[e].r,s.options.locale);return{label:i[e]||"",value:o}}parseObjectData(e,n,s,i){return S0.bind(this)(e,n,s,i)}update(e){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,e)}getMinMax(){const e=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach((s,i)=>{const o=this.getParsed(i).r;!isNaN(o)&&this.chart.getDataVisibility(i)&&(on.max&&(n.max=o))}),n}_updateRadius(){const e=this.chart,n=e.chartArea,s=e.options,i=Math.min(n.right-n.left,n.bottom-n.top),o=Math.max(i/2,0),r=Math.max(s.cutoutPercentage?o/100*s.cutoutPercentage:1,0),a=(o-r)/e.getVisibleDatasetCount();this.outerRadius=o-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,n,s,i){const o=i==="reset",r=this.chart,l=r.options.animation,c=this._cachedMeta.rScale,u=c.xCenter,d=c.yCenter,f=c.getIndexAngle(0)-.5*yt;let g=f,_;const m=360/this.countVisibleElements();for(_=0;_{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&n++}),n}_computeAngle(e,n,s){return this.chart.getDataVisibility(e)?rs(this.resolveDataElementOptions(e,n).angle||s):0}}class nV extends R0{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}class sV extends zi{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(e){const n=this._cachedMeta.vScale,s=this.getParsed(e);return{label:n.getLabels()[e],value:""+n.getLabelForValue(s[n.axis])}}parseObjectData(e,n,s,i){return S0.bind(this)(e,n,s,i)}update(e){const n=this._cachedMeta,s=n.dataset,i=n.data||[],o=n.iScale.getLabels();if(s.points=i,e!=="resize"){const r=this.resolveDatasetElementOptions(e);this.options.showLine||(r.borderWidth=0);const a={_loop:!0,_fullLoop:o.length===i.length,options:r};this.updateElement(s,void 0,a,e)}this.updateElements(i,0,i.length,e)}updateElements(e,n,s,i){const o=this._cachedMeta.rScale,r=i==="reset";for(let a=n;a0&&this.getParsed(n-1);for(let D=n;D0&&Math.abs(y[g]-A[g])>w,b&&(S.parsed=y,S.raw=c.data[D]),f&&(S.options=d||this.resolveDataElementOptions(D,x.active?"active":i)),$||this.updateElement(x,D,S,i),A=y}this.updateSharedOptions(d,i,u)}getMaxOverflow(){const e=this._cachedMeta,n=e.data||[];if(!this.options.showLine){let a=0;for(let l=n.length-1;l>=0;--l)a=Math.max(a,n[l].size(this.resolveDataElementOptions(l))/2);return a>0&&a}const s=e.dataset,i=s.options&&s.options.borderWidth||0;if(!n.length)return i;const o=n[0].size(this.resolveDataElementOptions(0)),r=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(i,o,r)/2}}function ro(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Nf{static override(e){Object.assign(Nf.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return ro()}parse(){return ro()}format(){return ro()}add(){return ro()}diff(){return ro()}startOf(){return ro()}endOf(){return ro()}}var oV={_date:Nf};function rV(t,e,n,s){const{controller:i,data:o,_sorted:r}=t,a=i._cachedMeta.iScale;if(a&&e===a.axis&&e!=="r"&&r&&o.length){const l=a._reversePixels?$B:Ks;if(s){if(i._sharedOptions){const c=o[0],u=typeof c.getRange=="function"&&c.getRange(e);if(u){const d=l(o,e,n-u),f=l(o,e,n+u);return{lo:d.lo,hi:f.hi}}}}else return l(o,e,n)}return{lo:0,hi:o.length-1}}function sl(t,e,n,s,i){const o=t.getSortedVisibleDatasetMetas(),r=n[e];for(let a=0,l=o.length;a{l[r](e[n],i)&&(o.push({element:l,datasetIndex:c,index:u}),a=a||l.inRange(e.x,e.y,i))}),s&&!a?[]:o}var uV={evaluateInteractionItems:sl,modes:{index(t,e,n,s){const i=uo(e,t),o=n.axis||"x",r=n.includeInvisible||!1,a=n.intersect?ad(t,i,o,s,r):ld(t,i,o,!1,s,r),l=[];return a.length?(t.getSortedVisibleDatasetMetas().forEach(c=>{const u=a[0].index,d=c.data[u];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:u})}),l):[]},dataset(t,e,n,s){const i=uo(e,t),o=n.axis||"xy",r=n.includeInvisible||!1;let a=n.intersect?ad(t,i,o,s,r):ld(t,i,o,!1,s,r);if(a.length>0){const l=a[0].datasetIndex,c=t.getDatasetMeta(l).data;a=[];for(let u=0;un.pos===e)}function t_(t,e){return t.filter(n=>N0.indexOf(n.pos)===-1&&n.box.axis===e)}function Zr(t,e){return t.sort((n,s)=>{const i=e?s:n,o=e?n:s;return i.weight===o.weight?i.index-o.index:i.weight-o.weight})}function dV(t){const e=[];let n,s,i,o,r,a;for(n=0,s=(t||[]).length;nc.box.fullSize),!0),s=Zr(Qr(e,"left"),!0),i=Zr(Qr(e,"right")),o=Zr(Qr(e,"top"),!0),r=Zr(Qr(e,"bottom")),a=t_(e,"x"),l=t_(e,"y");return{fullSize:n,leftAndTop:s.concat(o),rightAndBottom:i.concat(l).concat(r).concat(a),chartArea:Qr(e,"chartArea"),vertical:s.concat(i).concat(l),horizontal:o.concat(r).concat(a)}}function n_(t,e,n,s){return Math.max(t[n],e[n])+Math.max(t[s],e[s])}function F0(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function gV(t,e,n,s){const{pos:i,box:o}=n,r=t.maxPadding;if(!nt(i)){n.size&&(t[i]-=n.size);const d=s[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?o.height:o.width),n.size=d.size/d.count,t[i]+=n.size}o.getPadding&&F0(r,o.getPadding());const a=Math.max(0,e.outerWidth-n_(r,t,"left","right")),l=Math.max(0,e.outerHeight-n_(r,t,"top","bottom")),c=a!==t.w,u=l!==t.h;return t.w=a,t.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function mV(t){const e=t.maxPadding;function n(s){const i=Math.max(e[s]-t[s],0);return t[s]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function _V(t,e){const n=e.maxPadding;function s(i){const o={left:0,top:0,right:0,bottom:0};return i.forEach(r=>{o[r]=Math.max(e[r],n[r])}),o}return s(t?["left","right"]:["top","bottom"])}function ra(t,e,n,s){const i=[];let o,r,a,l,c,u;for(o=0,r=t.length,c=0;o{typeof m.beforeLayout=="function"&&m.beforeLayout()});const u=l.reduce((m,b)=>b.box.options&&b.box.options.display===!1?m:m+1,0)||1,d=Object.freeze({outerWidth:e,outerHeight:n,padding:i,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/u,hBoxMaxHeight:r/2}),f=Object.assign({},i);F0(f,hn(s));const g=Object.assign({maxPadding:f,w:o,h:r,x:i.left,y:i.top},i),_=fV(l.concat(c),d);ra(a.fullSize,g,d,_),ra(l,g,d,_),ra(c,g,d,_)&&ra(l,g,d,_),mV(g),s_(a.leftAndTop,g,d,_),g.x+=g.w,g.y+=g.h,s_(a.rightAndBottom,g,d,_),t.chartArea={left:g.left,top:g.top,right:g.left+g.w,bottom:g.top+g.h,height:g.h,width:g.w},ct(a.chartArea,m=>{const b=m.box;Object.assign(b,t.chartArea),b.update(g.w,g.h,{left:0,top:0,right:0,bottom:0})})}};class B0{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,s){}removeEventListener(e,n,s){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,s,i){return n=Math.max(0,n||e.width),s=s||e.height,{width:n,height:Math.max(0,i?Math.floor(n/i):s)}}isAttached(e){return!0}updateConfig(e){}}class vV extends B0{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const ic="$chartjs",bV={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},i_=t=>t===null||t==="";function yV(t,e){const n=t.style,s=t.getAttribute("height"),i=t.getAttribute("width");if(t[ic]={initial:{height:s,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",i_(i)){const o=Vm(t,"width");o!==void 0&&(t.width=o)}if(i_(s))if(t.style.height==="")t.height=t.width/(e||2);else{const o=Vm(t,"height");o!==void 0&&(t.height=o)}return t}const V0=v4?{passive:!0}:!1;function wV(t,e,n){t.addEventListener(e,n,V0)}function xV(t,e,n){t.canvas.removeEventListener(e,n,V0)}function kV(t,e){const n=bV[t.type]||t.type,{x:s,y:i}=uo(t,e);return{type:n,chart:e,native:t,x:s!==void 0?s:null,y:i!==void 0?i:null}}function Sc(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function SV(t,e,n){const s=t.canvas,i=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Sc(a.addedNodes,s),r=r&&!Sc(a.removedNodes,s);r&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function $V(t,e,n){const s=t.canvas,i=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Sc(a.removedNodes,s),r=r&&!Sc(a.addedNodes,s);r&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const Wa=new Map;let o_=0;function H0(){const t=window.devicePixelRatio;t!==o_&&(o_=t,Wa.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function AV(t,e){Wa.size||window.addEventListener("resize",H0),Wa.set(t,e)}function CV(t){Wa.delete(t),Wa.size||window.removeEventListener("resize",H0)}function EV(t,e,n){const s=t.canvas,i=s&&Lf(s);if(!i)return;const o=p0((a,l)=>{const c=i.clientWidth;n(a,l),c{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||o(c,u)});return r.observe(i),AV(t,o),r}function cd(t,e,n){n&&n.disconnect(),e==="resize"&&CV(t)}function PV(t,e,n){const s=t.canvas,i=p0(o=>{t.ctx!==null&&n(kV(o,t))},t);return wV(s,e,i),i}class TV extends B0{acquireContext(e,n){const s=e&&e.getContext&&e.getContext("2d");return s&&s.canvas===e?(yV(e,n),s):null}releaseContext(e){const n=e.canvas;if(!n[ic])return!1;const s=n[ic].initial;["height","width"].forEach(o=>{const r=s[o];it(r)?n.removeAttribute(o):n.setAttribute(o,r)});const i=s.style||{};return Object.keys(i).forEach(o=>{n.style[o]=i[o]}),n.width=n.width,delete n[ic],!0}addEventListener(e,n,s){this.removeEventListener(e,n);const i=e.$proxies||(e.$proxies={}),r={attach:SV,detach:$V,resize:EV}[n]||PV;i[n]=r(e,n,s)}removeEventListener(e,n){const s=e.$proxies||(e.$proxies={}),i=s[n];if(!i)return;({attach:cd,detach:cd,resize:cd}[n]||xV)(e,n,i),s[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,s,i){return _4(e,n,s,i)}isAttached(e){const n=Lf(e);return!!(n&&n.isConnected)}}function MV(t){return!Rf()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?vV:TV}let si=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:n,y:s}=this.getProps(["x","y"],e);return{x:n,y:s}}hasValue(){return $r(this.x)&&$r(this.y)}getProps(e,n){const s=this.$animations;if(!n||!s)return this;const i={};return e.forEach(o=>{i[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),i}};function DV(t,e){const n=t.options.ticks,s=OV(t),i=Math.min(n.maxTicksLimit||s,s),o=n.major.enabled?RV(e):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>i)return LV(e,c,o,r/i),c;const u=IV(o,e,i);if(r>0){let d,f;const g=r>1?Math.round((l-a)/(r-1)):null;for(Bl(e,c,u,it(g)?0:a-g,a),d=0,f=r-1;di)return l}return Math.max(i,1)}function RV(t){const e=[];let n,s;for(n=0,s=t.length;nt==="left"?"right":t==="right"?"left":t,r_=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,a_=(t,e)=>Math.min(e||t,t);function l_(t,e){const n=[],s=t.length/e,i=t.length;let o=0;for(;or+a)))return l}function VV(t,e){ct(t,n=>{const s=n.gc,i=s.length/2;let o;if(i>e){for(o=0;os?s:n,s=i&&n>s?n:s,{min:Mn(n,Mn(s,n)),max:Mn(s,Mn(n,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){ft(this.options.beforeUpdate,[this])}update(e,n,s){const{beginAtZero:i,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=GB(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||s<=1||!this.isHorizontal()){this.labelRotation=i;return}const u=this._getLabelSizes(),d=u.widest.width,f=u.highest.height,g=Zt(this.chart.width-d,0,this.maxWidth);a=e.offset?this.maxWidth/s:g/(s-1),d+6>a&&(a=g/(s-(e.offset?.5:1)),l=this.maxHeight-ea(e.grid)-n.padding-c_(e.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),r=Cf(Math.min(Math.asin(Zt((u.highest.height+6)/a,-1,1)),Math.asin(Zt(l/c,-1,1))-Math.asin(Zt(f/c,-1,1)))),r=Math.max(i,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){ft(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){ft(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:s,title:i,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){const l=c_(i,n.options.font);if(a?(e.width=this.maxWidth,e.height=ea(o)+l):(e.height=this.maxHeight,e.width=ea(o)+l),s.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:f}=this._getLabelSizes(),g=s.padding*2,_=rs(this.labelRotation),m=Math.cos(_),b=Math.sin(_);if(a){const w=s.mirror?0:b*d.width+m*f.height;e.height=Math.min(this.maxHeight,e.height+w+g)}else{const w=s.mirror?0:m*d.width+b*f.height;e.width=Math.min(this.maxWidth,e.width+w+g)}this._calculatePadding(c,u,b,m)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,s,i){const{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,g=0;l?c?(f=i*e.width,g=s*n.height):(f=s*e.height,g=i*n.width):o==="start"?g=n.width:o==="end"?f=e.width:o!=="inner"&&(f=e.width/2,g=n.width/2),this.paddingLeft=Math.max((f-u+r)*this.width/(this.width-u),0),this.paddingRight=Math.max((g-d+r)*this.width/(this.width-d),0)}else{let u=n.height/2,d=e.height/2;o==="start"?(u=0,d=e.height):o==="end"&&(u=n.height,d=0),this.paddingTop=u+r,this.paddingBottom=d+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){ft(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,s;for(n=0,s=e.length;n({width:r[T]||0,height:a[T]||0});return{first:E(0),last:E(n-1),widest:E(y),highest:E(S),widths:r,heights:a}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return SB(this._alignToPixels?oo(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&ea*i?a/s:l/i:l*i0}_computeGridLineItems(e){const n=this.axis,s=this.chart,i=this.options,{grid:o,position:r,border:a}=i,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),f=ea(o),g=[],_=a.setContext(this.getContext()),m=_.display?_.width:0,b=m/2,w=function(I){return oo(s,I,m)};let $,A,D,x,y,S,E,T,C,B,J,ae;if(r==="top")$=w(this.bottom),S=this.bottom-f,T=$-b,B=w(e.top)+b,ae=e.bottom;else if(r==="bottom")$=w(this.top),B=e.top,ae=w(e.bottom)-b,S=$+b,T=this.top+f;else if(r==="left")$=w(this.right),y=this.right-f,E=$-b,C=w(e.left)+b,J=e.right;else if(r==="right")$=w(this.left),C=e.left,J=w(e.right)-b,y=$+b,E=this.left+f;else if(n==="x"){if(r==="center")$=w((e.top+e.bottom)/2+.5);else if(nt(r)){const I=Object.keys(r)[0],V=r[I];$=w(this.chart.scales[I].getPixelForValue(V))}B=e.top,ae=e.bottom,S=$+b,T=S+f}else if(n==="y"){if(r==="center")$=w((e.left+e.right)/2);else if(nt(r)){const I=Object.keys(r)[0],V=r[I];$=w(this.chart.scales[I].getPixelForValue(V))}y=$-b,E=y-f,C=e.left,J=e.right}const Y=qe(i.ticks.maxTicksLimit,d),L=Math.max(1,Math.ceil(d/Y));for(A=0;A0&&(oe-=R/2);break}ye={left:oe,top:ee,width:R+U.width,height:X+U.height,color:L.backdropColor}}b.push({label:D,font:T,textOffset:J,options:{rotation:m,color:V,strokeColor:Q,strokeWidth:Z,textAlign:le,textBaseline:ae,translation:[x,y],backdrop:ye}})}return b}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-rs(this.labelRotation))return e==="top"?"left":"right";let i="center";return n.align==="start"?i="left":n.align==="end"?i="right":n.align==="inner"&&(i="inner"),i}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:s,mirror:i,padding:o}}=this.options,r=this._getLabelSizes(),a=e+o,l=r.widest.width;let c,u;return n==="left"?i?(u=this.right+o,s==="near"?c="left":s==="center"?(c="center",u+=l/2):(c="right",u+=l)):(u=this.right-a,s==="near"?c="right":s==="center"?(c="center",u-=l/2):(c="left",u=this.left)):n==="right"?i?(u=this.left+o,s==="near"?c="right":s==="center"?(c="center",u-=l/2):(c="left",u-=l)):(u=this.left+a,s==="near"?c="left":s==="center"?(c="center",u+=l/2):(c="right",u=this.right)):c="right",{textAlign:c,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:s,top:i,width:o,height:r}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(s,i,o,r),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const i=this.ticks.findIndex(o=>o.value===e);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(e){const n=this.options.grid,s=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let o,r;const a=(l,c,u)=>{!u.width||!u.color||(s.save(),s.lineWidth=u.width,s.strokeStyle=u.color,s.setLineDash(u.borderDash||[]),s.lineDashOffset=u.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(n.display)for(o=0,r=i.length;o{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",i=[];let o,r;for(o=0,r=n.length;o{const s=n.split("."),i=s.pop(),o=[t].concat(s).join("."),r=e[n].split("."),a=r.pop(),l=r.join(".");Et.route(o,i,l,a)})}function KV(t){return"id"in t&&"defaults"in t}class qV{constructor(){this.controllers=new Vl(zi,"datasets",!0),this.elements=new Vl(si,"elements"),this.plugins=new Vl(Object,"plugins"),this.scales=new Vl(Ro,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,s){[...n].forEach(i=>{const o=s||this._getRegistryForType(i);s||o.isForType(i)||o===this.plugins&&i.id?this._exec(e,o,i):ct(i,r=>{const a=s||this._getRegistryForType(r);this._exec(e,a,r)})})}_exec(e,n,s){const i=Af(e);ft(s["before"+i],[],s),n[e](s),ft(s["after"+i],[],s)}_getRegistryForType(e){for(let n=0;no.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(i(n,s),e,"stop"),this._notify(i(s,n),e,"start")}}function JV(t){const e={},n=[],s=Object.keys(_s.plugins.items);for(let o=0;o1&&u_(t[0].toLowerCase());if(s)return s}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function d_(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function s6(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(s=>s.xAxisID===t||s.yAxisID===t);if(n.length)return d_(t,"x",n[0])||d_(t,"y",n[0])}return{}}function i6(t,e){const n=Eo[t.type]||{scales:{}},s=e.scales||{},i=Xd(t.type,e),o=Object.create(null);return Object.keys(s).forEach(r=>{const a=s[r];if(!nt(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);const l=Qd(r,a,s6(r,t),Et.scales[a.type]),c=t6(l,i),u=n.scales||{};o[r]=ya(Object.create(null),[{axis:l},a,u[l],u[c]])}),t.data.datasets.forEach(r=>{const a=r.type||t.type,l=r.indexAxis||Xd(a,e),u=(Eo[a]||{}).scales||{};Object.keys(u).forEach(d=>{const f=e6(d,l),g=r[f+"AxisID"]||f;o[g]=o[g]||Object.create(null),ya(o[g],[{axis:f},s[g],u[d]])})}),Object.keys(o).forEach(r=>{const a=o[r];ya(a,[Et.scales[a.type],Et.scale])}),o}function j0(t){const e=t.options||(t.options={});e.plugins=qe(e.plugins,{}),e.scales=i6(t,e)}function W0(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function o6(t){return t=t||{},t.data=W0(t.data),j0(t),t}const h_=new Map,z0=new Set;function Hl(t,e){let n=h_.get(t);return n||(n=e(),h_.set(t,n),z0.add(n)),n}const ta=(t,e,n)=>{const s=Ii(e,n);s!==void 0&&t.add(s)};let r6=class{constructor(e){this._config=o6(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=W0(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),j0(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Hl(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return Hl(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return Hl(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,s=this.type;return Hl(`${s}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const s=this._scopeCache;let i=s.get(e);return(!i||n)&&(i=new Map,s.set(e,i)),i}getOptionScopes(e,n,s){const{options:i,type:o}=this,r=this._cachedScopes(e,s),a=r.get(n);if(a)return a;const l=new Set;n.forEach(u=>{e&&(l.add(e),u.forEach(d=>ta(l,e,d))),u.forEach(d=>ta(l,i,d)),u.forEach(d=>ta(l,Eo[o]||{},d)),u.forEach(d=>ta(l,Et,d)),u.forEach(d=>ta(l,Gd,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),z0.has(n)&&r.set(n,c),c}chartOptionScopes(){const{options:e,type:n}=this;return[e,Eo[n]||{},Et.datasets[n]||{},{type:n},Et,Gd]}resolveNamedOptions(e,n,s,i=[""]){const o={$shared:!0},{resolver:r,subPrefixes:a}=f_(this._resolverCache,e,i);let l=r;if(l6(r,n)){o.$shared=!1,s=Ri(s)?s():s;const c=this.createResolver(e,s,a);l=Ar(r,s,c)}for(const c of n)o[c]=l[c];return o}createResolver(e,n,s=[""],i){const{resolver:o}=f_(this._resolverCache,e,s);return nt(n)?Ar(o,n,void 0,i):o}};function f_(t,e,n){let s=t.get(e);s||(s=new Map,t.set(e,s));const i=n.join();let o=s.get(i);return o||(o={resolver:Df(e,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},s.set(i,o)),o}const a6=t=>nt(t)&&Object.getOwnPropertyNames(t).some(e=>Ri(t[e]));function l6(t,e){const{isScriptable:n,isIndexable:s}=y0(t);for(const i of e){const o=n(i),r=s(i),a=(r||o)&&t[i];if(o&&(Ri(a)||a6(a))||r&&vt(a))return!0}return!1}var c6="4.4.1";const u6=["top","bottom","left","right","chartArea"];function p_(t,e){return t==="top"||t==="bottom"||u6.indexOf(t)===-1&&e==="x"}function g_(t,e){return function(n,s){return n[t]===s[t]?n[e]-s[e]:n[t]-s[t]}}function m_(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),ft(n&&n.onComplete,[t],e)}function d6(t){const e=t.chart,n=e.options.animation;ft(n&&n.onProgress,[t],e)}function Y0(t){return Rf()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const oc={},__=t=>{const e=Y0(t);return Object.values(oc).filter(n=>n.canvas===e).pop()};function h6(t,e,n){const s=Object.keys(t);for(const i of s){const o=+i;if(o>=e){const r=t[i];delete t[i],(n>0||o>e)&&(t[o+n]=r)}}}function f6(t,e,n,s){return!n||t.type==="mouseout"?null:s?e:t}function jl(t,e,n){return t.options.clip?t[n]:e[n]}function p6(t,e){const{xScale:n,yScale:s}=t;return n&&s?{left:jl(n,e,"left"),right:jl(n,e,"right"),top:jl(s,e,"top"),bottom:jl(s,e,"bottom")}:e}let ru=class{static defaults=Et;static instances=oc;static overrides=Eo;static registry=_s;static version=c6;static getChart=__;static register(...e){_s.add(...e),v_()}static unregister(...e){_s.remove(...e),v_()}constructor(e,n){const s=this.config=new r6(n),i=Y0(e),o=__(i);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const r=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||MV(i)),this.platform.updateConfig(s);const a=this.platform.acquireContext(i,r.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=hB(),this.ctx=a,this.canvas=l,this.width=u,this.height=c,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new GV,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=EB(d=>this.update(d),r.resizeDelay||0),this._dataChanges=[],oc[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Bs.listen(this,"complete",m_),Bs.listen(this,"progress",d6),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:s,height:i,_aspectRatio:o}=this;return it(e)?n&&o?o:i?s/i:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return _s}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Bm(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Lm(this.canvas,this.ctx),this}stop(){return Bs.stop(this),this}resize(e,n){Bs.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const s=this.options,i=this.canvas,o=s.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(i,e,n,o),a=s.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,Bm(this,a,!0)&&(this.notifyPlugins("resize",{size:r}),ft(s.onResize,[this,r],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};ct(n,(s,i)=>{s.id=i})}buildOrUpdateScales(){const e=this.options,n=e.scales,s=this.scales,i=Object.keys(s).reduce((r,a)=>(r[a]=!1,r),{});let o=[];n&&(o=o.concat(Object.keys(n).map(r=>{const a=n[r],l=Qd(r,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),ct(o,r=>{const a=r.options,l=a.id,c=Qd(l,a),u=qe(a.type,r.dtype);(a.position===void 0||p_(a.position,c)!==p_(r.dposition))&&(a.position=r.dposition),i[l]=!0;let d=null;if(l in s&&s[l].type===u)d=s[l];else{const f=_s.getScale(u);d=new f({id:l,type:u,ctx:this.ctx,chart:this}),s[d.id]=d}d.init(a,e)}),ct(i,(r,a)=>{r||delete s[a]}),ct(s,r=>{qn.configure(this,r,r.options),qn.addBox(this,r)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,s=e.length;if(e.sort((i,o)=>i.index-o.index),s>n){for(let i=n;in.length&&delete this._stacks,e.forEach((s,i)=>{n.filter(o=>o===s._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let s,i;for(this._removeUnreferencedMetasets(),s=0,i=n.length;s{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const s=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let r=0;for(let c=0,u=this.data.datasets.length;c{c.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(g_("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){ct(this.scales,e=>{qn.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),s=new Set(e.events);(!Cm(n,s)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:s,start:i,count:o}of n){const r=s==="_removeElements"?-o:o;h6(e,i,r)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,s=o=>new Set(e.filter(r=>r[0]===o).map((r,a)=>a+","+r.splice(1).join(","))),i=s(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;qn.update(this,this.width,this.height,e);const n=this.chartArea,s=n.width<=0||n.height<=0;this._layers=[],ct(this.boxes,i=>{s&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,o)=>{i._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,s=this.data.datasets.length;n=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,s=e._clip,i=!s.disabled,o=p6(e,this.chartArea),r={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(i&&su(n,{left:s.left===!1?0:o.left-s.left,right:s.right===!1?this.width:o.right+s.right,top:s.top===!1?0:o.top-s.top,bottom:s.bottom===!1?this.height:o.bottom+s.bottom}),e.controller.draw(),i&&iu(n),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(e){return qs(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,s,i){const o=uV.modes[n];return typeof o=="function"?o(this,e,s,i):[]}getDatasetMeta(e){const n=this.data.datasets[e],s=this._metasets;let i=s.filter(o=>o&&o._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},s.push(i)),i}getContext(){return this.$context||(this.$context=Wi(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const s=this.getDatasetMeta(e);return typeof s.hidden=="boolean"?!s.hidden:!n.hidden}setDatasetVisibility(e,n){const s=this.getDatasetMeta(e);s.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,s){const i=s?"show":"hide",o=this.getDatasetMeta(e),r=o.controller._resolveAnimations(void 0,i);Va(n)?(o.data[n].hidden=!s,this.update()):(this.setDatasetVisibility(e,s),r.update(o,{visible:s}),this.update(a=>a.datasetIndex===e?i:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),Bs.remove(this),e=0,n=this.data.datasets.length;e{n.addEventListener(this,o,r),e[o]=r},i=(o,r,a)=>{o.offsetX=r,o.offsetY=a,this._eventHandler(o)};ct(this.options.events,o=>s(o,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,s=(l,c)=>{n.addEventListener(this,l,c),e[l]=c},i=(l,c)=>{e[l]&&(n.removeEventListener(this,l,c),delete e[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let r;const a=()=>{i("attach",a),this.attached=!0,this.resize(),s("resize",o),s("detach",r)};r=()=>{this.attached=!1,i("resize",o),this._stop(),this._resize(0,0),s("attach",a)},n.isAttached(this.canvas)?a():r()}unbindEvents(){ct(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},ct(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,s){const i=s?"set":"remove";let o,r,a,l;for(n==="dataset"&&(o=this.getDatasetMeta(e[0].datasetIndex),o.controller["_"+i+"DatasetHoverStyle"]()),a=0,l=e.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[r],index:r}});!bc(s,n)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,n))}notifyPlugins(e,n,s){return this._plugins.notify(this,e,n,s)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,s){const i=this.options.hover,o=(l,c)=>l.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),r=o(n,e),a=s?e:o(e,n);r.length&&this.updateHoverStyle(r,i.mode,!1),a.length&&i.mode&&this.updateHoverStyle(a,i.mode,!0)}_eventHandler(e,n){const s={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},i=r=>(r.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",s,i)===!1)return;const o=this._handleEvent(e,n,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,i),(o||s.changed)&&this.render(),this}_handleEvent(e,n,s){const{_active:i=[],options:o}=this,r=n,a=this._getActiveElements(e,i,s,r),l=vB(e),c=f6(e,this._lastEvent,s,l);s&&(this._lastEvent=null,ft(o.onHover,[e,a,this],this),l&&ft(o.onClick,[e,a,this],this));const u=!bc(a,i);return(u||n)&&(this._active=a,this._updateHoverStyles(a,i,n)),this._lastEvent=c,u}_getActiveElements(e,n,s,i){if(e.type==="mouseout")return[];if(!s)return n;const o=this.options.hover;return this.getElementsAtEventForMode(e,o.mode,o,i)}};function v_(){return ct(ru.instances,t=>t._plugins.invalidate())}function g6(t,e,n){const{startAngle:s,pixelMargin:i,x:o,y:r,outerRadius:a,innerRadius:l}=e;let c=i/a;t.beginPath(),t.arc(o,r,a,s-c,n+c),l>i?(c=i/l,t.arc(o,r,l,n+c,s-c,!0)):t.arc(o,r,i,n+Rt,s-Rt),t.closePath(),t.clip()}function m6(t){return Mf(t,["outerStart","outerEnd","innerStart","innerEnd"])}function _6(t,e,n,s){const i=m6(t.options.borderRadius),o=(n-e)/2,r=Math.min(o,s*e/2),a=l=>{const c=(n-Math.min(o,l))*s/2;return Zt(l,0,Math.min(o,c))};return{outerStart:a(i.outerStart),outerEnd:a(i.outerEnd),innerStart:Zt(i.innerStart,0,r),innerEnd:Zt(i.innerEnd,0,r)}}function Jo(t,e,n,s){return{x:n+t*Math.cos(e),y:s+t*Math.sin(e)}}function $c(t,e,n,s,i,o){const{x:r,y:a,startAngle:l,pixelMargin:c,innerRadius:u}=e,d=Math.max(e.outerRadius+s+n-c,0),f=u>0?u+s+n+c:0;let g=0;const _=i-l;if(s){const L=u>0?u-s:0,I=d>0?d-s:0,V=(L+I)/2,Q=V!==0?_*V/(V+s):_;g=(_-Q)/2}const m=Math.max(.001,_*d-n/yt)/d,b=(_-m)/2,w=l+b+g,$=i-b-g,{outerStart:A,outerEnd:D,innerStart:x,innerEnd:y}=_6(e,f,d,$-w),S=d-A,E=d-D,T=w+A/S,C=$-D/E,B=f+x,J=f+y,ae=w+x/B,Y=$-y/J;if(t.beginPath(),o){const L=(T+C)/2;if(t.arc(r,a,d,T,L),t.arc(r,a,d,L,C),D>0){const Z=Jo(E,C,r,a);t.arc(Z.x,Z.y,D,C,$+Rt)}const I=Jo(J,$,r,a);if(t.lineTo(I.x,I.y),y>0){const Z=Jo(J,Y,r,a);t.arc(Z.x,Z.y,y,$+Rt,Y+Math.PI)}const V=($-y/f+(w+x/f))/2;if(t.arc(r,a,f,$-y/f,V,!0),t.arc(r,a,f,V,w+x/f,!0),x>0){const Z=Jo(B,ae,r,a);t.arc(Z.x,Z.y,x,ae+Math.PI,w-Rt)}const Q=Jo(S,w,r,a);if(t.lineTo(Q.x,Q.y),A>0){const Z=Jo(S,T,r,a);t.arc(Z.x,Z.y,A,w-Rt,T)}}else{t.moveTo(r,a);const L=Math.cos(T)*d+r,I=Math.sin(T)*d+a;t.lineTo(L,I);const V=Math.cos(C)*d+r,Q=Math.sin(C)*d+a;t.lineTo(V,Q)}t.closePath()}function v6(t,e,n,s,i){const{fullCircles:o,startAngle:r,circumference:a}=e;let l=e.endAngle;if(o){$c(t,e,n,s,l,i);for(let c=0;ce!=="borderDash"};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,n,s){const i=this.getProps(["x","y"],s),{angle:o,distance:r}=u0(i,{x:e,y:n}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:u,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],s),f=(this.options.spacing+this.options.borderWidth)/2,_=qe(d,l-a)>=bt||Ha(o,a,l),m=Us(r,c+f,u+f);return _&&m}getCenterPoint(e){const{x:n,y:s,startAngle:i,endAngle:o,innerRadius:r,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:l,spacing:c}=this.options,u=(i+o)/2,d=(r+a+c+l)/2;return{x:n+Math.cos(u)*d,y:s+Math.sin(u)*d}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:n,circumference:s}=this,i=(n.offset||0)/4,o=(n.spacing||0)/2,r=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=s>bt?Math.floor(s/bt):0,s===0||this.innerRadius<0||this.outerRadius<0)return;e.save();const a=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(a)*i,Math.sin(a)*i);const l=1-Math.sin(Math.min(yt,s||0)),c=i*l;e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,v6(e,this,c,o,r),b6(e,this,c,o,r),e.restore()}}function U0(t,e,n=e){t.lineCap=qe(n.borderCapStyle,e.borderCapStyle),t.setLineDash(qe(n.borderDash,e.borderDash)),t.lineDashOffset=qe(n.borderDashOffset,e.borderDashOffset),t.lineJoin=qe(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=qe(n.borderWidth,e.borderWidth),t.strokeStyle=qe(n.borderColor,e.borderColor)}function w6(t,e,n){t.lineTo(n.x,n.y)}function x6(t){return t.stepped?VB:t.tension||t.cubicInterpolationMode==="monotone"?HB:w6}function K0(t,e,n={}){const s=t.length,{start:i=0,end:o=s-1}=n,{start:r,end:a}=e,l=Math.max(i,r),c=Math.min(o,a),u=ia&&o>a;return{count:s,start:l,loop:e.loop,ilen:c(r+(c?a-D:D))%o,A=()=>{m!==b&&(t.lineTo(u,b),t.lineTo(u,m),t.lineTo(u,w))};for(l&&(g=i[$(0)],t.moveTo(g.x,g.y)),f=0;f<=a;++f){if(g=i[$(f)],g.skip)continue;const D=g.x,x=g.y,y=D|0;y===_?(xb&&(b=x),u=(d*u+D)/++d):(A(),t.lineTo(D,x),_=y,d=0,m=b=x),w=x}A()}function Zd(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?S6:k6}function $6(t){return t.stepped?b4:t.tension||t.cubicInterpolationMode==="monotone"?y4:ho}function A6(t,e,n,s){let i=e._path;i||(i=e._path=new Path2D,e.path(i,n,s)&&i.closePath()),U0(t,e.options),t.stroke(i)}function C6(t,e,n,s){const{segments:i,options:o}=e,r=Zd(e);for(const a of i)U0(t,o,a.style),t.beginPath(),r(t,e,a,{start:n,end:n+s-1})&&t.closePath(),t.stroke()}const E6=typeof Path2D=="function";function P6(t,e,n,s){E6&&!e.options.segment?A6(t,e,n,s):C6(t,e,n,s)}class au extends si{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,n){const s=this.options;if((s.tension||s.cubicInterpolationMode==="monotone")&&!s.stepped&&!this._pointsUpdated){const i=s.spanGaps?this._loop:this._fullLoop;d4(this._points,s,e,i,n),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=A4(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,s=e.length;return s&&n[e[s-1].end]}interpolate(e,n){const s=this.options,i=e[n],o=this.points,r=T0(this,{property:n,start:i,end:i});if(!r.length)return;const a=[],l=$6(s);let c,u;for(c=0,u=r.length;c=n)return t.slice(e,e+n);const r=[],a=(n-2)/(o-2);let l=0;const c=e+n-1;let u=e,d,f,g,_,m;for(r[l++]=t[u],d=0;dg&&(g=_,f=t[$],m=$);r[l++]=f,u=m}return r[l++]=t[c],r}function F6(t,e,n,s){let i=0,o=0,r,a,l,c,u,d,f,g,_,m;const b=[],w=e+n-1,$=t[e].x,D=t[w].x-$;for(r=e;rm&&(m=c,f=r),i=(o*i+a.x)/++o;else{const y=r-1;if(!it(d)&&!it(f)){const S=Math.min(d,f),E=Math.max(d,f);S!==g&&S!==y&&b.push({...t[S],x:i}),E!==g&&E!==y&&b.push({...t[E],x:i})}r>0&&y!==g&&b.push(t[y]),b.push(a),u=x,o=0,_=m=c,d=f=g=r}}return b}function G0(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function y_(t){t.data.datasets.forEach(e=>{G0(e)})}function B6(t,e){const n=e.length;let s=0,i;const{iScale:o}=t,{min:r,max:a,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(s=Zt(Ks(e,o.axis,r).lo,0,n-1)),c?i=Zt(Ks(e,o.axis,a).hi+1,s,n)-s:i=n-s,{start:s,count:i}}var V6={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,n)=>{if(!n.enabled){y_(t);return}const s=t.width;t.data.datasets.forEach((i,o)=>{const{_data:r,indexAxis:a}=i,l=t.getDatasetMeta(o),c=r||i.data;if(oa([a,t.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;const u=t.scales[l.xAxisID];if(u.type!=="linear"&&u.type!=="time"||t.options.parsing)return;let{start:d,count:f}=B6(l,c);const g=n.threshold||4*s;if(f<=g){G0(i);return}it(r)&&(i._data=c,delete i.data,Object.defineProperty(i,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(m){this._data=m}}));let _;switch(n.algorithm){case"lttb":_=N6(c,d,f,s,n);break;case"min-max":_=F6(c,d,f,s);break;default:throw new Error(`Unsupported decimation algorithm '${n.algorithm}'`)}i._decimated=_})},destroy(t){y_(t)}};function H6(t,e,n){const s=t.segments,i=t.points,o=e.points,r=[];for(const a of s){let{start:l,end:c}=a;c=Ff(l,c,i);const u=eh(n,i[l],i[c],a.loop);if(!e.segments){r.push({source:a,target:u,start:i[l],end:i[c]});continue}const d=T0(e,u);for(const f of d){const g=eh(n,o[f.start],o[f.end],f.loop),_=P0(a,i,g);for(const m of _)r.push({source:m,target:f,start:{[n]:w_(u,g,"start",Math.max)},end:{[n]:w_(u,g,"end",Math.min)}})}}return r}function eh(t,e,n,s){if(s)return;let i=e[t],o=n[t];return t==="angle"&&(i=On(i),o=On(o)),{property:t,start:i,end:o}}function j6(t,e){const{x:n=null,y:s=null}=t||{},i=e.points,o=[];return e.segments.forEach(({start:r,end:a})=>{a=Ff(r,a,i);const l=i[r],c=i[a];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):n!==null&&(o.push({x:n,y:l.y}),o.push({x:n,y:c.y}))}),o}function Ff(t,e,n){for(;e>t;e--){const s=n[e];if(!isNaN(s.x)&&!isNaN(s.y))break}return e}function w_(t,e,n,s){return t&&e?s(t[n],e[n]):t?t[n]:e?e[n]:0}function J0(t,e){let n=[],s=!1;return vt(t)?(s=!0,n=t):n=j6(t,e),n.length?new au({points:n,options:{tension:0},_loop:s,_fullLoop:s}):null}function x_(t){return t&&t.fill!==!1}function W6(t,e,n){let i=t[e].fill;const o=[e];let r;if(!n)return i;for(;i!==!1&&o.indexOf(i)===-1;){if(!Ct(i))return i;if(r=t[i],!r)return!1;if(r.visible)return i;o.push(i),i=r.fill}return!1}function z6(t,e,n){const s=q6(t);if(nt(s))return isNaN(s.value)?!1:s;let i=parseFloat(s);return Ct(i)&&Math.floor(i)===i?Y6(s[0],e,i,n):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function Y6(t,e,n,s){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=s?!1:n}function U6(t,e){let n=null;return t==="start"?n=e.bottom:t==="end"?n=e.top:nt(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function K6(t,e,n){let s;return t==="start"?s=n:t==="end"?s=e.options.reverse?e.min:e.max:nt(t)?s=t.value:s=e.getBaseValue(),s}function q6(t){const e=t.options,n=e.fill;let s=qe(n&&n.target,n);return s===void 0&&(s=!!e.backgroundColor),s===!1||s===null?!1:s===!0?"origin":s}function G6(t){const{scale:e,index:n,line:s}=t,i=[],o=s.segments,r=s.points,a=J6(e,n);a.push(J0({x:null,y:e.bottom},s));for(let l=0;l=0;--r){const a=i[r].$filler;a&&(a.line.updateControlPoints(o,a.axis),s&&a.fill&&hd(t.ctx,a,o))}},beforeDatasetsDraw(t,e,n){if(n.drawTime!=="beforeDatasetsDraw")return;const s=t.getSortedVisibleDatasetMetas();for(let i=s.length-1;i>=0;--i){const o=s[i].$filler;x_(o)&&hd(t.ctx,o,t.chartArea)}},beforeDatasetDraw(t,e,n){const s=e.meta.$filler;!x_(s)||n.drawTime!=="beforeDatasetDraw"||hd(t.ctx,s,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const A_=(t,e)=>{let{boxHeight:n=e,boxWidth:s=e}=t;return t.usePointStyle&&(n=Math.min(n,e),s=t.pointStyleWidth||Math.min(s,e)),{boxWidth:s,boxHeight:n,itemHeight:Math.max(e,n)}},aH=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class C_ extends si{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n,s){this.maxWidth=e,this.maxHeight=n,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let n=ft(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(s=>e.filter(s,this.chart.data))),e.sort&&(n=n.sort((s,i)=>e.sort(s,i,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const s=e.labels,i=Yt(s.font),o=i.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=A_(s,o);let c,u;n.font=i.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(r,o,a,l)+10):(u=this.maxHeight,c=this._fitCols(r,i,a,l)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(u,e.maxHeight||this.maxHeight)}_fitRows(e,n,s,i){const{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=i+a;let d=e;o.textAlign="left",o.textBaseline="middle";let f=-1,g=-u;return this.legendItems.forEach((_,m)=>{const b=s+n/2+o.measureText(_.text).width;(m===0||c[c.length-1]+b+2*a>r)&&(d+=u,c[c.length-(m>0?0:1)]=0,g+=u,f++),l[m]={left:0,top:g,row:f,width:b,height:i},c[c.length-1]+=b+a}),d}_fitCols(e,n,s,i){const{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=r-e;let d=a,f=0,g=0,_=0,m=0;return this.legendItems.forEach((b,w)=>{const{itemWidth:$,itemHeight:A}=lH(s,n,o,b,i);w>0&&g+A+2*a>u&&(d+=f+a,c.push({width:f,height:g}),_+=f+a,m++,f=g=0),l[w]={left:_,top:g,col:m,width:$,height:A},f=Math.max(f,$),g+=A+a}),d+=f,c.push({width:f,height:g}),d}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:s,labels:{padding:i},rtl:o}}=this,r=ar(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=an(s,this.left+i,this.right-this.lineWidths[a]);for(const c of n)a!==c.row&&(a=c.row,l=an(s,this.left+i,this.right-this.lineWidths[a])),c.top+=this.top+e+i,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+i}else{let a=0,l=an(s,this.top+e+i,this.bottom-this.columnSizes[a].height);for(const c of n)c.col!==a&&(a=c.col,l=an(s,this.top+e+i,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+i,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+i}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;su(e,this),this._draw(),iu(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:s,ctx:i}=this,{align:o,labels:r}=e,a=Et.color,l=ar(e.rtl,this.left,this.width),c=Yt(r.font),{padding:u}=r,d=c.size,f=d/2;let g;this.drawTitle(),i.textAlign=l.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:_,boxHeight:m,itemHeight:b}=A_(r,d),w=function(y,S,E){if(isNaN(_)||_<=0||isNaN(m)||m<0)return;i.save();const T=qe(E.lineWidth,1);if(i.fillStyle=qe(E.fillStyle,a),i.lineCap=qe(E.lineCap,"butt"),i.lineDashOffset=qe(E.lineDashOffset,0),i.lineJoin=qe(E.lineJoin,"miter"),i.lineWidth=T,i.strokeStyle=qe(E.strokeStyle,a),i.setLineDash(qe(E.lineDash,[])),r.usePointStyle){const C={radius:m*Math.SQRT2/2,pointStyle:E.pointStyle,rotation:E.rotation,borderWidth:T},B=l.xPlus(y,_/2),J=S+f;v0(i,C,B,J,r.pointStyleWidth&&_)}else{const C=S+Math.max((d-m)/2,0),B=l.leftForLtr(y,_),J=xo(E.borderRadius);i.beginPath(),Object.values(J).some(ae=>ae!==0)?ja(i,{x:B,y:C,w:_,h:m,radius:J}):i.rect(B,C,_,m),i.fill(),T!==0&&i.stroke()}i.restore()},$=function(y,S,E){Po(i,E.text,y,S+b/2,c,{strikethrough:E.hidden,textAlign:l.textAlign(E.textAlign)})},A=this.isHorizontal(),D=this._computeTitleHeight();A?g={x:an(o,this.left+u,this.right-s[0]),y:this.top+u+D,line:0}:g={x:this.left+u,y:an(o,this.top+D+u,this.bottom-n[0].height),line:0},A0(this.ctx,e.textDirection);const x=b+u;this.legendItems.forEach((y,S)=>{i.strokeStyle=y.fontColor,i.fillStyle=y.fontColor;const E=i.measureText(y.text).width,T=l.textAlign(y.textAlign||(y.textAlign=r.textAlign)),C=_+f+E;let B=g.x,J=g.y;l.setWidth(this.width),A?S>0&&B+C+u>this.right&&(J=g.y+=x,g.line++,B=g.x=an(o,this.left+u,this.right-s[g.line])):S>0&&J+x>this.bottom&&(B=g.x=B+n[g.line].width+u,g.line++,J=g.y=an(o,this.top+D+u,this.bottom-n[g.line].height));const ae=l.x(B);if(w(ae,J,y),B=PB(T,B+_+f,A?B+C:this.right,e.rtl),$(l.x(B),J,y),A)g.x+=C+u;else if(typeof y.text!="string"){const Y=c.lineHeight;g.y+=Q0(y,Y)+u}else g.y+=x}),C0(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,s=Yt(n.font),i=hn(n.padding);if(!n.display)return;const o=ar(e.rtl,this.left,this.width),r=this.ctx,a=n.position,l=s.size/2,c=i.top+l;let u,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),u=this.top+c,d=an(e.align,d,this.right-f);else{const _=this.columnSizes.reduce((m,b)=>Math.max(m,b.height),0);u=c+an(e.align,this.top,this.bottom-_-e.labels.padding-this._computeTitleHeight())}const g=an(a,d,d+f);r.textAlign=o.textAlign(Pf(a)),r.textBaseline="middle",r.strokeStyle=n.color,r.fillStyle=n.color,r.font=s.string,Po(r,n.text,g,u,s)}_computeTitleHeight(){const e=this.options.title,n=Yt(e.font),s=hn(e.padding);return e.display?n.lineHeight+s.height:0}_getLegendItemAt(e,n){let s,i,o;if(Us(e,this.left,this.right)&&Us(n,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;so.length>r.length?o:r)),e+n.size/2+s.measureText(i).width}function uH(t,e,n){let s=t;return typeof e.text!="string"&&(s=Q0(e,n)),s}function Q0(t,e){const n=t.text?t.text.length:0;return e*n}function dH(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var hH={id:"legend",_element:C_,start(t,e,n){const s=t.legend=new C_({ctx:t.ctx,options:n,chart:t});qn.configure(t,s,n),qn.addBox(t,s)},stop(t){qn.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const s=t.legend;qn.configure(t,s,n),s.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const s=e.datasetIndex,i=n.chart;i.isDatasetVisible(s)?(i.hide(s),e.hidden=!0):(i.show(s),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:s,textAlign:i,color:o,useBorderRadius:r,borderRadius:a}}=t.legend.options;return t._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(n?0:void 0),u=hn(c.borderWidth);return{text:e[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:c.borderColor,pointStyle:s||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:r&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Z0 extends si{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n){const s=this.options;if(this.left=0,this.top=0,!s.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const i=vt(s.text)?s.text.length:1;this._padding=hn(s.padding);const o=i*Yt(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:s,bottom:i,right:o,options:r}=this,a=r.align;let l=0,c,u,d;return this.isHorizontal()?(u=an(a,s,o),d=n+e,c=o-s):(r.position==="left"?(u=s+e,d=an(a,i,n),l=yt*-.5):(u=o-e,d=an(a,n,i),l=yt*.5),c=i-n),{titleX:u,titleY:d,maxWidth:c,rotation:l}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const s=Yt(n.font),o=s.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);Po(e,n.text,0,0,s,{color:n.color,maxWidth:l,rotation:c,textAlign:Pf(n.align),textBaseline:"middle",translation:[r,a]})}}function fH(t,e){const n=new Z0({ctx:t.ctx,options:e,chart:t});qn.configure(t,n,e),qn.addBox(t,n),t.titleBlock=n}var pH={id:"title",_element:Z0,start(t,e,n){fH(t,n)},stop(t){const e=t.titleBlock;qn.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const s=t.titleBlock;qn.configure(t,s,n),s.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const aa={average(t){if(!t.length)return!1;let e,n,s=0,i=0,o=0;for(e=0,n=t.length;ea({chart:e,initial:n.initial,numSteps:r,currentStep:Math.min(s-n.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=f0.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((s,i)=>{if(!s.running||!s.items.length)return;const o=s.items;let r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(e),a=!0):(o[r]=o[o.length-1],o.pop());a&&(i.draw(),this._notify(i,s,e,"progress")),o.length||(s.running=!1,this._notify(i,s,e,"complete"),s.initial=!1),n+=o.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let s=n.get(e);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,s)),s}listen(e,n,s){this._getAnims(e).listeners[n].push(s)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((s,i)=>Math.max(s,i._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const s=n.items;let i=s.length-1;for(;i>=0;--i)s[i].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var Bs=new U4;const zm="transparent",q4={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const s=Im(t||zm),i=s.valid&&Im(e||zm);return i&&i.valid?i.mix(s,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class G4{constructor(e,n,s,i){const o=n[s];i=sa([e.to,i,o,e.from]);const r=sa([e.from,o,i]);this._active=!0,this._fn=e.fn||q4[e.type||typeof r],this._easing=ya[e.easing]||ya.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=s,this._from=r,this._to=i,this._promises=void 0}active(){return this._active}update(e,n,s){if(this._active){this._notify(!1);const i=this._target[this._prop],o=s-this._start,r=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(r,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=sa([e.to,n,i,e.from]),this._from=sa([e.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,s=this._duration,i=this._prop,o=this._from,r=this._loop,a=this._to;let l;if(this._active=o!==a&&(r||n1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[i]=this._fn(o,a,l)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,s)=>{e.push({res:n,rej:s})})}_notify(e){const n=e?"res":"rej",s=this._promises||[];for(let i=0;i{const o=e[i];if(!st(o))return;const r={};for(const a of n)r[a]=o[a];(yt(o.properties)&&o.properties||[i]).forEach(a=>{(a===i||!s.has(a))&&s.set(a,r)})})}_animateOptions(e,n){const s=n.options,i=X4(e,s);if(!i)return[];const o=this._createAnimations(i,s);return s.$shared&&J4(e.options.$animations,s).then(()=>{e.options=s},()=>{}),o}_createAnimations(e,n){const s=this._properties,i=[],o=e.$animations||(e.$animations={}),r=Object.keys(n),a=Date.now();let l;for(l=r.length-1;l>=0;--l){const c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){i.push(...this._animateOptions(e,n));continue}const u=n[c];let d=o[c];const f=s.get(c);if(d)if(f&&d.active()){d.update(f,u,a);continue}else d.cancel();if(!f||!f.duration){e[c]=u;continue}o[c]=d=new G4(f,e,c,u),i.push(d)}return i}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const s=this._createAnimations(e,n);if(s.length)return Bs.add(this._chart,s),!0}}function J4(t,e){const n=[],s=Object.keys(e);for(let i=0;i0||!n&&o<0)return i.index}return null}function Gm(t,e){const{chart:n,_cachedMeta:s}=t,i=n._stacks||(n._stacks={}),{iScale:o,vScale:r,index:a}=s,l=o.axis,c=r.axis,u=tV(o,r,s),d=e.length;let f;for(let g=0;gn[s].axis===e).shift()}function iV(t,e){return Hi(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function oV(t,e,n){return Hi(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function Gr(t,e){const n=t.controller.index,s=t.vScale&&t.vScale.axis;if(s){e=e||t._parsed;for(const i of e){const o=i._stacks;if(!o||o[s]===void 0||o[s][n]===void 0)return;delete o[s][n],o[s]._visualValues!==void 0&&o[s]._visualValues[n]!==void 0&&delete o[s]._visualValues[n]}}}const od=t=>t==="reset"||t==="none",Jm=(t,e)=>e?t:Object.assign({},t),rV=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:D0(n,!0),values:null};class ji{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Um(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&Gr(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,s=this.getDataset(),i=(d,f,g,_)=>d==="x"?f:d==="r"?_:g,o=n.xAxisID=qe(s.xAxisID,id(e,"x")),r=n.yAxisID=qe(s.yAxisID,id(e,"y")),a=n.rAxisID=qe(s.rAxisID,id(e,"r")),l=n.indexAxis,c=n.iAxisID=i(l,o,r,a),u=n.vAxisID=i(l,r,o,a);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(r),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Mm(this._data,this),e._stacked&&Gr(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),s=this._data;if(st(n))this._data=eV(n);else if(s!==n){if(s){Mm(s,this);const i=this._cachedMeta;Gr(i),i._parsed=[]}n&&Object.isExtensible(n)&&KB(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,s=this.getDataset();let i=!1;this._dataCheck();const o=n._stacked;n._stacked=Um(n.vScale,n),n.stack!==s.stack&&(i=!0,Gr(n),n.stack=s.stack),this._resyncElements(e),(i||o!==n._stacked)&&Gm(this,n._parsed)}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),s=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:s,_data:i}=this,{iScale:o,_stacked:r}=s,a=o.axis;let l=e===0&&n===i.length?!0:s._sorted,c=e>0&&s._parsed[e-1],u,d,f;if(this._parsing===!1)s._parsed=i,s._sorted=!0,f=i;else{yt(i[e])?f=this.parseArrayData(s,i,e,n):st(i[e])?f=this.parseObjectData(s,i,e,n):f=this.parsePrimitiveData(s,i,e,n);const g=()=>d[a]===null||c&&d[a]m||d=0;--f)if(!_()){this.updateRangeFromParsed(c,e,g,l);break}}return c}getAllParsedValues(e){const n=this._cachedMeta._parsed,s=[];let i,o,r;for(i=0,o=n.length;i=0&&ethis.getContext(s,i,n),m=c.resolveNamedOptions(f,g,_,d);return m.$shared&&(m.$shared=l,o[r]=Object.freeze(Jm(m,l))),m}_resolveAnimations(e,n,s){const i=this.chart,o=this._cachedDataOpts,r=`animation-${n}`,a=o[r];if(a)return a;let l;if(i.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),d);l=u.createResolver(f,this.getContext(e,s,n))}const c=new M0(i,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||od(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const s=this.resolveDataElementOptions(e,n),i=this._sharedOptions,o=this.getSharedOptions(s),r=this.includeOptions(n,o)||o!==i;return this.updateSharedOptions(o,n,s),{sharedOptions:o,includeOptions:r}}updateElement(e,n,s,i){od(i)?Object.assign(e,s):this._resolveAnimations(n,i).update(e,s)}updateSharedOptions(e,n,s){e&&!od(n)&&this._resolveAnimations(void 0,n).update(e,s)}_setStyle(e,n,s,i){e.active=i;const o=this.getStyle(n,i);this._resolveAnimations(n,s,i).update(e,{options:!i&&this.getSharedOptions(o)||o})}removeHoverStyle(e,n,s){this._setStyle(e,s,"active",!1)}setHoverStyle(e,n,s){this._setStyle(e,s,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,s=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const i=s.length,o=n.length,r=Math.min(o,i);r&&this.parse(0,r),o>i?this._insertElements(i,o-i,e):o{for(c.length+=n,a=c.length-1;a>=r;a--)c[a]=c[a-n]};for(l(o),a=e;ai-o))}return t._cache.$bar}function lV(t){const e=t.iScale,n=aV(e,t.type);let s=e._length,i,o,r,a;const l=()=>{r===32767||r===-32768||(Fa(a)&&(s=Math.min(s,Math.abs(r-a)||s)),a=r)};for(i=0,o=n.length;i0?i[t-1]:null,a=tMath.abs(a)&&(l=a,c=r),e[n.axis]=c,e._custom={barStart:l,barEnd:c,start:i,end:o,min:r,max:a}}function O0(t,e,n,s){return yt(t)?dV(t,e,n,s):e[n.axis]=n.parse(t,s),e}function Xm(t,e,n,s){const i=t.iScale,o=t.vScale,r=i.getLabels(),a=i===o,l=[];let c,u,d,f;for(c=n,u=n+s;c=n?1:-1)}function fV(t){let e,n,s,i,o;return t.horizontal?(e=t.base>t.x,n="left",s="right"):(e=t.basel.controller.options.grouped),o=s.options.stacked,r=[],a=l=>{const c=l.controller.getParsed(n),u=c&&c[l.vScale.axis];if(ot(u)||isNaN(u))return!0};for(const l of i)if(!(n!==void 0&&a(l))&&((o===!1||r.indexOf(l.stack)===-1||o===void 0&&l.stack===void 0)&&r.push(l.stack),l.index===e))break;return r.length||r.push(void 0),r}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,n,s){const i=this._getStacks(e,s),o=n!==void 0?i.indexOf(n):-1;return o===-1?i.length-1:o}_getRuler(){const e=this.options,n=this._cachedMeta,s=n.iScale,i=[];let o,r;for(o=0,r=n.data.length;o=0;--s)n=Math.max(n,e[s].size(this.resolveDataElementOptions(s))/2);return n>0&&n}getLabelAndValue(e){const n=this._cachedMeta,s=this.chart.data.labels||[],{xScale:i,yScale:o}=n,r=this.getParsed(e),a=i.getLabelForValue(r.x),l=o.getLabelForValue(r.y),c=r._custom;return{label:s[e]||"",value:"("+a+", "+l+(c?", "+c:"")+")"}}update(e){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,e)}updateElements(e,n,s,i){const o=i==="reset",{iScale:r,vScale:a}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(n,i),u=r.axis,d=a.axis;for(let f=n;fBa(A,a,l,!0)?1:Math.max(D,D*n,x,x*n),_=(A,D,x)=>Ba(A,a,l,!0)?-1:Math.min(D,D*n,x,x*n),m=g(0,c,d),y=g(Nt,u,f),v=_(xt,c,d),$=_(xt+Nt,u,f);s=(m-v)/2,i=(y-$)/2,o=-(m+v)/2,r=-(y+$)/2}return{ratioX:s,ratioY:i,offsetX:o,offsetY:r}}class L0 extends ji{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:s,color:i}}=e.legend.options;return n.labels.map((o,r)=>{const l=e.getDatasetMeta(0).controller.getStyle(r);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:s,hidden:!e.getDataVisibility(r),index:r}})}return[]}},onClick(e,n,s){s.chart.toggleDataVisibility(n.index),s.chart.update()}}}};constructor(e,n){super(e,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,n){const s=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=s;else{let o=l=>+s[l];if(st(s[e])){const{key:l="value"}=this._parsing;o=c=>+Di(s[c],l)}let r,a;for(r=e,a=e+n;r0&&!isNaN(e)?wt*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,s=this.chart,i=s.data.labels||[],o=el(n._parsed[e],s.options.locale);return{label:i[e]||"",value:o}}getMaxBorderWidth(e){let n=0;const s=this.chart;let i,o,r,a,l;if(!e){for(i=0,o=s.data.datasets.length;i0&&this.getParsed(n-1);for(let x=0;x=$){S.skip=!0;continue}const T=this.getParsed(x),M=ot(T[g]),E=S[f]=r.getPixelForValue(T[f],x),V=S[g]=o||M?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,T,l):T[g],x);S.skip=isNaN(E)||isNaN(V)||M,S.stop=x>0&&Math.abs(T[f]-D[f])>y,m&&(S.parsed=T,S.raw=c.data[x]),d&&(S.options=u||this.resolveDataElementOptions(x,w.active?"active":i)),v||this.updateElement(w,x,S,i),D=T}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,s=n.options&&n.options.borderWidth||0,i=e.data||[];if(!i.length)return s;const o=i[0].size(this.resolveDataElementOptions(0)),r=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(s,o,r)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}class vV extends ji{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:s,color:i}}=e.legend.options;return n.labels.map((o,r)=>{const l=e.getDatasetMeta(0).controller.getStyle(r);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:s,hidden:!e.getDataVisibility(r),index:r}})}return[]}},onClick(e,n,s){s.chart.toggleDataVisibility(n.index),s.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,n){super(e,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const n=this._cachedMeta,s=this.chart,i=s.data.labels||[],o=el(n._parsed[e].r,s.options.locale);return{label:i[e]||"",value:o}}parseObjectData(e,n,s,i){return S0.bind(this)(e,n,s,i)}update(e){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,e)}getMinMax(){const e=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach((s,i)=>{const o=this.getParsed(i).r;!isNaN(o)&&this.chart.getDataVisibility(i)&&(on.max&&(n.max=o))}),n}_updateRadius(){const e=this.chart,n=e.chartArea,s=e.options,i=Math.min(n.right-n.left,n.bottom-n.top),o=Math.max(i/2,0),r=Math.max(s.cutoutPercentage?o/100*s.cutoutPercentage:1,0),a=(o-r)/e.getVisibleDatasetCount();this.outerRadius=o-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,n,s,i){const o=i==="reset",r=this.chart,l=r.options.animation,c=this._cachedMeta.rScale,u=c.xCenter,d=c.yCenter,f=c.getIndexAngle(0)-.5*xt;let g=f,_;const m=360/this.countVisibleElements();for(_=0;_{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&n++}),n}_computeAngle(e,n,s){return this.chart.getDataVisibility(e)?rs(this.resolveDataElementOptions(e,n).angle||s):0}}class yV extends L0{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}class wV extends ji{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(e){const n=this._cachedMeta.vScale,s=this.getParsed(e);return{label:n.getLabels()[e],value:""+n.getLabelForValue(s[n.axis])}}parseObjectData(e,n,s,i){return S0.bind(this)(e,n,s,i)}update(e){const n=this._cachedMeta,s=n.dataset,i=n.data||[],o=n.iScale.getLabels();if(s.points=i,e!=="resize"){const r=this.resolveDatasetElementOptions(e);this.options.showLine||(r.borderWidth=0);const a={_loop:!0,_fullLoop:o.length===i.length,options:r};this.updateElement(s,void 0,a,e)}this.updateElements(i,0,i.length,e)}updateElements(e,n,s,i){const o=this._cachedMeta.rScale,r=i==="reset";for(let a=n;a0&&this.getParsed(n-1);for(let D=n;D0&&Math.abs(w[g]-A[g])>v,y&&(S.parsed=w,S.raw=c.data[D]),f&&(S.options=d||this.resolveDataElementOptions(D,x.active?"active":i)),$||this.updateElement(x,D,S,i),A=w}this.updateSharedOptions(d,i,u)}getMaxOverflow(){const e=this._cachedMeta,n=e.data||[];if(!this.options.showLine){let a=0;for(let l=n.length-1;l>=0;--l)a=Math.max(a,n[l].size(this.resolveDataElementOptions(l))/2);return a>0&&a}const s=e.dataset,i=s.options&&s.options.borderWidth||0;if(!n.length)return i;const o=n[0].size(this.resolveDataElementOptions(0)),r=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(i,o,r)/2}}function io(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Ff{static override(e){Object.assign(Ff.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return io()}parse(){return io()}format(){return io()}add(){return io()}diff(){return io()}startOf(){return io()}endOf(){return io()}}var kV={_date:Ff};function SV(t,e,n,s){const{controller:i,data:o,_sorted:r}=t,a=i._cachedMeta.iScale;if(a&&e===a.axis&&e!=="r"&&r&&o.length){const l=a._reversePixels?WB:Us;if(s){if(i._sharedOptions){const c=o[0],u=typeof c.getRange=="function"&&c.getRange(e);if(u){const d=l(o,e,n-u),f=l(o,e,n+u);return{lo:d.lo,hi:f.hi}}}}else return l(o,e,n)}return{lo:0,hi:o.length-1}}function tl(t,e,n,s,i){const o=t.getSortedVisibleDatasetMetas(),r=n[e];for(let a=0,l=o.length;a{l[r](e[n],i)&&(o.push({element:l,datasetIndex:c,index:u}),a=a||l.inRange(e.x,e.y,i))}),s&&!a?[]:o}var EV={evaluateInteractionItems:tl,modes:{index(t,e,n,s){const i=lo(e,t),o=n.axis||"x",r=n.includeInvisible||!1,a=n.intersect?ad(t,i,o,s,r):ld(t,i,o,!1,s,r),l=[];return a.length?(t.getSortedVisibleDatasetMetas().forEach(c=>{const u=a[0].index,d=c.data[u];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:u})}),l):[]},dataset(t,e,n,s){const i=lo(e,t),o=n.axis||"xy",r=n.includeInvisible||!1;let a=n.intersect?ad(t,i,o,s,r):ld(t,i,o,!1,s,r);if(a.length>0){const l=a[0].datasetIndex,c=t.getDatasetMeta(l).data;a=[];for(let u=0;un.pos===e)}function t_(t,e){return t.filter(n=>N0.indexOf(n.pos)===-1&&n.box.axis===e)}function Xr(t,e){return t.sort((n,s)=>{const i=e?s:n,o=e?n:s;return i.weight===o.weight?i.index-o.index:i.weight-o.weight})}function TV(t){const e=[];let n,s,i,o,r,a;for(n=0,s=(t||[]).length;nc.box.fullSize),!0),s=Xr(Jr(e,"left"),!0),i=Xr(Jr(e,"right")),o=Xr(Jr(e,"top"),!0),r=Xr(Jr(e,"bottom")),a=t_(e,"x"),l=t_(e,"y");return{fullSize:n,leftAndTop:s.concat(o),rightAndBottom:i.concat(l).concat(r).concat(a),chartArea:Jr(e,"chartArea"),vertical:s.concat(i).concat(l),horizontal:o.concat(r).concat(a)}}function n_(t,e,n,s){return Math.max(t[n],e[n])+Math.max(t[s],e[s])}function F0(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function OV(t,e,n,s){const{pos:i,box:o}=n,r=t.maxPadding;if(!st(i)){n.size&&(t[i]-=n.size);const d=s[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?o.height:o.width),n.size=d.size/d.count,t[i]+=n.size}o.getPadding&&F0(r,o.getPadding());const a=Math.max(0,e.outerWidth-n_(r,t,"left","right")),l=Math.max(0,e.outerHeight-n_(r,t,"top","bottom")),c=a!==t.w,u=l!==t.h;return t.w=a,t.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function IV(t){const e=t.maxPadding;function n(s){const i=Math.max(e[s]-t[s],0);return t[s]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function LV(t,e){const n=e.maxPadding;function s(i){const o={left:0,top:0,right:0,bottom:0};return i.forEach(r=>{o[r]=Math.max(e[r],n[r])}),o}return s(t?["left","right"]:["top","bottom"])}function ia(t,e,n,s){const i=[];let o,r,a,l,c,u;for(o=0,r=t.length,c=0;o{typeof m.beforeLayout=="function"&&m.beforeLayout()});const u=l.reduce((m,y)=>y.box.options&&y.box.options.display===!1?m:m+1,0)||1,d=Object.freeze({outerWidth:e,outerHeight:n,padding:i,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/u,hBoxMaxHeight:r/2}),f=Object.assign({},i);F0(f,fn(s));const g=Object.assign({maxPadding:f,w:o,h:r,x:i.left,y:i.top},i),_=MV(l.concat(c),d);ia(a.fullSize,g,d,_),ia(l,g,d,_),ia(c,g,d,_)&&ia(l,g,d,_),IV(g),s_(a.leftAndTop,g,d,_),g.x+=g.w,g.y+=g.h,s_(a.rightAndBottom,g,d,_),t.chartArea={left:g.left,top:g.top,right:g.left+g.w,bottom:g.top+g.h,height:g.h,width:g.w},ut(a.chartArea,m=>{const y=m.box;Object.assign(y,t.chartArea),y.update(g.w,g.h,{left:0,top:0,right:0,bottom:0})})}};class B0{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,s){}removeEventListener(e,n,s){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,s,i){return n=Math.max(0,n||e.width),s=s||e.height,{width:n,height:Math.max(0,i?Math.floor(n/i):s)}}isAttached(e){return!0}updateConfig(e){}}class RV extends B0{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const ec="$chartjs",NV={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},i_=t=>t===null||t==="";function FV(t,e){const n=t.style,s=t.getAttribute("height"),i=t.getAttribute("width");if(t[ec]={initial:{height:s,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",i_(i)){const o=Vm(t,"width");o!==void 0&&(t.width=o)}if(i_(s))if(t.style.height==="")t.height=t.width/(e||2);else{const o=Vm(t,"height");o!==void 0&&(t.height=o)}return t}const V0=R4?{passive:!0}:!1;function BV(t,e,n){t.addEventListener(e,n,V0)}function VV(t,e,n){t.canvas.removeEventListener(e,n,V0)}function HV(t,e){const n=NV[t.type]||t.type,{x:s,y:i}=lo(t,e);return{type:n,chart:e,native:t,x:s!==void 0?s:null,y:i!==void 0?i:null}}function yc(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function jV(t,e,n){const s=t.canvas,i=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||yc(a.addedNodes,s),r=r&&!yc(a.removedNodes,s);r&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function WV(t,e,n){const s=t.canvas,i=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||yc(a.removedNodes,s),r=r&&!yc(a.addedNodes,s);r&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const Ha=new Map;let o_=0;function H0(){const t=window.devicePixelRatio;t!==o_&&(o_=t,Ha.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function zV(t,e){Ha.size||window.addEventListener("resize",H0),Ha.set(t,e)}function KV(t){Ha.delete(t),Ha.size||window.removeEventListener("resize",H0)}function YV(t,e,n){const s=t.canvas,i=s&&Nf(s);if(!i)return;const o=p0((a,l)=>{const c=i.clientWidth;n(a,l),c{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||o(c,u)});return r.observe(i),zV(t,o),r}function cd(t,e,n){n&&n.disconnect(),e==="resize"&&KV(t)}function UV(t,e,n){const s=t.canvas,i=p0(o=>{t.ctx!==null&&n(HV(o,t))},t);return BV(s,e,i),i}class qV extends B0{acquireContext(e,n){const s=e&&e.getContext&&e.getContext("2d");return s&&s.canvas===e?(FV(e,n),s):null}releaseContext(e){const n=e.canvas;if(!n[ec])return!1;const s=n[ec].initial;["height","width"].forEach(o=>{const r=s[o];ot(r)?n.removeAttribute(o):n.setAttribute(o,r)});const i=s.style||{};return Object.keys(i).forEach(o=>{n.style[o]=i[o]}),n.width=n.width,delete n[ec],!0}addEventListener(e,n,s){this.removeEventListener(e,n);const i=e.$proxies||(e.$proxies={}),r={attach:jV,detach:WV,resize:YV}[n]||UV;i[n]=r(e,n,s)}removeEventListener(e,n){const s=e.$proxies||(e.$proxies={}),i=s[n];if(!i)return;({attach:cd,detach:cd,resize:cd}[n]||VV)(e,n,i),s[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,s,i){return L4(e,n,s,i)}isAttached(e){const n=Nf(e);return!!(n&&n.isConnected)}}function GV(t){return!Rf()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?RV:qV}let ti=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:n,y:s}=this.getProps(["x","y"],e);return{x:n,y:s}}hasValue(){return kr(this.x)&&kr(this.y)}getProps(e,n){const s=this.$animations;if(!n||!s)return this;const i={};return e.forEach(o=>{i[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),i}};function JV(t,e){const n=t.options.ticks,s=XV(t),i=Math.min(n.maxTicksLimit||s,s),o=n.major.enabled?ZV(e):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>i)return e6(e,c,o,r/i),c;const u=QV(o,e,i);if(r>0){let d,f;const g=r>1?Math.round((l-a)/(r-1)):null;for(Rl(e,c,u,ot(g)?0:a-g,a),d=0,f=r-1;di)return l}return Math.max(i,1)}function ZV(t){const e=[];let n,s;for(n=0,s=t.length;nt==="left"?"right":t==="right"?"left":t,r_=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,a_=(t,e)=>Math.min(e||t,t);function l_(t,e){const n=[],s=t.length/e,i=t.length;let o=0;for(;or+a)))return l}function i6(t,e){ut(t,n=>{const s=n.gc,i=s.length/2;let o;if(i>e){for(o=0;os?s:n,s=i&&n>s?n:s,{min:Mn(n,Mn(s,n)),max:Mn(s,Mn(n,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){gt(this.options.beforeUpdate,[this])}update(e,n,s){const{beginAtZero:i,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=f4(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||s<=1||!this.isHorizontal()){this.labelRotation=i;return}const u=this._getLabelSizes(),d=u.widest.width,f=u.highest.height,g=tn(this.chart.width-d,0,this.maxWidth);a=e.offset?this.maxWidth/s:g/(s-1),d+6>a&&(a=g/(s-(e.offset?.5:1)),l=this.maxHeight-Qr(e.grid)-n.padding-c_(e.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),r=Ef(Math.min(Math.asin(tn((u.highest.height+6)/a,-1,1)),Math.asin(tn(l/c,-1,1))-Math.asin(tn(f/c,-1,1)))),r=Math.max(i,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){gt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){gt(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:s,title:i,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){const l=c_(i,n.options.font);if(a?(e.width=this.maxWidth,e.height=Qr(o)+l):(e.height=this.maxHeight,e.width=Qr(o)+l),s.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:f}=this._getLabelSizes(),g=s.padding*2,_=rs(this.labelRotation),m=Math.cos(_),y=Math.sin(_);if(a){const v=s.mirror?0:y*d.width+m*f.height;e.height=Math.min(this.maxHeight,e.height+v+g)}else{const v=s.mirror?0:m*d.width+y*f.height;e.width=Math.min(this.maxWidth,e.width+v+g)}this._calculatePadding(c,u,y,m)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,s,i){const{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,g=0;l?c?(f=i*e.width,g=s*n.height):(f=s*e.height,g=i*n.width):o==="start"?g=n.width:o==="end"?f=e.width:o!=="inner"&&(f=e.width/2,g=n.width/2),this.paddingLeft=Math.max((f-u+r)*this.width/(this.width-u),0),this.paddingRight=Math.max((g-d+r)*this.width/(this.width-d),0)}else{let u=n.height/2,d=e.height/2;o==="start"?(u=0,d=e.height):o==="end"&&(u=n.height,d=0),this.paddingTop=u+r,this.paddingBottom=d+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){gt(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,s;for(n=0,s=e.length;n({width:r[M]||0,height:a[M]||0});return{first:T(0),last:T(n-1),widest:T(w),highest:T(S),widths:r,heights:a}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return jB(this._alignToPixels?so(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&ea*i?a/s:l/i:l*i0}_computeGridLineItems(e){const n=this.axis,s=this.chart,i=this.options,{grid:o,position:r,border:a}=i,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),f=Qr(o),g=[],_=a.setContext(this.getContext()),m=_.display?_.width:0,y=m/2,v=function(I){return so(s,I,m)};let $,A,D,x,w,S,T,M,E,V,X,le;if(r==="top")$=v(this.bottom),S=this.bottom-f,M=$-y,V=v(e.top)+y,le=e.bottom;else if(r==="bottom")$=v(this.top),V=e.top,le=v(e.bottom)-y,S=$+y,M=this.top+f;else if(r==="left")$=v(this.right),w=this.right-f,T=$-y,E=v(e.left)+y,X=e.right;else if(r==="right")$=v(this.left),E=e.left,X=v(e.right)-y,w=$+y,T=this.left+f;else if(n==="x"){if(r==="center")$=v((e.top+e.bottom)/2+.5);else if(st(r)){const I=Object.keys(r)[0],H=r[I];$=v(this.chart.scales[I].getPixelForValue(H))}V=e.top,le=e.bottom,S=$+y,M=S+f}else if(n==="y"){if(r==="center")$=v((e.left+e.right)/2);else if(st(r)){const I=Object.keys(r)[0],H=r[I];$=v(this.chart.scales[I].getPixelForValue(H))}w=$-y,T=w-f,E=e.left,X=e.right}const Y=qe(i.ticks.maxTicksLimit,d),R=Math.max(1,Math.ceil(d/Y));for(A=0;A0&&(ae-=L/2);break}ve={left:ae,top:te,width:L+U.width,height:Q+U.height,color:R.backdropColor}}y.push({label:D,font:M,textOffset:X,options:{rotation:m,color:H,strokeColor:Z,strokeWidth:ee,textAlign:ce,textBaseline:le,translation:[x,w],backdrop:ve}})}return y}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-rs(this.labelRotation))return e==="top"?"left":"right";let i="center";return n.align==="start"?i="left":n.align==="end"?i="right":n.align==="inner"&&(i="inner"),i}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:s,mirror:i,padding:o}}=this.options,r=this._getLabelSizes(),a=e+o,l=r.widest.width;let c,u;return n==="left"?i?(u=this.right+o,s==="near"?c="left":s==="center"?(c="center",u+=l/2):(c="right",u+=l)):(u=this.right-a,s==="near"?c="right":s==="center"?(c="center",u-=l/2):(c="left",u=this.left)):n==="right"?i?(u=this.left+o,s==="near"?c="right":s==="center"?(c="center",u-=l/2):(c="left",u-=l)):(u=this.left+a,s==="near"?c="left":s==="center"?(c="center",u+=l/2):(c="right",u=this.right)):c="right",{textAlign:c,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:s,top:i,width:o,height:r}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(s,i,o,r),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const i=this.ticks.findIndex(o=>o.value===e);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(e){const n=this.options.grid,s=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let o,r;const a=(l,c,u)=>{!u.width||!u.color||(s.save(),s.lineWidth=u.width,s.strokeStyle=u.color,s.setLineDash(u.borderDash||[]),s.lineDashOffset=u.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(n.display)for(o=0,r=i.length;o{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",i=[];let o,r;for(o=0,r=n.length;o{const s=n.split("."),i=s.pop(),o=[t].concat(s).join("."),r=e[n].split("."),a=r.pop(),l=r.join(".");Pt.route(o,i,l,a)})}function d6(t){return"id"in t&&"defaults"in t}class h6{constructor(){this.controllers=new Nl(ji,"datasets",!0),this.elements=new Nl(ti,"elements"),this.plugins=new Nl(Object,"plugins"),this.scales=new Nl(Oo,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,s){[...n].forEach(i=>{const o=s||this._getRegistryForType(i);s||o.isForType(i)||o===this.plugins&&i.id?this._exec(e,o,i):ut(i,r=>{const a=s||this._getRegistryForType(r);this._exec(e,a,r)})})}_exec(e,n,s){const i=Cf(e);gt(s["before"+i],[],s),n[e](s),gt(s["after"+i],[],s)}_getRegistryForType(e){for(let n=0;no.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(i(n,s),e,"stop"),this._notify(i(s,n),e,"start")}}function p6(t){const e={},n=[],s=Object.keys(ms.plugins.items);for(let o=0;o1&&u_(t[0].toLowerCase());if(s)return s}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function d_(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function w6(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(s=>s.xAxisID===t||s.yAxisID===t);if(n.length)return d_(t,"x",n[0])||d_(t,"y",n[0])}return{}}function x6(t,e){const n=Ao[t.type]||{scales:{}},s=e.scales||{},i=Xd(t.type,e),o=Object.create(null);return Object.keys(s).forEach(r=>{const a=s[r];if(!st(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);const l=Qd(r,a,w6(r,t),Pt.scales[a.type]),c=v6(l,i),u=n.scales||{};o[r]=ba(Object.create(null),[{axis:l},a,u[l],u[c]])}),t.data.datasets.forEach(r=>{const a=r.type||t.type,l=r.indexAxis||Xd(a,e),u=(Ao[a]||{}).scales||{};Object.keys(u).forEach(d=>{const f=b6(d,l),g=r[f+"AxisID"]||f;o[g]=o[g]||Object.create(null),ba(o[g],[{axis:f},s[g],u[d]])})}),Object.keys(o).forEach(r=>{const a=o[r];ba(a,[Pt.scales[a.type],Pt.scale])}),o}function j0(t){const e=t.options||(t.options={});e.plugins=qe(e.plugins,{}),e.scales=x6(t,e)}function W0(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function k6(t){return t=t||{},t.data=W0(t.data),j0(t),t}const h_=new Map,z0=new Set;function Fl(t,e){let n=h_.get(t);return n||(n=e(),h_.set(t,n),z0.add(n)),n}const Zr=(t,e,n)=>{const s=Di(e,n);s!==void 0&&t.add(s)};let S6=class{constructor(e){this._config=k6(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=W0(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),j0(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Fl(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return Fl(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return Fl(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,s=this.type;return Fl(`${s}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const s=this._scopeCache;let i=s.get(e);return(!i||n)&&(i=new Map,s.set(e,i)),i}getOptionScopes(e,n,s){const{options:i,type:o}=this,r=this._cachedScopes(e,s),a=r.get(n);if(a)return a;const l=new Set;n.forEach(u=>{e&&(l.add(e),u.forEach(d=>Zr(l,e,d))),u.forEach(d=>Zr(l,i,d)),u.forEach(d=>Zr(l,Ao[o]||{},d)),u.forEach(d=>Zr(l,Pt,d)),u.forEach(d=>Zr(l,Gd,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),z0.has(n)&&r.set(n,c),c}chartOptionScopes(){const{options:e,type:n}=this;return[e,Ao[n]||{},Pt.datasets[n]||{},{type:n},Pt,Gd]}resolveNamedOptions(e,n,s,i=[""]){const o={$shared:!0},{resolver:r,subPrefixes:a}=f_(this._resolverCache,e,i);let l=r;if(A6(r,n)){o.$shared=!1,s=Oi(s)?s():s;const c=this.createResolver(e,s,a);l=Sr(r,s,c)}for(const c of n)o[c]=l[c];return o}createResolver(e,n,s=[""],i){const{resolver:o}=f_(this._resolverCache,e,s);return st(n)?Sr(o,n,void 0,i):o}};function f_(t,e,n){let s=t.get(e);s||(s=new Map,t.set(e,s));const i=n.join();let o=s.get(i);return o||(o={resolver:Of(e,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},s.set(i,o)),o}const $6=t=>st(t)&&Object.getOwnPropertyNames(t).some(e=>Oi(t[e]));function A6(t,e){const{isScriptable:n,isIndexable:s}=y0(t);for(const i of e){const o=n(i),r=s(i),a=(r||o)&&t[i];if(o&&(Oi(a)||$6(a))||r&&yt(a))return!0}return!1}var C6="4.4.1";const E6=["top","bottom","left","right","chartArea"];function p_(t,e){return t==="top"||t==="bottom"||E6.indexOf(t)===-1&&e==="x"}function g_(t,e){return function(n,s){return n[t]===s[t]?n[e]-s[e]:n[t]-s[t]}}function m_(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),gt(n&&n.onComplete,[t],e)}function T6(t){const e=t.chart,n=e.options.animation;gt(n&&n.onProgress,[t],e)}function K0(t){return Rf()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const tc={},__=t=>{const e=K0(t);return Object.values(tc).filter(n=>n.canvas===e).pop()};function P6(t,e,n){const s=Object.keys(t);for(const i of s){const o=+i;if(o>=e){const r=t[i];delete t[i],(n>0||o>e)&&(t[o+n]=r)}}}function M6(t,e,n,s){return!n||t.type==="mouseout"?null:s?e:t}function Bl(t,e,n){return t.options.clip?t[n]:e[n]}function D6(t,e){const{xScale:n,yScale:s}=t;return n&&s?{left:Bl(n,e,"left"),right:Bl(n,e,"right"),top:Bl(s,e,"top"),bottom:Bl(s,e,"bottom")}:e}let su=class{static defaults=Pt;static instances=tc;static overrides=Ao;static registry=ms;static version=C6;static getChart=__;static register(...e){ms.add(...e),b_()}static unregister(...e){ms.remove(...e),b_()}constructor(e,n){const s=this.config=new S6(n),i=K0(e),o=__(i);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const r=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||GV(i)),this.platform.updateConfig(s);const a=this.platform.acquireContext(i,r.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=PB(),this.ctx=a,this.canvas=l,this.width=u,this.height=c,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new f6,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=YB(d=>this.update(d),r.resizeDelay||0),this._dataChanges=[],tc[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Bs.listen(this,"complete",m_),Bs.listen(this,"progress",T6),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:s,height:i,_aspectRatio:o}=this;return ot(e)?n&&o?o:i?s/i:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return ms}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Bm(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Rm(this.canvas,this.ctx),this}stop(){return Bs.stop(this),this}resize(e,n){Bs.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const s=this.options,i=this.canvas,o=s.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(i,e,n,o),a=s.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,Bm(this,a,!0)&&(this.notifyPlugins("resize",{size:r}),gt(s.onResize,[this,r],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};ut(n,(s,i)=>{s.id=i})}buildOrUpdateScales(){const e=this.options,n=e.scales,s=this.scales,i=Object.keys(s).reduce((r,a)=>(r[a]=!1,r),{});let o=[];n&&(o=o.concat(Object.keys(n).map(r=>{const a=n[r],l=Qd(r,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),ut(o,r=>{const a=r.options,l=a.id,c=Qd(l,a),u=qe(a.type,r.dtype);(a.position===void 0||p_(a.position,c)!==p_(r.dposition))&&(a.position=r.dposition),i[l]=!0;let d=null;if(l in s&&s[l].type===u)d=s[l];else{const f=ms.getScale(u);d=new f({id:l,type:u,ctx:this.ctx,chart:this}),s[d.id]=d}d.init(a,e)}),ut(i,(r,a)=>{r||delete s[a]}),ut(s,r=>{qn.configure(this,r,r.options),qn.addBox(this,r)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,s=e.length;if(e.sort((i,o)=>i.index-o.index),s>n){for(let i=n;in.length&&delete this._stacks,e.forEach((s,i)=>{n.filter(o=>o===s._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let s,i;for(this._removeUnreferencedMetasets(),s=0,i=n.length;s{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const s=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let r=0;for(let c=0,u=this.data.datasets.length;c{c.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(g_("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){ut(this.scales,e=>{qn.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),s=new Set(e.events);(!Cm(n,s)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:s,start:i,count:o}of n){const r=s==="_removeElements"?-o:o;P6(e,i,r)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,s=o=>new Set(e.filter(r=>r[0]===o).map((r,a)=>a+","+r.splice(1).join(","))),i=s(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;qn.update(this,this.width,this.height,e);const n=this.chartArea,s=n.width<=0||n.height<=0;this._layers=[],ut(this.boxes,i=>{s&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,o)=>{i._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,s=this.data.datasets.length;n=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,s=e._clip,i=!s.disabled,o=D6(e,this.chartArea),r={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(i&&eu(n,{left:s.left===!1?0:o.left-s.left,right:s.right===!1?this.width:o.right+s.right,top:s.top===!1?0:o.top-s.top,bottom:s.bottom===!1?this.height:o.bottom+s.bottom}),e.controller.draw(),i&&tu(n),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(e){return qs(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,s,i){const o=EV.modes[n];return typeof o=="function"?o(this,e,s,i):[]}getDatasetMeta(e){const n=this.data.datasets[e],s=this._metasets;let i=s.filter(o=>o&&o._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},s.push(i)),i}getContext(){return this.$context||(this.$context=Hi(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const s=this.getDatasetMeta(e);return typeof s.hidden=="boolean"?!s.hidden:!n.hidden}setDatasetVisibility(e,n){const s=this.getDatasetMeta(e);s.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,s){const i=s?"show":"hide",o=this.getDatasetMeta(e),r=o.controller._resolveAnimations(void 0,i);Fa(n)?(o.data[n].hidden=!s,this.update()):(this.setDatasetVisibility(e,s),r.update(o,{visible:s}),this.update(a=>a.datasetIndex===e?i:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),Bs.remove(this),e=0,n=this.data.datasets.length;e{n.addEventListener(this,o,r),e[o]=r},i=(o,r,a)=>{o.offsetX=r,o.offsetY=a,this._eventHandler(o)};ut(this.options.events,o=>s(o,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,s=(l,c)=>{n.addEventListener(this,l,c),e[l]=c},i=(l,c)=>{e[l]&&(n.removeEventListener(this,l,c),delete e[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let r;const a=()=>{i("attach",a),this.attached=!0,this.resize(),s("resize",o),s("detach",r)};r=()=>{this.attached=!1,i("resize",o),this._stop(),this._resize(0,0),s("attach",a)},n.isAttached(this.canvas)?a():r()}unbindEvents(){ut(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},ut(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,s){const i=s?"set":"remove";let o,r,a,l;for(n==="dataset"&&(o=this.getDatasetMeta(e[0].datasetIndex),o.controller["_"+i+"DatasetHoverStyle"]()),a=0,l=e.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[r],index:r}});!gc(s,n)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,n))}notifyPlugins(e,n,s){return this._plugins.notify(this,e,n,s)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,s){const i=this.options.hover,o=(l,c)=>l.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),r=o(n,e),a=s?e:o(e,n);r.length&&this.updateHoverStyle(r,i.mode,!1),a.length&&i.mode&&this.updateHoverStyle(a,i.mode,!0)}_eventHandler(e,n){const s={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},i=r=>(r.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",s,i)===!1)return;const o=this._handleEvent(e,n,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,i),(o||s.changed)&&this.render(),this}_handleEvent(e,n,s){const{_active:i=[],options:o}=this,r=n,a=this._getActiveElements(e,i,s,r),l=RB(e),c=M6(e,this._lastEvent,s,l);s&&(this._lastEvent=null,gt(o.onHover,[e,a,this],this),l&>(o.onClick,[e,a,this],this));const u=!gc(a,i);return(u||n)&&(this._active=a,this._updateHoverStyles(a,i,n)),this._lastEvent=c,u}_getActiveElements(e,n,s,i){if(e.type==="mouseout")return[];if(!s)return n;const o=this.options.hover;return this.getElementsAtEventForMode(e,o.mode,o,i)}};function b_(){return ut(su.instances,t=>t._plugins.invalidate())}function O6(t,e,n){const{startAngle:s,pixelMargin:i,x:o,y:r,outerRadius:a,innerRadius:l}=e;let c=i/a;t.beginPath(),t.arc(o,r,a,s-c,n+c),l>i?(c=i/l,t.arc(o,r,l,n+c,s-c,!0)):t.arc(o,r,i,n+Nt,s-Nt),t.closePath(),t.clip()}function I6(t){return Df(t,["outerStart","outerEnd","innerStart","innerEnd"])}function L6(t,e,n,s){const i=I6(t.options.borderRadius),o=(n-e)/2,r=Math.min(o,s*e/2),a=l=>{const c=(n-Math.min(o,l))*s/2;return tn(l,0,Math.min(o,c))};return{outerStart:a(i.outerStart),outerEnd:a(i.outerEnd),innerStart:tn(i.innerStart,0,r),innerEnd:tn(i.innerEnd,0,r)}}function qo(t,e,n,s){return{x:n+t*Math.cos(e),y:s+t*Math.sin(e)}}function wc(t,e,n,s,i,o){const{x:r,y:a,startAngle:l,pixelMargin:c,innerRadius:u}=e,d=Math.max(e.outerRadius+s+n-c,0),f=u>0?u+s+n+c:0;let g=0;const _=i-l;if(s){const R=u>0?u-s:0,I=d>0?d-s:0,H=(R+I)/2,Z=H!==0?_*H/(H+s):_;g=(_-Z)/2}const m=Math.max(.001,_*d-n/xt)/d,y=(_-m)/2,v=l+y+g,$=i-y-g,{outerStart:A,outerEnd:D,innerStart:x,innerEnd:w}=L6(e,f,d,$-v),S=d-A,T=d-D,M=v+A/S,E=$-D/T,V=f+x,X=f+w,le=v+x/V,Y=$-w/X;if(t.beginPath(),o){const R=(M+E)/2;if(t.arc(r,a,d,M,R),t.arc(r,a,d,R,E),D>0){const ee=qo(T,E,r,a);t.arc(ee.x,ee.y,D,E,$+Nt)}const I=qo(X,$,r,a);if(t.lineTo(I.x,I.y),w>0){const ee=qo(X,Y,r,a);t.arc(ee.x,ee.y,w,$+Nt,Y+Math.PI)}const H=($-w/f+(v+x/f))/2;if(t.arc(r,a,f,$-w/f,H,!0),t.arc(r,a,f,H,v+x/f,!0),x>0){const ee=qo(V,le,r,a);t.arc(ee.x,ee.y,x,le+Math.PI,v-Nt)}const Z=qo(S,v,r,a);if(t.lineTo(Z.x,Z.y),A>0){const ee=qo(S,M,r,a);t.arc(ee.x,ee.y,A,v-Nt,M)}}else{t.moveTo(r,a);const R=Math.cos(M)*d+r,I=Math.sin(M)*d+a;t.lineTo(R,I);const H=Math.cos(E)*d+r,Z=Math.sin(E)*d+a;t.lineTo(H,Z)}t.closePath()}function R6(t,e,n,s,i){const{fullCircles:o,startAngle:r,circumference:a}=e;let l=e.endAngle;if(o){wc(t,e,n,s,l,i);for(let c=0;ce!=="borderDash"};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,n,s){const i=this.getProps(["x","y"],s),{angle:o,distance:r}=u0(i,{x:e,y:n}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:u,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],s),f=(this.options.spacing+this.options.borderWidth)/2,_=qe(d,l-a)>=wt||Ba(o,a,l),m=Ys(r,c+f,u+f);return _&&m}getCenterPoint(e){const{x:n,y:s,startAngle:i,endAngle:o,innerRadius:r,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:l,spacing:c}=this.options,u=(i+o)/2,d=(r+a+c+l)/2;return{x:n+Math.cos(u)*d,y:s+Math.sin(u)*d}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:n,circumference:s}=this,i=(n.offset||0)/4,o=(n.spacing||0)/2,r=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=s>wt?Math.floor(s/wt):0,s===0||this.innerRadius<0||this.outerRadius<0)return;e.save();const a=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(a)*i,Math.sin(a)*i);const l=1-Math.sin(Math.min(xt,s||0)),c=i*l;e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,R6(e,this,c,o,r),N6(e,this,c,o,r),e.restore()}}function Y0(t,e,n=e){t.lineCap=qe(n.borderCapStyle,e.borderCapStyle),t.setLineDash(qe(n.borderDash,e.borderDash)),t.lineDashOffset=qe(n.borderDashOffset,e.borderDashOffset),t.lineJoin=qe(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=qe(n.borderWidth,e.borderWidth),t.strokeStyle=qe(n.borderColor,e.borderColor)}function B6(t,e,n){t.lineTo(n.x,n.y)}function V6(t){return t.stepped?i4:t.tension||t.cubicInterpolationMode==="monotone"?o4:B6}function U0(t,e,n={}){const s=t.length,{start:i=0,end:o=s-1}=n,{start:r,end:a}=e,l=Math.max(i,r),c=Math.min(o,a),u=ia&&o>a;return{count:s,start:l,loop:e.loop,ilen:c(r+(c?a-D:D))%o,A=()=>{m!==y&&(t.lineTo(u,y),t.lineTo(u,m),t.lineTo(u,v))};for(l&&(g=i[$(0)],t.moveTo(g.x,g.y)),f=0;f<=a;++f){if(g=i[$(f)],g.skip)continue;const D=g.x,x=g.y,w=D|0;w===_?(xy&&(y=x),u=(d*u+D)/++d):(A(),t.lineTo(D,x),_=w,d=0,m=y=x),v=x}A()}function Zd(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?j6:H6}function W6(t){return t.stepped?N4:t.tension||t.cubicInterpolationMode==="monotone"?F4:co}function z6(t,e,n,s){let i=e._path;i||(i=e._path=new Path2D,e.path(i,n,s)&&i.closePath()),Y0(t,e.options),t.stroke(i)}function K6(t,e,n,s){const{segments:i,options:o}=e,r=Zd(e);for(const a of i)Y0(t,o,a.style),t.beginPath(),r(t,e,a,{start:n,end:n+s-1})&&t.closePath(),t.stroke()}const Y6=typeof Path2D=="function";function U6(t,e,n,s){Y6&&!e.options.segment?z6(t,e,n,s):K6(t,e,n,s)}class iu extends ti{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,n){const s=this.options;if((s.tension||s.cubicInterpolationMode==="monotone")&&!s.stepped&&!this._pointsUpdated){const i=s.spanGaps?this._loop:this._fullLoop;T4(this._points,s,e,i,n),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=z4(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,s=e.length;return s&&n[e[s-1].end]}interpolate(e,n){const s=this.options,i=e[n],o=this.points,r=P0(this,{property:n,start:i,end:i});if(!r.length)return;const a=[],l=W6(s);let c,u;for(c=0,u=r.length;c=n)return t.slice(e,e+n);const r=[],a=(n-2)/(o-2);let l=0;const c=e+n-1;let u=e,d,f,g,_,m;for(r[l++]=t[u],d=0;dg&&(g=_,f=t[$],m=$);r[l++]=f,u=m}return r[l++]=t[c],r}function n8(t,e,n,s){let i=0,o=0,r,a,l,c,u,d,f,g,_,m;const y=[],v=e+n-1,$=t[e].x,D=t[v].x-$;for(r=e;rm&&(m=c,f=r),i=(o*i+a.x)/++o;else{const w=r-1;if(!ot(d)&&!ot(f)){const S=Math.min(d,f),T=Math.max(d,f);S!==g&&S!==w&&y.push({...t[S],x:i}),T!==g&&T!==w&&y.push({...t[T],x:i})}r>0&&w!==g&&y.push(t[w]),y.push(a),u=x,o=0,_=m=c,d=f=g=r}}return y}function G0(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function y_(t){t.data.datasets.forEach(e=>{G0(e)})}function s8(t,e){const n=e.length;let s=0,i;const{iScale:o}=t,{min:r,max:a,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(s=tn(Us(e,o.axis,r).lo,0,n-1)),c?i=tn(Us(e,o.axis,a).hi+1,s,n)-s:i=n-s,{start:s,count:i}}var i8={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,n)=>{if(!n.enabled){y_(t);return}const s=t.width;t.data.datasets.forEach((i,o)=>{const{_data:r,indexAxis:a}=i,l=t.getDatasetMeta(o),c=r||i.data;if(sa([a,t.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;const u=t.scales[l.xAxisID];if(u.type!=="linear"&&u.type!=="time"||t.options.parsing)return;let{start:d,count:f}=s8(l,c);const g=n.threshold||4*s;if(f<=g){G0(i);return}ot(r)&&(i._data=c,delete i.data,Object.defineProperty(i,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(m){this._data=m}}));let _;switch(n.algorithm){case"lttb":_=t8(c,d,f,s,n);break;case"min-max":_=n8(c,d,f,s);break;default:throw new Error(`Unsupported decimation algorithm '${n.algorithm}'`)}i._decimated=_})},destroy(t){y_(t)}};function o8(t,e,n){const s=t.segments,i=t.points,o=e.points,r=[];for(const a of s){let{start:l,end:c}=a;c=Bf(l,c,i);const u=eh(n,i[l],i[c],a.loop);if(!e.segments){r.push({source:a,target:u,start:i[l],end:i[c]});continue}const d=P0(e,u);for(const f of d){const g=eh(n,o[f.start],o[f.end],f.loop),_=T0(a,i,g);for(const m of _)r.push({source:m,target:f,start:{[n]:w_(u,g,"start",Math.max)},end:{[n]:w_(u,g,"end",Math.min)}})}}return r}function eh(t,e,n,s){if(s)return;let i=e[t],o=n[t];return t==="angle"&&(i=On(i),o=On(o)),{property:t,start:i,end:o}}function r8(t,e){const{x:n=null,y:s=null}=t||{},i=e.points,o=[];return e.segments.forEach(({start:r,end:a})=>{a=Bf(r,a,i);const l=i[r],c=i[a];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):n!==null&&(o.push({x:n,y:l.y}),o.push({x:n,y:c.y}))}),o}function Bf(t,e,n){for(;e>t;e--){const s=n[e];if(!isNaN(s.x)&&!isNaN(s.y))break}return e}function w_(t,e,n,s){return t&&e?s(t[n],e[n]):t?t[n]:e?e[n]:0}function J0(t,e){let n=[],s=!1;return yt(t)?(s=!0,n=t):n=r8(t,e),n.length?new iu({points:n,options:{tension:0},_loop:s,_fullLoop:s}):null}function x_(t){return t&&t.fill!==!1}function a8(t,e,n){let i=t[e].fill;const o=[e];let r;if(!n)return i;for(;i!==!1&&o.indexOf(i)===-1;){if(!Tt(i))return i;if(r=t[i],!r)return!1;if(r.visible)return i;o.push(i),i=r.fill}return!1}function l8(t,e,n){const s=h8(t);if(st(s))return isNaN(s.value)?!1:s;let i=parseFloat(s);return Tt(i)&&Math.floor(i)===i?c8(s[0],e,i,n):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function c8(t,e,n,s){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=s?!1:n}function u8(t,e){let n=null;return t==="start"?n=e.bottom:t==="end"?n=e.top:st(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function d8(t,e,n){let s;return t==="start"?s=n:t==="end"?s=e.options.reverse?e.min:e.max:st(t)?s=t.value:s=e.getBaseValue(),s}function h8(t){const e=t.options,n=e.fill;let s=qe(n&&n.target,n);return s===void 0&&(s=!!e.backgroundColor),s===!1||s===null?!1:s===!0?"origin":s}function f8(t){const{scale:e,index:n,line:s}=t,i=[],o=s.segments,r=s.points,a=p8(e,n);a.push(J0({x:null,y:e.bottom},s));for(let l=0;l=0;--r){const a=i[r].$filler;a&&(a.line.updateControlPoints(o,a.axis),s&&a.fill&&hd(t.ctx,a,o))}},beforeDatasetsDraw(t,e,n){if(n.drawTime!=="beforeDatasetsDraw")return;const s=t.getSortedVisibleDatasetMetas();for(let i=s.length-1;i>=0;--i){const o=s[i].$filler;x_(o)&&hd(t.ctx,o,t.chartArea)}},beforeDatasetDraw(t,e,n){const s=e.meta.$filler;!x_(s)||n.drawTime!=="beforeDatasetDraw"||hd(t.ctx,s,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const A_=(t,e)=>{let{boxHeight:n=e,boxWidth:s=e}=t;return t.usePointStyle&&(n=Math.min(n,e),s=t.pointStyleWidth||Math.min(s,e)),{boxWidth:s,boxHeight:n,itemHeight:Math.max(e,n)}},$8=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class C_ extends ti{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n,s){this.maxWidth=e,this.maxHeight=n,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let n=gt(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(s=>e.filter(s,this.chart.data))),e.sort&&(n=n.sort((s,i)=>e.sort(s,i,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const s=e.labels,i=Ut(s.font),o=i.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=A_(s,o);let c,u;n.font=i.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(r,o,a,l)+10):(u=this.maxHeight,c=this._fitCols(r,i,a,l)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(u,e.maxHeight||this.maxHeight)}_fitRows(e,n,s,i){const{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=i+a;let d=e;o.textAlign="left",o.textBaseline="middle";let f=-1,g=-u;return this.legendItems.forEach((_,m)=>{const y=s+n/2+o.measureText(_.text).width;(m===0||c[c.length-1]+y+2*a>r)&&(d+=u,c[c.length-(m>0?0:1)]=0,g+=u,f++),l[m]={left:0,top:g,row:f,width:y,height:i},c[c.length-1]+=y+a}),d}_fitCols(e,n,s,i){const{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=r-e;let d=a,f=0,g=0,_=0,m=0;return this.legendItems.forEach((y,v)=>{const{itemWidth:$,itemHeight:A}=A8(s,n,o,y,i);v>0&&g+A+2*a>u&&(d+=f+a,c.push({width:f,height:g}),_+=f+a,m++,f=g=0),l[v]={left:_,top:g,col:m,width:$,height:A},f=Math.max(f,$),g+=A+a}),d+=f,c.push({width:f,height:g}),d}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:s,labels:{padding:i},rtl:o}}=this,r=or(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=ln(s,this.left+i,this.right-this.lineWidths[a]);for(const c of n)a!==c.row&&(a=c.row,l=ln(s,this.left+i,this.right-this.lineWidths[a])),c.top+=this.top+e+i,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+i}else{let a=0,l=ln(s,this.top+e+i,this.bottom-this.columnSizes[a].height);for(const c of n)c.col!==a&&(a=c.col,l=ln(s,this.top+e+i,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+i,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+i}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;eu(e,this),this._draw(),tu(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:s,ctx:i}=this,{align:o,labels:r}=e,a=Pt.color,l=or(e.rtl,this.left,this.width),c=Ut(r.font),{padding:u}=r,d=c.size,f=d/2;let g;this.drawTitle(),i.textAlign=l.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:_,boxHeight:m,itemHeight:y}=A_(r,d),v=function(w,S,T){if(isNaN(_)||_<=0||isNaN(m)||m<0)return;i.save();const M=qe(T.lineWidth,1);if(i.fillStyle=qe(T.fillStyle,a),i.lineCap=qe(T.lineCap,"butt"),i.lineDashOffset=qe(T.lineDashOffset,0),i.lineJoin=qe(T.lineJoin,"miter"),i.lineWidth=M,i.strokeStyle=qe(T.strokeStyle,a),i.setLineDash(qe(T.lineDash,[])),r.usePointStyle){const E={radius:m*Math.SQRT2/2,pointStyle:T.pointStyle,rotation:T.rotation,borderWidth:M},V=l.xPlus(w,_/2),X=S+f;b0(i,E,V,X,r.pointStyleWidth&&_)}else{const E=S+Math.max((d-m)/2,0),V=l.leftForLtr(w,_),X=yo(T.borderRadius);i.beginPath(),Object.values(X).some(le=>le!==0)?Va(i,{x:V,y:E,w:_,h:m,radius:X}):i.rect(V,E,_,m),i.fill(),M!==0&&i.stroke()}i.restore()},$=function(w,S,T){Co(i,T.text,w,S+y/2,c,{strikethrough:T.hidden,textAlign:l.textAlign(T.textAlign)})},A=this.isHorizontal(),D=this._computeTitleHeight();A?g={x:ln(o,this.left+u,this.right-s[0]),y:this.top+u+D,line:0}:g={x:this.left+u,y:ln(o,this.top+D+u,this.bottom-n[0].height),line:0},A0(this.ctx,e.textDirection);const x=y+u;this.legendItems.forEach((w,S)=>{i.strokeStyle=w.fontColor,i.fillStyle=w.fontColor;const T=i.measureText(w.text).width,M=l.textAlign(w.textAlign||(w.textAlign=r.textAlign)),E=_+f+T;let V=g.x,X=g.y;l.setWidth(this.width),A?S>0&&V+E+u>this.right&&(X=g.y+=x,g.line++,V=g.x=ln(o,this.left+u,this.right-s[g.line])):S>0&&X+x>this.bottom&&(V=g.x=V+n[g.line].width+u,g.line++,X=g.y=ln(o,this.top+D+u,this.bottom-n[g.line].height));const le=l.x(V);if(v(le,X,w),V=UB(M,V+_+f,A?V+E:this.right,e.rtl),$(l.x(V),X,w),A)g.x+=E+u;else if(typeof w.text!="string"){const Y=c.lineHeight;g.y+=Q0(w,Y)+u}else g.y+=x}),C0(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,s=Ut(n.font),i=fn(n.padding);if(!n.display)return;const o=or(e.rtl,this.left,this.width),r=this.ctx,a=n.position,l=s.size/2,c=i.top+l;let u,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),u=this.top+c,d=ln(e.align,d,this.right-f);else{const _=this.columnSizes.reduce((m,y)=>Math.max(m,y.height),0);u=c+ln(e.align,this.top,this.bottom-_-e.labels.padding-this._computeTitleHeight())}const g=ln(a,d,d+f);r.textAlign=o.textAlign(Pf(a)),r.textBaseline="middle",r.strokeStyle=n.color,r.fillStyle=n.color,r.font=s.string,Co(r,n.text,g,u,s)}_computeTitleHeight(){const e=this.options.title,n=Ut(e.font),s=fn(e.padding);return e.display?n.lineHeight+s.height:0}_getLegendItemAt(e,n){let s,i,o;if(Ys(e,this.left,this.right)&&Ys(n,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;so.length>r.length?o:r)),e+n.size/2+s.measureText(i).width}function E8(t,e,n){let s=t;return typeof e.text!="string"&&(s=Q0(e,n)),s}function Q0(t,e){const n=t.text?t.text.length:0;return e*n}function T8(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var P8={id:"legend",_element:C_,start(t,e,n){const s=t.legend=new C_({ctx:t.ctx,options:n,chart:t});qn.configure(t,s,n),qn.addBox(t,s)},stop(t){qn.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const s=t.legend;qn.configure(t,s,n),s.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const s=e.datasetIndex,i=n.chart;i.isDatasetVisible(s)?(i.hide(s),e.hidden=!0):(i.show(s),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:s,textAlign:i,color:o,useBorderRadius:r,borderRadius:a}}=t.legend.options;return t._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(n?0:void 0),u=fn(c.borderWidth);return{text:e[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:c.borderColor,pointStyle:s||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:r&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Z0 extends ti{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n){const s=this.options;if(this.left=0,this.top=0,!s.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const i=yt(s.text)?s.text.length:1;this._padding=fn(s.padding);const o=i*Ut(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:s,bottom:i,right:o,options:r}=this,a=r.align;let l=0,c,u,d;return this.isHorizontal()?(u=ln(a,s,o),d=n+e,c=o-s):(r.position==="left"?(u=s+e,d=ln(a,i,n),l=xt*-.5):(u=o-e,d=ln(a,n,i),l=xt*.5),c=i-n),{titleX:u,titleY:d,maxWidth:c,rotation:l}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const s=Ut(n.font),o=s.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);Co(e,n.text,0,0,s,{color:n.color,maxWidth:l,rotation:c,textAlign:Pf(n.align),textBaseline:"middle",translation:[r,a]})}}function M8(t,e){const n=new Z0({ctx:t.ctx,options:e,chart:t});qn.configure(t,n,e),qn.addBox(t,n),t.titleBlock=n}var D8={id:"title",_element:Z0,start(t,e,n){M8(t,n)},stop(t){const e=t.titleBlock;qn.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const s=t.titleBlock;qn.configure(t,s,n),s.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const oa={average(t){if(!t.length)return!1;let e,n,s=0,i=0,o=0;for(e=0,n=t.length;e-1?t.split(` -`):t}function gH(t,e){const{element:n,datasetIndex:s,index:i}=e,o=t.getDatasetMeta(s).controller,{label:r,value:a}=o.getLabelAndValue(i);return{chart:t,label:r,parsed:o.getParsed(i),raw:t.data.datasets[s].data[i],formattedValue:a,dataset:o.getDataset(),dataIndex:i,datasetIndex:s,element:n}}function E_(t,e){const n=t.chart.ctx,{body:s,footer:i,title:o}=t,{boxWidth:r,boxHeight:a}=e,l=Yt(e.bodyFont),c=Yt(e.titleFont),u=Yt(e.footerFont),d=o.length,f=i.length,g=s.length,_=hn(e.padding);let m=_.height,b=0,w=s.reduce((D,x)=>D+x.before.length+x.lines.length+x.after.length,0);if(w+=t.beforeBody.length+t.afterBody.length,d&&(m+=d*c.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),w){const D=e.displayColors?Math.max(a,l.lineHeight):l.lineHeight;m+=g*D+(w-g)*l.lineHeight+(w-1)*e.bodySpacing}f&&(m+=e.footerMarginTop+f*u.lineHeight+(f-1)*e.footerSpacing);let $=0;const A=function(D){b=Math.max(b,n.measureText(D).width+$)};return n.save(),n.font=c.string,ct(t.title,A),n.font=l.string,ct(t.beforeBody.concat(t.afterBody),A),$=e.displayColors?r+2+e.boxPadding:0,ct(s,D=>{ct(D.before,A),ct(D.lines,A),ct(D.after,A)}),$=0,n.font=u.string,ct(t.footer,A),n.restore(),b+=_.width,{width:b,height:m}}function mH(t,e){const{y:n,height:s}=e;return nt.height-s/2?"bottom":"center"}function _H(t,e,n,s){const{x:i,width:o}=s,r=n.caretSize+n.caretPadding;if(t==="left"&&i+o+r>e.width||t==="right"&&i-o-r<0)return!0}function vH(t,e,n,s){const{x:i,width:o}=n,{width:r,chartArea:{left:a,right:l}}=t;let c="center";return s==="center"?c=i<=(a+l)/2?"left":"right":i<=o/2?c="left":i>=r-o/2&&(c="right"),_H(c,t,e,n)&&(c="center"),c}function P_(t,e,n){const s=n.yAlign||e.yAlign||mH(t,n);return{xAlign:n.xAlign||e.xAlign||vH(t,e,n,s),yAlign:s}}function bH(t,e){let{x:n,width:s}=t;return e==="right"?n-=s:e==="center"&&(n-=s/2),n}function yH(t,e,n){let{y:s,height:i}=t;return e==="top"?s+=n:e==="bottom"?s-=i+n:s-=i/2,s}function T_(t,e,n,s){const{caretSize:i,caretPadding:o,cornerRadius:r}=t,{xAlign:a,yAlign:l}=n,c=i+o,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:g}=xo(r);let _=bH(e,a);const m=yH(e,l,c);return l==="center"?a==="left"?_+=c:a==="right"&&(_-=c):a==="left"?_-=Math.max(u,f)+i:a==="right"&&(_+=Math.max(d,g)+i),{x:Zt(_,0,s.width-e.width),y:Zt(m,0,s.height-e.height)}}function Wl(t,e,n){const s=hn(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-s.right:t.x+s.left}function M_(t){return ms([],Vs(t))}function wH(t,e,n){return Wi(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function D_(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const e1={beforeTitle:Ns,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,s=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(s>0&&e.dataIndex"u"?e1[e].call(n,s):i}class O_ extends si{static positioners=aa;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,s=this.options.setContext(this.getContext()),i=s.enabled&&n.options.animation&&s.animations,o=new M0(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=wH(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:s}=n,i=Sn(s,"beforeTitle",this,e),o=Sn(s,"title",this,e),r=Sn(s,"afterTitle",this,e);let a=[];return a=ms(a,Vs(i)),a=ms(a,Vs(o)),a=ms(a,Vs(r)),a}getBeforeBody(e,n){return M_(Sn(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:s}=n,i=[];return ct(e,o=>{const r={before:[],lines:[],after:[]},a=D_(s,o);ms(r.before,Vs(Sn(a,"beforeLabel",this,o))),ms(r.lines,Sn(a,"label",this,o)),ms(r.after,Vs(Sn(a,"afterLabel",this,o))),i.push(r)}),i}getAfterBody(e,n){return M_(Sn(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:s}=n,i=Sn(s,"beforeFooter",this,e),o=Sn(s,"footer",this,e),r=Sn(s,"afterFooter",this,e);let a=[];return a=ms(a,Vs(i)),a=ms(a,Vs(o)),a=ms(a,Vs(r)),a}_createItems(e){const n=this._active,s=this.chart.data,i=[],o=[],r=[];let a=[],l,c;for(l=0,c=n.length;le.filter(u,d,f,s))),e.itemSort&&(a=a.sort((u,d)=>e.itemSort(u,d,s))),ct(a,u=>{const d=D_(e.callbacks,u);i.push(Sn(d,"labelColor",this,u)),o.push(Sn(d,"labelPointStyle",this,u)),r.push(Sn(d,"labelTextColor",this,u))}),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=r,this.dataPoints=a,a}update(e,n){const s=this.options.setContext(this.getContext()),i=this._active;let o,r=[];if(!i.length)this.opacity!==0&&(o={opacity:0});else{const a=aa[s.position].call(this,i,this._eventPosition);r=this._createItems(s),this.title=this.getTitle(r,s),this.beforeBody=this.getBeforeBody(r,s),this.body=this.getBody(r,s),this.afterBody=this.getAfterBody(r,s),this.footer=this.getFooter(r,s);const l=this._size=E_(this,s),c=Object.assign({},a,l),u=P_(this.chart,s,c),d=T_(s,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=r,this.$context=void 0,o&&this._resolveAnimations().update(this,o),e&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,s,i){const o=this.getCaretPosition(e,s,i);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(e,n,s){const{xAlign:i,yAlign:o}=this,{caretSize:r,cornerRadius:a}=s,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:d}=xo(a),{x:f,y:g}=e,{width:_,height:m}=n;let b,w,$,A,D,x;return o==="center"?(D=g+m/2,i==="left"?(b=f,w=b-r,A=D+r,x=D-r):(b=f+_,w=b+r,A=D-r,x=D+r),$=b):(i==="left"?w=f+Math.max(l,u)+r:i==="right"?w=f+_-Math.max(c,d)-r:w=this.caretX,o==="top"?(A=g,D=A-r,b=w-r,$=w+r):(A=g+m,D=A+r,b=w+r,$=w-r),x=A),{x1:b,x2:w,x3:$,y1:A,y2:D,y3:x}}drawTitle(e,n,s){const i=this.title,o=i.length;let r,a,l;if(o){const c=ar(s.rtl,this.x,this.width);for(e.x=Wl(this,s.titleAlign,s),n.textAlign=c.textAlign(s.titleAlign),n.textBaseline="middle",r=Yt(s.titleFont),a=s.titleSpacing,n.fillStyle=s.titleColor,n.font=r.string,l=0;l$!==0)?(e.beginPath(),e.fillStyle=o.multiKeyBackground,ja(e,{x:m,y:_,w:c,h:l,radius:w}),e.fill(),e.stroke(),e.fillStyle=r.backgroundColor,e.beginPath(),ja(e,{x:b,y:_+1,w:c-2,h:l-2,radius:w}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(m,_,c,l),e.strokeRect(m,_,c,l),e.fillStyle=r.backgroundColor,e.fillRect(b,_+1,c-2,l-2))}e.fillStyle=this.labelTextColors[s]}drawBody(e,n,s){const{body:i}=this,{bodySpacing:o,bodyAlign:r,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=s,d=Yt(s.bodyFont);let f=d.lineHeight,g=0;const _=ar(s.rtl,this.x,this.width),m=function(E){n.fillText(E,_.x(e.x+g),e.y+f/2),e.y+=f+o},b=_.textAlign(r);let w,$,A,D,x,y,S;for(n.textAlign=r,n.textBaseline="middle",n.font=d.string,e.x=Wl(this,b,s),n.fillStyle=s.bodyColor,ct(this.beforeBody,m),g=a&&b!=="right"?r==="center"?c/2+u:c+2+u:0,D=0,y=i.length;D0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,s=this.$animations,i=s&&s.x,o=s&&s.y;if(i||o){const r=aa[e.position].call(this,this._active,this._eventPosition);if(!r)return;const a=this._size=E_(this,e),l=Object.assign({},r,this._size),c=P_(n,e,l),u=T_(e,l,c,n);(i._to!==u.x||o._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const r=hn(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(e.save(),e.globalAlpha=s,this.drawBackground(o,e,i,n),A0(e,n.textDirection),o.y+=r.top,this.drawTitle(o,e,n),this.drawBody(o,e,n),this.drawFooter(o,e,n),C0(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const s=this._active,i=e.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!bc(s,i),r=this._positionChanged(i,n);(o||r)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,s=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],r=this._getActiveElements(e,o,n,s),a=this._positionChanged(r,e),l=n||!bc(r,o)||a;return l&&(this._active=r,(i.enabled||i.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),l}_getActiveElements(e,n,s,i){const o=this.options;if(e.type==="mouseout")return[];if(!i)return n.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const r=this.chart.getElementsAtEventForMode(e,o.mode,o,s);return o.reverse&&r.reverse(),r}_positionChanged(e,n){const{caretX:s,caretY:i,options:o}=this,r=aa[o.position].call(this,e,n);return r!==!1&&(s!==r.x||i!==r.y)}}var xH={id:"tooltip",_element:O_,positioners:aa,afterInit(t,e,n){n&&(t.tooltip=new O_({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:e1},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const kH=(t,e,n,s)=>(typeof e=="string"?(n=t.push(e)-1,s.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function SH(t,e,n,s){const i=t.indexOf(e);if(i===-1)return kH(t,e,n,s);const o=t.lastIndexOf(e);return i!==o?n:i}const $H=(t,e)=>t===null?null:Zt(Math.round(t),0,e);function I_(t){const e=this.getLabels();return t>=0&&tn.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function CH(t,e){const n=[],{bounds:i,step:o,min:r,max:a,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:f}=t,g=o||1,_=u-1,{min:m,max:b}=e,w=!it(r),$=!it(a),A=!it(c),D=(b-m)/(d+1);let x=Pm((b-m)/_/g)*g,y,S,E,T;if(x<1e-14&&!w&&!$)return[{value:m},{value:b}];T=Math.ceil(b/x)-Math.floor(m/x),T>_&&(x=Pm(T*x/_/g)*g),it(l)||(y=Math.pow(10,l),x=Math.ceil(x*y)/y),i==="ticks"?(S=Math.floor(m/x)*x,E=Math.ceil(b/x)*x):(S=m,E=b),w&&$&&o&&xB((a-r)/o,x/1e3)?(T=Math.round(Math.min((a-r)/x,u)),x=(a-r)/T,S=r,E=a):A?(S=w?r:S,E=$?a:E,T=c-1,x=(E-S)/T):(T=(E-S)/x,wa(T,Math.round(T),x/1e3)?T=Math.round(T):T=Math.ceil(T));const C=Math.max(Tm(x),Tm(S));y=Math.pow(10,it(l)?C:l),S=Math.round(S*y)/y,E=Math.round(E*y)/y;let B=0;for(w&&(f&&S!==r?(n.push({value:r}),Sa)break;n.push({value:J})}return $&&f&&E!==a?n.length&&wa(n[n.length-1].value,a,R_(a,D,t))?n[n.length-1].value=a:n.push({value:a}):(!$||E===a)&&n.push({value:E}),n}function R_(t,e,{horizontal:n,minRotation:s}){const i=rs(s),o=(n?Math.sin(i):Math.cos(i))||.001,r=.75*e*(""+t).length;return Math.min(e/o,r)}class Ac extends Ro{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,n){return it(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:s}=this.getUserBounds();let{min:i,max:o}=this;const r=l=>i=n?i:l,a=l=>o=s?o:l;if(e){const l=As(i),c=As(o);l<0&&c<0?a(0):l>0&&c>0&&r(0)}if(i===o){let l=o===0?1:Math.abs(o*.05);a(o+l),e||r(i-l)}this.min=i,this.max=o}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:s}=e,i;return s?(i=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let s=this.getTickLimit();s=Math.max(2,s);const i={maxTicks:s,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},o=this._range||this,r=CH(i,o);return e.bounds==="ticks"&&c0(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const e=this.ticks;let n=this.min,s=this.max;if(super.configure(),this.options.offset&&e.length){const i=(s-n)/Math.max(e.length-1,1)/2;n-=i,s+=i}this._startValue=n,this._endValue=s,this._valueRange=s-n}getLabelForValue(e){return nl(e,this.chart.options.locale,this.options.ticks.format)}}class EH extends Ac{static id="linear";static defaults={ticks:{callback:nu.formatters.numeric}};determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Ct(e)?e:0,this.max=Ct(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,s=rs(this.options.ticks.minRotation),i=(e?Math.sin(s):Math.cos(s))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/i))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const za=t=>Math.floor(xi(t)),ao=(t,e)=>Math.pow(10,za(t)+e);function L_(t){return t/Math.pow(10,za(t))===1}function N_(t,e,n){const s=Math.pow(10,n),i=Math.floor(t/s);return Math.ceil(e/s)-i}function PH(t,e){const n=e-t;let s=za(n);for(;N_(t,e,s)>10;)s++;for(;N_(t,e,s)<10;)s--;return Math.min(s,za(t))}function TH(t,{min:e,max:n}){e=Mn(t.min,e);const s=[],i=za(e);let o=PH(e,n),r=o<0?Math.pow(10,Math.abs(o)):1;const a=Math.pow(10,o),l=i>o?Math.pow(10,i):0,c=Math.round((e-l)*r)/r,u=Math.floor((e-l)/a/10)*a*10;let d=Math.floor((c-u)/Math.pow(10,o)),f=Mn(t.min,Math.round((l+u+d*Math.pow(10,o))*r)/r);for(;f=10?d=d<15?15:20:d++,d>=20&&(o++,d=2,r=o>=0?1:r),f=Math.round((l+u+d*Math.pow(10,o))*r)/r;const g=Mn(t.max,f);return s.push({value:g,major:L_(g),significand:d}),s}class MH extends Ro{static id="logarithmic";static defaults={ticks:{callback:nu.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,n){const s=Ac.prototype.parse.apply(this,[e,n]);if(s===0){this._zero=!0;return}return Ct(s)&&s>0?s:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Ct(e)?Math.max(0,e):null,this.max=Ct(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Ct(this._userMin)&&(this.min=e===ao(this.min,0)?ao(this.min,-1):ao(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let s=this.min,i=this.max;const o=a=>s=e?s:a,r=a=>i=n?i:a;s===i&&(s<=0?(o(1),r(10)):(o(ao(s,-1)),r(ao(i,1)))),s<=0&&o(ao(i,-1)),i<=0&&r(ao(s,1)),this.min=s,this.max=i}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},s=TH(n,this);return e.bounds==="ticks"&&c0(s,this,"value"),e.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}getLabelForValue(e){return e===void 0?"0":nl(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=xi(e),this._valueRange=xi(this.max)-xi(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(xi(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const n=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+n*this._valueRange)}}function th(t){const e=t.ticks;if(e.display&&t.display){const n=hn(e.backdropPadding);return qe(e.font&&e.font.size,Et.font.size)+n.height}return 0}function DH(t,e,n){return n=vt(n)?n:[n],{w:BB(t,e.string,n),h:n.length*e.lineHeight}}function F_(t,e,n,s,i){return t===s||t===i?{start:e-n/2,end:e+n/2}:ti?{start:e-n,end:e}:{start:e,end:e+n}}function OH(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),s=[],i=[],o=t._pointLabels.length,r=t.options.pointLabels,a=r.centerPointLabels?yt/o:0;for(let l=0;le.r&&(a=(s.end-e.r)/o,t.r=Math.max(t.r,e.r+a)),i.starte.b&&(l=(i.end-e.b)/r,t.b=Math.max(t.b,e.b+l))}function RH(t,e,n){const s=t.drawingArea,{extra:i,additionalAngle:o,padding:r,size:a}=n,l=t.getPointPosition(e,s+i+r,o),c=Math.round(Cf(On(l.angle+Rt))),u=VH(l.y,a.h,c),d=FH(c),f=BH(l.x,a.w,d);return{visible:!0,x:l.x,y:u,textAlign:d,left:f,top:u,right:f+a.w,bottom:u+a.h}}function LH(t,e){if(!e)return!0;const{left:n,top:s,right:i,bottom:o}=t;return!(qs({x:n,y:s},e)||qs({x:n,y:o},e)||qs({x:i,y:s},e)||qs({x:i,y:o},e))}function NH(t,e,n){const s=[],i=t._pointLabels.length,o=t.options,{centerPointLabels:r,display:a}=o.pointLabels,l={extra:th(o)/2,additionalAngle:r?yt/i:0};let c;for(let u=0;u270||n<90)&&(t-=e),t}function HH(t,e,n){const{left:s,top:i,right:o,bottom:r}=n,{backdropColor:a}=e;if(!it(a)){const l=xo(e.borderRadius),c=hn(e.backdropPadding);t.fillStyle=a;const u=s-c.left,d=i-c.top,f=o-s+c.width,g=r-i+c.height;Object.values(l).some(_=>_!==0)?(t.beginPath(),ja(t,{x:u,y:d,w:f,h:g,radius:l}),t.fill()):t.fillRect(u,d,f,g)}}function jH(t,e){const{ctx:n,options:{pointLabels:s}}=t;for(let i=e-1;i>=0;i--){const o=t._pointLabelItems[i];if(!o.visible)continue;const r=s.setContext(t.getPointLabelContext(i));HH(n,r,o);const a=Yt(r.font),{x:l,y:c,textAlign:u}=o;Po(n,t._pointLabels[i],l,c+a.lineHeight/2,a,{color:r.color,textAlign:u,textBaseline:"middle"})}}function t1(t,e,n,s){const{ctx:i}=t;if(n)i.arc(t.xCenter,t.yCenter,e,0,bt);else{let o=t.getPointPosition(0,e);i.moveTo(o.x,o.y);for(let r=1;r{const i=ft(this.options.pointLabels.callback,[n,s],this);return i||i===0?i:""}).filter((n,s)=>this.chart.getDataVisibility(s))}fit(){const e=this.options;e.display&&e.pointLabels.display?OH(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,n,s,i){this.xCenter+=Math.floor((e-n)/2),this.yCenter+=Math.floor((s-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,n,s,i))}getIndexAngle(e){const n=bt/(this._pointLabels.length||1),s=this.options.startAngle||0;return On(e*n+rs(s))}getDistanceFromCenterForValue(e){if(it(e))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*n:(e-this.min)*n}getValueForDistanceFromCenter(e){if(it(e))return NaN;const n=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(e){const n=this._pointLabels||[];if(e>=0&&e{if(d!==0){l=this.getDistanceFromCenterForValue(u.value);const f=this.getContext(d),g=i.setContext(f),_=o.setContext(f);WH(this,g,l,r,_)}}),s.display){for(e.save(),a=r-1;a>=0;a--){const u=s.setContext(this.getPointLabelContext(a)),{color:d,lineWidth:f}=u;!f||!d||(e.lineWidth=f,e.strokeStyle=d,e.setLineDash(u.borderDash),e.lineDashOffset=u.borderDashOffset,l=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),c=this.getPointPosition(a,l),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,n=this.options,s=n.ticks;if(!s.display)return;const i=this.getIndexAngle(0);let o,r;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(i),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&!n.reverse)return;const c=s.setContext(this.getContext(l)),u=Yt(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){e.font=u.string,r=e.measureText(a.label).width,e.fillStyle=c.backdropColor;const d=hn(c.backdropPadding);e.fillRect(-r/2-d.left,-o-u.size/2-d.top,r+d.width,u.size+d.height)}Po(e,a.label,0,-o,u,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),e.restore()}drawTitle(){}}const lu={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},An=Object.keys(lu);function B_(t,e){return t-e}function V_(t,e){if(it(e))return null;const n=t._adapter,{parser:s,round:i,isoWeekday:o}=t._parseOpts;let r=e;return typeof s=="function"&&(r=s(r)),Ct(r)||(r=typeof s=="string"?n.parse(r,s):n.parse(r)),r===null?null:(i&&(r=i==="week"&&($r(o)||o===!0)?n.startOf(r,"isoWeek",o):n.startOf(r,i)),+r)}function H_(t,e,n,s){const i=An.length;for(let o=An.indexOf(t);o=An.indexOf(n);o--){const r=An[o];if(lu[r].common&&t._adapter.diff(i,s,r)>=e-1)return r}return An[n?An.indexOf(n):0]}function KH(t){for(let e=An.indexOf(t)+1,n=An.length;e=e?n[s]:n[i];t[o]=!0}}function qH(t,e,n,s){const i=t._adapter,o=+i.startOf(e[0].value,s),r=e[e.length-1].value;let a,l;for(a=o;a<=r;a=+i.add(a,1,s))l=n[a],l>=0&&(e[l].major=!0);return e}function W_(t,e,n){const s=[],i={},o=e.length;let r,a;for(r=0;r+e.value))}initOffsets(e=[]){let n=0,s=0,i,o;this.options.offset&&e.length&&(i=this.getDecimalForValue(e[0]),e.length===1?n=1-i:n=(this.getDecimalForValue(e[1])-i)/2,o=this.getDecimalForValue(e[e.length-1]),e.length===1?s=o:s=(o-this.getDecimalForValue(e[e.length-2]))/2);const r=e.length<3?.5:.25;n=Zt(n,0,r),s=Zt(s,0,r),this._offsets={start:n,end:s,factor:1/(n+1+s)}}_generate(){const e=this._adapter,n=this.min,s=this.max,i=this.options,o=i.time,r=o.unit||H_(o.minUnit,n,s,this._getLabelCapacity(n)),a=qe(i.ticks.stepSize,1),l=r==="week"?o.isoWeekday:!1,c=$r(l)||l===!0,u={};let d=n,f,g;if(c&&(d=+e.startOf(d,"isoWeek",l)),d=+e.startOf(d,c?"day":r),e.diff(s,n,r)>1e5*a)throw new Error(n+" and "+s+" are too far apart with stepSize of "+a+" "+r);const _=i.ticks.source==="data"&&this.getDataTimestamps();for(f=d,g=0;f+m)}getLabelForValue(e){const n=this._adapter,s=this.options.time;return s.tooltipFormat?n.format(e,s.tooltipFormat):n.format(e,s.displayFormats.datetime)}format(e,n){const i=this.options.time.displayFormats,o=this._unit,r=n||i[o];return this._adapter.format(e,r)}_tickFormatFunction(e,n,s,i){const o=this.options,r=o.ticks.callback;if(r)return ft(r,[e,n,s],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&a[l],d=c&&a[c],f=s[n],g=c&&d&&f&&f.major;return this._adapter.format(e,i||(g?d:u))}generateTickLabels(e){let n,s,i;for(n=0,s=e.length;n0?a:1}getDataTimestamps(){let e=this._cache.data||[],n,s;if(e.length)return e;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,s=i.length;n=t[s].pos&&e<=t[i].pos&&({lo:s,hi:i}=Ks(t,"pos",e)),{pos:o,time:a}=t[s],{pos:r,time:l}=t[i]):(e>=t[s].time&&e<=t[i].time&&({lo:s,hi:i}=Ks(t,"time",e)),{time:o,pos:a}=t[s],{time:r,pos:l}=t[i]);const c=r-o;return c?a+(l-a)*(e-o)/c:a}class GH extends nh{static id="timeseries";static defaults=nh.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=zl(n,this.min),this._tableRange=zl(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:s}=this,i=[],o=[];let r,a,l,c,u;for(r=0,a=e.length;r=n&&c<=s&&i.push(c);if(i.length<2)return[{time:n,pos:0},{time:s,pos:1}];for(r=0,a=i.length;ri-o)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),s=this.getLabelTimestamps();return n.length&&s.length?e=this.normalize(n.concat(s)):e=n.length?n:s,e=this._cache.all=e,e}getDecimalForValue(e){return(zl(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,s=this.getDecimalForPixel(e)/n.factor-n.end;return zl(this._table,s*this._tableRange+this._minPos,!0)}}const n1={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},JH={ariaLabel:{type:String},ariaDescribedby:{type:String}},XH={type:{type:String,required:!0},...n1,...JH},QH=Ob[0]==="2"?(t,e)=>Object.assign(t,{attrs:e}):(t,e)=>Object.assign(t,e);function Xo(t){return Fc(t)?Ze(t):t}function ZH(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return Fc(e)?new Proxy(t,{}):t}function e8(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function s1(t,e){t.labels=e}function i1(t,e,n){const s=[];t.datasets=e.map(i=>{const o=t.datasets.find(r=>r[n]===i[n]);return!o||!i.data||s.includes(o)?{...i}:(s.push(o),Object.assign(o,i),o)})}function t8(t,e){const n={labels:[],datasets:[]};return s1(n,t.labels),i1(n,t.datasets,e),n}const n8=Nt({props:XH,setup(t,e){let{expose:n,slots:s}=e;const i=ve(null),o=Fh(null);n({chart:o});const r=()=>{if(!i.value)return;const{type:c,data:u,options:d,plugins:f,datasetIdKey:g}=t,_=t8(u,g),m=ZH(_,u);o.value=new ru(i.value,{type:c,data:m,options:{...d},plugins:f})},a=()=>{const c=Ze(o.value);c&&(c.destroy(),o.value=null)},l=c=>{c.update(t.updateMode)};return qt(r),Yh(a),Bt([()=>t.options,()=>t.data],(c,u)=>{let[d,f]=c,[g,_]=u;const m=Ze(o.value);if(!m)return;let b=!1;if(d){const w=Xo(d),$=Xo(g);w&&w!==$&&(e8(m,w),b=!0)}if(f){const w=Xo(f.labels),$=Xo(_.labels),A=Xo(f.datasets),D=Xo(_.datasets);w!==$&&(s1(m.config.data,w),b=!0),A&&A!==D&&(i1(m.config.data,A,t.datasetIdKey),b=!0)}b&&en(()=>{l(m)})},{deep:!0}),()=>Co("canvas",{role:"img",ariaLabel:t.ariaLabel,ariaDescribedby:t.ariaDescribedby,ref:i},[Co("p",{},[s.default?s.default():""])])}});function o1(t,e){return ru.register(e),Nt({props:n1,setup(n,s){let{expose:i}=s;const o=Fh(null),r=a=>{o.value=a?.chart};return i({chart:o}),()=>Co(n8,QH({ref:r},{type:t,...n}))}})}const s8=o1("bar",I0),i8=o1("line",L0);function Zs(t){return Array.isArray?Array.isArray(t):l1(t)==="[object Array]"}const o8=1/0;function r8(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-o8?"-0":e}function a8(t){return t==null?"":r8(t)}function ks(t){return typeof t=="string"}function r1(t){return typeof t=="number"}function l8(t){return t===!0||t===!1||c8(t)&&l1(t)=="[object Boolean]"}function a1(t){return typeof t=="object"}function c8(t){return a1(t)&&t!==null}function In(t){return t!=null}function fd(t){return!t.trim().length}function l1(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const u8="Incorrect 'index' type",d8=t=>`Invalid value for key ${t}`,h8=t=>`Pattern length exceeds max of ${t}.`,f8=t=>`Missing ${t} property in key`,p8=t=>`Property 'weight' in key '${t}' must be a positive integer`,z_=Object.prototype.hasOwnProperty;class g8{constructor(e){this._keys=[],this._keyMap={};let n=0;e.forEach(s=>{let i=c1(s);this._keys.push(i),this._keyMap[i.id]=i,n+=i.weight}),this._keys.forEach(s=>{s.weight/=n})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function c1(t){let e=null,n=null,s=null,i=1,o=null;if(ks(t)||Zs(t))s=t,e=Y_(t),n=sh(t);else{if(!z_.call(t,"name"))throw new Error(f8("name"));const r=t.name;if(s=r,z_.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(p8(r));e=Y_(r),n=sh(r),o=t.getFn}return{path:e,id:n,weight:i,src:s,getFn:o}}function Y_(t){return Zs(t)?t:t.split(".")}function sh(t){return Zs(t)?t.join("."):t}function m8(t,e){let n=[],s=!1;const i=(o,r,a)=>{if(In(o))if(!r[a])n.push(o);else{let l=r[a];const c=o[l];if(!In(c))return;if(a===r.length-1&&(ks(c)||r1(c)||l8(c)))n.push(a8(c));else if(Zs(c)){s=!0;for(let u=0,d=c.length;ut.score===e.score?t.idx{this._keysMap[n.id]=s})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,ks(this.docs[0])?this.docs.forEach((e,n)=>{this._addString(e,n)}):this.docs.forEach((e,n)=>{this._addObject(e,n)}),this.norm.clear())}add(e){const n=this.size();ks(e)?this._addString(e,n):this._addObject(e,n)}removeAt(e){this.records.splice(e,1);for(let n=e,s=this.size();n{let r=i.getFn?i.getFn(e):this.getFn(e,i.path);if(In(r)){if(Zs(r)){let a=[];const l=[{nestedArrIndex:-1,value:r}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(In(u))if(ks(u)&&!fd(u)){let d={v:u,i:c,n:this.norm.get(u)};a.push(d)}else Zs(u)&&u.forEach((d,f)=>{l.push({nestedArrIndex:f,value:d})})}s.$[o]=a}else if(ks(r)&&!fd(r)){let a={v:r,n:this.norm.get(r)};s.$[o]=a}}}),this.records.push(s)}toJSON(){return{keys:this.keys,records:this.records}}}function u1(t,e,{getFn:n=Ke.getFn,fieldNormWeight:s=Ke.fieldNormWeight}={}){const i=new Bf({getFn:n,fieldNormWeight:s});return i.setKeys(t.map(c1)),i.setSources(e),i.create(),i}function k8(t,{getFn:e=Ke.getFn,fieldNormWeight:n=Ke.fieldNormWeight}={}){const{keys:s,records:i}=t,o=new Bf({getFn:e,fieldNormWeight:n});return o.setKeys(s),o.setIndexRecords(i),o}function Yl(t,{errors:e=0,currentLocation:n=0,expectedLocation:s=0,distance:i=Ke.distance,ignoreLocation:o=Ke.ignoreLocation}={}){const r=e/t.length;if(o)return r;const a=Math.abs(s-n);return i?r+a/i:a?1:r}function S8(t=[],e=Ke.minMatchCharLength){let n=[],s=-1,i=-1,o=0;for(let r=t.length;o=e&&n.push([s,i]),s=-1)}return t[o-1]&&o-s>=e&&n.push([s,o-1]),n}const po=32;function $8(t,e,n,{location:s=Ke.location,distance:i=Ke.distance,threshold:o=Ke.threshold,findAllMatches:r=Ke.findAllMatches,minMatchCharLength:a=Ke.minMatchCharLength,includeMatches:l=Ke.includeMatches,ignoreLocation:c=Ke.ignoreLocation}={}){if(e.length>po)throw new Error(h8(po));const u=e.length,d=t.length,f=Math.max(0,Math.min(s,d));let g=o,_=f;const m=a>1||l,b=m?Array(d):[];let w;for(;(w=t.indexOf(e,_))>-1;){let S=Yl(e,{currentLocation:w,expectedLocation:f,distance:i,ignoreLocation:c});if(g=Math.min(S,g),_=w+u,m){let E=0;for(;E=C;Y-=1){let L=Y-1,I=n[t.charAt(L)];if(m&&(b[L]=+!!I),J[Y]=(J[Y+1]<<1|1)&I,S&&(J[Y]|=($[Y+1]|$[Y])<<1|1|$[Y+1]),J[Y]&x&&(A=Yl(e,{errors:S,currentLocation:L,expectedLocation:f,distance:i,ignoreLocation:c}),A<=g)){if(g=A,_=L,_<=f)break;C=Math.max(1,2*f-_)}}if(Yl(e,{errors:S+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:c})>g)break;$=J}const y={isMatch:_>=0,score:Math.max(.001,A)};if(m){const S=S8(b,a);S.length?l&&(y.indices=S):y.isMatch=!1}return y}function A8(t){let e={};for(let n=0,s=t.length;n{this.chunks.push({pattern:f,alphabet:A8(f),startIndex:g})},d=this.pattern.length;if(d>po){let f=0;const g=d%po,_=d-g;for(;f<_;)u(this.pattern.substr(f,po),f),f+=po;if(g){const m=d-po;u(this.pattern.substr(m),m)}}else u(this.pattern,0)}searchIn(e){const{isCaseSensitive:n,includeMatches:s}=this.options;if(n||(e=e.toLowerCase()),this.pattern===e){let _={isMatch:!0,score:0};return s&&(_.indices=[[0,e.length-1]]),_}const{location:i,distance:o,threshold:r,findAllMatches:a,minMatchCharLength:l,ignoreLocation:c}=this.options;let u=[],d=0,f=!1;this.chunks.forEach(({pattern:_,alphabet:m,startIndex:b})=>{const{isMatch:w,score:$,indices:A}=$8(e,_,m,{location:i+b,distance:o,threshold:r,findAllMatches:a,minMatchCharLength:l,includeMatches:s,ignoreLocation:c});w&&(f=!0),d+=$,w&&A&&(u=[...u,...A])});let g={isMatch:f,score:f?d/this.chunks.length:1};return f&&s&&(g.indices=u),g}}class Yi{constructor(e){this.pattern=e}static isMultiMatch(e){return U_(e,this.multiRegex)}static isSingleMatch(e){return U_(e,this.singleRegex)}search(){}}function U_(t,e){const n=t.match(e);return n?n[1]:null}class C8 extends Yi{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const n=e===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class E8 extends Yi{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const s=e.indexOf(this.pattern)===-1;return{isMatch:s,score:s?0:1,indices:[0,e.length-1]}}}class P8 extends Yi{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const n=e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class T8 extends Yi{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const n=!e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class M8 extends Yi{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const n=e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class D8 extends Yi{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const n=!e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class h1 extends Yi{constructor(e,{location:n=Ke.location,threshold:s=Ke.threshold,distance:i=Ke.distance,includeMatches:o=Ke.includeMatches,findAllMatches:r=Ke.findAllMatches,minMatchCharLength:a=Ke.minMatchCharLength,isCaseSensitive:l=Ke.isCaseSensitive,ignoreLocation:c=Ke.ignoreLocation}={}){super(e),this._bitapSearch=new d1(e,{location:n,threshold:s,distance:i,includeMatches:o,findAllMatches:r,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class f1 extends Yi{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let n=0,s;const i=[],o=this.pattern.length;for(;(s=e.indexOf(this.pattern,n))>-1;)n=s+o,i.push([s,n-1]);const r=!!i.length;return{isMatch:r,score:r?0:1,indices:i}}}const ih=[C8,f1,P8,T8,D8,M8,E8,h1],K_=ih.length,O8=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,I8="|";function R8(t,e={}){return t.split(I8).map(n=>{let s=n.trim().split(O8).filter(o=>o&&!!o.trim()),i=[];for(let o=0,r=s.length;o!!(t[Cc.AND]||t[Cc.OR]),B8=t=>!!t[ah.PATH],V8=t=>!Zs(t)&&a1(t)&&!lh(t),q_=t=>({[Cc.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function p1(t,e,{auto:n=!0}={}){const s=i=>{let o=Object.keys(i);const r=B8(i);if(!r&&o.length>1&&!lh(i))return s(q_(i));if(V8(i)){const l=r?i[ah.PATH]:o[0],c=r?i[ah.PATTERN]:i[l];if(!ks(c))throw new Error(d8(l));const u={keyId:sh(l),pattern:c};return n&&(u.searcher=rh(c,e)),u}let a={children:[],operator:o[0]};return o.forEach(l=>{const c=i[l];Zs(c)&&c.forEach(u=>{a.children.push(s(u))})}),a};return lh(t)||(t=q_(t)),s(t)}function H8(t,{ignoreFieldNorm:e=Ke.ignoreFieldNorm}){t.forEach(n=>{let s=1;n.matches.forEach(({key:i,norm:o,score:r})=>{const a=i?i.weight:null;s*=Math.pow(r===0&&a?Number.EPSILON:r,(a||1)*(e?1:o))}),n.score=s})}function j8(t,e){const n=t.matches;e.matches=[],In(n)&&n.forEach(s=>{if(!In(s.indices)||!s.indices.length)return;const{indices:i,value:o}=s;let r={indices:i,value:o};s.key&&(r.key=s.key.src),s.idx>-1&&(r.refIndex=s.idx),e.matches.push(r)})}function W8(t,e){e.score=t.score}function z8(t,e,{includeMatches:n=Ke.includeMatches,includeScore:s=Ke.includeScore}={}){const i=[];return n&&i.push(j8),s&&i.push(W8),t.map(o=>{const{idx:r}=o,a={item:e[r],refIndex:r};return i.length&&i.forEach(l=>{l(o,a)}),a})}class Nr{constructor(e,n={},s){this.options={...Ke,...n},this.options.useExtendedSearch,this._keyStore=new g8(this.options.keys),this.setCollection(e,s)}setCollection(e,n){if(this._docs=e,n&&!(n instanceof Bf))throw new Error(u8);this._myIndex=n||u1(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){In(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const n=[];for(let s=0,i=this._docs.length;s-1&&(l=l.slice(0,n)),z8(l,this._docs,{includeMatches:s,includeScore:i})}_searchStringList(e){const n=rh(e,this.options),{records:s}=this._myIndex,i=[];return s.forEach(({v:o,i:r,n:a})=>{if(!In(o))return;const{isMatch:l,score:c,indices:u}=n.searchIn(o);l&&i.push({item:o,idx:r,matches:[{score:c,value:o,norm:a,indices:u}]})}),i}_searchLogical(e){const n=p1(e,this.options),s=(a,l,c)=>{if(!a.children){const{keyId:d,searcher:f}=a,g=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(l,d),searcher:f});return g&&g.length?[{idx:c,item:l,matches:g}]:[]}const u=[];for(let d=0,f=a.children.length;d{if(In(a)){let c=s(n,a,l);c.length&&(o[l]||(o[l]={idx:l,item:a,matches:[]},r.push(o[l])),c.forEach(({matches:u})=>{o[l].matches.push(...u)}))}}),r}_searchObjectList(e){const n=rh(e,this.options),{keys:s,records:i}=this._myIndex,o=[];return i.forEach(({$:r,i:a})=>{if(!In(r))return;let l=[];s.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:r[u],searcher:n}))}),l.length&&o.push({idx:a,item:r,matches:l})}),o}_findMatches({key:e,value:n,searcher:s}){if(!In(n))return[];let i=[];if(Zs(n))n.forEach(({v:o,i:r,n:a})=>{if(!In(o))return;const{isMatch:l,score:c,indices:u}=s.searchIn(o);l&&i.push({score:c,key:e,value:o,idx:r,norm:a,indices:u})});else{const{v:o,n:r}=n,{isMatch:a,score:l,indices:c}=s.searchIn(o);a&&i.push({score:l,key:e,value:o,norm:r,indices:c})}return i}}Nr.version="7.0.0";Nr.createIndex=u1;Nr.parseIndex=k8;Nr.config=Ke;Nr.parseQuery=p1;F8(N8);const Y8={name:"peerSettings",props:{selectedPeer:Object},data(){return{data:void 0,dataChanged:!1,showKey:!1,saving:!1}},setup(){return{dashboardConfigurationStore:Xe()}},methods:{reset(){this.selectedPeer&&(this.data=JSON.parse(JSON.stringify(this.selectedPeer)),this.dataChanged=!1)},savePeer(){this.saving=!0,ht(`/api/updatePeerSettings/${this.$route.params.id}`,this.data,t=>{this.saving=!1,t.status?this.dashboardConfigurationStore.newMessage("Server","Peer Updated!","success"):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.$emit("refresh")})},resetPeerData(t){this.saving=!0,ht(`/api/resetPeerData/${this.$route.params.id}`,{id:this.data.id,type:t},e=>{this.saving=!1,e.status?this.dashboardConfigurationStore.newMessage("Server","Peer data usage reset successfully.","success"):this.dashboardConfigurationStore.newMessage("Server",e.message,"danger"),this.$emit("refresh")})}},beforeMount(){this.reset()},mounted(){this.$el.querySelectorAll("input").forEach(t=>{t.addEventListener("keyup",()=>{this.dataChanged=!0})})}},tn=t=>(Ut("data-v-5c34b056"),t=t(),Kt(),t),U8={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},K8={class:"container d-flex h-100 w-100"},q8={class:"m-auto modal-dialog-centered dashboardModal"},G8={class:"card rounded-3 shadow flex-grow-1"},J8={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},X8=tn(()=>h("h4",{class:"mb-0"},"Peer Settings",-1)),Q8={key:0,class:"card-body px-4 pb-4"},Z8={class:"d-flex flex-column gap-2 mb-4"},ej={class:"d-flex align-items-center"},tj=tn(()=>h("small",{class:"text-muted"},"Public Key",-1)),nj={class:"ms-auto"},sj=tn(()=>h("label",{for:"peer_name_textbox",class:"form-label"},[h("small",{class:"text-muted"},"Name")],-1)),ij=["disabled"],oj={class:"d-flex position-relative"},rj=tn(()=>h("label",{for:"peer_private_key_textbox",class:"form-label"},[h("small",{class:"text-muted"},[be("Private Key "),h("code",null,"(Required for QR Code and Download)")])],-1)),aj=["type","disabled"],lj=tn(()=>h("label",{for:"peer_allowed_ip_textbox",class:"form-label"},[h("small",{class:"text-muted"},[be("Allowed IPs "),h("code",null,"(Required)")])],-1)),cj=["disabled"],uj=tn(()=>h("label",{for:"peer_endpoint_allowed_ips",class:"form-label"},[h("small",{class:"text-muted"},[be("Endpoint Allowed IPs "),h("code",null,"(Required)")])],-1)),dj=["disabled"],hj=tn(()=>h("label",{for:"peer_DNS_textbox",class:"form-label"},[h("small",{class:"text-muted"},"DNS")],-1)),fj=["disabled"],pj={class:"accordion mt-3",id:"peerSettingsAccordion"},gj={class:"accordion-item"},mj=tn(()=>h("h2",{class:"accordion-header"},[h("button",{class:"accordion-button rounded-3 collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#peerSettingsAccordionOptional"}," Optional Settings ")],-1)),_j={id:"peerSettingsAccordionOptional",class:"accordion-collapse collapse","data-bs-parent":"#peerSettingsAccordion"},vj={class:"accordion-body d-flex flex-column gap-2 mb-2"},bj=tn(()=>h("label",{for:"peer_preshared_key_textbox",class:"form-label"},[h("small",{class:"text-muted"},"Pre-Shared Key")],-1)),yj=["disabled"],wj=tn(()=>h("label",{for:"peer_mtu",class:"form-label"},[h("small",{class:"text-muted"},"MTU")],-1)),xj=["disabled"],kj=tn(()=>h("label",{for:"peer_keep_alive",class:"form-label"},[h("small",{class:"text-muted"},"Persistent Keepalive")],-1)),Sj=["disabled"],$j=tn(()=>h("hr",null,null,-1)),Aj={class:"d-flex gap-2 align-items-center"},Cj=tn(()=>h("strong",null,"Reset Data Usage",-1)),Ej={class:"d-flex gap-2 ms-auto"},Pj=tn(()=>h("i",{class:"bi bi-arrow-down-up me-2"},null,-1)),Tj=tn(()=>h("i",{class:"bi bi-arrow-down me-2"},null,-1)),Mj=tn(()=>h("i",{class:"bi bi-arrow-up me-2"},null,-1)),Dj={class:"d-flex align-items-center gap-2"},Oj=["disabled"],Ij=tn(()=>h("i",{class:"bi bi-arrow-clockwise ms-2"},null,-1)),Rj=["disabled"],Lj=tn(()=>h("i",{class:"bi bi-save-fill ms-2"},null,-1));function Nj(t,e,n,s,i,o){return M(),F("div",U8,[h("div",K8,[h("div",q8,[h("div",G8,[h("div",J8,[X8,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=r=>this.$emit("close"))})]),this.data?(M(),F("div",Q8,[h("div",Z8,[h("div",ej,[tj,h("small",nj,[h("samp",null,me(this.data.id),1)])]),h("div",null,[sj,Oe(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[1]||(e[1]=r=>this.data.name=r),id:"peer_name_textbox",placeholder:""},null,8,ij),[[je,this.data.name]])]),h("div",null,[h("div",oj,[rj,h("a",{role:"button",class:"ms-auto text-decoration-none toggleShowKey",onClick:e[2]||(e[2]=r=>this.showKey=!this.showKey)},[h("i",{class:Ce(["bi",[this.showKey?"bi-eye-slash-fill":"bi-eye-fill"]])},null,2)])]),Oe(h("input",{type:[this.showKey?"text":"password"],class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[3]||(e[3]=r=>this.data.private_key=r),id:"peer_private_key_textbox",style:{"padding-right":"40px"}},null,8,aj),[[_C,this.data.private_key]])]),h("div",null,[lj,Oe(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[4]||(e[4]=r=>this.data.allowed_ip=r),id:"peer_allowed_ip_textbox"},null,8,cj),[[je,this.data.allowed_ip]])]),h("div",null,[uj,Oe(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[5]||(e[5]=r=>this.data.endpoint_allowed_ip=r),id:"peer_endpoint_allowed_ips"},null,8,dj),[[je,this.data.endpoint_allowed_ip]])]),h("div",null,[hj,Oe(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[6]||(e[6]=r=>this.data.DNS=r),id:"peer_DNS_textbox"},null,8,fj),[[je,this.data.DNS]])]),h("div",pj,[h("div",gj,[mj,h("div",_j,[h("div",vj,[h("div",null,[bj,Oe(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[7]||(e[7]=r=>this.data.preshared_key=r),id:"peer_preshared_key_textbox"},null,8,yj),[[je,this.data.preshared_key]])]),h("div",null,[wj,Oe(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[8]||(e[8]=r=>this.data.mtu=r),id:"peer_mtu"},null,8,xj),[[je,this.data.mtu]])]),h("div",null,[kj,Oe(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[9]||(e[9]=r=>this.data.keepalive=r),id:"peer_keep_alive"},null,8,Sj),[[je,this.data.keepalive]])])])])])]),$j,h("div",Aj,[Cj,h("div",Ej,[h("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:e[10]||(e[10]=r=>this.resetPeerData("total"))},[Pj,be(" Total ")]),h("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:e[11]||(e[11]=r=>this.resetPeerData("receive"))},[Tj,be(" Received ")]),h("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:e[12]||(e[12]=r=>this.resetPeerData("sent"))},[Mj,be(" Sent ")])])])]),h("div",Dj,[h("button",{class:"btn btn-secondary rounded-3 shadow",onClick:e[13]||(e[13]=r=>this.reset()),disabled:!this.dataChanged||this.saving},[be(" Revert "),Ij],8,Oj),h("button",{class:"ms-auto btn btn-dark btn-brand rounded-3 px-3 py-2 shadow",disabled:!this.dataChanged||this.saving,onClick:e[14]||(e[14]=r=>this.savePeer())},[be(" Save Peer"),Lj],8,Rj)])])):re("",!0)])])])])}const Fj=We(Y8,[["render",Nj],["__scopeId","data-v-5c34b056"]]);var Lo={},Bj=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},g1={},Bn={};let Vf;const Vj=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Bn.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17};Bn.getSymbolTotalCodewords=function(e){return Vj[e]};Bn.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};Bn.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');Vf=e};Bn.isKanjiModeEnabled=function(){return typeof Vf<"u"};Bn.toSJIS=function(e){return Vf(e)};var cu={};(function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2};function e(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+n)}}t.isValid=function(s){return s&&typeof s.bit<"u"&&s.bit>=0&&s.bit<4},t.from=function(s,i){if(t.isValid(s))return s;try{return e(s)}catch{return i}}})(cu);function m1(){this.buffer=[],this.length=0}m1.prototype={get:function(t){const e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},put:function(t,e){for(let n=0;n>>e-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var Hj=m1;function il(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}il.prototype.set=function(t,e,n,s){const i=t*this.size+e;this.data[i]=n,s&&(this.reservedBit[i]=!0)};il.prototype.get=function(t,e){return this.data[t*this.size+e]};il.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n};il.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var jj=il,_1={};(function(t){const e=Bn.getSymbolSize;t.getRowColCoords=function(s){if(s===1)return[];const i=Math.floor(s/7)+2,o=e(s),r=o===145?26:Math.ceil((o-13)/(2*i-2))*2,a=[o-7];for(let l=1;l=0&&i<=7},t.from=function(i){return t.isValid(i)?parseInt(i,10):void 0},t.getPenaltyN1=function(i){const o=i.size;let r=0,a=0,l=0,c=null,u=null;for(let d=0;d=5&&(r+=e.N1+(a-5)),c=g,a=1),g=i.get(f,d),g===u?l++:(l>=5&&(r+=e.N1+(l-5)),u=g,l=1)}a>=5&&(r+=e.N1+(a-5)),l>=5&&(r+=e.N1+(l-5))}return r},t.getPenaltyN2=function(i){const o=i.size;let r=0;for(let a=0;a=10&&(a===1488||a===93)&&r++,l=l<<1&2047|i.get(u,c),u>=10&&(l===1488||l===93)&&r++}return r*e.N3},t.getPenaltyN4=function(i){let o=0;const r=i.data.length;for(let l=0;l=0;){const r=o[0];for(let l=0;l0){const o=new Uint8Array(this.degree);return o.set(s,i),o}return s};var zj=Hf,x1={},Ui={},jf={};jf.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40};var Ms={};const k1="[0-9]+",Yj="[A-Z $%*+\\-./:]+";let Ya="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";Ya=Ya.replace(/u/g,"\\u");const Uj="(?:(?![A-Z0-9 $%*+\\-./:]|"+Ya+`)(?:.|[\r -]))+`;Ms.KANJI=new RegExp(Ya,"g");Ms.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Ms.BYTE=new RegExp(Uj,"g");Ms.NUMERIC=new RegExp(k1,"g");Ms.ALPHANUMERIC=new RegExp(Yj,"g");const Kj=new RegExp("^"+Ya+"$"),qj=new RegExp("^"+k1+"$"),Gj=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Ms.testKanji=function(e){return Kj.test(e)};Ms.testNumeric=function(e){return qj.test(e)};Ms.testAlphanumeric=function(e){return Gj.test(e)};(function(t){const e=jf,n=Ms;t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(o,r){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!e.isValid(r))throw new Error("Invalid version: "+r);return r>=1&&r<10?o.ccBits[0]:r<27?o.ccBits[1]:o.ccBits[2]},t.getBestModeForData=function(o){return n.testNumeric(o)?t.NUMERIC:n.testAlphanumeric(o)?t.ALPHANUMERIC:n.testKanji(o)?t.KANJI:t.BYTE},t.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},t.isValid=function(o){return o&&o.bit&&o.ccBits};function s(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+i)}}t.from=function(o,r){if(t.isValid(o))return o;try{return s(o)}catch{return r}}})(Ui);(function(t){const e=Bn,n=uu,s=cu,i=Ui,o=jf,r=7973,a=e.getBCHDigit(r);function l(f,g,_){for(let m=1;m<=40;m++)if(g<=t.getCapacity(m,_,f))return m}function c(f,g){return i.getCharCountIndicator(f,g)+4}function u(f,g){let _=0;return f.forEach(function(m){const b=c(m.mode,g);_+=b+m.getBitsLength()}),_}function d(f,g){for(let _=1;_<=40;_++)if(u(f,_)<=t.getCapacity(_,g,i.MIXED))return _}t.from=function(g,_){return o.isValid(g)?parseInt(g,10):_},t.getCapacity=function(g,_,m){if(!o.isValid(g))throw new Error("Invalid QR Code version");typeof m>"u"&&(m=i.BYTE);const b=e.getSymbolTotalCodewords(g),w=n.getTotalCodewordsCount(g,_),$=(b-w)*8;if(m===i.MIXED)return $;const A=$-c(m,g);switch(m){case i.NUMERIC:return Math.floor(A/10*3);case i.ALPHANUMERIC:return Math.floor(A/11*2);case i.KANJI:return Math.floor(A/13);case i.BYTE:default:return Math.floor(A/8)}},t.getBestVersionForData=function(g,_){let m;const b=s.from(_,s.M);if(Array.isArray(g)){if(g.length>1)return d(g,b);if(g.length===0)return 1;m=g[0]}else m=g;return l(m.mode,m.getLength(),b)},t.getEncodedBits=function(g){if(!o.isValid(g)||g<7)throw new Error("Invalid QR Code version");let _=g<<12;for(;e.getBCHDigit(_)-a>=0;)_^=r<=0;)i^=$1<0&&(s=this.data.substr(n),i=parseInt(s,10),e.put(i,o*3+1))};var Qj=Er;const Zj=Ui,pd=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Pr(t){this.mode=Zj.ALPHANUMERIC,this.data=t}Pr.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};Pr.prototype.getLength=function(){return this.data.length};Pr.prototype.getBitsLength=function(){return Pr.getBitsLength(this.data.length)};Pr.prototype.write=function(e){let n;for(n=0;n+2<=this.data.length;n+=2){let s=pd.indexOf(this.data[n])*45;s+=pd.indexOf(this.data[n+1]),e.put(s,11)}this.data.length%2&&e.put(pd.indexOf(this.data[n]),6)};var eW=Pr,tW=function(e){for(var n=[],s=e.length,i=0;i=55296&&o<=56319&&s>i+1){var r=e.charCodeAt(i+1);r>=56320&&r<=57343&&(o=(o-55296)*1024+r-56320+65536,i+=1)}if(o<128){n.push(o);continue}if(o<2048){n.push(o>>6|192),n.push(o&63|128);continue}if(o<55296||o>=57344&&o<65536){n.push(o>>12|224),n.push(o>>6&63|128),n.push(o&63|128);continue}if(o>=65536&&o<=1114111){n.push(o>>18|240),n.push(o>>12&63|128),n.push(o>>6&63|128),n.push(o&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer};const nW=tW,sW=Ui;function Tr(t){this.mode=sW.BYTE,typeof t=="string"&&(t=nW(t)),this.data=new Uint8Array(t)}Tr.getBitsLength=function(e){return e*8};Tr.prototype.getLength=function(){return this.data.length};Tr.prototype.getBitsLength=function(){return Tr.getBitsLength(this.data.length)};Tr.prototype.write=function(t){for(let e=0,n=this.data.length;e=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+` -Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),t.put(n,13)}};var aW=Mr,C1={exports:{}};(function(t){var e={single_source_shortest_paths:function(n,s,i){var o={},r={};r[s]=0;var a=e.PriorityQueue.make();a.push(s,0);for(var l,c,u,d,f,g,_,m,b;!a.empty();){l=a.pop(),c=l.value,d=l.cost,f=n[c]||{};for(u in f)f.hasOwnProperty(u)&&(g=f[u],_=d+g,m=r[u],b=typeof r[u]>"u",(b||m>_)&&(r[u]=_,a.push(u,_),o[u]=c))}if(typeof i<"u"&&typeof r[i]>"u"){var w=["Could not find a path from ",s," to ",i,"."].join("");throw new Error(w)}return o},extract_shortest_path_from_predecessor_list:function(n,s){for(var i=[],o=s;o;)i.push(o),n[o],o=n[o];return i.reverse(),i},find_path:function(n,s,i){var o=e.single_source_shortest_paths(n,s,i);return e.extract_shortest_path_from_predecessor_list(o,i)},PriorityQueue:{make:function(n){var s=e.PriorityQueue,i={},o;n=n||{};for(o in s)s.hasOwnProperty(o)&&(i[o]=s[o]);return i.queue=[],i.sorter=n.sorter||s.default_sorter,i},default_sorter:function(n,s){return n.cost-s.cost},push:function(n,s){var i={value:n,cost:s};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};t.exports=e})(C1);var lW=C1.exports;(function(t){const e=Ui,n=Qj,s=eW,i=iW,o=aW,r=Ms,a=Bn,l=lW;function c(w){return unescape(encodeURIComponent(w)).length}function u(w,$,A){const D=[];let x;for(;(x=w.exec(A))!==null;)D.push({data:x[0],index:x.index,mode:$,length:x[0].length});return D}function d(w){const $=u(r.NUMERIC,e.NUMERIC,w),A=u(r.ALPHANUMERIC,e.ALPHANUMERIC,w);let D,x;return a.isKanjiModeEnabled()?(D=u(r.BYTE,e.BYTE,w),x=u(r.KANJI,e.KANJI,w)):(D=u(r.BYTE_KANJI,e.BYTE,w),x=[]),$.concat(A,D,x).sort(function(S,E){return S.index-E.index}).map(function(S){return{data:S.data,mode:S.mode,length:S.length}})}function f(w,$){switch($){case e.NUMERIC:return n.getBitsLength(w);case e.ALPHANUMERIC:return s.getBitsLength(w);case e.KANJI:return o.getBitsLength(w);case e.BYTE:return i.getBitsLength(w)}}function g(w){return w.reduce(function($,A){const D=$.length-1>=0?$[$.length-1]:null;return D&&D.mode===A.mode?($[$.length-1].data+=A.data,$):($.push(A),$)},[])}function _(w){const $=[];for(let A=0;A=0&&a<=6&&(l===0||l===6)||l>=0&&l<=6&&(a===0||a===6)||a>=2&&a<=4&&l>=2&&l<=4?t.set(o+a,r+l,!0,!0):t.set(o+a,r+l,!1,!0))}}function _W(t){const e=t.size;for(let n=8;n>a&1)===1,t.set(i,o,r,!0),t.set(o,i,r,!0)}function _d(t,e,n){const s=t.size,i=pW.getEncodedBits(e,n);let o,r;for(o=0;o<15;o++)r=(i>>o&1)===1,o<6?t.set(o,8,r,!0):o<8?t.set(o+1,8,r,!0):t.set(s-15+o,8,r,!0),o<8?t.set(8,s-o-1,r,!0):o<9?t.set(8,15-o-1+1,r,!0):t.set(8,15-o-1,r,!0);t.set(s-8,8,1,!0)}function yW(t,e){const n=t.size;let s=-1,i=n-1,o=7,r=0;for(let a=n-1;a>0;a-=2)for(a===6&&a--;;){for(let l=0;l<2;l++)if(!t.isReserved(i,a-l)){let c=!1;r>>o&1)===1),t.set(i,a-l,c),o--,o===-1&&(r++,o=7)}if(i+=s,i<0||n<=i){i-=s,s=-s;break}}}function wW(t,e,n){const s=new cW;n.forEach(function(l){s.put(l.mode.bit,4),s.put(l.getLength(),gW.getCharCountIndicator(l.mode,t)),l.write(s)});const i=hu.getSymbolTotalCodewords(t),o=dh.getTotalCodewordsCount(t,e),r=(i-o)*8;for(s.getLengthInBits()+4<=r&&s.put(0,4);s.getLengthInBits()%8!==0;)s.putBit(0);const a=(r-s.getLengthInBits())/8;for(let l=0;lD+x.before.length+x.lines.length+x.after.length,0);if(v+=t.beforeBody.length+t.afterBody.length,d&&(m+=d*c.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),v){const D=e.displayColors?Math.max(a,l.lineHeight):l.lineHeight;m+=g*D+(v-g)*l.lineHeight+(v-1)*e.bodySpacing}f&&(m+=e.footerMarginTop+f*u.lineHeight+(f-1)*e.footerSpacing);let $=0;const A=function(D){y=Math.max(y,n.measureText(D).width+$)};return n.save(),n.font=c.string,ut(t.title,A),n.font=l.string,ut(t.beforeBody.concat(t.afterBody),A),$=e.displayColors?r+2+e.boxPadding:0,ut(s,D=>{ut(D.before,A),ut(D.lines,A),ut(D.after,A)}),$=0,n.font=u.string,ut(t.footer,A),n.restore(),y+=_.width,{width:y,height:m}}function I8(t,e){const{y:n,height:s}=e;return nt.height-s/2?"bottom":"center"}function L8(t,e,n,s){const{x:i,width:o}=s,r=n.caretSize+n.caretPadding;if(t==="left"&&i+o+r>e.width||t==="right"&&i-o-r<0)return!0}function R8(t,e,n,s){const{x:i,width:o}=n,{width:r,chartArea:{left:a,right:l}}=t;let c="center";return s==="center"?c=i<=(a+l)/2?"left":"right":i<=o/2?c="left":i>=r-o/2&&(c="right"),L8(c,t,e,n)&&(c="center"),c}function T_(t,e,n){const s=n.yAlign||e.yAlign||I8(t,n);return{xAlign:n.xAlign||e.xAlign||R8(t,e,n,s),yAlign:s}}function N8(t,e){let{x:n,width:s}=t;return e==="right"?n-=s:e==="center"&&(n-=s/2),n}function F8(t,e,n){let{y:s,height:i}=t;return e==="top"?s+=n:e==="bottom"?s-=i+n:s-=i/2,s}function P_(t,e,n,s){const{caretSize:i,caretPadding:o,cornerRadius:r}=t,{xAlign:a,yAlign:l}=n,c=i+o,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:g}=yo(r);let _=N8(e,a);const m=F8(e,l,c);return l==="center"?a==="left"?_+=c:a==="right"&&(_-=c):a==="left"?_-=Math.max(u,f)+i:a==="right"&&(_+=Math.max(d,g)+i),{x:tn(_,0,s.width-e.width),y:tn(m,0,s.height-e.height)}}function Vl(t,e,n){const s=fn(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-s.right:t.x+s.left}function M_(t){return gs([],Vs(t))}function B8(t,e,n){return Hi(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function D_(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const e1={beforeTitle:Ns,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,s=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(s>0&&e.dataIndex"u"?e1[e].call(n,s):i}class O_ extends ti{static positioners=oa;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,s=this.options.setContext(this.getContext()),i=s.enabled&&n.options.animation&&s.animations,o=new M0(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=B8(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:s}=n,i=Sn(s,"beforeTitle",this,e),o=Sn(s,"title",this,e),r=Sn(s,"afterTitle",this,e);let a=[];return a=gs(a,Vs(i)),a=gs(a,Vs(o)),a=gs(a,Vs(r)),a}getBeforeBody(e,n){return M_(Sn(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:s}=n,i=[];return ut(e,o=>{const r={before:[],lines:[],after:[]},a=D_(s,o);gs(r.before,Vs(Sn(a,"beforeLabel",this,o))),gs(r.lines,Sn(a,"label",this,o)),gs(r.after,Vs(Sn(a,"afterLabel",this,o))),i.push(r)}),i}getAfterBody(e,n){return M_(Sn(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:s}=n,i=Sn(s,"beforeFooter",this,e),o=Sn(s,"footer",this,e),r=Sn(s,"afterFooter",this,e);let a=[];return a=gs(a,Vs(i)),a=gs(a,Vs(o)),a=gs(a,Vs(r)),a}_createItems(e){const n=this._active,s=this.chart.data,i=[],o=[],r=[];let a=[],l,c;for(l=0,c=n.length;le.filter(u,d,f,s))),e.itemSort&&(a=a.sort((u,d)=>e.itemSort(u,d,s))),ut(a,u=>{const d=D_(e.callbacks,u);i.push(Sn(d,"labelColor",this,u)),o.push(Sn(d,"labelPointStyle",this,u)),r.push(Sn(d,"labelTextColor",this,u))}),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=r,this.dataPoints=a,a}update(e,n){const s=this.options.setContext(this.getContext()),i=this._active;let o,r=[];if(!i.length)this.opacity!==0&&(o={opacity:0});else{const a=oa[s.position].call(this,i,this._eventPosition);r=this._createItems(s),this.title=this.getTitle(r,s),this.beforeBody=this.getBeforeBody(r,s),this.body=this.getBody(r,s),this.afterBody=this.getAfterBody(r,s),this.footer=this.getFooter(r,s);const l=this._size=E_(this,s),c=Object.assign({},a,l),u=T_(this.chart,s,c),d=P_(s,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=r,this.$context=void 0,o&&this._resolveAnimations().update(this,o),e&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,s,i){const o=this.getCaretPosition(e,s,i);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(e,n,s){const{xAlign:i,yAlign:o}=this,{caretSize:r,cornerRadius:a}=s,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:d}=yo(a),{x:f,y:g}=e,{width:_,height:m}=n;let y,v,$,A,D,x;return o==="center"?(D=g+m/2,i==="left"?(y=f,v=y-r,A=D+r,x=D-r):(y=f+_,v=y+r,A=D-r,x=D+r),$=y):(i==="left"?v=f+Math.max(l,u)+r:i==="right"?v=f+_-Math.max(c,d)-r:v=this.caretX,o==="top"?(A=g,D=A-r,y=v-r,$=v+r):(A=g+m,D=A+r,y=v+r,$=v-r),x=A),{x1:y,x2:v,x3:$,y1:A,y2:D,y3:x}}drawTitle(e,n,s){const i=this.title,o=i.length;let r,a,l;if(o){const c=or(s.rtl,this.x,this.width);for(e.x=Vl(this,s.titleAlign,s),n.textAlign=c.textAlign(s.titleAlign),n.textBaseline="middle",r=Ut(s.titleFont),a=s.titleSpacing,n.fillStyle=s.titleColor,n.font=r.string,l=0;l$!==0)?(e.beginPath(),e.fillStyle=o.multiKeyBackground,Va(e,{x:m,y:_,w:c,h:l,radius:v}),e.fill(),e.stroke(),e.fillStyle=r.backgroundColor,e.beginPath(),Va(e,{x:y,y:_+1,w:c-2,h:l-2,radius:v}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(m,_,c,l),e.strokeRect(m,_,c,l),e.fillStyle=r.backgroundColor,e.fillRect(y,_+1,c-2,l-2))}e.fillStyle=this.labelTextColors[s]}drawBody(e,n,s){const{body:i}=this,{bodySpacing:o,bodyAlign:r,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=s,d=Ut(s.bodyFont);let f=d.lineHeight,g=0;const _=or(s.rtl,this.x,this.width),m=function(T){n.fillText(T,_.x(e.x+g),e.y+f/2),e.y+=f+o},y=_.textAlign(r);let v,$,A,D,x,w,S;for(n.textAlign=r,n.textBaseline="middle",n.font=d.string,e.x=Vl(this,y,s),n.fillStyle=s.bodyColor,ut(this.beforeBody,m),g=a&&y!=="right"?r==="center"?c/2+u:c+2+u:0,D=0,w=i.length;D0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,s=this.$animations,i=s&&s.x,o=s&&s.y;if(i||o){const r=oa[e.position].call(this,this._active,this._eventPosition);if(!r)return;const a=this._size=E_(this,e),l=Object.assign({},r,this._size),c=T_(n,e,l),u=P_(e,l,c,n);(i._to!==u.x||o._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const r=fn(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(e.save(),e.globalAlpha=s,this.drawBackground(o,e,i,n),A0(e,n.textDirection),o.y+=r.top,this.drawTitle(o,e,n),this.drawBody(o,e,n),this.drawFooter(o,e,n),C0(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const s=this._active,i=e.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!gc(s,i),r=this._positionChanged(i,n);(o||r)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,s=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],r=this._getActiveElements(e,o,n,s),a=this._positionChanged(r,e),l=n||!gc(r,o)||a;return l&&(this._active=r,(i.enabled||i.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),l}_getActiveElements(e,n,s,i){const o=this.options;if(e.type==="mouseout")return[];if(!i)return n.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const r=this.chart.getElementsAtEventForMode(e,o.mode,o,s);return o.reverse&&r.reverse(),r}_positionChanged(e,n){const{caretX:s,caretY:i,options:o}=this,r=oa[o.position].call(this,e,n);return r!==!1&&(s!==r.x||i!==r.y)}}var V8={id:"tooltip",_element:O_,positioners:oa,afterInit(t,e,n){n&&(t.tooltip=new O_({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:e1},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const H8=(t,e,n,s)=>(typeof e=="string"?(n=t.push(e)-1,s.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function j8(t,e,n,s){const i=t.indexOf(e);if(i===-1)return H8(t,e,n,s);const o=t.lastIndexOf(e);return i!==o?n:i}const W8=(t,e)=>t===null?null:tn(Math.round(t),0,e);function I_(t){const e=this.getLabels();return t>=0&&tn.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function K8(t,e){const n=[],{bounds:i,step:o,min:r,max:a,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:f}=t,g=o||1,_=u-1,{min:m,max:y}=e,v=!ot(r),$=!ot(a),A=!ot(c),D=(y-m)/(d+1);let x=Tm((y-m)/_/g)*g,w,S,T,M;if(x<1e-14&&!v&&!$)return[{value:m},{value:y}];M=Math.ceil(y/x)-Math.floor(m/x),M>_&&(x=Tm(M*x/_/g)*g),ot(l)||(w=Math.pow(10,l),x=Math.ceil(x*w)/w),i==="ticks"?(S=Math.floor(m/x)*x,T=Math.ceil(y/x)*x):(S=m,T=y),v&&$&&o&&VB((a-r)/o,x/1e3)?(M=Math.round(Math.min((a-r)/x,u)),x=(a-r)/M,S=r,T=a):A?(S=v?r:S,T=$?a:T,M=c-1,x=(T-S)/M):(M=(T-S)/x,va(M,Math.round(M),x/1e3)?M=Math.round(M):M=Math.ceil(M));const E=Math.max(Pm(x),Pm(S));w=Math.pow(10,ot(l)?E:l),S=Math.round(S*w)/w,T=Math.round(T*w)/w;let V=0;for(v&&(f&&S!==r?(n.push({value:r}),Sa)break;n.push({value:X})}return $&&f&&T!==a?n.length&&va(n[n.length-1].value,a,L_(a,D,t))?n[n.length-1].value=a:n.push({value:a}):(!$||T===a)&&n.push({value:T}),n}function L_(t,e,{horizontal:n,minRotation:s}){const i=rs(s),o=(n?Math.sin(i):Math.cos(i))||.001,r=.75*e*(""+t).length;return Math.min(e/o,r)}class xc extends Oo{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,n){return ot(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:s}=this.getUserBounds();let{min:i,max:o}=this;const r=l=>i=n?i:l,a=l=>o=s?o:l;if(e){const l=$s(i),c=$s(o);l<0&&c<0?a(0):l>0&&c>0&&r(0)}if(i===o){let l=o===0?1:Math.abs(o*.05);a(o+l),e||r(i-l)}this.min=i,this.max=o}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:s}=e,i;return s?(i=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let s=this.getTickLimit();s=Math.max(2,s);const i={maxTicks:s,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},o=this._range||this,r=K8(i,o);return e.bounds==="ticks"&&c0(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const e=this.ticks;let n=this.min,s=this.max;if(super.configure(),this.options.offset&&e.length){const i=(s-n)/Math.max(e.length-1,1)/2;n-=i,s+=i}this._startValue=n,this._endValue=s,this._valueRange=s-n}getLabelForValue(e){return el(e,this.chart.options.locale,this.options.ticks.format)}}class Y8 extends xc{static id="linear";static defaults={ticks:{callback:Zc.formatters.numeric}};determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Tt(e)?e:0,this.max=Tt(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,s=rs(this.options.ticks.minRotation),i=(e?Math.sin(s):Math.cos(s))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/i))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const ja=t=>Math.floor(yi(t)),oo=(t,e)=>Math.pow(10,ja(t)+e);function R_(t){return t/Math.pow(10,ja(t))===1}function N_(t,e,n){const s=Math.pow(10,n),i=Math.floor(t/s);return Math.ceil(e/s)-i}function U8(t,e){const n=e-t;let s=ja(n);for(;N_(t,e,s)>10;)s++;for(;N_(t,e,s)<10;)s--;return Math.min(s,ja(t))}function q8(t,{min:e,max:n}){e=Mn(t.min,e);const s=[],i=ja(e);let o=U8(e,n),r=o<0?Math.pow(10,Math.abs(o)):1;const a=Math.pow(10,o),l=i>o?Math.pow(10,i):0,c=Math.round((e-l)*r)/r,u=Math.floor((e-l)/a/10)*a*10;let d=Math.floor((c-u)/Math.pow(10,o)),f=Mn(t.min,Math.round((l+u+d*Math.pow(10,o))*r)/r);for(;f=10?d=d<15?15:20:d++,d>=20&&(o++,d=2,r=o>=0?1:r),f=Math.round((l+u+d*Math.pow(10,o))*r)/r;const g=Mn(t.max,f);return s.push({value:g,major:R_(g),significand:d}),s}class G8 extends Oo{static id="logarithmic";static defaults={ticks:{callback:Zc.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,n){const s=xc.prototype.parse.apply(this,[e,n]);if(s===0){this._zero=!0;return}return Tt(s)&&s>0?s:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Tt(e)?Math.max(0,e):null,this.max=Tt(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Tt(this._userMin)&&(this.min=e===oo(this.min,0)?oo(this.min,-1):oo(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let s=this.min,i=this.max;const o=a=>s=e?s:a,r=a=>i=n?i:a;s===i&&(s<=0?(o(1),r(10)):(o(oo(s,-1)),r(oo(i,1)))),s<=0&&o(oo(i,-1)),i<=0&&r(oo(s,1)),this.min=s,this.max=i}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},s=q8(n,this);return e.bounds==="ticks"&&c0(s,this,"value"),e.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}getLabelForValue(e){return e===void 0?"0":el(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=yi(e),this._valueRange=yi(this.max)-yi(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(yi(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const n=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+n*this._valueRange)}}function th(t){const e=t.ticks;if(e.display&&t.display){const n=fn(e.backdropPadding);return qe(e.font&&e.font.size,Pt.font.size)+n.height}return 0}function J8(t,e,n){return n=yt(n)?n:[n],{w:s4(t,e.string,n),h:n.length*e.lineHeight}}function F_(t,e,n,s,i){return t===s||t===i?{start:e-n/2,end:e+n/2}:ti?{start:e-n,end:e}:{start:e,end:e+n}}function X8(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),s=[],i=[],o=t._pointLabels.length,r=t.options.pointLabels,a=r.centerPointLabels?xt/o:0;for(let l=0;le.r&&(a=(s.end-e.r)/o,t.r=Math.max(t.r,e.r+a)),i.starte.b&&(l=(i.end-e.b)/r,t.b=Math.max(t.b,e.b+l))}function Z8(t,e,n){const s=t.drawingArea,{extra:i,additionalAngle:o,padding:r,size:a}=n,l=t.getPointPosition(e,s+i+r,o),c=Math.round(Ef(On(l.angle+Nt))),u=iH(l.y,a.h,c),d=nH(c),f=sH(l.x,a.w,d);return{visible:!0,x:l.x,y:u,textAlign:d,left:f,top:u,right:f+a.w,bottom:u+a.h}}function eH(t,e){if(!e)return!0;const{left:n,top:s,right:i,bottom:o}=t;return!(qs({x:n,y:s},e)||qs({x:n,y:o},e)||qs({x:i,y:s},e)||qs({x:i,y:o},e))}function tH(t,e,n){const s=[],i=t._pointLabels.length,o=t.options,{centerPointLabels:r,display:a}=o.pointLabels,l={extra:th(o)/2,additionalAngle:r?xt/i:0};let c;for(let u=0;u270||n<90)&&(t-=e),t}function oH(t,e,n){const{left:s,top:i,right:o,bottom:r}=n,{backdropColor:a}=e;if(!ot(a)){const l=yo(e.borderRadius),c=fn(e.backdropPadding);t.fillStyle=a;const u=s-c.left,d=i-c.top,f=o-s+c.width,g=r-i+c.height;Object.values(l).some(_=>_!==0)?(t.beginPath(),Va(t,{x:u,y:d,w:f,h:g,radius:l}),t.fill()):t.fillRect(u,d,f,g)}}function rH(t,e){const{ctx:n,options:{pointLabels:s}}=t;for(let i=e-1;i>=0;i--){const o=t._pointLabelItems[i];if(!o.visible)continue;const r=s.setContext(t.getPointLabelContext(i));oH(n,r,o);const a=Ut(r.font),{x:l,y:c,textAlign:u}=o;Co(n,t._pointLabels[i],l,c+a.lineHeight/2,a,{color:r.color,textAlign:u,textBaseline:"middle"})}}function t1(t,e,n,s){const{ctx:i}=t;if(n)i.arc(t.xCenter,t.yCenter,e,0,wt);else{let o=t.getPointPosition(0,e);i.moveTo(o.x,o.y);for(let r=1;r{const i=gt(this.options.pointLabels.callback,[n,s],this);return i||i===0?i:""}).filter((n,s)=>this.chart.getDataVisibility(s))}fit(){const e=this.options;e.display&&e.pointLabels.display?X8(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,n,s,i){this.xCenter+=Math.floor((e-n)/2),this.yCenter+=Math.floor((s-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,n,s,i))}getIndexAngle(e){const n=wt/(this._pointLabels.length||1),s=this.options.startAngle||0;return On(e*n+rs(s))}getDistanceFromCenterForValue(e){if(ot(e))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*n:(e-this.min)*n}getValueForDistanceFromCenter(e){if(ot(e))return NaN;const n=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(e){const n=this._pointLabels||[];if(e>=0&&e{if(d!==0){l=this.getDistanceFromCenterForValue(u.value);const f=this.getContext(d),g=i.setContext(f),_=o.setContext(f);aH(this,g,l,r,_)}}),s.display){for(e.save(),a=r-1;a>=0;a--){const u=s.setContext(this.getPointLabelContext(a)),{color:d,lineWidth:f}=u;!f||!d||(e.lineWidth=f,e.strokeStyle=d,e.setLineDash(u.borderDash),e.lineDashOffset=u.borderDashOffset,l=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),c=this.getPointPosition(a,l),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,n=this.options,s=n.ticks;if(!s.display)return;const i=this.getIndexAngle(0);let o,r;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(i),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&!n.reverse)return;const c=s.setContext(this.getContext(l)),u=Ut(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){e.font=u.string,r=e.measureText(a.label).width,e.fillStyle=c.backdropColor;const d=fn(c.backdropPadding);e.fillRect(-r/2-d.left,-o-u.size/2-d.top,r+d.width,u.size+d.height)}Co(e,a.label,0,-o,u,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),e.restore()}drawTitle(){}}const ou={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},An=Object.keys(ou);function B_(t,e){return t-e}function V_(t,e){if(ot(e))return null;const n=t._adapter,{parser:s,round:i,isoWeekday:o}=t._parseOpts;let r=e;return typeof s=="function"&&(r=s(r)),Tt(r)||(r=typeof s=="string"?n.parse(r,s):n.parse(r)),r===null?null:(i&&(r=i==="week"&&(kr(o)||o===!0)?n.startOf(r,"isoWeek",o):n.startOf(r,i)),+r)}function H_(t,e,n,s){const i=An.length;for(let o=An.indexOf(t);o=An.indexOf(n);o--){const r=An[o];if(ou[r].common&&t._adapter.diff(i,s,r)>=e-1)return r}return An[n?An.indexOf(n):0]}function dH(t){for(let e=An.indexOf(t)+1,n=An.length;e=e?n[s]:n[i];t[o]=!0}}function hH(t,e,n,s){const i=t._adapter,o=+i.startOf(e[0].value,s),r=e[e.length-1].value;let a,l;for(a=o;a<=r;a=+i.add(a,1,s))l=n[a],l>=0&&(e[l].major=!0);return e}function W_(t,e,n){const s=[],i={},o=e.length;let r,a;for(r=0;r+e.value))}initOffsets(e=[]){let n=0,s=0,i,o;this.options.offset&&e.length&&(i=this.getDecimalForValue(e[0]),e.length===1?n=1-i:n=(this.getDecimalForValue(e[1])-i)/2,o=this.getDecimalForValue(e[e.length-1]),e.length===1?s=o:s=(o-this.getDecimalForValue(e[e.length-2]))/2);const r=e.length<3?.5:.25;n=tn(n,0,r),s=tn(s,0,r),this._offsets={start:n,end:s,factor:1/(n+1+s)}}_generate(){const e=this._adapter,n=this.min,s=this.max,i=this.options,o=i.time,r=o.unit||H_(o.minUnit,n,s,this._getLabelCapacity(n)),a=qe(i.ticks.stepSize,1),l=r==="week"?o.isoWeekday:!1,c=kr(l)||l===!0,u={};let d=n,f,g;if(c&&(d=+e.startOf(d,"isoWeek",l)),d=+e.startOf(d,c?"day":r),e.diff(s,n,r)>1e5*a)throw new Error(n+" and "+s+" are too far apart with stepSize of "+a+" "+r);const _=i.ticks.source==="data"&&this.getDataTimestamps();for(f=d,g=0;f+m)}getLabelForValue(e){const n=this._adapter,s=this.options.time;return s.tooltipFormat?n.format(e,s.tooltipFormat):n.format(e,s.displayFormats.datetime)}format(e,n){const i=this.options.time.displayFormats,o=this._unit,r=n||i[o];return this._adapter.format(e,r)}_tickFormatFunction(e,n,s,i){const o=this.options,r=o.ticks.callback;if(r)return gt(r,[e,n,s],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&a[l],d=c&&a[c],f=s[n],g=c&&d&&f&&f.major;return this._adapter.format(e,i||(g?d:u))}generateTickLabels(e){let n,s,i;for(n=0,s=e.length;n0?a:1}getDataTimestamps(){let e=this._cache.data||[],n,s;if(e.length)return e;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,s=i.length;n=t[s].pos&&e<=t[i].pos&&({lo:s,hi:i}=Us(t,"pos",e)),{pos:o,time:a}=t[s],{pos:r,time:l}=t[i]):(e>=t[s].time&&e<=t[i].time&&({lo:s,hi:i}=Us(t,"time",e)),{time:o,pos:a}=t[s],{time:r,pos:l}=t[i]);const c=r-o;return c?a+(l-a)*(e-o)/c:a}class fH extends nh{static id="timeseries";static defaults=nh.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=Hl(n,this.min),this._tableRange=Hl(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:s}=this,i=[],o=[];let r,a,l,c,u;for(r=0,a=e.length;r=n&&c<=s&&i.push(c);if(i.length<2)return[{time:n,pos:0},{time:s,pos:1}];for(r=0,a=i.length;ri-o)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),s=this.getLabelTimestamps();return n.length&&s.length?e=this.normalize(n.concat(s)):e=n.length?n:s,e=this._cache.all=e,e}getDecimalForValue(e){return(Hl(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,s=this.getDecimalForPixel(e)/n.factor-n.end;return Hl(this._table,s*this._tableRange+this._minPos,!0)}}const n1={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},pH={ariaLabel:{type:String},ariaDescribedby:{type:String}},gH={type:{type:String,required:!0},...n1,...pH},mH=Ov[0]==="2"?(t,e)=>Object.assign(t,{attrs:e}):(t,e)=>Object.assign(t,e);function Go(t){return Ic(t)?et(t):t}function _H(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return Ic(e)?new Proxy(t,{}):t}function bH(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function s1(t,e){t.labels=e}function i1(t,e,n){const s=[];t.datasets=e.map(i=>{const o=t.datasets.find(r=>r[n]===i[n]);return!o||!i.data||s.includes(o)?{...i}:(s.push(o),Object.assign(o,i),o)})}function vH(t,e){const n={labels:[],datasets:[]};return s1(n,t.labels),i1(n,t.datasets,e),n}const yH=Bt({props:gH,setup(t,e){let{expose:n,slots:s}=e;const i=be(null),o=Fh(null);n({chart:o});const r=()=>{if(!i.value)return;const{type:c,data:u,options:d,plugins:f,datasetIdKey:g}=t,_=vH(u,g),m=_H(_,u);o.value=new su(i.value,{type:c,data:m,options:{...d},plugins:f})},a=()=>{const c=et(o.value);c&&(c.destroy(),o.value=null)},l=c=>{c.update(t.updateMode)};return Jt(r),Kh(a),Ht([()=>t.options,()=>t.data],(c,u)=>{let[d,f]=c,[g,_]=u;const m=et(o.value);if(!m)return;let y=!1;if(d){const v=Go(d),$=Go(g);v&&v!==$&&(bH(m,v),y=!0)}if(f){const v=Go(f.labels),$=Go(_.labels),A=Go(f.datasets),D=Go(_.datasets);v!==$&&(s1(m.config.data,v),y=!0),A&&A!==D&&(i1(m.config.data,A,t.datasetIdKey),y=!0)}y&&nn(()=>{l(m)})},{deep:!0}),()=>$o("canvas",{role:"img",ariaLabel:t.ariaLabel,ariaDescribedby:t.ariaDescribedby,ref:i},[$o("p",{},[s.default?s.default():""])])}});function o1(t,e){return su.register(e),Bt({props:n1,setup(n,s){let{expose:i}=s;const o=Fh(null),r=a=>{o.value=a?.chart};return i({chart:o}),()=>$o(yH,mH({ref:r},{type:t,...n}))}})}const wH=o1("bar",I0),xH=o1("line",R0);function Zs(t){return Array.isArray?Array.isArray(t):l1(t)==="[object Array]"}const kH=1/0;function SH(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-kH?"-0":e}function $H(t){return t==null?"":SH(t)}function xs(t){return typeof t=="string"}function r1(t){return typeof t=="number"}function AH(t){return t===!0||t===!1||CH(t)&&l1(t)=="[object Boolean]"}function a1(t){return typeof t=="object"}function CH(t){return a1(t)&&t!==null}function In(t){return t!=null}function fd(t){return!t.trim().length}function l1(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const EH="Incorrect 'index' type",TH=t=>`Invalid value for key ${t}`,PH=t=>`Pattern length exceeds max of ${t}.`,MH=t=>`Missing ${t} property in key`,DH=t=>`Property 'weight' in key '${t}' must be a positive integer`,z_=Object.prototype.hasOwnProperty;class OH{constructor(e){this._keys=[],this._keyMap={};let n=0;e.forEach(s=>{let i=c1(s);this._keys.push(i),this._keyMap[i.id]=i,n+=i.weight}),this._keys.forEach(s=>{s.weight/=n})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function c1(t){let e=null,n=null,s=null,i=1,o=null;if(xs(t)||Zs(t))s=t,e=K_(t),n=sh(t);else{if(!z_.call(t,"name"))throw new Error(MH("name"));const r=t.name;if(s=r,z_.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(DH(r));e=K_(r),n=sh(r),o=t.getFn}return{path:e,id:n,weight:i,src:s,getFn:o}}function K_(t){return Zs(t)?t:t.split(".")}function sh(t){return Zs(t)?t.join("."):t}function IH(t,e){let n=[],s=!1;const i=(o,r,a)=>{if(In(o))if(!r[a])n.push(o);else{let l=r[a];const c=o[l];if(!In(c))return;if(a===r.length-1&&(xs(c)||r1(c)||AH(c)))n.push($H(c));else if(Zs(c)){s=!0;for(let u=0,d=c.length;ut.score===e.score?t.idx{this._keysMap[n.id]=s})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,xs(this.docs[0])?this.docs.forEach((e,n)=>{this._addString(e,n)}):this.docs.forEach((e,n)=>{this._addObject(e,n)}),this.norm.clear())}add(e){const n=this.size();xs(e)?this._addString(e,n):this._addObject(e,n)}removeAt(e){this.records.splice(e,1);for(let n=e,s=this.size();n{let r=i.getFn?i.getFn(e):this.getFn(e,i.path);if(In(r)){if(Zs(r)){let a=[];const l=[{nestedArrIndex:-1,value:r}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(In(u))if(xs(u)&&!fd(u)){let d={v:u,i:c,n:this.norm.get(u)};a.push(d)}else Zs(u)&&u.forEach((d,f)=>{l.push({nestedArrIndex:f,value:d})})}s.$[o]=a}else if(xs(r)&&!fd(r)){let a={v:r,n:this.norm.get(r)};s.$[o]=a}}}),this.records.push(s)}toJSON(){return{keys:this.keys,records:this.records}}}function u1(t,e,{getFn:n=Ue.getFn,fieldNormWeight:s=Ue.fieldNormWeight}={}){const i=new Vf({getFn:n,fieldNormWeight:s});return i.setKeys(t.map(c1)),i.setSources(e),i.create(),i}function HH(t,{getFn:e=Ue.getFn,fieldNormWeight:n=Ue.fieldNormWeight}={}){const{keys:s,records:i}=t,o=new Vf({getFn:e,fieldNormWeight:n});return o.setKeys(s),o.setIndexRecords(i),o}function jl(t,{errors:e=0,currentLocation:n=0,expectedLocation:s=0,distance:i=Ue.distance,ignoreLocation:o=Ue.ignoreLocation}={}){const r=e/t.length;if(o)return r;const a=Math.abs(s-n);return i?r+a/i:a?1:r}function jH(t=[],e=Ue.minMatchCharLength){let n=[],s=-1,i=-1,o=0;for(let r=t.length;o=e&&n.push([s,i]),s=-1)}return t[o-1]&&o-s>=e&&n.push([s,o-1]),n}const ho=32;function WH(t,e,n,{location:s=Ue.location,distance:i=Ue.distance,threshold:o=Ue.threshold,findAllMatches:r=Ue.findAllMatches,minMatchCharLength:a=Ue.minMatchCharLength,includeMatches:l=Ue.includeMatches,ignoreLocation:c=Ue.ignoreLocation}={}){if(e.length>ho)throw new Error(PH(ho));const u=e.length,d=t.length,f=Math.max(0,Math.min(s,d));let g=o,_=f;const m=a>1||l,y=m?Array(d):[];let v;for(;(v=t.indexOf(e,_))>-1;){let S=jl(e,{currentLocation:v,expectedLocation:f,distance:i,ignoreLocation:c});if(g=Math.min(S,g),_=v+u,m){let T=0;for(;T=E;Y-=1){let R=Y-1,I=n[t.charAt(R)];if(m&&(y[R]=+!!I),X[Y]=(X[Y+1]<<1|1)&I,S&&(X[Y]|=($[Y+1]|$[Y])<<1|1|$[Y+1]),X[Y]&x&&(A=jl(e,{errors:S,currentLocation:R,expectedLocation:f,distance:i,ignoreLocation:c}),A<=g)){if(g=A,_=R,_<=f)break;E=Math.max(1,2*f-_)}}if(jl(e,{errors:S+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:c})>g)break;$=X}const w={isMatch:_>=0,score:Math.max(.001,A)};if(m){const S=jH(y,a);S.length?l&&(w.indices=S):w.isMatch=!1}return w}function zH(t){let e={};for(let n=0,s=t.length;n{this.chunks.push({pattern:f,alphabet:zH(f),startIndex:g})},d=this.pattern.length;if(d>ho){let f=0;const g=d%ho,_=d-g;for(;f<_;)u(this.pattern.substr(f,ho),f),f+=ho;if(g){const m=d-ho;u(this.pattern.substr(m),m)}}else u(this.pattern,0)}searchIn(e){const{isCaseSensitive:n,includeMatches:s}=this.options;if(n||(e=e.toLowerCase()),this.pattern===e){let _={isMatch:!0,score:0};return s&&(_.indices=[[0,e.length-1]]),_}const{location:i,distance:o,threshold:r,findAllMatches:a,minMatchCharLength:l,ignoreLocation:c}=this.options;let u=[],d=0,f=!1;this.chunks.forEach(({pattern:_,alphabet:m,startIndex:y})=>{const{isMatch:v,score:$,indices:A}=WH(e,_,m,{location:i+y,distance:o,threshold:r,findAllMatches:a,minMatchCharLength:l,includeMatches:s,ignoreLocation:c});v&&(f=!0),d+=$,v&&A&&(u=[...u,...A])});let g={isMatch:f,score:f?d/this.chunks.length:1};return f&&s&&(g.indices=u),g}}class Wi{constructor(e){this.pattern=e}static isMultiMatch(e){return Y_(e,this.multiRegex)}static isSingleMatch(e){return Y_(e,this.singleRegex)}search(){}}function Y_(t,e){const n=t.match(e);return n?n[1]:null}class KH extends Wi{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const n=e===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class YH extends Wi{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const s=e.indexOf(this.pattern)===-1;return{isMatch:s,score:s?0:1,indices:[0,e.length-1]}}}class UH extends Wi{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const n=e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class qH extends Wi{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const n=!e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class GH extends Wi{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const n=e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class JH extends Wi{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const n=!e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class h1 extends Wi{constructor(e,{location:n=Ue.location,threshold:s=Ue.threshold,distance:i=Ue.distance,includeMatches:o=Ue.includeMatches,findAllMatches:r=Ue.findAllMatches,minMatchCharLength:a=Ue.minMatchCharLength,isCaseSensitive:l=Ue.isCaseSensitive,ignoreLocation:c=Ue.ignoreLocation}={}){super(e),this._bitapSearch=new d1(e,{location:n,threshold:s,distance:i,includeMatches:o,findAllMatches:r,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class f1 extends Wi{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let n=0,s;const i=[],o=this.pattern.length;for(;(s=e.indexOf(this.pattern,n))>-1;)n=s+o,i.push([s,n-1]);const r=!!i.length;return{isMatch:r,score:r?0:1,indices:i}}}const ih=[KH,f1,UH,qH,JH,GH,YH,h1],U_=ih.length,XH=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,QH="|";function ZH(t,e={}){return t.split(QH).map(n=>{let s=n.trim().split(XH).filter(o=>o&&!!o.trim()),i=[];for(let o=0,r=s.length;o!!(t[kc.AND]||t[kc.OR]),sj=t=>!!t[ah.PATH],ij=t=>!Zs(t)&&a1(t)&&!lh(t),q_=t=>({[kc.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function p1(t,e,{auto:n=!0}={}){const s=i=>{let o=Object.keys(i);const r=sj(i);if(!r&&o.length>1&&!lh(i))return s(q_(i));if(ij(i)){const l=r?i[ah.PATH]:o[0],c=r?i[ah.PATTERN]:i[l];if(!xs(c))throw new Error(TH(l));const u={keyId:sh(l),pattern:c};return n&&(u.searcher=rh(c,e)),u}let a={children:[],operator:o[0]};return o.forEach(l=>{const c=i[l];Zs(c)&&c.forEach(u=>{a.children.push(s(u))})}),a};return lh(t)||(t=q_(t)),s(t)}function oj(t,{ignoreFieldNorm:e=Ue.ignoreFieldNorm}){t.forEach(n=>{let s=1;n.matches.forEach(({key:i,norm:o,score:r})=>{const a=i?i.weight:null;s*=Math.pow(r===0&&a?Number.EPSILON:r,(a||1)*(e?1:o))}),n.score=s})}function rj(t,e){const n=t.matches;e.matches=[],In(n)&&n.forEach(s=>{if(!In(s.indices)||!s.indices.length)return;const{indices:i,value:o}=s;let r={indices:i,value:o};s.key&&(r.key=s.key.src),s.idx>-1&&(r.refIndex=s.idx),e.matches.push(r)})}function aj(t,e){e.score=t.score}function lj(t,e,{includeMatches:n=Ue.includeMatches,includeScore:s=Ue.includeScore}={}){const i=[];return n&&i.push(rj),s&&i.push(aj),t.map(o=>{const{idx:r}=o,a={item:e[r],refIndex:r};return i.length&&i.forEach(l=>{l(o,a)}),a})}class Lr{constructor(e,n={},s){this.options={...Ue,...n},this.options.useExtendedSearch,this._keyStore=new OH(this.options.keys),this.setCollection(e,s)}setCollection(e,n){if(this._docs=e,n&&!(n instanceof Vf))throw new Error(EH);this._myIndex=n||u1(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){In(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const n=[];for(let s=0,i=this._docs.length;s-1&&(l=l.slice(0,n)),lj(l,this._docs,{includeMatches:s,includeScore:i})}_searchStringList(e){const n=rh(e,this.options),{records:s}=this._myIndex,i=[];return s.forEach(({v:o,i:r,n:a})=>{if(!In(o))return;const{isMatch:l,score:c,indices:u}=n.searchIn(o);l&&i.push({item:o,idx:r,matches:[{score:c,value:o,norm:a,indices:u}]})}),i}_searchLogical(e){const n=p1(e,this.options),s=(a,l,c)=>{if(!a.children){const{keyId:d,searcher:f}=a,g=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(l,d),searcher:f});return g&&g.length?[{idx:c,item:l,matches:g}]:[]}const u=[];for(let d=0,f=a.children.length;d{if(In(a)){let c=s(n,a,l);c.length&&(o[l]||(o[l]={idx:l,item:a,matches:[]},r.push(o[l])),c.forEach(({matches:u})=>{o[l].matches.push(...u)}))}}),r}_searchObjectList(e){const n=rh(e,this.options),{keys:s,records:i}=this._myIndex,o=[];return i.forEach(({$:r,i:a})=>{if(!In(r))return;let l=[];s.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:r[u],searcher:n}))}),l.length&&o.push({idx:a,item:r,matches:l})}),o}_findMatches({key:e,value:n,searcher:s}){if(!In(n))return[];let i=[];if(Zs(n))n.forEach(({v:o,i:r,n:a})=>{if(!In(o))return;const{isMatch:l,score:c,indices:u}=s.searchIn(o);l&&i.push({score:c,key:e,value:o,idx:r,norm:a,indices:u})});else{const{v:o,n:r}=n,{isMatch:a,score:l,indices:c}=s.searchIn(o);a&&i.push({score:l,key:e,value:o,norm:r,indices:c})}return i}}Lr.version="7.0.0";Lr.createIndex=u1;Lr.parseIndex=HH;Lr.config=Ue;Lr.parseQuery=p1;nj(tj);const cj={name:"peerSettings",components:{LocaleText:Ge},props:{selectedPeer:Object},data(){return{data:void 0,dataChanged:!1,showKey:!1,saving:!1}},setup(){return{dashboardConfigurationStore:Xe()}},methods:{reset(){this.selectedPeer&&(this.data=JSON.parse(JSON.stringify(this.selectedPeer)),this.dataChanged=!1)},savePeer(){this.saving=!0,ht(`/api/updatePeerSettings/${this.$route.params.id}`,this.data,t=>{this.saving=!1,t.status?this.dashboardConfigurationStore.newMessage("Server","Peer saved","success"):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.$emit("refresh")})},resetPeerData(t){this.saving=!0,ht(`/api/resetPeerData/${this.$route.params.id}`,{id:this.data.id,type:t},e=>{this.saving=!1,e.status?this.dashboardConfigurationStore.newMessage("Server","Peer data usage reset successfully","success"):this.dashboardConfigurationStore.newMessage("Server",e.message,"danger"),this.$emit("refresh")})}},beforeMount(){this.reset()},mounted(){this.$el.querySelectorAll("input").forEach(t=>{t.addEventListener("keyup",()=>{this.dataChanged=!0})})}},Rr=t=>(qt("data-v-2c571abb"),t=t(),Gt(),t),uj={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},dj={class:"container d-flex h-100 w-100"},hj={class:"m-auto modal-dialog-centered dashboardModal"},fj={class:"card rounded-3 shadow flex-grow-1"},pj={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},gj={class:"mb-0"},mj={key:0,class:"card-body px-4 pb-4"},_j={class:"d-flex flex-column gap-2 mb-4"},bj={class:"d-flex align-items-center"},vj={class:"text-muted"},yj={class:"ms-auto"},wj={for:"peer_name_textbox",class:"form-label"},xj={class:"text-muted"},kj=["disabled"],Sj={class:"d-flex position-relative"},$j={for:"peer_private_key_textbox",class:"form-label"},Aj={class:"text-muted"},Cj=["type","disabled"],Ej={for:"peer_allowed_ip_textbox",class:"form-label"},Tj={class:"text-muted"},Pj=["disabled"],Mj={for:"peer_endpoint_allowed_ips",class:"form-label"},Dj={class:"text-muted"},Oj=["disabled"],Ij={for:"peer_DNS_textbox",class:"form-label"},Lj={class:"text-muted"},Rj=["disabled"],Nj={class:"accordion mt-3",id:"peerSettingsAccordion"},Fj={class:"accordion-item"},Bj={class:"accordion-header"},Vj={class:"accordion-button rounded-3 collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#peerSettingsAccordionOptional"},Hj={id:"peerSettingsAccordionOptional",class:"accordion-collapse collapse","data-bs-parent":"#peerSettingsAccordion"},jj={class:"accordion-body d-flex flex-column gap-2 mb-2"},Wj={for:"peer_preshared_key_textbox",class:"form-label"},zj={class:"text-muted"},Kj=["disabled"],Yj={for:"peer_mtu",class:"form-label"},Uj={class:"text-muted"},qj=["disabled"],Gj={for:"peer_keep_alive",class:"form-label"},Jj={class:"text-muted"},Xj=["disabled"],Qj=Rr(()=>h("hr",null,null,-1)),Zj={class:"d-flex gap-2 align-items-center"},eW={class:"d-flex gap-2 ms-auto"},tW=Rr(()=>h("i",{class:"bi bi-arrow-down-up me-2"},null,-1)),nW=Rr(()=>h("i",{class:"bi bi-arrow-down me-2"},null,-1)),sW=Rr(()=>h("i",{class:"bi bi-arrow-up me-2"},null,-1)),iW={class:"d-flex align-items-center gap-2"},oW=["disabled"],rW=Rr(()=>h("i",{class:"bi bi-arrow-clockwise ms-2"},null,-1)),aW=["disabled"],lW=Rr(()=>h("i",{class:"bi bi-save-fill ms-2"},null,-1));function cW(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",uj,[h("div",dj,[h("div",hj,[h("div",fj,[h("div",pj,[h("h4",gj,[N(r,{t:"Peer Settings"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),this.data?(C(),F("div",mj,[h("div",_j,[h("div",bj,[h("small",vj,[N(r,{t:"Public Key"})]),h("small",yj,[h("samp",null,xe(this.data.id),1)])]),h("div",null,[h("label",wj,[h("small",xj,[N(r,{t:"Name"})])]),Le(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[1]||(e[1]=a=>this.data.name=a),id:"peer_name_textbox",placeholder:""},null,8,kj),[[We,this.data.name]])]),h("div",null,[h("div",Sj,[h("label",$j,[h("small",Aj,[N(r,{t:"Private Key"}),h("code",null,[N(r,{t:"(Required for QR Code and Download)"})])])]),h("a",{role:"button",class:"ms-auto text-decoration-none toggleShowKey",onClick:e[2]||(e[2]=a=>this.showKey=!this.showKey)},[h("i",{class:Ee(["bi",[this.showKey?"bi-eye-slash-fill":"bi-eye-fill"]])},null,2)])]),Le(h("input",{type:[this.showKey?"text":"password"],class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[3]||(e[3]=a=>this.data.private_key=a),id:"peer_private_key_textbox",style:{"padding-right":"40px"}},null,8,Cj),[[Wv,this.data.private_key]])]),h("div",null,[h("label",Ej,[h("small",Tj,[N(r,{t:"Allowed IPs"}),h("code",null,[N(r,{t:"(Required)"})])])]),Le(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[4]||(e[4]=a=>this.data.allowed_ip=a),id:"peer_allowed_ip_textbox"},null,8,Pj),[[We,this.data.allowed_ip]])]),h("div",null,[h("label",Mj,[h("small",Dj,[N(r,{t:"Endpoint Allowed IPs"}),h("code",null,[N(r,{t:"(Required)"})])])]),Le(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[5]||(e[5]=a=>this.data.endpoint_allowed_ip=a),id:"peer_endpoint_allowed_ips"},null,8,Oj),[[We,this.data.endpoint_allowed_ip]])]),h("div",null,[h("label",Ij,[h("small",Lj,[N(r,{t:"DNS"})])]),Le(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[6]||(e[6]=a=>this.data.DNS=a),id:"peer_DNS_textbox"},null,8,Rj),[[We,this.data.DNS]])]),h("div",Nj,[h("div",Fj,[h("h2",Bj,[h("button",Vj,[N(r,{t:"Optional Settings"})])]),h("div",Hj,[h("div",jj,[h("div",null,[h("label",Wj,[h("small",zj,[N(r,{t:"Pre-Shared Key"})])]),Le(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[7]||(e[7]=a=>this.data.preshared_key=a),id:"peer_preshared_key_textbox"},null,8,Kj),[[We,this.data.preshared_key]])]),h("div",null,[h("label",Yj,[h("small",Uj,[N(r,{t:"MTU"})])]),Le(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[8]||(e[8]=a=>this.data.mtu=a),id:"peer_mtu"},null,8,qj),[[We,this.data.mtu]])]),h("div",null,[h("label",Gj,[h("small",Jj,[N(r,{t:"Persistent Keepalive"})])]),Le(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[9]||(e[9]=a=>this.data.keepalive=a),id:"peer_keep_alive"},null,8,Xj),[[We,this.data.keepalive]])])])])])]),Qj,h("div",Zj,[h("strong",null,[N(r,{t:"Reset Data Usage"})]),h("div",eW,[h("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:e[10]||(e[10]=a=>this.resetPeerData("total"))},[tW,N(r,{t:"Total"})]),h("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:e[11]||(e[11]=a=>this.resetPeerData("receive"))},[nW,N(r,{t:"Received"})]),h("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:e[12]||(e[12]=a=>this.resetPeerData("sent"))},[sW,N(r,{t:"Sent"})])])])]),h("div",iW,[h("button",{class:"btn btn-secondary rounded-3 shadow",onClick:e[13]||(e[13]=a=>this.reset()),disabled:!this.dataChanged||this.saving},[N(r,{t:"Revert"}),rW],8,oW),h("button",{class:"ms-auto btn btn-dark btn-brand rounded-3 px-3 py-2 shadow",disabled:!this.dataChanged||this.saving,onClick:e[14]||(e[14]=a=>this.savePeer())},[N(r,{t:"Save Peer"}),lW],8,aW)])])):re("",!0)])])])])}const uW=je(cj,[["render",cW],["__scopeId","data-v-2c571abb"]]);var Io={},dW=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},g1={},Bn={};let Hf;const hW=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Bn.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17};Bn.getSymbolTotalCodewords=function(e){return hW[e]};Bn.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};Bn.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');Hf=e};Bn.isKanjiModeEnabled=function(){return typeof Hf<"u"};Bn.toSJIS=function(e){return Hf(e)};var ru={};(function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2};function e(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+n)}}t.isValid=function(s){return s&&typeof s.bit<"u"&&s.bit>=0&&s.bit<4},t.from=function(s,i){if(t.isValid(s))return s;try{return e(s)}catch{return i}}})(ru);function m1(){this.buffer=[],this.length=0}m1.prototype={get:function(t){const e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},put:function(t,e){for(let n=0;n>>e-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var fW=m1;function nl(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}nl.prototype.set=function(t,e,n,s){const i=t*this.size+e;this.data[i]=n,s&&(this.reservedBit[i]=!0)};nl.prototype.get=function(t,e){return this.data[t*this.size+e]};nl.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n};nl.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var pW=nl,_1={};(function(t){const e=Bn.getSymbolSize;t.getRowColCoords=function(s){if(s===1)return[];const i=Math.floor(s/7)+2,o=e(s),r=o===145?26:Math.ceil((o-13)/(2*i-2))*2,a=[o-7];for(let l=1;l=0&&i<=7},t.from=function(i){return t.isValid(i)?parseInt(i,10):void 0},t.getPenaltyN1=function(i){const o=i.size;let r=0,a=0,l=0,c=null,u=null;for(let d=0;d=5&&(r+=e.N1+(a-5)),c=g,a=1),g=i.get(f,d),g===u?l++:(l>=5&&(r+=e.N1+(l-5)),u=g,l=1)}a>=5&&(r+=e.N1+(a-5)),l>=5&&(r+=e.N1+(l-5))}return r},t.getPenaltyN2=function(i){const o=i.size;let r=0;for(let a=0;a=10&&(a===1488||a===93)&&r++,l=l<<1&2047|i.get(u,c),u>=10&&(l===1488||l===93)&&r++}return r*e.N3},t.getPenaltyN4=function(i){let o=0;const r=i.data.length;for(let l=0;l=0;){const r=o[0];for(let l=0;l0){const o=new Uint8Array(this.degree);return o.set(s,i),o}return s};var mW=jf,x1={},zi={},Wf={};Wf.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40};var Ms={};const k1="[0-9]+",_W="[A-Z $%*+\\-./:]+";let Wa="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";Wa=Wa.replace(/u/g,"\\u");const bW="(?:(?![A-Z0-9 $%*+\\-./:]|"+Wa+`)(?:.|[\r +]))+`;Ms.KANJI=new RegExp(Wa,"g");Ms.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Ms.BYTE=new RegExp(bW,"g");Ms.NUMERIC=new RegExp(k1,"g");Ms.ALPHANUMERIC=new RegExp(_W,"g");const vW=new RegExp("^"+Wa+"$"),yW=new RegExp("^"+k1+"$"),wW=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Ms.testKanji=function(e){return vW.test(e)};Ms.testNumeric=function(e){return yW.test(e)};Ms.testAlphanumeric=function(e){return wW.test(e)};(function(t){const e=Wf,n=Ms;t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(o,r){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!e.isValid(r))throw new Error("Invalid version: "+r);return r>=1&&r<10?o.ccBits[0]:r<27?o.ccBits[1]:o.ccBits[2]},t.getBestModeForData=function(o){return n.testNumeric(o)?t.NUMERIC:n.testAlphanumeric(o)?t.ALPHANUMERIC:n.testKanji(o)?t.KANJI:t.BYTE},t.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},t.isValid=function(o){return o&&o.bit&&o.ccBits};function s(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+i)}}t.from=function(o,r){if(t.isValid(o))return o;try{return s(o)}catch{return r}}})(zi);(function(t){const e=Bn,n=au,s=ru,i=zi,o=Wf,r=7973,a=e.getBCHDigit(r);function l(f,g,_){for(let m=1;m<=40;m++)if(g<=t.getCapacity(m,_,f))return m}function c(f,g){return i.getCharCountIndicator(f,g)+4}function u(f,g){let _=0;return f.forEach(function(m){const y=c(m.mode,g);_+=y+m.getBitsLength()}),_}function d(f,g){for(let _=1;_<=40;_++)if(u(f,_)<=t.getCapacity(_,g,i.MIXED))return _}t.from=function(g,_){return o.isValid(g)?parseInt(g,10):_},t.getCapacity=function(g,_,m){if(!o.isValid(g))throw new Error("Invalid QR Code version");typeof m>"u"&&(m=i.BYTE);const y=e.getSymbolTotalCodewords(g),v=n.getTotalCodewordsCount(g,_),$=(y-v)*8;if(m===i.MIXED)return $;const A=$-c(m,g);switch(m){case i.NUMERIC:return Math.floor(A/10*3);case i.ALPHANUMERIC:return Math.floor(A/11*2);case i.KANJI:return Math.floor(A/13);case i.BYTE:default:return Math.floor(A/8)}},t.getBestVersionForData=function(g,_){let m;const y=s.from(_,s.M);if(Array.isArray(g)){if(g.length>1)return d(g,y);if(g.length===0)return 1;m=g[0]}else m=g;return l(m.mode,m.getLength(),y)},t.getEncodedBits=function(g){if(!o.isValid(g)||g<7)throw new Error("Invalid QR Code version");let _=g<<12;for(;e.getBCHDigit(_)-a>=0;)_^=r<=0;)i^=$1<0&&(s=this.data.substr(n),i=parseInt(s,10),e.put(i,o*3+1))};var SW=Ar;const $W=zi,pd=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Cr(t){this.mode=$W.ALPHANUMERIC,this.data=t}Cr.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};Cr.prototype.getLength=function(){return this.data.length};Cr.prototype.getBitsLength=function(){return Cr.getBitsLength(this.data.length)};Cr.prototype.write=function(e){let n;for(n=0;n+2<=this.data.length;n+=2){let s=pd.indexOf(this.data[n])*45;s+=pd.indexOf(this.data[n+1]),e.put(s,11)}this.data.length%2&&e.put(pd.indexOf(this.data[n]),6)};var AW=Cr,CW=function(e){for(var n=[],s=e.length,i=0;i=55296&&o<=56319&&s>i+1){var r=e.charCodeAt(i+1);r>=56320&&r<=57343&&(o=(o-55296)*1024+r-56320+65536,i+=1)}if(o<128){n.push(o);continue}if(o<2048){n.push(o>>6|192),n.push(o&63|128);continue}if(o<55296||o>=57344&&o<65536){n.push(o>>12|224),n.push(o>>6&63|128),n.push(o&63|128);continue}if(o>=65536&&o<=1114111){n.push(o>>18|240),n.push(o>>12&63|128),n.push(o>>6&63|128),n.push(o&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer};const EW=CW,TW=zi;function Er(t){this.mode=TW.BYTE,typeof t=="string"&&(t=EW(t)),this.data=new Uint8Array(t)}Er.getBitsLength=function(e){return e*8};Er.prototype.getLength=function(){return this.data.length};Er.prototype.getBitsLength=function(){return Er.getBitsLength(this.data.length)};Er.prototype.write=function(t){for(let e=0,n=this.data.length;e=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+` +Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),t.put(n,13)}};var OW=Tr,C1={exports:{}};(function(t){var e={single_source_shortest_paths:function(n,s,i){var o={},r={};r[s]=0;var a=e.PriorityQueue.make();a.push(s,0);for(var l,c,u,d,f,g,_,m,y;!a.empty();){l=a.pop(),c=l.value,d=l.cost,f=n[c]||{};for(u in f)f.hasOwnProperty(u)&&(g=f[u],_=d+g,m=r[u],y=typeof r[u]>"u",(y||m>_)&&(r[u]=_,a.push(u,_),o[u]=c))}if(typeof i<"u"&&typeof r[i]>"u"){var v=["Could not find a path from ",s," to ",i,"."].join("");throw new Error(v)}return o},extract_shortest_path_from_predecessor_list:function(n,s){for(var i=[],o=s;o;)i.push(o),n[o],o=n[o];return i.reverse(),i},find_path:function(n,s,i){var o=e.single_source_shortest_paths(n,s,i);return e.extract_shortest_path_from_predecessor_list(o,i)},PriorityQueue:{make:function(n){var s=e.PriorityQueue,i={},o;n=n||{};for(o in s)s.hasOwnProperty(o)&&(i[o]=s[o]);return i.queue=[],i.sorter=n.sorter||s.default_sorter,i},default_sorter:function(n,s){return n.cost-s.cost},push:function(n,s){var i={value:n,cost:s};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};t.exports=e})(C1);var IW=C1.exports;(function(t){const e=zi,n=SW,s=AW,i=PW,o=OW,r=Ms,a=Bn,l=IW;function c(v){return unescape(encodeURIComponent(v)).length}function u(v,$,A){const D=[];let x;for(;(x=v.exec(A))!==null;)D.push({data:x[0],index:x.index,mode:$,length:x[0].length});return D}function d(v){const $=u(r.NUMERIC,e.NUMERIC,v),A=u(r.ALPHANUMERIC,e.ALPHANUMERIC,v);let D,x;return a.isKanjiModeEnabled()?(D=u(r.BYTE,e.BYTE,v),x=u(r.KANJI,e.KANJI,v)):(D=u(r.BYTE_KANJI,e.BYTE,v),x=[]),$.concat(A,D,x).sort(function(S,T){return S.index-T.index}).map(function(S){return{data:S.data,mode:S.mode,length:S.length}})}function f(v,$){switch($){case e.NUMERIC:return n.getBitsLength(v);case e.ALPHANUMERIC:return s.getBitsLength(v);case e.KANJI:return o.getBitsLength(v);case e.BYTE:return i.getBitsLength(v)}}function g(v){return v.reduce(function($,A){const D=$.length-1>=0?$[$.length-1]:null;return D&&D.mode===A.mode?($[$.length-1].data+=A.data,$):($.push(A),$)},[])}function _(v){const $=[];for(let A=0;A=0&&a<=6&&(l===0||l===6)||l>=0&&l<=6&&(a===0||a===6)||a>=2&&a<=4&&l>=2&&l<=4?t.set(o+a,r+l,!0,!0):t.set(o+a,r+l,!1,!0))}}function WW(t){const e=t.size;for(let n=8;n>a&1)===1,t.set(i,o,r,!0),t.set(o,i,r,!0)}function _d(t,e,n){const s=t.size,i=VW.getEncodedBits(e,n);let o,r;for(o=0;o<15;o++)r=(i>>o&1)===1,o<6?t.set(o,8,r,!0):o<8?t.set(o+1,8,r,!0):t.set(s-15+o,8,r,!0),o<8?t.set(8,s-o-1,r,!0):o<9?t.set(8,15-o-1+1,r,!0):t.set(8,15-o-1,r,!0);t.set(s-8,8,1,!0)}function YW(t,e){const n=t.size;let s=-1,i=n-1,o=7,r=0;for(let a=n-1;a>0;a-=2)for(a===6&&a--;;){for(let l=0;l<2;l++)if(!t.isReserved(i,a-l)){let c=!1;r>>o&1)===1),t.set(i,a-l,c),o--,o===-1&&(r++,o=7)}if(i+=s,i<0||n<=i){i-=s,s=-s;break}}}function UW(t,e,n){const s=new LW;n.forEach(function(l){s.put(l.mode.bit,4),s.put(l.getLength(),HW.getCharCountIndicator(l.mode,t)),l.write(s)});const i=cu.getSymbolTotalCodewords(t),o=dh.getTotalCodewordsCount(t,e),r=(i-o)*8;for(s.getLengthInBits()+4<=r&&s.put(0,4);s.getLengthInBits()%8!==0;)s.putBit(0);const a=(r-s.getLengthInBits())/8;for(let l=0;l=7&&bW(l,e),yW(l,r),isNaN(s)&&(s=uh.getBestMask(l,_d.bind(null,l,n))),uh.applyMask(s,l),_d(l,n,s),{modules:l,version:e,errorCorrectionLevel:n,maskPattern:s,segments:i}}g1.create=function(e,n){if(typeof e>"u"||e==="")throw new Error("No input text");let s=gd.M,i,o;return typeof n<"u"&&(s=gd.from(n.errorCorrectionLevel,gd.M),i=Pc.from(n.version),o=uh.from(n.maskPattern),n.toSJISFunc&&hu.setToSJISFunction(n.toSJISFunc)),kW(e,i,s,o)};var E1={},Wf={};(function(t){function e(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let s=n.slice().replace("#","").split("");if(s.length<3||s.length===5||s.length>8)throw new Error("Invalid hex color: "+n);(s.length===3||s.length===4)&&(s=Array.prototype.concat.apply([],s.map(function(o){return[o,o]}))),s.length===6&&s.push("F","F");const i=parseInt(s.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+s.slice(0,6).join("")}}t.getOptions=function(s){s||(s={}),s.color||(s.color={});const i=typeof s.margin>"u"||s.margin===null||s.margin<0?4:s.margin,o=s.width&&s.width>=21?s.width:void 0,r=s.scale||4;return{width:o,scale:o?4:r,margin:i,color:{dark:e(s.color.dark||"#000000ff"),light:e(s.color.light||"#ffffffff")},type:s.type,rendererOpts:s.rendererOpts||{}}},t.getScale=function(s,i){return i.width&&i.width>=s+i.margin*2?i.width/(s+i.margin*2):i.scale},t.getImageWidth=function(s,i){const o=t.getScale(s,i);return Math.floor((s+i.margin*2)*o)},t.qrToImageData=function(s,i,o){const r=i.modules.size,a=i.modules.data,l=t.getScale(r,o),c=Math.floor((r+o.margin*2)*l),u=o.margin*l,d=[o.color.light,o.color.dark];for(let f=0;f=u&&g>=u&&f"u"&&(!r||!r.getContext)&&(l=r,r=void 0),r||(c=s()),l=e.getOptions(l);const u=e.getImageWidth(o.modules.size,l),d=c.getContext("2d"),f=d.createImageData(u,u);return e.qrToImageData(f.data,o,l),n(d,c,u),d.putImageData(f,0,0),c},t.renderToDataURL=function(o,r,a){let l=a;typeof l>"u"&&(!r||!r.getContext)&&(l=r,r=void 0),l||(l={});const c=t.render(o,r,l),u=l.type||"image/png",d=l.rendererOpts||{};return c.toDataURL(u,d.quality)}})(E1);var P1={};const SW=Wf;function X_(t,e){const n=t.a/255,s=e+'="'+t.hex+'"';return n<1?s+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':s}function vd(t,e,n){let s=t+e;return typeof n<"u"&&(s+=" "+n),s}function $W(t,e,n){let s="",i=0,o=!1,r=0;for(let a=0;a0&&l>0&&t[a-1]||(s+=o?vd("M",l+n,.5+c+n):vd("m",i,0),i=0,o=!1),l+1':"",c="',u='viewBox="0 0 '+a+" "+a+'"',f=''+l+c+` -`;return typeof s=="function"&&s(null,f),f};const AW=Bj,hh=g1,T1=E1,CW=P1;function zf(t,e,n,s,i){const o=[].slice.call(arguments,1),r=o.length,a=typeof o[r-1]=="function";if(!a&&!AW())throw new Error("Callback required as last argument");if(a){if(r<2)throw new Error("Too few arguments provided");r===2?(i=n,n=e,e=s=void 0):r===3&&(e.getContext&&typeof i>"u"?(i=s,s=void 0):(i=s,s=n,n=e,e=void 0))}else{if(r<1)throw new Error("Too few arguments provided");return r===1?(n=e,e=s=void 0):r===2&&!e.getContext&&(s=n,n=e,e=void 0),new Promise(function(l,c){try{const u=hh.create(n,s);l(t(u,e,s))}catch(u){c(u)}})}try{const l=hh.create(n,s);i(null,t(l,e,s))}catch(l){i(l)}}Lo.create=hh.create;Lo.toCanvas=zf.bind(null,T1.render);Lo.toDataURL=zf.bind(null,T1.renderToDataURL);Lo.toString=zf.bind(null,function(t,e,n){return CW.render(t,n)});const EW={name:"peerQRCode",props:{peerConfigData:String},mounted(){Lo.toCanvas(document.querySelector("#qrcode"),this.peerConfigData,t=>{t&&console.error(t)})}},PW={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0"},TW={class:"container d-flex h-100 w-100"},MW={class:"m-auto modal-dialog-centered dashboardModal justify-content-center"},DW={class:"card rounded-3 shadow"},OW={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},IW=h("h4",{class:"mb-0"},"QR Code",-1),RW={class:"card-body"},LW={id:"qrcode",class:"rounded-3 shadow",ref:"qrcode"};function NW(t,e,n,s,i,o){return M(),F("div",PW,[h("div",TW,[h("div",MW,[h("div",DW,[h("div",OW,[IW,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=r=>this.$emit("close"))})]),h("div",RW,[h("canvas",LW,null,512)])])])])])}const FW=We(EW,[["render",NW]]),BW={name:"nameInput",props:{bulk:Boolean,data:Object,saving:Boolean}},VW=h("label",{for:"peer_name_textbox",class:"form-label"},[h("small",{class:"text-muted"},"Name")],-1),HW=["disabled"];function jW(t,e,n,s,i,o){return M(),F("div",{class:Ce({inactiveField:this.bulk})},[VW,Oe(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving||this.bulk,"onUpdate:modelValue":e[0]||(e[0]=r=>this.data.name=r),id:"peer_name_textbox",placeholder:""},null,8,HW),[[je,this.data.name]])],2)}const WW=We(BW,[["render",jW]]),zW={name:"privatePublicKeyInput",props:{data:Object,saving:Boolean,bulk:Boolean},setup(){return{dashboardStore:Xe()}},data(){return{keypair:{publicKey:"",privateKey:"",presharedKey:""},editKey:!1,error:!1}},methods:{genKeyPair(){this.editKey=!1,this.keypair=window.wireguard.generateKeypair(),this.data.private_key=this.keypair.privateKey,this.data.public_key=this.keypair.publicKey},checkMatching(){try{window.wireguard.generatePublicKey(this.keypair.privateKey)!==this.keypair.publicKey&&(this.error=!0,this.dashboardStore.newMessage("WGDashboard","Private Key and Public Key does not match.","danger"))}catch{this.error=!0,this.data.private_key="",this.data.public_key=""}}},mounted(){this.genKeyPair()},watch:{keypair:{deep:!0,handler(){this.error=!1,this.checkMatching()}}}},YW=h("label",{for:"peer_private_key_textbox",class:"form-label"},[h("small",{class:"text-muted"},[be("Private Key "),h("code",null,"(Required for QR Code and Download)")])],-1),UW={class:"input-group"},KW=["disabled"],qW=["disabled"],GW=h("i",{class:"bi bi-arrow-repeat"},null,-1),JW=[GW],XW={class:"d-flex"},QW=h("label",{for:"public_key",class:"form-label"},[h("small",{class:"text-muted"},[be("Public Key "),h("code",null,"(Required)")])],-1),ZW={class:"form-check form-switch ms-auto"},ez=["disabled"],tz=h("label",{class:"form-check-label",for:"enablePublicKeyEdit"},[h("small",null,"Edit")],-1),nz=["disabled"];function sz(t,e,n,s,i,o){return M(),F("div",{class:Ce(["d-flex gap-2 flex-column",{inactiveField:this.bulk}])},[h("div",null,[YW,h("div",UW,[Oe(h("input",{type:"text",class:Ce(["form-control form-control-sm rounded-start-3",{"is-invalid":this.error}]),"onUpdate:modelValue":e[0]||(e[0]=r=>this.keypair.privateKey=r),disabled:!this.editKey||this.bulk,onBlur:e[1]||(e[1]=r=>this.checkMatching()),id:"peer_private_key_textbox"},null,42,KW),[[je,this.keypair.privateKey]]),h("button",{class:"btn btn-outline-info btn-sm rounded-end-3",onClick:e[2]||(e[2]=r=>this.genKeyPair()),disabled:this.bulk,type:"button",id:"button-addon2"},JW,8,qW)])]),h("div",null,[h("div",XW,[QW,h("div",ZW,[Oe(h("input",{class:"form-check-input",type:"checkbox",role:"switch",disabled:this.bulk,id:"enablePublicKeyEdit","onUpdate:modelValue":e[3]||(e[3]=r=>this.editKey=r)},null,8,ez),[[_n,this.editKey]]),tz])]),Oe(h("input",{class:Ce(["form-control-sm form-control rounded-3",{"is-invalid":this.error}]),"onUpdate:modelValue":e[4]||(e[4]=r=>this.keypair.publicKey=r),onBlur:e[5]||(e[5]=r=>this.checkMatching()),disabled:!this.editKey||this.bulk,type:"text",id:"public_key"},null,42,nz),[[je,this.keypair.publicKey]])])],2)}const iz=We(zW,[["render",sz]]),oz={name:"allowedIPsInput",props:{data:Object,saving:Boolean,bulk:Boolean,availableIp:void 0},data(){return{allowedIp:[],availableIpSearchString:"",customAvailableIp:"",allowedIpFormatError:!1}},setup(){const t=Tn(),e=Xe();return{store:t,dashboardStore:e}},computed:{searchAvailableIps(){return this.availableIpSearchString?this.availableIp.filter(t=>t.includes(this.availableIpSearchString)&&!this.data.allowed_ips.includes(t)):this.availableIp.filter(t=>!this.data.allowed_ips.includes(t))}},methods:{addAllowedIp(t){return this.store.checkCIDR(t)?(this.data.allowed_ips.push(t),this.customAvailableIp="",!0):(this.allowedIpFormatError=!0,this.dashboardStore.newMessage("WGDashboard","Allowed IP is invalid","danger"),!1)}},watch:{customAvailableIp(){this.allowedIpFormatError=!1},availableIp(){this.availableIp!==void 0&&this.availableIp.length>0&&this.addAllowedIp(this.availableIp[0])}},mounted(){}},ol=t=>(Ut("data-v-f69c864a"),t=t(),Kt(),t),rz=ol(()=>h("label",{for:"peer_allowed_ip_textbox",class:"form-label"},[h("small",{class:"text-muted"},[be("Allowed IPs "),h("code",null,"(Required)")])],-1)),az=["onClick"],lz=ol(()=>h("i",{class:"bi bi-x-circle-fill ms-1"},null,-1)),cz=[lz],uz={class:"d-flex gap-2 align-items-center"},dz={class:"input-group"},hz=["disabled"],fz=["disabled"],pz=ol(()=>h("i",{class:"bi bi-plus-lg"},null,-1)),gz=[pz],mz=ol(()=>h("small",{class:"text-muted"},"or",-1)),_z={class:"dropdown flex-grow-1"},vz=["disabled"],bz=ol(()=>h("i",{class:"bi bi-filter-circle me-2"},null,-1)),yz={key:0,class:"dropdown-menu mt-2 shadow w-100 dropdown-menu-end rounded-3",style:{"overflow-y":"scroll","max-height":"270px",width:"300px !important"}},wz={class:"px-3 pb-2 pt-1"},xz=["onClick"],kz={class:"me-auto"},Sz={key:0},$z={class:"px-3 text-muted"};function Az(t,e,n,s,i,o){return M(),F("div",{class:Ce({inactiveField:this.bulk})},[rz,h("div",{class:Ce(["d-flex gap-2 flex-wrap",{"mb-2":this.data.allowed_ips.length>0}])},[Se(Bi,{name:"list"},{default:Pe(()=>[(M(!0),F(Te,null,Ue(this.data.allowed_ips,(r,a)=>(M(),F("span",{class:"badge rounded-pill text-bg-success",key:r},[be(me(r)+" ",1),h("a",{role:"button",onClick:l=>this.data.allowed_ips.splice(a,1)},cz,8,az)]))),128))]),_:1})],2),h("div",uz,[h("div",dz,[Oe(h("input",{type:"text",class:Ce(["form-control form-control-sm rounded-start-3",{"is-invalid":this.allowedIpFormatError}]),placeholder:"Enter IP Address/CIDR","onUpdate:modelValue":e[0]||(e[0]=r=>i.customAvailableIp=r),disabled:n.bulk},null,10,hz),[[je,i.customAvailableIp]]),h("button",{class:"btn btn-outline-success btn-sm rounded-end-3",disabled:n.bulk||!this.customAvailableIp,onClick:e[1]||(e[1]=r=>this.addAllowedIp(this.customAvailableIp)),type:"button",id:"button-addon2"},gz,8,fz)]),mz,h("div",_z,[h("button",{class:"btn btn-outline-secondary btn-sm dropdown-toggle rounded-3 w-100",disabled:!n.availableIp||n.bulk,"data-bs-auto-close":"outside",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[bz,be(" Pick Available IP ")],8,vz),this.availableIp?(M(),F("ul",yz,[h("li",null,[h("div",wz,[Oe(h("input",{class:"form-control form-control-sm rounded-3","onUpdate:modelValue":e[2]||(e[2]=r=>this.availableIpSearchString=r),placeholder:"Search..."},null,512),[[je,this.availableIpSearchString]])])]),(M(!0),F(Te,null,Ue(this.searchAvailableIps,r=>(M(),F("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:a=>this.addAllowedIp(r)},[h("span",kz,[h("small",null,me(r),1)])],8,xz)]))),256)),this.searchAvailableIps.length===0?(M(),F("li",Sz,[h("small",$z,'No available IP containing "'+me(this.availableIpSearchString)+'"',1)])):re("",!0)])):re("",!0)])])],2)}const Cz=We(oz,[["render",Az],["__scopeId","data-v-f69c864a"]]),Ez={name:"dnsInput",props:{data:Object,saving:Boolean},data(){return{error:!1,dns:JSON.parse(JSON.stringify(this.data.DNS))}},setup(){const t=Tn(),e=Xe();return{store:t,dashboardStore:e}},methods:{checkDNS(){if(this.dns){let t=this.dns.split(",").map(e=>e.replaceAll(" ",""));for(let e in t)if(!this.store.regexCheckIP(t[e])){this.error||this.dashboardStore.newMessage("WGDashboard","DNS is invalid","danger"),this.error=!0,this.data.DNS="";return}this.error=!1,this.data.DNS=this.dns}}},watch:{dns(){this.checkDNS()}}},Pz=h("label",{for:"peer_DNS_textbox",class:"form-label"},[h("small",{class:"text-muted"},"DNS")],-1),Tz=["disabled"];function Mz(t,e,n,s,i,o){return M(),F("div",null,[Pz,Oe(h("input",{type:"text",class:Ce(["form-control form-control-sm rounded-3",{"is-invalid":this.error}]),disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=r=>this.dns=r),id:"peer_DNS_textbox"},null,10,Tz),[[je,this.dns]])])}const Dz=We(Ez,[["render",Mz]]),Oz={name:"endpointAllowedIps",props:{data:Object,saving:Boolean},setup(){const t=Tn(),e=Xe();return{store:t,dashboardStore:e}},data(){return{endpointAllowedIps:JSON.parse(JSON.stringify(this.data.endpoint_allowed_ip)),error:!1}},methods:{checkAllowedIP(){let t=this.endpointAllowedIps.split(",").map(e=>e.replaceAll(" ",""));for(let e in t)if(!this.store.checkCIDR(t[e])){this.error||this.dashboardStore.newMessage("WGDashboard","Endpoint Allowed IP is invalid.","danger"),this.data.endpoint_allowed_ip="",this.error=!0;return}this.error=!1,this.data.endpoint_allowed_ip=this.endpointAllowedIps}},watch:{endpointAllowedIps(){this.checkAllowedIP()}}},Iz=h("label",{for:"peer_endpoint_allowed_ips",class:"form-label"},[h("small",{class:"text-muted"},[be("Endpoint Allowed IPs "),h("code",null,"(Required)")])],-1),Rz=["disabled"];function Lz(t,e,n,s,i,o){return M(),F("div",null,[Iz,Oe(h("input",{type:"text",class:Ce(["form-control form-control-sm rounded-3",{"is-invalid":i.error}]),disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=r=>this.endpointAllowedIps=r),onBlur:e[1]||(e[1]=r=>this.checkAllowedIP()),id:"peer_endpoint_allowed_ips"},null,42,Rz),[[je,this.endpointAllowedIps]])])}const Nz=We(Oz,[["render",Lz]]),Fz={name:"presharedKeyInput",props:{data:Object,saving:Boolean},data(){return{enable:!1}},watch:{enable(){this.enable?this.data.preshared_key=window.wireguard.generateKeypair().presharedKey:this.data.preshared_key=""}}},Bz={class:"d-flex align-items-start"},Vz=h("label",{for:"peer_preshared_key_textbox",class:"form-label"},[h("small",{class:"text-muted"},"Pre-Shared Key")],-1),Hz={class:"form-check form-switch ms-auto"},jz=["disabled"];function Wz(t,e,n,s,i,o){return M(),F("div",null,[h("div",Bz,[Vz,h("div",Hz,[Oe(h("input",{class:"form-check-input",type:"checkbox",role:"switch","onUpdate:modelValue":e[0]||(e[0]=r=>this.enable=r),id:"peer_preshared_key_switch"},null,512),[[_n,this.enable]])])]),Oe(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving||!this.enable,"onUpdate:modelValue":e[1]||(e[1]=r=>this.data.preshared_key=r),id:"peer_preshared_key_textbox"},null,8,jz),[[je,this.data.preshared_key]])])}const zz=We(Fz,[["render",Wz]]),Yz={name:"mtuInput",props:{data:Object,saving:Boolean}},Uz=h("label",{for:"peer_mtu",class:"form-label"},[h("small",{class:"text-muted"},"MTU")],-1),Kz=["disabled"];function qz(t,e,n,s,i,o){return M(),F("div",null,[Uz,Oe(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=r=>this.data.mtu=r),id:"peer_mtu"},null,8,Kz),[[je,this.data.mtu]])])}const Gz=We(Yz,[["render",qz]]),Jz={name:"persistentKeepAliveInput",props:{data:Object,saving:Boolean}},Xz=h("label",{for:"peer_keep_alive",class:"form-label"},[h("small",{class:"text-muted"},"Persistent Keepalive")],-1),Qz=["disabled"];function Zz(t,e,n,s,i,o){return M(),F("div",null,[Xz,Oe(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=r=>this.data.keepalive=r),id:"peer_keep_alive"},null,8,Qz),[[je,this.data.keepalive]])])}const eY=We(Jz,[["render",Zz]]),tY={name:"bulkAdd",props:{saving:Boolean,data:Object,availableIp:void 0}},nY={class:"form-check form-switch"},sY=["disabled"],iY=h("label",{class:"form-check-label me-2",for:"bulk_add"},[h("small",null,[h("strong",null,"Bulk Add")])],-1),oY=h("small",{class:"text-muted d-block"}," By adding peers by bulk, each peer's name will be auto generated, and Allowed IP will be assign to the next available IP. ",-1),rY=[oY],aY={key:0,class:"form-group"},lY=["max"],cY={class:"text-muted"};function uY(t,e,n,s,i,o){return M(),F("div",null,[h("div",nY,[Oe(h("input",{class:"form-check-input",type:"checkbox",role:"switch",disabled:!this.availableIp,id:"bulk_add","onUpdate:modelValue":e[0]||(e[0]=r=>this.data.bulkAdd=r)},null,8,sY),[[_n,this.data.bulkAdd]]),iY]),h("p",{class:Ce({"mb-0":!this.data.bulkAdd})},rY,2),this.data.bulkAdd?(M(),F("div",aY,[Oe(h("input",{class:"form-control form-control-sm rounded-3 mb-1",type:"number",min:"1",max:this.availableIp.length,"onUpdate:modelValue":e[1]||(e[1]=r=>this.data.bulkAddAmount=r),placeholder:"How many peers you want to add?"},null,8,lY),[[je,this.data.bulkAddAmount]]),h("small",cY,[be(" You can add up to "),h("strong",null,me(this.availableIp.length),1),be(" peers ")])])):re("",!0)])}const dY=We(tY,[["render",uY]]),hY={name:"peerCreate",components:{BulkAdd:dY,PersistentKeepAliveInput:eY,MtuInput:Gz,PresharedKeyInput:zz,EndpointAllowedIps:Nz,DnsInput:Dz,AllowedIPsInput:Cz,PrivatePublicKeyInput:iz,NameInput:WW},data(){return{data:{bulkAdd:!1,bulkAddAmount:"",name:"",allowed_ips:[],private_key:"",public_key:"",DNS:this.dashboardStore.Configuration.Peers.peer_global_dns,endpoint_allowed_ip:this.dashboardStore.Configuration.Peers.peer_endpoint_allowed_ip,keepalive:parseInt(this.dashboardStore.Configuration.Peers.peer_keep_alive),mtu:parseInt(this.dashboardStore.Configuration.Peers.peer_mtu),preshared_key:"",preshared_key_bulkAdd:!1},availableIp:void 0,availableIpSearchString:"",saving:!1,allowedIpDropdown:void 0}},mounted(){wt("/api/getAvailableIPs/"+this.$route.params.id,{},t=>{t.status&&(this.availableIp=t.data)})},setup(){const t=Tn(),e=Xe();return{store:t,dashboardStore:e}},methods:{peerCreate(){this.saving=!0,ht("/api/addPeers/"+this.$route.params.id,this.data,t=>{t.status?(this.$router.push(`/configuration/${this.$route.params.id}/peers`),this.dashboardStore.newMessage("Server","Peer create successfully","success")):this.dashboardStore.newMessage("Server",t.message,"danger"),this.saving=!1})}},computed:{allRequireFieldsFilled(){let t=!0;return this.data.bulkAdd?(this.data.bulkAddAmount.length===0||this.data.bulkAddAmount>this.availableIp.length)&&(t=!1):["allowed_ips","private_key","public_key","endpoint_allowed_ip","keepalive","mtu"].forEach(n=>{this.data[n].length===0&&(t=!1)}),t}},watch:{bulkAdd(t){t||(this.data.bulkAddAmount="")},"data.bulkAddAmount"(){this.data.bulkAddAmount>this.availableIp.length&&(this.data.bulkAddAmount=this.availableIp.length)}}},fu=t=>(Ut("data-v-7d433383"),t=t(),Kt(),t),fY={class:"container"},pY={class:"mb-4"},gY=fu(()=>h("h3",{class:"mb-0 text-body"},[h("i",{class:"bi bi-chevron-left"})],-1)),mY=fu(()=>h("h3",{class:"text-body mb-0"},"Add Peers",-1)),_Y={class:"d-flex flex-column gap-2"},vY=fu(()=>h("hr",{class:"mb-0 mt-2"},null,-1)),bY=fu(()=>h("hr",{class:"mb-0 mt-2"},null,-1)),yY={class:"row gy-3"},wY={key:0,class:"col-sm"},xY={class:"col-sm"},kY={class:"col-sm"},SY={key:1,class:"col-12"},$Y={class:"form-check form-switch"},AY={class:"form-check-label",for:"bullAdd_PresharedKey_Switch"},CY={class:"d-flex mt-2"},EY=["disabled"],PY={key:0,class:"bi bi-plus-circle-fill me-2"};function TY(t,e,n,s,i,o){const r=He("RouterLink"),a=He("BulkAdd"),l=He("NameInput"),c=He("PrivatePublicKeyInput"),u=He("AllowedIPsInput"),d=He("EndpointAllowedIps"),f=He("DnsInput"),g=He("PresharedKeyInput"),_=He("MtuInput"),m=He("PersistentKeepAliveInput");return M(),F("div",fY,[h("div",pY,[Se(r,{to:"peers",is:"div",class:"d-flex align-items-center gap-4 text-decoration-none"},{default:Pe(()=>[gY,mY]),_:1})]),h("div",_Y,[Se(a,{saving:i.saving,data:this.data,availableIp:this.availableIp},null,8,["saving","data","availableIp"]),vY,this.data.bulkAdd?re("",!0):(M(),Le(l,{key:0,saving:i.saving,data:this.data},null,8,["saving","data"])),this.data.bulkAdd?re("",!0):(M(),Le(c,{key:1,saving:i.saving,data:i.data},null,8,["saving","data"])),this.data.bulkAdd?re("",!0):(M(),Le(u,{key:2,availableIp:this.availableIp,saving:i.saving,data:i.data},null,8,["availableIp","saving","data"])),Se(d,{saving:i.saving,data:i.data},null,8,["saving","data"]),Se(f,{saving:i.saving,data:i.data},null,8,["saving","data"]),bY,h("div",yY,[this.data.bulkAdd?re("",!0):(M(),F("div",wY,[Se(g,{saving:i.saving,data:i.data,bulk:this.data.bulkAdd},null,8,["saving","data","bulk"])])),h("div",xY,[Se(_,{saving:i.saving,data:i.data},null,8,["saving","data"])]),h("div",kY,[Se(m,{saving:i.saving,data:i.data},null,8,["saving","data"])]),this.data.bulkAdd?(M(),F("div",SY,[h("div",$Y,[Oe(h("input",{class:"form-check-input",type:"checkbox",role:"switch","onUpdate:modelValue":e[0]||(e[0]=b=>this.data.preshared_key_bulkAdd=b),id:"bullAdd_PresharedKey_Switch",checked:""},null,512),[[_n,this.data.preshared_key_bulkAdd]]),h("label",AY," Pre-Share Key "+me(this.data.preshared_key_bulkAdd?"Enabled":"Disabled"),1)])])):re("",!0)]),h("div",CY,[h("button",{class:"ms-auto btn btn-dark btn-brand rounded-3 px-3 py-2 shadow",disabled:!this.allRequireFieldsFilled||this.saving,onClick:e[1]||(e[1]=b=>this.peerCreate())},[this.saving?re("",!0):(M(),F("i",PY)),be(" "+me(this.saving?"Saving...":"Add"),1)],8,EY)])])])}const M1=We(hY,[["render",TY],["__scopeId","data-v-7d433383"]]),MY={name:"scheduleDropdown",props:{options:Array,data:String,edit:!1},setup(t){t.data===void 0&&this.$emit("update",this.options[0].value)},computed:{currentSelection(){return this.options.find(t=>t.value===this.data)}}},DY={class:"dropdown scheduleDropdown"},OY={class:"dropdown-menu rounded-3 shadow",style:{"font-size":"0.875rem",width:"200px"}},IY=["onClick"],RY={key:0,class:"bi bi-check ms-auto"};function LY(t,e,n,s,i,o){return M(),F("div",DY,[h("button",{class:Ce(["btn btn-sm btn-outline-primary rounded-3",{"disabled border-transparent":!n.edit}]),type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[h("samp",null,me(this.currentSelection.display),1)],2),h("ul",OY,[n.edit?(M(!0),F(Te,{key:0},Ue(this.options,r=>(M(),F("li",null,[h("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:a=>t.$emit("update",r.value)},[h("samp",null,me(r.display),1),r.value===this.currentSelection.value?(M(),F("i",RY)):re("",!0)],8,IY)]))),256)):re("",!0)])])}const D1=We(MY,[["render",LY],["__scopeId","data-v-6a5aba2a"]]),NY={name:"schedulePeerJob",components:{VueDatePicker:Za,ScheduleDropdown:D1},props:{dropdowns:Array[Object],pjob:Object,viewOnly:!1},setup(t){const e=ve({}),n=ve(!1),s=ve(!1);e.value=JSON.parse(JSON.stringify(t.pjob)),e.value.CreationDate||(n.value=!0,s.value=!0);const i=Xe();return{job:e,edit:n,newJob:s,store:i}},data(){return{inputType:void 0}},watch:{pjob:{deep:!0,immediate:!0,handler(t){this.edit||(this.job=JSON.parse(JSON.stringify(t)))}}},methods:{save(){this.job.Field&&this.job.Operator&&this.job.Action&&this.job.Value?ht("/api/savePeerScheduleJob/",{Job:this.job},t=>{t.status?(this.edit=!1,this.store.newMessage("Server","Job Saved!","success"),console.log(t.data),this.$emit("refresh",t.data[0]),this.newJob=!1):this.store.newMessage("Server",t.message,"danger")}):this.alert()},alert(){let t="animate__flash",e=this.$el.querySelectorAll(".scheduleDropdown"),n=this.$el.querySelectorAll("input");e.forEach(s=>s.classList.add("animate__animated",t)),n.forEach(s=>s.classList.add("animate__animated",t)),setTimeout(()=>{e.forEach(s=>s.classList.remove("animate__animated",t)),n.forEach(s=>s.classList.remove("animate__animated",t))},2e3)},reset(){this.job.CreationDate?(this.job=JSON.parse(JSON.stringify(this.pjob)),this.edit=!1):this.$emit("delete")},delete(){this.job.CreationDate&&ht("/api/deletePeerScheduleJob/",{Job:this.job},t=>{t.status?this.store.newMessage("Server","Job Deleted!","success"):(this.store.newMessage("Server",t.message,"danger"),this.$emit("delete"))}),this.$emit("delete")},parseTime(t){t&&(this.job.Value=Cn(t).format("YYYY-MM-DD HH:mm:ss"))}}},Fr=t=>(Ut("data-v-811b149e"),t=t(),Kt(),t),FY={class:"card-header bg-transparent text-muted border-0"},BY={key:0,class:"d-flex"},VY=Fr(()=>h("strong",{class:"me-auto"},"Job ID",-1)),HY={key:1},jY=Fr(()=>h("span",{class:"badge text-bg-warning"},"Unsaved Job",-1)),WY=[jY],zY={class:"card-body pt-1",style:{"font-family":"var(--bs-font-monospace)"}},YY={class:"d-flex gap-2 align-items-center mb-2"},UY=Fr(()=>h("samp",null," if ",-1)),KY=Fr(()=>h("samp",null," is ",-1)),qY=["disabled"],GY={class:"px-5 d-flex gap-2 align-items-center"},JY=Fr(()=>h("samp",null,"then",-1)),XY={class:"d-flex gap-3"},QY=Fr(()=>h("samp",null,"}",-1)),ZY={key:0,class:"ms-auto d-flex gap-3"},eU={key:1,class:"ms-auto d-flex gap-3"};function tU(t,e,n,s,i,o){const r=He("ScheduleDropdown"),a=He("VueDatePicker");return M(),F("div",{class:Ce(["card shadow-sm rounded-3 mb-2",{"border-warning-subtle":this.newJob}])},[h("div",FY,[this.newJob?(M(),F("small",HY,WY)):(M(),F("small",BY,[VY,h("samp",null,me(this.job.JobID),1)]))]),h("div",zY,[h("div",YY,[UY,Se(r,{edit:s.edit,options:this.dropdowns.Field,data:this.job.Field,onUpdate:e[0]||(e[0]=l=>{this.job.Field=l})},null,8,["edit","options","data"]),KY,Se(r,{edit:s.edit,options:this.dropdowns.Operator,data:this.job.Operator,onUpdate:e[1]||(e[1]=l=>this.job.Operator=l)},null,8,["edit","options","data"]),this.job.Field==="date"?(M(),Le(a,{key:0,is24:!0,"min-date":new Date,"model-value":this.job.Value,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",clearable:!1,disabled:!s.edit,dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","disabled","dark"])):Oe((M(),F("input",{key:1,class:"form-control form-control-sm form-control-dark rounded-3 flex-grow-1",disabled:!s.edit,"onUpdate:modelValue":e[2]||(e[2]=l=>this.job.Value=l),style:{width:"auto"}},null,8,qY)),[[je,this.job.Value]]),h("samp",null,me(this.dropdowns.Field.find(l=>l.value===this.job.Field)?.unit)+" { ",1)]),h("div",GY,[JY,Se(r,{edit:s.edit,options:this.dropdowns.Action,data:this.job.Action,onUpdate:e[3]||(e[3]=l=>this.job.Action=l)},null,8,["edit","options","data"])]),h("div",XY,[QY,this.edit?(M(),F("div",eU,[h("a",{role:"button",class:"text-secondary text-decoration-none",onClick:e[6]||(e[6]=l=>this.reset())},"[C] Cancel"),h("a",{role:"button",class:"text-primary ms-auto text-decoration-none",onClick:e[7]||(e[7]=l=>this.save())},"[S] Save")])):(M(),F("div",ZY,[h("a",{role:"button",class:"ms-auto text-decoration-none",onClick:e[4]||(e[4]=l=>this.edit=!0)},"[E] Edit"),h("a",{role:"button",onClick:e[5]||(e[5]=l=>this.delete()),class:"text-danger text-decoration-none"},"[D] Delete")]))])])],2)}const O1=We(NY,[["render",tU],["__scopeId","data-v-811b149e"]]),nU={name:"peerJobs",setup(){return{store:Tn()}},props:{selectedPeer:Object},components:{SchedulePeerJob:O1,ScheduleDropdown:D1},data(){return{}},methods:{deleteJob(t){this.selectedPeer.jobs=this.selectedPeer.jobs.filter(e=>e.JobID!==t.JobID)},addJob(){this.selectedPeer.jobs.unshift(JSON.parse(JSON.stringify({JobID:Ps().toString(),Configuration:this.selectedPeer.configuration.Name,Peer:this.selectedPeer.id,Field:this.store.PeerScheduleJobs.dropdowns.Field[0].value,Operator:this.store.PeerScheduleJobs.dropdowns.Operator[0].value,Value:"",CreationDate:"",ExpireDate:"",Action:this.store.PeerScheduleJobs.dropdowns.Action[0].value})))}}},Yf=t=>(Ut("data-v-31a1606a"),t=t(),Kt(),t),sU={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},iU={class:"container d-flex h-100 w-100"},oU={class:"m-auto modal-dialog-centered dashboardModal"},rU={class:"card rounded-3 shadow",style:{width:"700px"}},aU={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},lU=Yf(()=>h("h4",{class:"mb-0 fw-normal"},[be("Schedule Jobs "),h("strong")],-1)),cU={class:"card-body px-4 pb-4 pt-2 position-relative"},uU={class:"d-flex align-items-center mb-3"},dU=Yf(()=>h("i",{class:"bi bi-plus-lg me-2"},null,-1)),hU={class:"card shadow-sm",key:"none",style:{height:"153px"}},fU=Yf(()=>h("div",{class:"card-body text-muted text-center d-flex"},[h("h6",{class:"m-auto"},"This peer does not have any job yet.")],-1)),pU=[fU];function gU(t,e,n,s,i,o){const r=He("SchedulePeerJob");return M(),F("div",sU,[h("div",iU,[h("div",oU,[h("div",rU,[h("div",aU,[lU,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),h("div",cU,[h("div",uU,[h("button",{class:"btn bg-primary-subtle border-1 border-primary-subtle text-primary-emphasis rounded-3 shadow",onClick:e[1]||(e[1]=a=>this.addJob())},[dU,be(" Job ")])]),Se(Bi,{name:"schedulePeerJobTransition",tag:"div",class:"position-relative"},{default:Pe(()=>[(M(!0),F(Te,null,Ue(this.selectedPeer.jobs,(a,l)=>(M(),Le(r,{onRefresh:e[2]||(e[2]=c=>this.$emit("refresh")),onDelete:c=>this.deleteJob(a),dropdowns:this.store.PeerScheduleJobs.dropdowns,key:a.JobID,pjob:a},null,8,["onDelete","dropdowns","pjob"]))),128)),this.selectedPeer.jobs.length===0?(M(),F("div",hU,pU)):re("",!0)]),_:1})])])])])])}const mU=We(nU,[["render",gU],["__scopeId","data-v-31a1606a"]]),_U={name:"peerJobsAllModal",setup(){return{store:Tn()}},components:{SchedulePeerJob:O1},props:{configurationPeers:Array[Object]},methods:{getuuid(){return Ps()}},computed:{getAllJobs(){return this.configurationPeers.filter(t=>t.jobs.length>0)}}},vU={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},bU={class:"container d-flex h-100 w-100"},yU={class:"m-auto modal-dialog-centered dashboardModal"},wU={class:"card rounded-3 shadow",style:{width:"700px"}},xU={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},kU=h("h4",{class:"mb-0 fw-normal"},"All Active Jobs ",-1),SU={class:"card-body px-4 pb-4 pt-2"},$U={key:0,class:"accordion",id:"peerJobsLogsModalAccordion"},AU={class:"accordion-header"},CU=["data-bs-target"],EU={key:0},PU={class:"text-muted"},TU=["id"],MU={class:"accordion-body"},DU={key:1,class:"card shadow-sm",style:{height:"153px"}},OU=h("div",{class:"card-body text-muted text-center d-flex"},[h("h6",{class:"m-auto"},"No active job at the moment.")],-1),IU=[OU];function RU(t,e,n,s,i,o){const r=He("SchedulePeerJob");return M(),F("div",vU,[h("div",bU,[h("div",yU,[h("div",wU,[h("div",xU,[kU,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),h("div",SU,[this.getAllJobs.length>0?(M(),F("div",$U,[(M(!0),F(Te,null,Ue(this.getAllJobs,(a,l)=>(M(),F("div",{class:"accordion-item",key:a.id},[h("h2",AU,[h("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse_"+l},[h("small",null,[h("strong",null,[a.name?(M(),F("span",EU,me(a.name)+" • ",1)):re("",!0),h("samp",PU,me(a.id),1)])])],8,CU)]),h("div",{id:"collapse_"+l,class:"accordion-collapse collapse","data-bs-parent":"#peerJobsLogsModalAccordion"},[h("div",MU,[(M(!0),F(Te,null,Ue(a.jobs,c=>(M(),Le(r,{onDelete:e[1]||(e[1]=u=>this.$emit("refresh")),onRefresh:e[2]||(e[2]=u=>this.$emit("refresh")),dropdowns:this.store.PeerScheduleJobs.dropdowns,viewOnly:!0,key:c.JobID,pjob:c},null,8,["dropdowns","pjob"]))),128))])],8,TU)]))),128))])):(M(),F("div",DU,IU))])])])])])}const LU=We(_U,[["render",RU]]),NU={name:"peerJobsLogsModal",props:{configurationInfo:Object},data(){return{dataLoading:!0,data:[],logFetchTime:void 0,showLogID:!1,showJobID:!0,showSuccessJob:!0,showFailedJob:!0,showLogAmount:10}},async mounted(){await this.fetchLog()},methods:{async fetchLog(){this.dataLoading=!0,await wt(`/api/getPeerScheduleJobLogs/${this.configurationInfo.Name}`,{},t=>{this.data=t.data,this.logFetchTime=Cn().format("YYYY-MM-DD HH:mm:ss"),this.dataLoading=!1})}},computed:{getLogs(){return this.data.filter(t=>this.showSuccessJob&&t.Status==="1"||this.showFailedJob&&t.Status==="0")},showLogs(){return this.getLogs.slice(0,this.showLogAmount)}}},FU={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},BU={class:"container-fluid d-flex h-100 w-100"},VU={class:"m-auto mt-0 modal-dialog-centered dashboardModal",style:{width:"100%"}},HU={class:"card rounded-3 shadow w-100"},jU={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},WU=h("h4",{class:"mb-0"},"Jobs Logs",-1),zU={class:"card-body px-4 pb-4 pt-2"},YU={key:0},UU={class:"mb-2 d-flex gap-3"},KU=h("i",{class:"bi bi-arrow-clockwise me-2"},null,-1),qU={class:"d-flex gap-3 align-items-center"},GU=h("span",{class:"text-muted"},"Filter",-1),JU={class:"form-check"},XU=h("label",{class:"form-check-label",for:"jobLogsShowSuccessCheck"},[h("span",{class:"badge text-success-emphasis bg-success-subtle"},"Success")],-1),QU={class:"form-check"},ZU=h("label",{class:"form-check-label",for:"jobLogsShowFailedCheck"},[h("span",{class:"badge text-danger-emphasis bg-danger-subtle"},"Failed")],-1),eK={class:"d-flex gap-3 align-items-center ms-auto"},tK=h("span",{class:"text-muted"},"Display",-1),nK={class:"form-check"},sK=h("label",{class:"form-check-label",for:"jobLogsShowJobIDCheck"}," Job ID ",-1),iK={class:"form-check"},oK=h("label",{class:"form-check-label",for:"jobLogsShowLogIDCheck"}," Log ID ",-1),rK={class:"table"},aK=h("th",{scope:"col"},"Date",-1),lK={key:0,scope:"col"},cK={key:1,scope:"col"},uK=h("th",{scope:"col"},"Status",-1),dK=h("th",{scope:"col"},"Message",-1),hK={style:{"font-size":"0.875rem"}},fK={scope:"row"},pK={key:0},gK={class:"text-muted"},mK={key:1},_K={class:"text-muted"},vK={class:"d-flex gap-2"},bK=h("i",{class:"bi bi-chevron-down me-2"},null,-1),yK=h("i",{class:"bi bi-chevron-up me-2"},null,-1),wK={key:1,class:"d-flex align-items-center flex-column"},xK=h("div",{class:"spinner-border text-body",role:"status"},[h("span",{class:"visually-hidden"},"Loading...")],-1),kK=[xK];function SK(t,e,n,s,i,o){return M(),F("div",FU,[h("div",BU,[h("div",VU,[h("div",HU,[h("div",jU,[WU,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=r=>this.$emit("close"))})]),h("div",zU,[this.dataLoading?(M(),F("div",wK,kK)):(M(),F("div",YU,[h("p",null,"Updated at: "+me(this.logFetchTime),1),h("div",UU,[h("button",{onClick:e[1]||(e[1]=r=>this.fetchLog()),class:"btn btn-sm rounded-3 shadow-sm text-info-emphasis bg-info-subtle border-1 border-info-subtle me-1"},[KU,be(" Refresh ")]),h("div",qU,[GU,h("div",JU,[Oe(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[2]||(e[2]=r=>this.showSuccessJob=r),id:"jobLogsShowSuccessCheck"},null,512),[[_n,this.showSuccessJob]]),XU]),h("div",QU,[Oe(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[3]||(e[3]=r=>this.showFailedJob=r),id:"jobLogsShowFailedCheck"},null,512),[[_n,this.showFailedJob]]),ZU])]),h("div",eK,[tK,h("div",nK,[Oe(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[4]||(e[4]=r=>i.showJobID=r),id:"jobLogsShowJobIDCheck"},null,512),[[_n,i.showJobID]]),sK]),h("div",iK,[Oe(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[5]||(e[5]=r=>i.showLogID=r),id:"jobLogsShowLogIDCheck"},null,512),[[_n,i.showLogID]]),oK])])]),h("table",rK,[h("thead",null,[h("tr",null,[aK,i.showLogID?(M(),F("th",lK,"Log ID")):re("",!0),i.showJobID?(M(),F("th",cK,"Job ID")):re("",!0),uK,dK])]),h("tbody",null,[(M(!0),F(Te,null,Ue(this.showLogs,r=>(M(),F("tr",hK,[h("th",fK,me(r.LogDate),1),i.showLogID?(M(),F("td",pK,[h("samp",gK,me(r.LogID),1)])):re("",!0),i.showJobID?(M(),F("td",mK,[h("samp",_K,me(r.JobID),1)])):re("",!0),h("td",null,[h("span",{class:Ce(["badge",[r.Status==="1"?"text-success-emphasis bg-success-subtle":"text-danger-emphasis bg-danger-subtle"]])},me(r.Status==="1"?"Success":"Failed"),3)]),h("td",null,me(r.Message),1)]))),256))])]),h("div",vK,[this.getLogs.length>this.showLogAmount?(M(),F("button",{key:0,onClick:e[6]||(e[6]=r=>this.showLogAmount+=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},[bK,be(" Show More ")])):re("",!0),this.showLogAmount>20?(M(),F("button",{key:1,onClick:e[7]||(e[7]=r=>this.showLogAmount=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},[yK,be(" Collapse ")])):re("",!0)])]))])])])])])}const $K=We(NU,[["render",SK]]),AK={name:"peerShareLinkModal",props:{peer:Object},components:{VueDatePicker:Za},data(){return{dataCopy:void 0,loading:!1}},setup(){return{store:Xe()}},mounted(){this.dataCopy=JSON.parse(JSON.stringify(this.peer.ShareLink)).at(0)},watch:{"peer.ShareLink":{deep:!0,handler(t,e){e.length!==t.length&&(this.dataCopy=JSON.parse(JSON.stringify(this.peer.ShareLink)).at(0))}}},methods:{startSharing(){this.loading=!0,ht("/api/sharePeer/create",{Configuration:this.peer.configuration.Name,Peer:this.peer.id,ExpireDate:Cn().add(7,"d").format("YYYY-MM-DD HH:mm:ss")},t=>{t.status?(this.peer.ShareLink=t.data,this.dataCopy=t.data.at(0),this.store.newMessage("Server","Share link created successfully","success")):this.store.newMessage("Server","Share link failed to create. Reason: "+t.message,"danger"),this.loading=!1})},updateLinkExpireDate(){ht("/api/sharePeer/update",this.dataCopy,t=>{t.status?(this.dataCopy=t.data.at(0),this.peer.ShareLink=t.data,this.store.newMessage("Server","Link expire date updated","success")):this.store.newMessage("Server","Link expire date failed to update. Reason: "+t.message,"danger"),this.loading=!1})},stopSharing(){this.loading=!0,this.dataCopy.ExpireDate=Cn().format("YYYY-MM-DD HH:mm:ss"),this.updateLinkExpireDate()},parseTime(t){t?this.dataCopy.ExpireDate=Cn(t).format("YYYY-MM-DD HH:mm:ss"):this.dataCopy.ExpireDate=void 0,this.updateLinkExpireDate()}},computed:{getUrl(){const t=this.store.getActiveCrossServer();return t?`${t.host}/${this.$router.resolve({path:"/share",query:{ShareID:this.dataCopy.ShareID}}).href}`:window.location.origin+window.location.pathname+this.$router.resolve({path:"/share",query:{ShareID:this.dataCopy.ShareID}}).href}}},CK={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},EK={class:"container d-flex h-100 w-100"},PK={class:"m-auto modal-dialog-centered dashboardModal",style:{width:"500px"}},TK={class:"card rounded-3 shadow flex-grow-1"},MK={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4"},DK=h("h4",{class:"mb-0"},"Share Peer",-1),OK={key:0,class:"card-body px-4 pb-4"},IK={key:0},RK=h("h6",{class:"mb-3 text-muted"}," Currently the peer is not sharing ",-1),LK=["disabled"],NK=h("i",{class:"bi bi-send-fill me-2"},null,-1),FK=[NK],BK={key:1},VK={class:"d-flex gap-2 mb-4"},HK=h("i",{class:"bi bi-link-45deg"},null,-1),jK=["href"],WK={class:"d-flex flex-column gap-2 mb-3"},zK=h("small",null,[h("i",{class:"bi bi-calendar me-2"}),be(" Expire Date ")],-1),YK=["disabled"],UK=h("i",{class:"bi bi-send-slash-fill me-2"},null,-1),KK=[UK];function qK(t,e,n,s,i,o){const r=He("VueDatePicker");return M(),F("div",CK,[h("div",EK,[h("div",PK,[h("div",TK,[h("div",MK,[DK,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),this.peer.ShareLink?(M(),F("div",OK,[this.dataCopy?(M(),F("div",BK,[h("div",VK,[HK,h("a",{href:this.getUrl,class:"text-decoration-none",target:"_blank"},me(o.getUrl),9,jK)]),h("div",WK,[zK,Se(r,{is24:!0,"min-date":new Date,"model-value":this.dataCopy.ExpireDate,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","dark"])]),h("button",{onClick:e[2]||(e[2]=a=>this.stopSharing()),disabled:this.loading,class:"w-100 btn bg-danger-subtle text-danger-emphasis border-1 border-danger-subtle rounded-3 shadow-sm"},[h("span",{class:Ce({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},KK,2),be(" "+me(this.loading?"Stop Sharing...":"Stop Sharing"),1)],8,YK)])):(M(),F("div",IK,[RK,h("button",{onClick:e[1]||(e[1]=a=>this.startSharing()),disabled:this.loading,class:"w-100 btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm"},[h("span",{class:Ce({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},FK,2),be(" "+me(this.loading?"Sharing...":"Start Sharing"),1)],8,LK)]))])):re("",!0)])])])])}const GK=We(AK,[["render",qK]]);ru.register(y6,au,L6,T6,I0,Z4,R0,L0,nV,tV,sV,iV,AH,EH,MH,YH,nh,GH,V6,rH,hH,pH,xH);const JK={name:"peerList",components:{PeerShareLinkModal:GK,PeerJobsLogsModal:$K,PeerJobsAllModal:LU,PeerJobs:mU,PeerCreate:M1,PeerQRCode:FW,PeerSettings:Fj,PeerSearch:K5,Peer:WF,Line:i8,Bar:s8},setup(){const t=Xe(),e=Tn(),n=ve(void 0);return{dashboardConfigurationStore:t,wireguardConfigurationStore:e,interval:n}},data(){return{configurationToggling:!1,loading:!1,error:null,configurationInfo:[],configurationPeers:[],historyDataSentDifference:[],historyDataReceivedDifference:[],historySentData:{labels:[],datasets:[{label:"Data Sent",data:[],fill:!1,borderColor:"#198754",tension:0}]},historyReceiveData:{labels:[],datasets:[{label:"Data Received",data:[],fill:!1,borderColor:"#0d6efd",tension:0}]},peerSetting:{modalOpen:!1,selectedPeer:void 0},peerScheduleJobs:{modalOpen:!1,selectedPeer:void 0},peerQRCode:{modalOpen:!1,peerConfigData:void 0},peerCreate:{modalOpen:!1},peerScheduleJobsAll:{modalOpen:!1},peerScheduleJobsLogs:{modalOpen:!1},peerShare:{modalOpen:!1,selectedPeer:void 0}}},mounted(){},watch:{$route:{immediate:!0,handler(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval),this.loading=!0;let t=this.$route.params.id;this.configurationInfo=[],this.configurationPeers=[],t&&(this.getPeers(t),this.setPeerInterval())}},"dashboardConfigurationStore.Configuration.Server.dashboard_refresh_interval"(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval),this.setPeerInterval()}},beforeRouteLeave(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval)},methods:{toggle(){this.configurationToggling=!0,wt("/api/toggleWireguardConfiguration/",{configurationName:this.configurationInfo.Name},t=>{t.status?this.dashboardConfigurationStore.newMessage("Server",`${this.configurationInfo.Name} is - ${t.data?"is on":"is off"}`,"Success"):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.configurationInfo.Status=t.data,this.configurationToggling=!1})},getPeers(t=this.$route.params.id){wt("/api/getWireguardConfigurationInfo",{configurationName:t},e=>{if(this.configurationInfo=e.data.configurationInfo,this.configurationPeers=e.data.configurationPeers,this.configurationPeers.forEach(n=>{n.restricted=!1}),e.data.configurationRestrictedPeers.forEach(n=>{n.restricted=!0,this.configurationPeers.push(n)}),this.loading=!1,this.configurationPeers.length>0){const n=this.configurationPeers.map(i=>i.total_sent+i.cumu_sent).reduce((i,o)=>i+o).toFixed(4),s=this.configurationPeers.map(i=>i.total_receive+i.cumu_receive).reduce((i,o)=>i+o).toFixed(4);this.historyDataSentDifference[this.historyDataSentDifference.length-1]!==n&&(this.historyDataSentDifference.length>0&&(this.historySentData={labels:[...this.historySentData.labels,Cn().format("HH:mm:ss A")],datasets:[{label:"Data Sent",data:[...this.historySentData.datasets[0].data,((n-this.historyDataSentDifference[this.historyDataSentDifference.length-1])*1e3).toFixed(4)],fill:!1,borderColor:"#198754",tension:0}]}),this.historyDataSentDifference.push(n)),this.historyDataReceivedDifference[this.historyDataReceivedDifference.length-1]!==s&&(this.historyDataReceivedDifference.length>0&&(this.historyReceiveData={labels:[...this.historyReceiveData.labels,Cn().format("HH:mm:ss A")],datasets:[{label:"Data Received",data:[...this.historyReceiveData.datasets[0].data,((s-this.historyDataReceivedDifference[this.historyDataReceivedDifference.length-1])*1e3).toFixed(4)],fill:!1,borderColor:"#0d6efd",tension:0}]}),this.historyDataReceivedDifference.push(s))}})},setPeerInterval(){this.dashboardConfigurationStore.Peers.RefreshInterval=setInterval(()=>{this.getPeers()},parseInt(this.dashboardConfigurationStore.Configuration.Server.dashboard_refresh_interval))}},computed:{configurationSummary(){return{connectedPeers:this.configurationPeers.filter(e=>e.status==="running").length,totalUsage:this.configurationPeers.length>0?this.configurationPeers.filter(e=>!e.restricted).map(e=>e.total_data+e.cumu_data).reduce((e,n)=>e+n,0).toFixed(4):0,totalReceive:this.configurationPeers.length>0?this.configurationPeers.filter(e=>!e.restricted).map(e=>e.total_receive+e.cumu_receive).reduce((e,n)=>e+n,0).toFixed(4):0,totalSent:this.configurationPeers.length>0?this.configurationPeers.filter(e=>!e.restricted).map(e=>e.total_sent+e.cumu_sent).reduce((e,n)=>e+n,0).toFixed(4):0}},receiveData(){return this.historyReceiveData},sentData(){return this.historySentData},individualDataUsage(){return{labels:this.configurationPeers.map(t=>t.name?t.name:`Untitled Peer - ${t.id}`),datasets:[{label:"Total Data Usage",data:this.configurationPeers.map(t=>t.cumu_data+t.total_data),backgroundColor:this.configurationPeers.map(t=>"#0dcaf0"),tooltip:{callbacks:{label:t=>`${t.formattedValue} GB`}}}]}},individualDataUsageChartOption(){return{responsive:!0,plugins:{legend:{display:!1}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(t,e)=>`${t} GB`},grid:{display:!1}}}}},chartOptions(){return{responsive:!0,plugins:{legend:{display:!1},tooltip:{callbacks:{label:t=>`${t.formattedValue} MB/s`}}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(t,e)=>`${t} MB/s`},grid:{display:!1}}}}},searchPeers(){new Nr(this.configurationPeers,{keys:["name","id","allowed_ip"]});const t=this.wireguardConfigurationStore.searchString?this.configurationPeers.filter(e=>e.name.includes(this.wireguardConfigurationStore.searchString)||e.id.includes(this.wireguardConfigurationStore.searchString)||e.allowed_ip.includes(this.wireguardConfigurationStore.searchString)):this.configurationPeers;return this.dashboardConfigurationStore.Configuration.Server.dashboard_sort==="restricted"?t.slice().sort((e,n)=>e[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]n[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]?-1:0):t.slice().sort((e,n)=>e[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]n[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]?1:0)}}},fn=t=>(Ut("data-v-0de09f6d"),t=t(),Kt(),t),XK={key:0,class:"container-md"},QK={class:"d-flex align-items-center"},ZK=fn(()=>h("small",{CLASS:"text-muted"},"CONFIGURATION",-1)),e7={class:"d-flex align-items-center gap-3"},t7={class:"mb-0"},n7={class:"card rounded-3 bg-transparent shadow-sm ms-auto"},s7={class:"card-body py-2 d-flex align-items-center"},i7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Status")],-1)),o7={class:"form-check form-switch ms-auto"},r7=["for"],a7={key:0,class:"spinner-border spinner-border-sm","aria-hidden":"true"},l7=["disabled","id"],c7={class:"row mt-3 gy-2 gx-2 mb-2"},u7={class:"col-6 col-lg-3"},d7={class:"card rounded-3 bg-transparent shadow-sm"},h7={class:"card-body py-2"},f7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Address")],-1)),p7={class:"col-6 col-lg-3"},g7={class:"card rounded-3 bg-transparent shadow-sm"},m7={class:"card-body py-2"},_7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Listen Port")],-1)),v7={style:{"word-break":"break-all"},class:"col-12 col-lg-6"},b7={class:"card rounded-3 bg-transparent shadow-sm"},y7={class:"card-body py-2"},w7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Public Key")],-1)),x7={class:"row gx-2 gy-2 mb-2"},k7={class:"col-6 col-lg-3"},S7={class:"card rounded-3 bg-transparent shadow-sm"},$7={class:"card-body d-flex"},A7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Connected Peers")],-1)),C7={class:"h4"},E7=fn(()=>h("i",{class:"bi bi-ethernet ms-auto h2 text-muted"},null,-1)),P7={class:"col-6 col-lg-3"},T7={class:"card rounded-3 bg-transparent shadow-sm"},M7={class:"card-body d-flex"},D7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Total Usage")],-1)),O7={class:"h4"},I7=fn(()=>h("i",{class:"bi bi-arrow-down-up ms-auto h2 text-muted"},null,-1)),R7={class:"col-6 col-lg-3"},L7={class:"card rounded-3 bg-transparent shadow-sm"},N7={class:"card-body d-flex"},F7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Total Received")],-1)),B7={class:"h4 text-primary"},V7=fn(()=>h("i",{class:"bi bi-arrow-down ms-auto h2 text-muted"},null,-1)),H7={class:"col-6 col-lg-3"},j7={class:"card rounded-3 bg-transparent shadow-sm"},W7={class:"card-body d-flex"},z7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Total Sent")],-1)),Y7={class:"h4 text-success"},U7=fn(()=>h("i",{class:"bi bi-arrow-up ms-auto h2 text-muted"},null,-1)),K7={class:"row gx-2 gy-2 mb-3"},q7={class:"col-12 col-lg-6"},G7={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},J7=fn(()=>h("div",{class:"card-header bg-transparent border-0"},[h("small",{class:"text-muted"},"Peers Total Data Usage")],-1)),X7={class:"card-body pt-1"},Q7={class:"col-sm col-lg-3"},Z7={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},e9=fn(()=>h("div",{class:"card-header bg-transparent border-0"},[h("small",{class:"text-muted"},"Real Time Received Data Usage")],-1)),t9={class:"card-body pt-1"},n9={class:"col-sm col-lg-3"},s9={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},i9=fn(()=>h("div",{class:"card-header bg-transparent border-0"},[h("small",{class:"text-muted"},"Real Time Sent Data Usage")],-1)),o9={class:"card-body pt-1"},r9={class:"mb-3"};function a9(t,e,n,s,i,o){const r=He("Bar"),a=He("Line"),l=He("PeerSearch"),c=He("Peer"),u=He("PeerSettings"),d=He("PeerQRCode"),f=He("PeerJobs"),g=He("PeerJobsAllModal"),_=He("PeerJobsLogsModal"),m=He("PeerShareLinkModal");return this.loading?re("",!0):(M(),F("div",XK,[h("div",QK,[h("div",null,[ZK,h("div",e7,[h("h1",t7,[h("samp",null,me(this.configurationInfo.Name),1)])])]),h("div",n7,[h("div",s7,[h("div",null,[i7,h("div",o7,[h("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+this.configurationInfo.id},[be(me(this.configurationToggling?"Turning ":"")+" "+me(this.configurationInfo.Status?"On":"Off")+" ",1),this.configurationToggling?(M(),F("span",a7)):re("",!0)],8,r7),Oe(h("input",{class:"form-check-input",style:{cursor:"pointer"},disabled:this.configurationToggling,type:"checkbox",role:"switch",id:"switch"+this.configurationInfo.id,onChange:e[0]||(e[0]=b=>this.toggle()),"onUpdate:modelValue":e[1]||(e[1]=b=>this.configurationInfo.Status=b)},null,40,l7),[[_n,this.configurationInfo.Status]])])]),h("div",{class:Ce(["dot ms-5",{active:this.configurationInfo.Status}])},null,2)])])]),h("div",c7,[h("div",u7,[h("div",d7,[h("div",h7,[f7,be(" "+me(this.configurationInfo.Address),1)])])]),h("div",p7,[h("div",g7,[h("div",m7,[_7,be(" "+me(this.configurationInfo.ListenPort),1)])])]),h("div",v7,[h("div",b7,[h("div",y7,[w7,h("samp",null,me(this.configurationInfo.PublicKey),1)])])])]),h("div",x7,[h("div",k7,[h("div",S7,[h("div",$7,[h("div",null,[A7,h("strong",C7,me(o.configurationSummary.connectedPeers),1)]),E7])])]),h("div",P7,[h("div",T7,[h("div",M7,[h("div",null,[D7,h("strong",O7,me(o.configurationSummary.totalUsage)+" GB",1)]),I7])])]),h("div",R7,[h("div",L7,[h("div",N7,[h("div",null,[F7,h("strong",B7,me(o.configurationSummary.totalReceive)+" GB",1)]),V7])])]),h("div",H7,[h("div",j7,[h("div",W7,[h("div",null,[z7,h("strong",Y7,me(o.configurationSummary.totalSent)+" GB",1)]),U7])])])]),h("div",K7,[h("div",q7,[h("div",G7,[J7,h("div",X7,[Se(r,{data:o.individualDataUsage,options:o.individualDataUsageChartOption,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["data","options"])])])]),h("div",Q7,[h("div",Z7,[e9,h("div",t9,[Se(a,{options:o.chartOptions,data:o.receiveData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])]),h("div",n9,[h("div",s9,[i9,h("div",o9,[Se(a,{options:o.chartOptions,data:o.sentData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])])]),h("div",r9,[Se(l,{onJobsAll:e[2]||(e[2]=b=>this.peerScheduleJobsAll.modalOpen=!0),onJobLogs:e[3]||(e[3]=b=>this.peerScheduleJobsLogs.modalOpen=!0),configuration:this.configurationInfo},null,8,["configuration"]),Se(Bi,{name:"list",tag:"div",class:"row gx-2 gy-2 z-0"},{default:Pe(()=>[(M(!0),F(Te,null,Ue(this.searchPeers,b=>(M(),F("div",{class:"col-12 col-lg-6 col-xl-4",key:b.id},[Se(c,{Peer:b,onShare:w=>{this.peerShare.selectedPeer=b.id,this.peerShare.modalOpen=!0},onRefresh:e[4]||(e[4]=w=>this.getPeers()),onJobs:w=>{i.peerScheduleJobs.modalOpen=!0,i.peerScheduleJobs.selectedPeer=this.configurationPeers.find($=>$.id===b.id)},onSetting:w=>{i.peerSetting.modalOpen=!0,i.peerSetting.selectedPeer=this.configurationPeers.find($=>$.id===b.id)},onQrcode:e[5]||(e[5]=w=>{this.peerQRCode.peerConfigData=w,this.peerQRCode.modalOpen=!0})},null,8,["Peer","onShare","onJobs","onSetting"])]))),128))]),_:1})]),Se(At,{name:"zoom"},{default:Pe(()=>[this.peerSetting.modalOpen?(M(),Le(u,{key:"settings",selectedPeer:this.peerSetting.selectedPeer,onRefresh:e[6]||(e[6]=b=>this.getPeers()),onClose:e[7]||(e[7]=b=>this.peerSetting.modalOpen=!1)},null,8,["selectedPeer"])):re("",!0)]),_:1}),Se(At,{name:"zoom"},{default:Pe(()=>[i.peerQRCode.modalOpen?(M(),Le(d,{peerConfigData:this.peerQRCode.peerConfigData,key:"qrcode",onClose:e[8]||(e[8]=b=>this.peerQRCode.modalOpen=!1)},null,8,["peerConfigData"])):re("",!0)]),_:1}),Se(At,{name:"zoom"},{default:Pe(()=>[this.peerScheduleJobs.modalOpen?(M(),Le(f,{key:0,onRefresh:e[9]||(e[9]=b=>this.getPeers()),selectedPeer:this.peerScheduleJobs.selectedPeer,onClose:e[10]||(e[10]=b=>this.peerScheduleJobs.modalOpen=!1)},null,8,["selectedPeer"])):re("",!0)]),_:1}),Se(At,{name:"zoom"},{default:Pe(()=>[this.peerScheduleJobsAll.modalOpen?(M(),Le(g,{key:0,onRefresh:e[11]||(e[11]=b=>this.getPeers()),onClose:e[12]||(e[12]=b=>this.peerScheduleJobsAll.modalOpen=!1),configurationPeers:this.configurationPeers},null,8,["configurationPeers"])):re("",!0)]),_:1}),Se(At,{name:"zoom"},{default:Pe(()=>[this.peerScheduleJobsLogs.modalOpen?(M(),Le(_,{key:0,onClose:e[13]||(e[13]=b=>this.peerScheduleJobsLogs.modalOpen=!1),configurationInfo:this.configurationInfo},null,8,["configurationInfo"])):re("",!0)]),_:1}),Se(At,{name:"zoom"},{default:Pe(()=>[this.peerShare.modalOpen?(M(),Le(m,{key:0,onClose:e[14]||(e[14]=b=>{this.peerShare.modalOpen=!1,this.peerShare.selectedPeer=void 0}),peer:this.configurationPeers.find(b=>b.id===this.peerShare.selectedPeer)},null,8,["peer"])):re("",!0)]),_:1})]))}const l9=We(JK,[["render",a9],["__scopeId","data-v-0de09f6d"]]),c9={name:"ping",data(){return{loading:!1,cips:{},selectedConfiguration:void 0,selectedPeer:void 0,selectedIp:void 0,count:4,pingResult:void 0,pinging:!1}},setup(){return{store:Xe()}},mounted(){wt("/api/ping/getAllPeersIpAddress",{},t=>{t.status&&(this.loading=!0,this.cips=t.data,console.log(this.cips))})},methods:{execute(){this.selectedIp&&(this.pinging=!0,this.pingResult=void 0,wt("/api/ping/execute",{ipAddress:this.selectedIp,count:this.count},t=>{t.status?this.pingResult=t.data:this.store.newMessage("Server",t.message,"danger")}))}},watch:{selectedConfiguration(){this.selectedPeer=void 0,this.selectedIp=void 0},selectedPeer(){this.selectedIp=void 0}}},Vn=t=>(Ut("data-v-7b32cdf7"),t=t(),Kt(),t),u9={class:"mt-md-5 mt-3 text-body"},d9={class:"container"},h9=Vn(()=>h("h3",{class:"mb-3 text-body"},"Ping",-1)),f9={class:"row"},p9={class:"col-sm-4 d-flex gap-2 flex-column"},g9=Vn(()=>h("label",{class:"mb-1 text-muted",for:"configuration"},[h("small",null,"Configuration")],-1)),m9=Vn(()=>h("option",{disabled:"",selected:"",value:void 0},"Select a Configuration...",-1)),_9=["value"],v9=Vn(()=>h("label",{class:"mb-1 text-muted",for:"peer"},[h("small",null,"Peer")],-1)),b9=["disabled"],y9=Vn(()=>h("option",{disabled:"",selected:"",value:void 0},"Select a Peer...",-1)),w9=["value"],x9=Vn(()=>h("label",{class:"mb-1 text-muted",for:"ip"},[h("small",null,"IP Address")],-1)),k9=["disabled"],S9=Vn(()=>h("option",{disabled:"",selected:"",value:void 0},"Select a IP...",-1)),$9=Vn(()=>h("label",{class:"mb-1 text-muted",for:"count"},[h("small",null,"Ping Count")],-1)),A9=["disabled"],C9=Vn(()=>h("i",{class:"bi bi-person-walking me-2"},null,-1)),E9={class:"col-sm-8"},P9={key:"pingPlaceholder"},T9={key:"pingResult",class:"d-flex flex-column gap-2 w-100"},M9={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.15s"}},D9={class:"card-body"},O9=Vn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Address")],-1)),I9={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.3s"}},R9={class:"card-body"},L9=Vn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Is Alive")],-1)),N9={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.45s"}},F9={class:"card-body"},B9=Vn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Average / Min / Max Round Trip Time")],-1)),V9={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.6s"}},H9={class:"card-body"},j9=Vn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Sent / Received / Lost Package")],-1));function W9(t,e,n,s,i,o){return M(),F("div",u9,[h("div",d9,[h9,h("div",f9,[h("div",p9,[h("div",null,[g9,Oe(h("select",{class:"form-select","onUpdate:modelValue":e[0]||(e[0]=r=>this.selectedConfiguration=r)},[m9,(M(!0),F(Te,null,Ue(this.cips,(r,a)=>(M(),F("option",{value:a},me(a),9,_9))),256))],512),[[nc,this.selectedConfiguration]])]),h("div",null,[v9,Oe(h("select",{id:"peer",class:"form-select","onUpdate:modelValue":e[1]||(e[1]=r=>this.selectedPeer=r),disabled:this.selectedConfiguration===void 0},[y9,this.selectedConfiguration!==void 0?(M(!0),F(Te,{key:0},Ue(this.cips[this.selectedConfiguration],(r,a)=>(M(),F("option",{value:a},me(a),9,w9))),256)):re("",!0)],8,b9),[[nc,this.selectedPeer]])]),h("div",null,[x9,Oe(h("select",{id:"ip",class:"form-select","onUpdate:modelValue":e[2]||(e[2]=r=>this.selectedIp=r),disabled:this.selectedPeer===void 0},[S9,this.selectedPeer!==void 0?(M(!0),F(Te,{key:0},Ue(this.cips[this.selectedConfiguration][this.selectedPeer].allowed_ips,r=>(M(),F("option",null,me(r),1))),256)):re("",!0)],8,k9),[[nc,this.selectedIp]])]),h("div",null,[$9,Oe(h("input",{class:"form-control",type:"number","onUpdate:modelValue":e[3]||(e[3]=r=>this.count=r),min:"1",id:"count",placeholder:"How many times you want to ping?"},null,512),[[je,this.count]])]),h("button",{class:"btn btn-primary rounded-3 mt-3",disabled:!this.selectedIp,onClick:e[4]||(e[4]=r=>this.execute())},[C9,be("Go! ")],8,A9)]),h("div",E9,[Se(Bi,{name:"ping"},{default:Pe(()=>[this.pingResult?(M(),F("div",T9,[h("div",M9,[h("div",D9,[O9,be(" "+me(this.pingResult.address),1)])]),h("div",I9,[h("div",R9,[L9,h("span",{class:Ce([this.pingResult.is_alive?"text-success":"text-danger"])},[h("i",{class:Ce(["bi me-1",[this.pingResult.is_alive?"bi-check-circle-fill":"bi-x-circle-fill"]])},null,2),be(" "+me(this.pingResult.is_alive?"Yes":"No"),1)],2)])]),h("div",N9,[h("div",F9,[B9,h("samp",null,me(this.pingResult.avg_rtt)+"ms / "+me(this.pingResult.min_rtt)+"ms / "+me(this.pingResult.max_rtt)+"ms ",1)])]),h("div",V9,[h("div",H9,[j9,h("samp",null,me(this.pingResult.package_sent)+" / "+me(this.pingResult.package_received)+" / "+me(this.pingResult.package_loss),1)])])])):(M(),F("div",P9,[(M(),F(Te,null,Ue(4,r=>h("div",{class:Ce(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.pinging}]),style:jt({"animation-delay":`${r*.15}s`})},null,6)),64))]))]),_:1})])])])])}const z9=We(c9,[["render",W9],["__scopeId","data-v-7b32cdf7"]]),Y9={name:"traceroute",data(){return{tracing:!1,ipAddress:void 0,tracerouteResult:void 0}},setup(){return{store:Tn()}},methods:{execute(){this.ipAddress&&(this.tracing=!0,this.tracerouteResult=void 0,wt("/api/traceroute/execute",{ipAddress:this.ipAddress},t=>{t.status?this.tracerouteResult=t.data:this.store.newMessage("Server",t.message,"danger"),this.tracing=!1}))}}},pu=t=>(Ut("data-v-606c2c93"),t=t(),Kt(),t),U9={class:"mt-md-5 mt-3 text-body"},K9={class:"container-md"},q9=pu(()=>h("h3",{class:"mb-3 text-body"},"Traceroute",-1)),G9={class:"row"},J9={class:"col-sm-4 d-flex gap-2 flex-column"},X9=pu(()=>h("label",{class:"mb-1 text-muted",for:"ipAddress"},[h("small",null,"IP Address")],-1)),Q9=["disabled"],Z9=pu(()=>h("i",{class:"bi bi-bullseye me-2"},null,-1)),eq={class:"col-sm-8 position-relative"},tq={key:"pingPlaceholder"},nq={key:"table",class:"w-100"},sq={class:"table table-borderless rounded-3 w-100"},iq=pu(()=>h("thead",null,[h("tr",null,[h("th",{scope:"col"},"Hop"),h("th",{scope:"col"},"IP Address"),h("th",{scope:"col"},"Average / Min / Max Round Trip Time")])],-1));function oq(t,e,n,s,i,o){return M(),F("div",U9,[h("div",K9,[q9,h("div",G9,[h("div",J9,[h("div",null,[X9,Oe(h("input",{id:"ipAddress",class:"form-control","onUpdate:modelValue":e[0]||(e[0]=r=>this.ipAddress=r),type:"text",placeholder:"Enter an IP Address you want to trace :)"},null,512),[[je,this.ipAddress]])]),h("button",{class:"btn btn-primary rounded-3 mt-3",disabled:!this.store.regexCheckIP(this.ipAddress)||this.tracing,onClick:e[1]||(e[1]=r=>this.execute())},[Z9,be(" "+me(this.tracing?"Tracing...":"Trace It!"),1)],8,Q9)]),h("div",eq,[Se(Bi,{name:"ping"},{default:Pe(()=>[this.tracerouteResult?(M(),F("div",nq,[h("table",sq,[iq,h("tbody",null,[(M(!0),F(Te,null,Ue(this.tracerouteResult,(r,a)=>(M(),F("tr",{class:"animate__fadeInUp animate__animated",style:jt({"animation-delay":`${a*.05}s`})},[h("td",null,me(r.hop),1),h("td",null,me(r.ip),1),h("td",null,me(r.avg_rtt)+" / "+me(r.min_rtt)+" / "+me(r.max_rtt),1)],4))),256))])])])):(M(),F("div",tq,[(M(),F(Te,null,Ue(10,r=>h("div",{class:Ce(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.tracing}]),style:jt({"animation-delay":`${r*.05}s`})},null,6)),64))]))]),_:1})])])])])}const rq=We(Y9,[["render",oq],["__scopeId","data-v-606c2c93"]]),aq={name:"totp",async setup(){const t=Xe();let e="";return await wt("/api/Welcome_GetTotpLink",{},n=>{n.status&&(e=n.data)}),{l:e,store:t}},mounted(){this.l&&Lo.toCanvas(document.getElementById("qrcode"),this.l,function(t){})},data(){return{totp:"",totpInvalidMessage:"",verified:!1}},methods:{validateTotp(){}},watch:{totp(t){const e=document.querySelector("#totp");e.classList.remove("is-invalid","is-valid"),t.length===6&&(console.log(t),/[0-9]{6}/.test(t)?ht("/api/Welcome_VerifyTotpLink",{totp:t},n=>{n.status?(this.verified=!0,e.classList.add("is-valid"),this.$emit("verified")):(e.classList.add("is-invalid"),this.totpInvalidMessage="TOTP does not match.")}):(e.classList.add("is-invalid"),this.totpInvalidMessage="TOTP can only contain numbers"))}}},lq=["data-bs-theme"],cq={class:"m-auto text-body",style:{width:"500px"}},uq={class:"d-flex flex-column"},dq=h("h1",{class:"dashboardLogo display-4"},"Multi-Factor Authentication",-1),hq=h("p",{class:"mb-2"},[h("small",{class:"text-muted"},"1. Please scan the following QR Code to generate TOTP")],-1),fq=h("canvas",{id:"qrcode",class:"rounded-3 mb-2"},null,-1),pq={class:"p-3 bg-body-secondary rounded-3 border mb-3"},gq=h("p",{class:"text-muted mb-0"},[h("small",null,"Or you can click the link below:")],-1),mq=["href"],_q={style:{"line-break":"anywhere"}},vq=h("label",{for:"totp",class:"mb-2"},[h("small",{class:"text-muted"},"2. Enter the TOTP generated by your authenticator to verify")],-1),bq={class:"form-group mb-2"},yq=["disabled"],wq={class:"invalid-feedback"},xq=h("div",{class:"valid-feedback"}," TOTP verified! ",-1),kq=h("div",{class:"alert alert-warning rounded-3"},[h("i",{class:"bi bi-exclamation-triangle-fill me-2"}),be(" If you ever lost your TOTP and can't login, please follow instruction on "),h("a",{href:"https://github.com/donaldzou/WGDashboard",target:"_blank"},"readme.md"),be(" to reset. ")],-1),Sq=h("hr",null,null,-1),$q={class:"d-flex gap-3 mt-5 flex-column"},Aq=h("i",{class:"bi bi-chevron-right ms-auto"},null,-1),Cq=h("i",{class:"bi bi-chevron-right ms-auto"},null,-1);function Eq(t,e,n,s,i,o){const r=He("RouterLink");return M(),F("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[h("div",cq,[h("div",uq,[h("div",null,[dq,hq,fq,h("div",pq,[gq,h("a",{href:this.l},[h("code",_q,me(this.l),1)],8,mq)]),vq,h("div",bq,[Oe(h("input",{class:"form-control text-center totp",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code","onUpdate:modelValue":e[0]||(e[0]=a=>this.totp=a),disabled:this.verified},null,8,yq),[[je,this.totp]]),h("div",wq,me(this.totpInvalidMessage),1),xq]),kq]),Sq,h("div",$q,[this.verified?(M(),Le(r,{key:1,to:"/",class:"btn btn-dark btn-lg d-flex btn-brand shadow align-items-center flex-grow-1 rounded-3"},{default:Pe(()=>[be(" Complete "),Cq]),_:1})):(M(),Le(r,{key:0,to:"/",class:"btn bg-secondary-subtle text-secondary-emphasis rounded-3 flex-grow-1 btn-lg border-1 border-secondary-subtle shadow d-flex"},{default:Pe(()=>[be(" I don't need MFA "),Aq]),_:1}))])])])],8,lq)}const Pq=We(aq,[["render",Eq]]),Tq={name:"share",async setup(){const t=NE(),e=ve(!1),n=Xe(),s=ve(""),i=ve(""),o=ve(new Blob);await wt("/api/getDashboardTheme",{},a=>{s.value=a.data});const r=t.query.ShareID;return r===void 0||r.length===0?(i.value=void 0,e.value=!0):await wt("/api/sharePeer/get",{ShareID:r},a=>{a.status?(i.value=a.data,o.value=new Blob([i.value.file],{type:"text/plain"})):i.value=void 0,e.value=!0}),{store:n,theme:s,peerConfiguration:i,blob:o}},mounted(){Lo.toCanvas(document.querySelector("#qrcode"),this.peerConfiguration.file,t=>{t&&console.error(t)})},methods:{download(){const t=new Blob([this.peerConfiguration.file],{type:"text/plain"}),e=URL.createObjectURL(t),n=`${this.peerConfiguration.fileName}.conf`,s=document.createElement("a");s.href=e,s.download=n,s.click()}},computed:{getBlob(){return URL.createObjectURL(this.blob)}}},Uf=t=>(Ut("data-v-99d4b06a"),t=t(),Kt(),t),Mq=["data-bs-theme"],Dq={class:"m-auto text-body",style:{width:"500px"}},Oq={key:0,class:"text-center position-relative",style:{}},Iq=IA('

Oh no... This link is either expired or invalid.

',2),Rq=[Iq],Lq={key:1,class:"d-flex align-items-center flex-column gap-3"},Nq=Uf(()=>h("div",{class:"h1 dashboardLogo text-center animate__animated animate__fadeInUp"},[h("h6",null,"WGDashboard"),be(" Scan QR Code from the WireGuard App ")],-1)),Fq={id:"qrcode",class:"rounded-3 shadow animate__animated animate__fadeInUp mb-3",ref:"qrcode"},Bq=Uf(()=>h("p",{class:"text-muted animate__animated animate__fadeInUp mb-1",style:{"animation-delay":"0.2s"}},[be("or click the button below to download the "),h("samp",null,".conf"),be(" file")],-1)),Vq=["download","href"],Hq=Uf(()=>h("i",{class:"bi bi-download"},null,-1)),jq=[Hq];function Wq(t,e,n,s,i,o){return M(),F("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.theme},[h("div",Dq,[this.peerConfiguration?(M(),F("div",Lq,[Nq,h("canvas",Fq,null,512),Bq,h("a",{download:this.peerConfiguration.fileName+".conf",href:o.getBlob,class:"btn btn-lg bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle animate__animated animate__fadeInUp shadow-sm",style:{"animation-delay":"0.25s"}},jq,8,Vq)])):(M(),F("div",Oq,Rq))])],8,Mq)}const zq=We(Tq,[["render",Wq],["__scopeId","data-v-99d4b06a"]]),Yq=async()=>{let t=!1;return await wt("/api/validateAuthentication",{},e=>{t=e.status}),t},rl=RE({history:QC(),routes:[{name:"Index",path:"/",component:MP,meta:{requiresAuth:!0},children:[{name:"Configuration List",path:"",component:mM,meta:{title:"WireGuard Configurations"}},{name:"Settings",path:"/settings",component:S3,meta:{title:"Settings"}},{path:"/ping",name:"Ping",component:z9},{path:"/traceroute",name:"Traceroute",component:rq},{name:"New Configuration",path:"/new_configuration",component:r5,meta:{title:"New Configuration"}},{name:"Configuration",path:"/configuration/:id",component:u5,meta:{title:"Configuration"},children:[{name:"Peers List",path:"peers",component:l9},{name:"Peers Create",path:"create",component:M1}]}]},{path:"/signin",component:RT,meta:{title:"Sign In"}},{path:"/welcome",component:U3,meta:{requiresAuth:!0,title:"Welcome to WGDashboard"}},{path:"/2FASetup",component:Pq,meta:{requiresAuth:!0,title:"Multi-Factor Authentication Setup"}},{path:"/share",component:zq,meta:{title:"Share"}}]});rl.beforeEach(async(t,e,n)=>{const s=Tn(),i=Xe();t.meta.title?t.params.id?document.title=t.params.id+" | WGDashboard":document.title=t.meta.title+" | WGDashboard":document.title="WGDashboard",i.ShowNavBar=!1,t.meta.requiresAuth?i.getActiveCrossServer()?(await i.getConfiguration(),!s.Configurations&&t.name!=="Configuration List"&&await s.getConfigurations(),n()):FE.getCookie("authToken")&&await Yq()?(await i.getConfiguration(),!s.Configurations&&t.name!=="Configuration List"&&await s.getConfigurations(),i.Redirect=void 0,n()):(i.Redirect=t,n("/signin"),i.newMessage("WGDashboard","Session Ended","warning")):n()});const I1=()=>{let t={"content-type":"application/json"};const n=Xe().getActiveCrossServer();return n&&(t["wg-dashboard-apikey"]=n.apiKey),t},R1=t=>{const n=Xe().getActiveCrossServer();return n?`${n.host}${t}`:`${window.location.protocol}//${(window.location.host+window.location.pathname+t).replace(/\/\//g,"/")}`},wt=async(t,e=void 0,n=void 0)=>{const s=new URLSearchParams(e);await fetch(`${R1(t)}?${s.toString()}`,{headers:I1()}).then(i=>{const o=Xe();if(i.ok)return i.json();if(i.status!==200)throw i.status===401&&o.newMessage("WGDashboard","Session Ended","warning"),new Error(i.statusText)}).then(i=>n?n(i):void 0).catch(i=>{console.log(i),rl.push({path:"/signin"})})},ht=async(t,e,n)=>{await fetch(`${R1(t)}`,{headers:I1(),method:"POST",body:JSON.stringify(e)}).then(s=>{const i=Xe();if(s.ok)return s.json();if(s.status!==200)throw s.status===401&&i.newMessage("WGDashboard","Session Ended","warning"),new Error(s.statusText)}).then(s=>n?n(s):void 0).catch(s=>{console.log(s),rl.push({path:"/signin"})})},Xe=Qh("DashboardConfigurationStore",{state:()=>({Redirect:void 0,Configuration:void 0,Messages:[],Peers:{Selecting:!1,RefreshInterval:void 0},CrossServerConfiguration:{Enable:!1,ServerList:{}},ActiveServerConfiguration:void 0,IsElectronApp:!1,ShowNavBar:!1,Locale:{}}),actions:{initCrossServerConfiguration(){const t=localStorage.getItem("CrossServerConfiguration");localStorage.getItem("ActiveCrossServerConfiguration")!==null&&(this.ActiveServerConfiguration=localStorage.getItem("ActiveCrossServerConfiguration")),t===null?window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration)):this.CrossServerConfiguration=JSON.parse(t)},syncCrossServerConfiguration(){window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration))},addCrossServerConfiguration(){this.CrossServerConfiguration.ServerList[Ps().toString()]={host:"",apiKey:"",active:!1}},deleteCrossServerConfiguration(t){delete this.CrossServerConfiguration.ServerList[t]},getActiveCrossServer(){const t=localStorage.getItem("ActiveCrossServerConfiguration");if(t!==null)return this.CrossServerConfiguration.ServerList[t]},setActiveCrossServer(t){this.ActiveServerConfiguration=t,localStorage.setItem("ActiveCrossServerConfiguration",t)},removeActiveCrossServer(){this.ActiveServerConfiguration=void 0,localStorage.removeItem("ActiveCrossServerConfiguration")},async getConfiguration(){await wt("/api/getDashboardConfiguration",{},t=>{t.status&&(this.Configuration=t.data)})},async signOut(){await wt("/api/signout",{},t=>{this.removeActiveCrossServer(),this.$router.go("/signin")})},newMessage(t,e,n){this.Messages.push({id:Ps(),from:t,content:e,type:n,show:!0})},async getLocale(){await wt("/api/locale",{id:"zh-CN"},t=>{this.Locale=JSON.parse(t.data)})}}}),Kf=t=>(Ut("data-v-822f113b"),t=t(),Kt(),t),Uq={class:"navbar bg-dark sticky-top","data-bs-theme":"dark"},Kq={class:"container-fluid d-flex text-body align-items-center"},qq=Kf(()=>h("span",{class:"navbar-brand mb-0 h1"},"WGDashboard",-1)),Gq={key:0,class:"ms-auto text-muted"},Jq=Kf(()=>h("i",{class:"bi bi-server me-2"},null,-1)),Xq=Kf(()=>h("i",{class:"bi bi-list"},null,-1)),Qq=[Xq],Zq={__name:"App",setup(t){const e=Xe();e.initCrossServerConfiguration(),window.IS_WGDASHBOARD_DESKTOP&&(e.IsElectronApp=!0,e.CrossServerConfiguration.Enable=!0),Bt(e.CrossServerConfiguration,()=>{e.syncCrossServerConfiguration()},{deep:!0});const n=_e(()=>{if(e.ActiveServerConfiguration)return e.CrossServerConfiguration.ServerList[e.ActiveServerConfiguration]});return(s,i)=>(M(),F(Te,null,[h("nav",Uq,[h("div",Kq,[qq,n.value!==void 0?(M(),F("small",Gq,[Jq,be(me(n.value.host),1)])):re("",!0),h("a",{role:"button",class:"navbarBtn text-body",onClick:i[0]||(i[0]=o=>q(e).ShowNavBar=!q(e).ShowNavBar),style:{"line-height":"0","font-size":"2rem"}},Qq)])]),(M(),Le(Wh,null,{default:Pe(()=>[Se(q(iy),null,{default:Pe(({Component:o})=>[Se(At,{name:"app",mode:"out-in"},{default:Pe(()=>[(M(),Le(Mo(o)))]),_:2},1024)]),_:1})]),_:1}))],64))}},eG=We(Zq,[["__scopeId","data-v-822f113b"]]),qf=SC(eG);qf.use(rl);const L1=EC();L1.use(({store:t})=>{t.$router=Bc(rl)});qf.use(L1);const tG=Xe();await tG.getLocale();qf.mount("#app"); +`);const r=UW(e,n,i),a=cu.getSymbolSize(e),l=new RW(a);return jW(l,e),WW(l),zW(l,e),_d(l,n,0),e>=7&&KW(l,e),YW(l,r),isNaN(s)&&(s=uh.getBestMask(l,_d.bind(null,l,n))),uh.applyMask(s,l),_d(l,n,s),{modules:l,version:e,errorCorrectionLevel:n,maskPattern:s,segments:i}}g1.create=function(e,n){if(typeof e>"u"||e==="")throw new Error("No input text");let s=gd.M,i,o;return typeof n<"u"&&(s=gd.from(n.errorCorrectionLevel,gd.M),i=$c.from(n.version),o=uh.from(n.maskPattern),n.toSJISFunc&&cu.setToSJISFunction(n.toSJISFunc)),GW(e,i,s,o)};var E1={},zf={};(function(t){function e(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let s=n.slice().replace("#","").split("");if(s.length<3||s.length===5||s.length>8)throw new Error("Invalid hex color: "+n);(s.length===3||s.length===4)&&(s=Array.prototype.concat.apply([],s.map(function(o){return[o,o]}))),s.length===6&&s.push("F","F");const i=parseInt(s.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+s.slice(0,6).join("")}}t.getOptions=function(s){s||(s={}),s.color||(s.color={});const i=typeof s.margin>"u"||s.margin===null||s.margin<0?4:s.margin,o=s.width&&s.width>=21?s.width:void 0,r=s.scale||4;return{width:o,scale:o?4:r,margin:i,color:{dark:e(s.color.dark||"#000000ff"),light:e(s.color.light||"#ffffffff")},type:s.type,rendererOpts:s.rendererOpts||{}}},t.getScale=function(s,i){return i.width&&i.width>=s+i.margin*2?i.width/(s+i.margin*2):i.scale},t.getImageWidth=function(s,i){const o=t.getScale(s,i);return Math.floor((s+i.margin*2)*o)},t.qrToImageData=function(s,i,o){const r=i.modules.size,a=i.modules.data,l=t.getScale(r,o),c=Math.floor((r+o.margin*2)*l),u=o.margin*l,d=[o.color.light,o.color.dark];for(let f=0;f=u&&g>=u&&f"u"&&(!r||!r.getContext)&&(l=r,r=void 0),r||(c=s()),l=e.getOptions(l);const u=e.getImageWidth(o.modules.size,l),d=c.getContext("2d"),f=d.createImageData(u,u);return e.qrToImageData(f.data,o,l),n(d,c,u),d.putImageData(f,0,0),c},t.renderToDataURL=function(o,r,a){let l=a;typeof l>"u"&&(!r||!r.getContext)&&(l=r,r=void 0),l||(l={});const c=t.render(o,r,l),u=l.type||"image/png",d=l.rendererOpts||{};return c.toDataURL(u,d.quality)}})(E1);var T1={};const JW=zf;function X_(t,e){const n=t.a/255,s=e+'="'+t.hex+'"';return n<1?s+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':s}function bd(t,e,n){let s=t+e;return typeof n<"u"&&(s+=" "+n),s}function XW(t,e,n){let s="",i=0,o=!1,r=0;for(let a=0;a0&&l>0&&t[a-1]||(s+=o?bd("M",l+n,.5+c+n):bd("m",i,0),i=0,o=!1),l+1':"",c="',u='viewBox="0 0 '+a+" "+a+'"',f=''+l+c+` +`;return typeof s=="function"&&s(null,f),f};const QW=dW,hh=g1,P1=E1,ZW=T1;function Kf(t,e,n,s,i){const o=[].slice.call(arguments,1),r=o.length,a=typeof o[r-1]=="function";if(!a&&!QW())throw new Error("Callback required as last argument");if(a){if(r<2)throw new Error("Too few arguments provided");r===2?(i=n,n=e,e=s=void 0):r===3&&(e.getContext&&typeof i>"u"?(i=s,s=void 0):(i=s,s=n,n=e,e=void 0))}else{if(r<1)throw new Error("Too few arguments provided");return r===1?(n=e,e=s=void 0):r===2&&!e.getContext&&(s=n,n=e,e=void 0),new Promise(function(l,c){try{const u=hh.create(n,s);l(t(u,e,s))}catch(u){c(u)}})}try{const l=hh.create(n,s);i(null,t(l,e,s))}catch(l){i(l)}}Io.create=hh.create;Io.toCanvas=Kf.bind(null,P1.render);Io.toDataURL=Kf.bind(null,P1.renderToDataURL);Io.toString=Kf.bind(null,function(t,e,n){return ZW.render(t,n)});const ez={name:"peerQRCode",components:{LocaleText:Ge},props:{peerConfigData:String},mounted(){Io.toCanvas(document.querySelector("#qrcode"),this.peerConfigData,t=>{t&&console.error(t)})}},tz={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0"},nz={class:"container d-flex h-100 w-100"},sz={class:"m-auto modal-dialog-centered dashboardModal justify-content-center"},iz={class:"card rounded-3 shadow"},oz={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},rz={class:"mb-0"},az={class:"card-body"},lz={id:"qrcode",class:"rounded-3 shadow",ref:"qrcode"};function cz(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",tz,[h("div",nz,[h("div",sz,[h("div",iz,[h("div",oz,[h("h4",rz,[N(r,{t:"QR Code"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),h("div",az,[h("canvas",lz,null,512)])])])])])}const uz=je(ez,[["render",cz]]),dz={name:"nameInput",components:{LocaleText:Ge},props:{bulk:Boolean,data:Object,saving:Boolean}},hz={for:"peer_name_textbox",class:"form-label"},fz={class:"text-muted"},pz=["disabled"];function gz(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",{class:Ee({inactiveField:this.bulk})},[h("label",hz,[h("small",fz,[N(r,{t:"Name"})])]),Le(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving||this.bulk,"onUpdate:modelValue":e[0]||(e[0]=a=>this.data.name=a),id:"peer_name_textbox",placeholder:""},null,8,pz),[[We,this.data.name]])],2)}const mz=je(dz,[["render",gz]]),_z={name:"privatePublicKeyInput",components:{LocaleText:Ge},props:{data:Object,saving:Boolean,bulk:Boolean},setup(){return{dashboardStore:Xe()}},data(){return{keypair:{publicKey:"",privateKey:"",presharedKey:""},editKey:!1,error:!1}},methods:{genKeyPair(){this.editKey=!1,this.keypair=window.wireguard.generateKeypair(),this.data.private_key=this.keypair.privateKey,this.data.public_key=this.keypair.publicKey},testKey(t){return/^[A-Za-z0-9+/]{43}=?=?$/.test(t)},checkMatching(){try{this.keypair.privateKey&&this.testKey(this.keypair.privateKey)&&(this.keypair.publicKey=window.wireguard.generatePublicKey(this.keypair.privateKey),window.wireguard.generatePublicKey(this.keypair.privateKey)!==this.keypair.publicKey?(this.error=!0,this.dashboardStore.newMessage("WGDashboard","Private key does not match with the public key","danger")):(this.data.private_key=this.keypair.privateKey,this.data.public_key=this.keypair.publicKey))}catch{this.error=!0,this.data.private_key="",this.data.public_key=""}}},mounted(){this.genKeyPair()},watch:{keypair:{deep:!0,handler(){this.error=!1,this.checkMatching()}}}},bz={for:"peer_private_key_textbox",class:"form-label"},vz={class:"text-muted"},yz={class:"input-group"},wz=["disabled"],xz=["disabled"],kz=h("i",{class:"bi bi-arrow-repeat"},null,-1),Sz=[kz],$z={class:"d-flex"},Az={for:"public_key",class:"form-label"},Cz={class:"text-muted"},Ez={class:"form-check form-switch ms-auto"},Tz=["disabled"],Pz={class:"form-check-label",for:"enablePublicKeyEdit"},Mz=["disabled"];function Dz(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",{class:Ee(["d-flex gap-2 flex-column",{inactiveField:this.bulk}])},[h("div",null,[h("label",bz,[h("small",vz,[N(r,{t:"Private Key"}),h("code",null,[N(r,{t:"(Required for QR Code and Download)"})])])]),h("div",yz,[Le(h("input",{type:"text",class:Ee(["form-control form-control-sm rounded-start-3",{"is-invalid":this.error}]),"onUpdate:modelValue":e[0]||(e[0]=a=>this.keypair.privateKey=a),disabled:!this.editKey||this.bulk,onBlur:e[1]||(e[1]=a=>this.checkMatching()),id:"peer_private_key_textbox"},null,42,wz),[[We,this.keypair.privateKey]]),h("button",{class:"btn btn-outline-info btn-sm rounded-end-3",onClick:e[2]||(e[2]=a=>this.genKeyPair()),disabled:this.bulk,type:"button",id:"button-addon2"},Sz,8,xz)])]),h("div",null,[h("div",$z,[h("label",Az,[h("small",Cz,[N(r,{t:"Public Key"}),h("code",null,[N(r,{t:"(Required)"})])])]),h("div",Ez,[Le(h("input",{class:"form-check-input",type:"checkbox",role:"switch",disabled:this.bulk,id:"enablePublicKeyEdit","onUpdate:modelValue":e[3]||(e[3]=a=>this.editKey=a)},null,8,Tz),[[_n,this.editKey]]),h("label",Pz,[h("small",null,[N(r,{t:"Use your own Private and Public Key"})])])])]),Le(h("input",{class:Ee(["form-control-sm form-control rounded-3",{"is-invalid":this.error}]),"onUpdate:modelValue":e[4]||(e[4]=a=>this.keypair.publicKey=a),onBlur:e[5]||(e[5]=a=>this.checkMatching()),disabled:!this.editKey||this.bulk,type:"text",id:"public_key"},null,42,Mz),[[We,this.keypair.publicKey]])])],2)}const Oz=je(_z,[["render",Dz]]),Iz={name:"allowedIPsInput",components:{LocaleText:Ge},props:{data:Object,saving:Boolean,bulk:Boolean,availableIp:void 0},data(){return{allowedIp:[],availableIpSearchString:"",customAvailableIp:"",allowedIpFormatError:!1}},setup(){const t=Pn(),e=Xe();return{store:t,dashboardStore:e}},computed:{searchAvailableIps(){return this.availableIpSearchString?this.availableIp.filter(t=>t.includes(this.availableIpSearchString)&&!this.data.allowed_ips.includes(t)):this.availableIp.filter(t=>!this.data.allowed_ips.includes(t))},inputGetLocale(){return dt("Enter IP Address/CIDR")}},methods:{addAllowedIp(t){return this.store.checkCIDR(t)?(this.data.allowed_ips.push(t),this.customAvailableIp="",!0):(this.allowedIpFormatError=!0,this.dashboardStore.newMessage("WGDashboard","Allowed IPs is invalid","danger"),!1)}},watch:{customAvailableIp(){this.allowedIpFormatError=!1},availableIp(){this.availableIp!==void 0&&this.availableIp.length>0&&this.addAllowedIp(this.availableIp[0])}},mounted(){}},uu=t=>(qt("data-v-6d5fc831"),t=t(),Gt(),t),Lz={for:"peer_allowed_ip_textbox",class:"form-label"},Rz={class:"text-muted"},Nz=["onClick"],Fz=uu(()=>h("i",{class:"bi bi-x-circle-fill ms-1"},null,-1)),Bz=[Fz],Vz={class:"d-flex gap-2 align-items-center"},Hz={class:"input-group"},jz=["placeholder","disabled"],Wz=["disabled"],zz=uu(()=>h("i",{class:"bi bi-plus-lg"},null,-1)),Kz=[zz],Yz={class:"text-muted"},Uz={class:"dropdown flex-grow-1"},qz=["disabled"],Gz=uu(()=>h("i",{class:"bi bi-filter-circle me-2"},null,-1)),Jz={key:0,class:"dropdown-menu mt-2 shadow w-100 dropdown-menu-end rounded-3",style:{"overflow-y":"scroll","max-height":"270px",width:"300px !important"}},Xz={class:"px-3 pb-2 pt-1 d-flex gap-3 align-items-center"},Qz=uu(()=>h("label",{for:"availableIpSearchString",class:"text-muted"},[h("i",{class:"bi bi-search"})],-1)),Zz=["onClick"],eK={class:"me-auto"},tK={key:0},nK={class:"px-3 text-muted"};function sK(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",{class:Ee({inactiveField:this.bulk})},[h("label",Lz,[h("small",Rz,[N(r,{t:"Allowed IPs"}),h("code",null,[N(r,{t:"(Required)"})])])]),h("div",{class:Ee(["d-flex gap-2 flex-wrap",{"mb-2":this.data.allowed_ips.length>0}])},[N(Ni,{name:"list"},{default:Pe(()=>[(C(!0),F(Me,null,Ke(this.data.allowed_ips,(a,l)=>(C(),F("span",{class:"badge rounded-pill text-bg-success",key:a},[He(xe(a)+" ",1),h("a",{role:"button",onClick:c=>this.data.allowed_ips.splice(l,1)},Bz,8,Nz)]))),128))]),_:1})],2),h("div",Vz,[h("div",Hz,[Le(h("input",{type:"text",class:Ee(["form-control form-control-sm rounded-start-3",{"is-invalid":this.allowedIpFormatError}]),placeholder:this.inputGetLocale,"onUpdate:modelValue":e[0]||(e[0]=a=>i.customAvailableIp=a),disabled:n.bulk},null,10,jz),[[We,i.customAvailableIp]]),h("button",{class:"btn btn-outline-success btn-sm rounded-end-3",disabled:n.bulk||!this.customAvailableIp,onClick:e[1]||(e[1]=a=>this.addAllowedIp(this.customAvailableIp)),type:"button",id:"button-addon2"},Kz,8,Wz)]),h("small",Yz,[N(r,{t:"or"})]),h("div",Uz,[h("button",{class:"btn btn-outline-secondary btn-sm dropdown-toggle rounded-3 w-100",disabled:!n.availableIp||n.bulk,"data-bs-auto-close":"outside",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[Gz,N(r,{t:"Pick Available IP"})],8,qz),this.availableIp?(C(),F("ul",Jz,[h("li",null,[h("div",Xz,[Qz,Le(h("input",{id:"availableIpSearchString",class:"form-control form-control-sm rounded-3","onUpdate:modelValue":e[2]||(e[2]=a=>this.availableIpSearchString=a)},null,512),[[We,this.availableIpSearchString]])])]),(C(!0),F(Me,null,Ke(this.searchAvailableIps,a=>(C(),F("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:l=>this.addAllowedIp(a)},[h("span",eK,[h("small",null,xe(a),1)])],8,Zz)]))),256)),this.searchAvailableIps.length===0?(C(),F("li",tK,[h("small",nK,[N(r,{t:"No available IP containing"}),He(' "'+xe(this.availableIpSearchString)+'"',1)])])):re("",!0)])):re("",!0)])])],2)}const iK=je(Iz,[["render",sK],["__scopeId","data-v-6d5fc831"]]),oK={name:"dnsInput",components:{LocaleText:Ge},props:{data:Object,saving:Boolean},data(){return{error:!1,dns:JSON.parse(JSON.stringify(this.data.DNS))}},setup(){const t=Pn(),e=Xe();return{store:t,dashboardStore:e}},methods:{checkDNS(){if(this.dns){let t=this.dns.split(",").map(e=>e.replaceAll(" ",""));for(let e in t)if(!this.store.regexCheckIP(t[e])){this.error||this.dashboardStore.newMessage("WGDashboard","DNS format is incorrect","danger"),this.error=!0,this.data.DNS="";return}this.error=!1,this.data.DNS=this.dns}}},watch:{dns(){this.checkDNS()}}},rK={for:"peer_DNS_textbox",class:"form-label"},aK={class:"text-muted"},lK=["disabled"];function cK(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",null,[h("label",rK,[h("small",aK,[N(r,{t:"DNS"})])]),Le(h("input",{type:"text",class:Ee(["form-control form-control-sm rounded-3",{"is-invalid":this.error}]),disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=a=>this.dns=a),id:"peer_DNS_textbox"},null,10,lK),[[We,this.dns]])])}const uK=je(oK,[["render",cK]]),dK={name:"endpointAllowedIps",components:{LocaleText:Ge},props:{data:Object,saving:Boolean},setup(){const t=Pn(),e=Xe();return{store:t,dashboardStore:e}},data(){return{endpointAllowedIps:JSON.parse(JSON.stringify(this.data.endpoint_allowed_ip)),error:!1}},methods:{checkAllowedIP(){let t=this.endpointAllowedIps.split(",").map(e=>e.replaceAll(" ",""));for(let e in t)if(!this.store.checkCIDR(t[e])){this.error||this.dashboardStore.newMessage("WGDashboard","Endpoint Allowed IPs format is incorrect","danger"),this.data.endpoint_allowed_ip="",this.error=!0;return}this.error=!1,this.data.endpoint_allowed_ip=this.endpointAllowedIps}},watch:{endpointAllowedIps(){this.checkAllowedIP()}}},hK={for:"peer_endpoint_allowed_ips",class:"form-label"},fK={class:"text-muted"},pK=["disabled"];function gK(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",null,[h("label",hK,[h("small",fK,[N(r,{t:"Endpoint Allowed IPs"}),h("code",null,[N(r,{t:"(Required)"})])])]),Le(h("input",{type:"text",class:Ee(["form-control form-control-sm rounded-3",{"is-invalid":i.error}]),disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=a=>this.endpointAllowedIps=a),onBlur:e[1]||(e[1]=a=>this.checkAllowedIP()),id:"peer_endpoint_allowed_ips"},null,42,pK),[[We,this.endpointAllowedIps]])])}const mK=je(dK,[["render",gK]]),_K={name:"presharedKeyInput",components:{LocaleText:Ge},props:{data:Object,saving:Boolean},data(){return{enable:!1}},watch:{enable(){this.enable?this.data.preshared_key=window.wireguard.generateKeypair().presharedKey:this.data.preshared_key=""}}},bK={class:"d-flex align-items-start"},vK={for:"peer_preshared_key_textbox",class:"form-label"},yK={class:"text-muted"},wK={class:"form-check form-switch ms-auto"},xK=["disabled"];function kK(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",null,[h("div",bK,[h("label",vK,[h("small",yK,[N(r,{t:"Pre-Shared Key"})])]),h("div",wK,[Le(h("input",{class:"form-check-input",type:"checkbox",role:"switch","onUpdate:modelValue":e[0]||(e[0]=a=>this.enable=a),id:"peer_preshared_key_switch"},null,512),[[_n,this.enable]])])]),Le(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving||!this.enable,"onUpdate:modelValue":e[1]||(e[1]=a=>this.data.preshared_key=a),id:"peer_preshared_key_textbox"},null,8,xK),[[We,this.data.preshared_key]])])}const SK=je(_K,[["render",kK]]),$K={name:"mtuInput",components:{LocaleText:Ge},props:{data:Object,saving:Boolean}},AK={for:"peer_mtu",class:"form-label"},CK={class:"text-muted"},EK=["disabled"];function TK(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",null,[h("label",AK,[h("small",CK,[N(r,{t:"MTU"})])]),Le(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=a=>this.data.mtu=a),id:"peer_mtu"},null,8,EK),[[We,this.data.mtu]])])}const PK=je($K,[["render",TK]]),MK={name:"persistentKeepAliveInput",components:{LocaleText:Ge},props:{data:Object,saving:Boolean}},DK={for:"peer_keep_alive",class:"form-label"},OK={class:"text-muted"},IK=["disabled"];function LK(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",null,[h("label",DK,[h("small",OK,[N(r,{t:"Persistent Keepalive"})])]),Le(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=a=>this.data.keepalive=a),id:"peer_keep_alive"},null,8,IK),[[We,this.data.keepalive]])])}const RK=je(MK,[["render",LK]]),NK={name:"bulkAdd",components:{LocaleText:Ge},props:{saving:Boolean,data:Object,availableIp:void 0},computed:{bulkAddGetLocale(){return dt("How many peers you want to add?")}}},FK={class:"form-check form-switch"},BK=["disabled"],VK={class:"form-check-label me-2",for:"bulk_add"},HK={class:"text-muted d-block"},jK={key:0,class:"form-group"},WK=["max","placeholder"],zK={class:"text-muted"};function KK(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",null,[h("div",FK,[Le(h("input",{class:"form-check-input",type:"checkbox",role:"switch",disabled:!this.availableIp,id:"bulk_add","onUpdate:modelValue":e[0]||(e[0]=a=>this.data.bulkAdd=a)},null,8,BK),[[_n,this.data.bulkAdd]]),h("label",VK,[h("small",null,[h("strong",null,[N(r,{t:"Bulk Add"})])])])]),h("p",{class:Ee({"mb-0":!this.data.bulkAdd})},[h("small",HK,[N(r,{t:"By adding peers by bulk, each peer's name will be auto generated, and Allowed IP will be assign to the next available IP."})])],2),this.data.bulkAdd?(C(),F("div",jK,[Le(h("input",{class:"form-control form-control-sm rounded-3 mb-1",type:"number",min:"1",max:this.availableIp.length,"onUpdate:modelValue":e[1]||(e[1]=a=>this.data.bulkAddAmount=a),placeholder:this.bulkAddGetLocale},null,8,WK),[[We,this.data.bulkAddAmount]]),h("small",zK,[N(r,{t:"You can add up to "+this.availableIp.length+" peers"},null,8,["t"])])])):re("",!0)])}const YK=je(NK,[["render",KK]]),UK={name:"peerCreate",components:{LocaleText:Ge,BulkAdd:YK,PersistentKeepAliveInput:RK,MtuInput:PK,PresharedKeyInput:SK,EndpointAllowedIps:mK,DnsInput:uK,AllowedIPsInput:iK,PrivatePublicKeyInput:Oz,NameInput:mz},data(){return{data:{bulkAdd:!1,bulkAddAmount:"",name:"",allowed_ips:[],private_key:"",public_key:"",DNS:this.dashboardStore.Configuration.Peers.peer_global_dns,endpoint_allowed_ip:this.dashboardStore.Configuration.Peers.peer_endpoint_allowed_ip,keepalive:parseInt(this.dashboardStore.Configuration.Peers.peer_keep_alive),mtu:parseInt(this.dashboardStore.Configuration.Peers.peer_mtu),preshared_key:"",preshared_key_bulkAdd:!1},availableIp:void 0,availableIpSearchString:"",saving:!1,allowedIpDropdown:void 0}},mounted(){kt("/api/getAvailableIPs/"+this.$route.params.id,{},t=>{t.status&&(this.availableIp=t.data)})},setup(){const t=Pn(),e=Xe();return{store:t,dashboardStore:e}},methods:{peerCreate(){this.saving=!0,ht("/api/addPeers/"+this.$route.params.id,this.data,t=>{t.status?(this.$router.push(`/configuration/${this.$route.params.id}/peers`),this.dashboardStore.newMessage("Server","Peer created successfully","success")):this.dashboardStore.newMessage("Server",t.message,"danger"),this.saving=!1})}},computed:{allRequireFieldsFilled(){let t=!0;return this.data.bulkAdd?(this.data.bulkAddAmount.length===0||this.data.bulkAddAmount>this.availableIp.length)&&(t=!1):["allowed_ips","private_key","public_key","endpoint_allowed_ip","keepalive","mtu"].forEach(n=>{this.data[n].length===0&&(t=!1)}),t}},watch:{bulkAdd(t){t||(this.data.bulkAddAmount="")},"data.bulkAddAmount"(){this.data.bulkAddAmount>this.availableIp.length&&(this.data.bulkAddAmount=this.availableIp.length)}}},Yf=t=>(qt("data-v-9235694d"),t=t(),Gt(),t),qK={class:"container"},GK={class:"mb-4"},JK=Yf(()=>h("h3",{class:"mb-0 text-body"},[h("i",{class:"bi bi-chevron-left"})],-1)),XK={class:"text-body mb-0"},QK={class:"d-flex flex-column gap-2"},ZK=Yf(()=>h("hr",{class:"mb-0 mt-2"},null,-1)),eY=Yf(()=>h("hr",{class:"mb-0 mt-2"},null,-1)),tY={class:"row gy-3"},nY={key:0,class:"col-sm"},sY={class:"col-sm"},iY={class:"col-sm"},oY={key:1,class:"col-12"},rY={class:"form-check form-switch"},aY={class:"form-check-label",for:"bullAdd_PresharedKey_Switch"},lY={class:"fw-bold"},cY={class:"d-flex mt-2"},uY=["disabled"],dY={key:0,class:"bi bi-plus-circle-fill me-2"};function hY(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("RouterLink"),l=ke("BulkAdd"),c=ke("NameInput"),u=ke("PrivatePublicKeyInput"),d=ke("AllowedIPsInput"),f=ke("EndpointAllowedIps"),g=ke("DnsInput"),_=ke("PresharedKeyInput"),m=ke("MtuInput"),y=ke("PersistentKeepAliveInput");return C(),F("div",qK,[h("div",GK,[N(a,{to:"peers",is:"div",class:"d-flex align-items-center gap-4 text-decoration-none"},{default:Pe(()=>[JK,h("h3",XK,[N(r,{t:"Add Peers"})])]),_:1})]),h("div",QK,[N(l,{saving:i.saving,data:this.data,availableIp:this.availableIp},null,8,["saving","data","availableIp"]),ZK,this.data.bulkAdd?re("",!0):(C(),Se(c,{key:0,saving:i.saving,data:this.data},null,8,["saving","data"])),this.data.bulkAdd?re("",!0):(C(),Se(u,{key:1,saving:i.saving,data:i.data},null,8,["saving","data"])),this.data.bulkAdd?re("",!0):(C(),Se(d,{key:2,availableIp:this.availableIp,saving:i.saving,data:i.data},null,8,["availableIp","saving","data"])),N(f,{saving:i.saving,data:i.data},null,8,["saving","data"]),N(g,{saving:i.saving,data:i.data},null,8,["saving","data"]),eY,h("div",tY,[this.data.bulkAdd?re("",!0):(C(),F("div",nY,[N(_,{saving:i.saving,data:i.data,bulk:this.data.bulkAdd},null,8,["saving","data","bulk"])])),h("div",sY,[N(m,{saving:i.saving,data:i.data},null,8,["saving","data"])]),h("div",iY,[N(y,{saving:i.saving,data:i.data},null,8,["saving","data"])]),this.data.bulkAdd?(C(),F("div",oY,[h("div",rY,[Le(h("input",{class:"form-check-input",type:"checkbox",role:"switch","onUpdate:modelValue":e[0]||(e[0]=v=>this.data.preshared_key_bulkAdd=v),id:"bullAdd_PresharedKey_Switch",checked:""},null,512),[[_n,this.data.preshared_key_bulkAdd]]),h("label",aY,[h("small",lY,[N(r,{t:"Pre-Shared Key"}),this.data.preshared_key_bulkAdd?(C(),Se(r,{key:0,t:"Enabled"})):(C(),Se(r,{key:1,t:"Disabled"}))])])])])):re("",!0)]),h("div",cY,[h("button",{class:"ms-auto btn btn-dark btn-brand rounded-3 px-3 py-2 shadow",disabled:!this.allRequireFieldsFilled||this.saving,onClick:e[1]||(e[1]=v=>this.peerCreate())},[this.saving?re("",!0):(C(),F("i",dY)),this.saving?(C(),Se(r,{key:1,t:"Adding..."})):(C(),Se(r,{key:2,t:"Add"}))],8,uY)])])])}const M1=je(UK,[["render",hY],["__scopeId","data-v-9235694d"]]),fY={name:"scheduleDropdown",props:{options:Array,data:String,edit:!1},setup(t){t.data===void 0&&this.$emit("update",this.options[0].value)},computed:{currentSelection(){return this.options.find(t=>t.value===this.data)}}},pY={class:"dropdown scheduleDropdown"},gY={class:"dropdown-menu rounded-3 shadow",style:{"font-size":"0.875rem",width:"200px"}},mY=["onClick"],_Y={key:0,class:"bi bi-check ms-auto"};function bY(t,e,n,s,i,o){return C(),F("div",pY,[h("button",{class:Ee(["btn btn-sm btn-outline-primary rounded-3",{"disabled border-transparent":!n.edit}]),type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[h("samp",null,xe(this.currentSelection.display),1)],2),h("ul",gY,[n.edit?(C(!0),F(Me,{key:0},Ke(this.options,r=>(C(),F("li",null,[h("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:a=>t.$emit("update",r.value)},[h("samp",null,xe(r.display),1),r.value===this.currentSelection.value?(C(),F("i",_Y)):re("",!0)],8,mY)]))),256)):re("",!0)])])}const D1=je(fY,[["render",bY],["__scopeId","data-v-6a5aba2a"]]),vY={name:"schedulePeerJob",components:{LocaleText:Ge,VueDatePicker:Xa,ScheduleDropdown:D1},props:{dropdowns:Array[Object],pjob:Object,viewOnly:!1},setup(t){const e=be({}),n=be(!1),s=be(!1);e.value=JSON.parse(JSON.stringify(t.pjob)),e.value.CreationDate||(n.value=!0,s.value=!0);const i=Xe();return{job:e,edit:n,newJob:s,store:i}},data(){return{inputType:void 0}},watch:{pjob:{deep:!0,immediate:!0,handler(t){this.edit||(this.job=JSON.parse(JSON.stringify(t)))}}},methods:{save(){this.job.Field&&this.job.Operator&&this.job.Action&&this.job.Value?ht("/api/savePeerScheduleJob/",{Job:this.job},t=>{t.status?(this.edit=!1,this.store.newMessage("Server","Peer job saved","success"),console.log(t.data),this.$emit("refresh",t.data[0]),this.newJob=!1):this.store.newMessage("Server",t.message,"danger")}):this.alert()},alert(){let t="animate__flash",e=this.$el.querySelectorAll(".scheduleDropdown"),n=this.$el.querySelectorAll("input");e.forEach(s=>s.classList.add("animate__animated",t)),n.forEach(s=>s.classList.add("animate__animated",t)),setTimeout(()=>{e.forEach(s=>s.classList.remove("animate__animated",t)),n.forEach(s=>s.classList.remove("animate__animated",t))},2e3)},reset(){this.job.CreationDate?(this.job=JSON.parse(JSON.stringify(this.pjob)),this.edit=!1):this.$emit("delete")},delete(){this.job.CreationDate&&ht("/api/deletePeerScheduleJob/",{Job:this.job},t=>{t.status?this.store.newMessage("Server","Peer job deleted","success"):(this.store.newMessage("Server",t.message,"danger"),this.$emit("delete"))}),this.$emit("delete")},parseTime(t){t&&(this.job.Value=Cn(t).format("YYYY-MM-DD HH:mm:ss"))}}},yY=t=>(qt("data-v-8f3f1b93"),t=t(),Gt(),t),wY={class:"card-header bg-transparent text-muted border-0"},xY={key:0,class:"d-flex"},kY={class:"me-auto"},SY={key:1},$Y={class:"badge text-bg-warning"},AY={class:"card-body pt-1",style:{"font-family":"var(--bs-font-monospace)"}},CY={class:"d-flex gap-2 align-items-center mb-2"},EY=["disabled"],TY={class:"px-5 d-flex gap-2 align-items-center"},PY={class:"d-flex gap-3"},MY=yY(()=>h("samp",null,"}",-1)),DY={key:0,class:"ms-auto d-flex gap-3"},OY={key:1,class:"ms-auto d-flex gap-3"};function IY(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("ScheduleDropdown"),l=ke("VueDatePicker");return C(),F("div",{class:Ee(["card shadow-sm rounded-3 mb-2",{"border-warning-subtle":this.newJob}])},[h("div",wY,[this.newJob?(C(),F("small",SY,[h("span",$Y,[N(r,{t:"Unsaved Job"})])])):(C(),F("small",xY,[h("strong",kY,[N(r,{t:"Job ID"})]),h("samp",null,xe(this.job.JobID),1)]))]),h("div",AY,[h("div",CY,[h("samp",null,[N(r,{t:"if"})]),N(a,{edit:s.edit,options:this.dropdowns.Field,data:this.job.Field,onUpdate:e[0]||(e[0]=c=>{this.job.Field=c})},null,8,["edit","options","data"]),h("samp",null,[N(r,{t:"is"})]),N(a,{edit:s.edit,options:this.dropdowns.Operator,data:this.job.Operator,onUpdate:e[1]||(e[1]=c=>this.job.Operator=c)},null,8,["edit","options","data"]),this.job.Field==="date"?(C(),Se(l,{key:0,is24:!0,"min-date":new Date,"model-value":this.job.Value,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",clearable:!1,disabled:!s.edit,dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","disabled","dark"])):Le((C(),F("input",{key:1,class:"form-control form-control-sm form-control-dark rounded-3 flex-grow-1",disabled:!s.edit,"onUpdate:modelValue":e[2]||(e[2]=c=>this.job.Value=c),style:{width:"auto"}},null,8,EY)),[[We,this.job.Value]]),h("samp",null,xe(this.dropdowns.Field.find(c=>c.value===this.job.Field)?.unit)+" { ",1)]),h("div",TY,[h("samp",null,[N(r,{t:"then"})]),N(a,{edit:s.edit,options:this.dropdowns.Action,data:this.job.Action,onUpdate:e[3]||(e[3]=c=>this.job.Action=c)},null,8,["edit","options","data"])]),h("div",PY,[MY,this.edit?(C(),F("div",OY,[h("a",{role:"button",class:"text-secondary text-decoration-none",onClick:e[6]||(e[6]=c=>this.reset())},[He("[C] "),N(r,{t:"Cancel"})]),h("a",{role:"button",class:"text-primary ms-auto text-decoration-none",onClick:e[7]||(e[7]=c=>this.save())},[He("[S] "),N(r,{t:"Save"})])])):(C(),F("div",DY,[h("a",{role:"button",class:"ms-auto text-decoration-none",onClick:e[4]||(e[4]=c=>this.edit=!0)},[He("[E] "),N(r,{t:"Edit"})]),h("a",{role:"button",onClick:e[5]||(e[5]=c=>this.delete()),class:"text-danger text-decoration-none"},[He("[D] "),N(r,{t:"Delete"})])]))])])],2)}const O1=je(vY,[["render",IY],["__scopeId","data-v-8f3f1b93"]]),LY={name:"peerJobs",setup(){return{store:Pn()}},props:{selectedPeer:Object},components:{LocaleText:Ge,SchedulePeerJob:O1,ScheduleDropdown:D1},data(){return{}},methods:{deleteJob(t){this.selectedPeer.jobs=this.selectedPeer.jobs.filter(e=>e.JobID!==t.JobID)},addJob(){this.selectedPeer.jobs.unshift(JSON.parse(JSON.stringify({JobID:Es().toString(),Configuration:this.selectedPeer.configuration.Name,Peer:this.selectedPeer.id,Field:this.store.PeerScheduleJobs.dropdowns.Field[0].value,Operator:this.store.PeerScheduleJobs.dropdowns.Operator[0].value,Value:"",CreationDate:"",ExpireDate:"",Action:this.store.PeerScheduleJobs.dropdowns.Action[0].value})))}}},RY=t=>(qt("data-v-5bbdd42b"),t=t(),Gt(),t),NY={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},FY={class:"container d-flex h-100 w-100"},BY={class:"m-auto modal-dialog-centered dashboardModal"},VY={class:"card rounded-3 shadow",style:{width:"700px"}},HY={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},jY={class:"mb-0 fw-normal"},WY={class:"card-body px-4 pb-4 pt-2 position-relative"},zY={class:"d-flex align-items-center mb-3"},KY=RY(()=>h("i",{class:"bi bi-plus-lg me-2"},null,-1)),YY={class:"card shadow-sm",key:"none",style:{height:"153px"}},UY={class:"card-body text-muted text-center d-flex"},qY={class:"m-auto"};function GY(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("SchedulePeerJob");return C(),F("div",NY,[h("div",FY,[h("div",BY,[h("div",VY,[h("div",HY,[h("h4",jY,[N(r,{t:"Schedule Jobs"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),h("div",WY,[h("div",zY,[h("button",{class:"btn bg-primary-subtle border-1 border-primary-subtle text-primary-emphasis rounded-3 shadow",onClick:e[1]||(e[1]=l=>this.addJob())},[KY,N(r,{t:"Job"})])]),N(Ni,{name:"schedulePeerJobTransition",tag:"div",class:"position-relative"},{default:Pe(()=>[(C(!0),F(Me,null,Ke(this.selectedPeer.jobs,(l,c)=>(C(),Se(a,{onRefresh:e[2]||(e[2]=u=>this.$emit("refresh")),onDelete:u=>this.deleteJob(l),dropdowns:this.store.PeerScheduleJobs.dropdowns,key:l.JobID,pjob:l},null,8,["onDelete","dropdowns","pjob"]))),128)),this.selectedPeer.jobs.length===0?(C(),F("div",YY,[h("div",UY,[h("h6",qY,[N(r,{t:"This peer does not have any job yet."})])])])):re("",!0)]),_:1})])])])])])}const JY=je(LY,[["render",GY],["__scopeId","data-v-5bbdd42b"]]),XY={name:"peerJobsAllModal",setup(){return{store:Pn()}},components:{LocaleText:Ge,SchedulePeerJob:O1},props:{configurationPeers:Array[Object]},methods:{getuuid(){return Es()}},computed:{getAllJobs(){return this.configurationPeers.filter(t=>t.jobs.length>0)}}},QY={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},ZY={class:"container d-flex h-100 w-100"},eU={class:"m-auto modal-dialog-centered dashboardModal"},tU={class:"card rounded-3 shadow",style:{width:"700px"}},nU={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},sU={class:"mb-0 fw-normal"},iU={class:"card-body px-4 pb-4 pt-2"},oU={key:0,class:"accordion",id:"peerJobsLogsModalAccordion"},rU={class:"accordion-header"},aU=["data-bs-target"],lU={key:0},cU={class:"text-muted"},uU=["id"],dU={class:"accordion-body"},hU={key:1,class:"card shadow-sm",style:{height:"153px"}},fU={class:"card-body text-muted text-center d-flex"},pU={class:"m-auto"};function gU(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("SchedulePeerJob");return C(),F("div",QY,[h("div",ZY,[h("div",eU,[h("div",tU,[h("div",nU,[h("h4",sU,[N(r,{t:"All Active Jobs"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),h("div",iU,[this.getAllJobs.length>0?(C(),F("div",oU,[(C(!0),F(Me,null,Ke(this.getAllJobs,(l,c)=>(C(),F("div",{class:"accordion-item",key:l.id},[h("h2",rU,[h("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse_"+c},[h("small",null,[h("strong",null,[l.name?(C(),F("span",lU,xe(l.name)+" • ",1)):re("",!0),h("samp",cU,xe(l.id),1)])])],8,aU)]),h("div",{id:"collapse_"+c,class:"accordion-collapse collapse","data-bs-parent":"#peerJobsLogsModalAccordion"},[h("div",dU,[(C(!0),F(Me,null,Ke(l.jobs,u=>(C(),Se(a,{onDelete:e[1]||(e[1]=d=>this.$emit("refresh")),onRefresh:e[2]||(e[2]=d=>this.$emit("refresh")),dropdowns:this.store.PeerScheduleJobs.dropdowns,viewOnly:!0,key:u.JobID,pjob:u},null,8,["dropdowns","pjob"]))),128))])],8,uU)]))),128))])):(C(),F("div",hU,[h("div",fU,[h("span",pU,[N(r,{t:"No active job at the moment."})])])]))])])])])])}const mU=je(XY,[["render",gU]]),_U={name:"peerJobsLogsModal",components:{LocaleText:Ge},props:{configurationInfo:Object},data(){return{dataLoading:!0,data:[],logFetchTime:void 0,showLogID:!1,showJobID:!0,showSuccessJob:!0,showFailedJob:!0,showLogAmount:10}},async mounted(){await this.fetchLog()},methods:{async fetchLog(){this.dataLoading=!0,await kt(`/api/getPeerScheduleJobLogs/${this.configurationInfo.Name}`,{},t=>{this.data=t.data,this.logFetchTime=Cn().format("YYYY-MM-DD HH:mm:ss"),this.dataLoading=!1})}},computed:{getLogs(){return this.data.filter(t=>this.showSuccessJob&&t.Status==="1"||this.showFailedJob&&t.Status==="0")},showLogs(){return this.getLogs.slice(0,this.showLogAmount)}}},bU={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},vU={class:"container-fluid d-flex h-100 w-100"},yU={class:"m-auto mt-0 modal-dialog-centered dashboardModal",style:{width:"100%"}},wU={class:"card rounded-3 shadow w-100"},xU={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},kU={class:"mb-0"},SU={class:"card-body px-4 pb-4 pt-2"},$U={key:0},AU={class:"mb-2 d-flex gap-3"},CU=h("i",{class:"bi bi-arrow-clockwise me-2"},null,-1),EU={class:"d-flex gap-3 align-items-center"},TU={class:"text-muted"},PU={class:"form-check"},MU={class:"form-check-label",for:"jobLogsShowSuccessCheck"},DU={class:"badge text-success-emphasis bg-success-subtle"},OU={class:"form-check"},IU={class:"form-check-label",for:"jobLogsShowFailedCheck"},LU={class:"badge text-danger-emphasis bg-danger-subtle"},RU={class:"d-flex gap-3 align-items-center ms-auto"},NU={class:"text-muted"},FU={class:"form-check"},BU={class:"form-check-label",for:"jobLogsShowJobIDCheck"},VU={class:"form-check"},HU={class:"form-check-label",for:"jobLogsShowLogIDCheck"},jU={class:"table"},WU={scope:"col"},zU={key:0,scope:"col"},KU={key:1,scope:"col"},YU={scope:"col"},UU={scope:"col"},qU={style:{"font-size":"0.875rem"}},GU={scope:"row"},JU={key:0},XU={class:"text-muted"},QU={key:1},ZU={class:"text-muted"},e7={class:"d-flex gap-2"},t7=h("i",{class:"bi bi-chevron-down me-2"},null,-1),n7=h("i",{class:"bi bi-chevron-up me-2"},null,-1),s7={key:1,class:"d-flex align-items-center flex-column"},i7=h("div",{class:"spinner-border text-body",role:"status"},[h("span",{class:"visually-hidden"},"Loading...")],-1),o7=[i7];function r7(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",bU,[h("div",vU,[h("div",yU,[h("div",wU,[h("div",xU,[h("h4",kU,[N(r,{t:"Jobs Logs"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),h("div",SU,[this.dataLoading?(C(),F("div",s7,o7)):(C(),F("div",$U,[h("p",null,[N(r,{t:"Updated at"}),He(" : "+xe(this.logFetchTime),1)]),h("div",AU,[h("button",{onClick:e[1]||(e[1]=a=>this.fetchLog()),class:"btn btn-sm rounded-3 shadow-sm text-info-emphasis bg-info-subtle border-1 border-info-subtle me-1"},[CU,N(r,{t:"Refresh"})]),h("div",EU,[h("span",TU,[N(r,{t:"Filter"})]),h("div",PU,[Le(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[2]||(e[2]=a=>this.showSuccessJob=a),id:"jobLogsShowSuccessCheck"},null,512),[[_n,this.showSuccessJob]]),h("label",MU,[h("span",DU,[N(r,{t:"Success"})])])]),h("div",OU,[Le(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[3]||(e[3]=a=>this.showFailedJob=a),id:"jobLogsShowFailedCheck"},null,512),[[_n,this.showFailedJob]]),h("label",IU,[h("span",LU,[N(r,{t:"Failed"})])])])]),h("div",RU,[h("span",NU,[N(r,{t:"Display"})]),h("div",FU,[Le(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[4]||(e[4]=a=>i.showJobID=a),id:"jobLogsShowJobIDCheck"},null,512),[[_n,i.showJobID]]),h("label",BU,[N(r,{t:"Job ID"})])]),h("div",VU,[Le(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[5]||(e[5]=a=>i.showLogID=a),id:"jobLogsShowLogIDCheck"},null,512),[[_n,i.showLogID]]),h("label",HU,[N(r,{t:"Log ID"})])])])]),h("table",jU,[h("thead",null,[h("tr",null,[h("th",WU,[N(r,{t:"Date"})]),i.showLogID?(C(),F("th",zU,[N(r,{t:"Log ID"})])):re("",!0),i.showJobID?(C(),F("th",KU,[N(r,{t:"Job ID"})])):re("",!0),h("th",YU,[N(r,{t:"Status"})]),h("th",UU,[N(r,{t:"Message"})])])]),h("tbody",null,[(C(!0),F(Me,null,Ke(this.showLogs,a=>(C(),F("tr",qU,[h("th",GU,xe(a.LogDate),1),i.showLogID?(C(),F("td",JU,[h("samp",XU,xe(a.LogID),1)])):re("",!0),i.showJobID?(C(),F("td",QU,[h("samp",ZU,xe(a.JobID),1)])):re("",!0),h("td",null,[h("span",{class:Ee(["badge",[a.Status==="1"?"text-success-emphasis bg-success-subtle":"text-danger-emphasis bg-danger-subtle"]])},xe(a.Status==="1"?"Success":"Failed"),3)]),h("td",null,xe(a.Message),1)]))),256))])]),h("div",e7,[this.getLogs.length>this.showLogAmount?(C(),F("button",{key:0,onClick:e[6]||(e[6]=a=>this.showLogAmount+=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},[t7,He(" Show More ")])):re("",!0),this.showLogAmount>20?(C(),F("button",{key:1,onClick:e[7]||(e[7]=a=>this.showLogAmount=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},[n7,He(" Collapse ")])):re("",!0)])]))])])])])])}const a7=je(_U,[["render",r7]]),l7={name:"peerShareLinkModal",props:{peer:Object},components:{LocaleText:Ge,VueDatePicker:Xa},data(){return{dataCopy:void 0,loading:!1}},setup(){return{store:Xe()}},mounted(){this.dataCopy=JSON.parse(JSON.stringify(this.peer.ShareLink)).at(0)},watch:{"peer.ShareLink":{deep:!0,handler(t,e){e.length!==t.length&&(this.dataCopy=JSON.parse(JSON.stringify(this.peer.ShareLink)).at(0))}}},methods:{startSharing(){this.loading=!0,ht("/api/sharePeer/create",{Configuration:this.peer.configuration.Name,Peer:this.peer.id,ExpireDate:Cn().add(7,"d").format("YYYY-MM-DD HH:mm:ss")},t=>{t.status?(this.peer.ShareLink=t.data,this.dataCopy=t.data.at(0)):this.store.newMessage("Server","Share link failed to create. Reason: "+t.message,"danger"),this.loading=!1})},updateLinkExpireDate(){ht("/api/sharePeer/update",this.dataCopy,t=>{t.status?(this.dataCopy=t.data.at(0),this.peer.ShareLink=t.data,this.store.newMessage("Server","Link expire date updated","success")):this.store.newMessage("Server","Link expire date failed to update. Reason: "+t.message,"danger"),this.loading=!1})},stopSharing(){this.loading=!0,this.dataCopy.ExpireDate=Cn().format("YYYY-MM-DD HH:mm:ss"),this.updateLinkExpireDate()},parseTime(t){t?this.dataCopy.ExpireDate=Cn(t).format("YYYY-MM-DD HH:mm:ss"):this.dataCopy.ExpireDate=void 0,this.updateLinkExpireDate()}},computed:{getUrl(){const t=this.store.getActiveCrossServer();return t?`${t.host}/${this.$router.resolve({path:"/share",query:{ShareID:this.dataCopy.ShareID}}).href}`:window.location.origin+window.location.pathname+this.$router.resolve({path:"/share",query:{ShareID:this.dataCopy.ShareID}}).href}}},c7={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},u7={class:"container d-flex h-100 w-100"},d7={class:"m-auto modal-dialog-centered dashboardModal",style:{width:"500px"}},h7={class:"card rounded-3 shadow flex-grow-1"},f7={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4"},p7={class:"mb-0"},g7={key:0,class:"card-body px-4 pb-4"},m7={key:0},_7={class:"mb-3 text-muted"},b7=["disabled"],v7=h("i",{class:"bi bi-send-fill me-2"},null,-1),y7=[v7],w7={key:1},x7={class:"d-flex gap-2 mb-4"},k7=h("i",{class:"bi bi-link-45deg"},null,-1),S7=["href"],$7={class:"d-flex flex-column gap-2 mb-3"},A7=h("i",{class:"bi bi-calendar me-2"},null,-1),C7=["disabled"],E7=h("i",{class:"bi bi-send-slash-fill me-2"},null,-1),T7=[E7];function P7(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("VueDatePicker");return C(),F("div",c7,[h("div",u7,[h("div",d7,[h("div",h7,[h("div",f7,[h("h4",p7,[N(r,{t:"Share Peer"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),this.peer.ShareLink?(C(),F("div",g7,[this.dataCopy?(C(),F("div",w7,[h("div",x7,[k7,h("a",{href:this.getUrl,class:"text-decoration-none",target:"_blank"},xe(o.getUrl),9,S7)]),h("div",$7,[h("small",null,[A7,N(r,{t:"Expire At"})]),N(a,{is24:!0,"min-date":new Date,"model-value":this.dataCopy.ExpireDate,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","dark"])]),h("button",{onClick:e[2]||(e[2]=l=>this.stopSharing()),disabled:this.loading,class:"w-100 btn bg-danger-subtle text-danger-emphasis border-1 border-danger-subtle rounded-3 shadow-sm"},[h("span",{class:Ee({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},T7,2),this.loading?(C(),Se(r,{key:0,t:"Stop Sharing..."})):(C(),Se(r,{key:1,t:"Stop Sharing"}))],8,C7)])):(C(),F("div",m7,[h("h6",_7,[N(r,{t:"Currently the peer is not sharing"})]),h("button",{onClick:e[1]||(e[1]=l=>this.startSharing()),disabled:this.loading,class:"w-100 btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm"},[h("span",{class:Ee({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},y7,2),this.loading?(C(),Se(r,{key:0,t:"Sharing..."})):(C(),Se(r,{key:1,t:"Start Sharing"}))],8,b7)]))])):re("",!0)])])])])}const M7=je(l7,[["render",P7]]);su.register(F6,iu,e8,q6,I0,_V,L0,R0,yV,vV,wV,xV,z8,Y8,G8,cH,nh,fH,i8,S8,P8,D8,V8);const D7={name:"peerList",components:{LocaleText:Ge,PeerShareLinkModal:M7,PeerJobsLogsModal:a7,PeerJobsAllModal:mU,PeerJobs:JY,PeerCreate:M1,PeerQRCode:uz,PeerSettings:uW,PeerSearch:hF,Peer:aB,Line:xH,Bar:wH},setup(){const t=Xe(),e=Pn(),n=be(void 0);return{dashboardConfigurationStore:t,wireguardConfigurationStore:e,interval:n}},data(){return{configurationToggling:!1,loading:!1,error:null,configurationInfo:[],configurationPeers:[],historyDataSentDifference:[],historyDataReceivedDifference:[],historySentData:{labels:[],datasets:[{label:"Data Sent",data:[],fill:!1,borderColor:"#198754",tension:0}]},historyReceiveData:{labels:[],datasets:[{label:"Data Received",data:[],fill:!1,borderColor:"#0d6efd",tension:0}]},peerSetting:{modalOpen:!1,selectedPeer:void 0},peerScheduleJobs:{modalOpen:!1,selectedPeer:void 0},peerQRCode:{modalOpen:!1,peerConfigData:void 0},peerCreate:{modalOpen:!1},peerScheduleJobsAll:{modalOpen:!1},peerScheduleJobsLogs:{modalOpen:!1},peerShare:{modalOpen:!1,selectedPeer:void 0}}},mounted(){},watch:{$route:{immediate:!0,handler(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval),this.loading=!0;let t=this.$route.params.id;this.configurationInfo=[],this.configurationPeers=[],t&&(this.getPeers(t),this.setPeerInterval())}},"dashboardConfigurationStore.Configuration.Server.dashboard_refresh_interval"(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval),this.setPeerInterval()}},beforeRouteLeave(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval)},methods:{toggle(){this.configurationToggling=!0,kt("/api/toggleWireguardConfiguration/",{configurationName:this.configurationInfo.Name},t=>{t.status?this.dashboardConfigurationStore.newMessage("Server",`${this.configurationInfo.Name} ${t.data?"is on":"is off"}`,"success"):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.configurationInfo.Status=t.data,this.configurationToggling=!1})},getPeers(t=this.$route.params.id){kt("/api/getWireguardConfigurationInfo",{configurationName:t},e=>{if(this.configurationInfo=e.data.configurationInfo,this.configurationPeers=e.data.configurationPeers,this.configurationPeers.forEach(n=>{n.restricted=!1}),e.data.configurationRestrictedPeers.forEach(n=>{n.restricted=!0,this.configurationPeers.push(n)}),this.loading=!1,this.configurationPeers.length>0){const n=this.configurationPeers.map(i=>i.total_sent+i.cumu_sent).reduce((i,o)=>i+o).toFixed(4),s=this.configurationPeers.map(i=>i.total_receive+i.cumu_receive).reduce((i,o)=>i+o).toFixed(4);this.historyDataSentDifference[this.historyDataSentDifference.length-1]!==n&&(this.historyDataSentDifference.length>0&&(this.historySentData={labels:[...this.historySentData.labels,Cn().format("HH:mm:ss A")],datasets:[{label:"Data Sent",data:[...this.historySentData.datasets[0].data,((n-this.historyDataSentDifference[this.historyDataSentDifference.length-1])*1e3).toFixed(4)],fill:!1,borderColor:"#198754",tension:0}]}),this.historyDataSentDifference.push(n)),this.historyDataReceivedDifference[this.historyDataReceivedDifference.length-1]!==s&&(this.historyDataReceivedDifference.length>0&&(this.historyReceiveData={labels:[...this.historyReceiveData.labels,Cn().format("HH:mm:ss A")],datasets:[{label:"Data Received",data:[...this.historyReceiveData.datasets[0].data,((s-this.historyDataReceivedDifference[this.historyDataReceivedDifference.length-1])*1e3).toFixed(4)],fill:!1,borderColor:"#0d6efd",tension:0}]}),this.historyDataReceivedDifference.push(s))}})},setPeerInterval(){this.dashboardConfigurationStore.Peers.RefreshInterval=setInterval(()=>{this.getPeers()},parseInt(this.dashboardConfigurationStore.Configuration.Server.dashboard_refresh_interval))}},computed:{configurationSummary(){return{connectedPeers:this.configurationPeers.filter(e=>e.status==="running").length,totalUsage:this.configurationPeers.length>0?this.configurationPeers.filter(e=>!e.restricted).map(e=>e.total_data+e.cumu_data).reduce((e,n)=>e+n,0).toFixed(4):0,totalReceive:this.configurationPeers.length>0?this.configurationPeers.filter(e=>!e.restricted).map(e=>e.total_receive+e.cumu_receive).reduce((e,n)=>e+n,0).toFixed(4):0,totalSent:this.configurationPeers.length>0?this.configurationPeers.filter(e=>!e.restricted).map(e=>e.total_sent+e.cumu_sent).reduce((e,n)=>e+n,0).toFixed(4):0}},receiveData(){return this.historyReceiveData},sentData(){return this.historySentData},individualDataUsage(){return{labels:this.configurationPeers.map(t=>t.name?t.name:`Untitled Peer - ${t.id}`),datasets:[{label:"Total Data Usage",data:this.configurationPeers.map(t=>t.cumu_data+t.total_data),backgroundColor:this.configurationPeers.map(t=>"#0dcaf0"),tooltip:{callbacks:{label:t=>`${t.formattedValue} GB`}}}]}},individualDataUsageChartOption(){return{responsive:!0,plugins:{legend:{display:!1}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(t,e)=>`${t} GB`},grid:{display:!1}}}}},chartOptions(){return{responsive:!0,plugins:{legend:{display:!1},tooltip:{callbacks:{label:t=>`${t.formattedValue} MB/s`}}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(t,e)=>`${t} MB/s`},grid:{display:!1}}}}},searchPeers(){new Lr(this.configurationPeers,{keys:["name","id","allowed_ip"]});const t=this.wireguardConfigurationStore.searchString?this.configurationPeers.filter(e=>e.name.includes(this.wireguardConfigurationStore.searchString)||e.id.includes(this.wireguardConfigurationStore.searchString)||e.allowed_ip.includes(this.wireguardConfigurationStore.searchString)):this.configurationPeers;return this.dashboardConfigurationStore.Configuration.Server.dashboard_sort==="restricted"?t.slice().sort((e,n)=>e[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]n[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]?-1:0):t.slice().sort((e,n)=>e[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]n[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]?1:0)}}},du=t=>(qt("data-v-dc7f794a"),t=t(),Gt(),t),O7={key:0,class:"container-md"},I7={class:"d-flex align-items-center"},L7={CLASS:"text-muted"},R7={class:"d-flex align-items-center gap-3"},N7={class:"mb-0"},F7={class:"card rounded-3 bg-transparent shadow-sm ms-auto"},B7={class:"card-body py-2 d-flex align-items-center"},V7={class:"mb-0 text-muted"},H7={class:"form-check form-switch ms-auto"},j7=["for"],W7={key:4,class:"spinner-border spinner-border-sm ms-2","aria-hidden":"true"},z7=["disabled","id"],K7={class:"row mt-3 gy-2 gx-2 mb-2"},Y7={class:"col-6 col-lg-3"},U7={class:"card rounded-3 bg-transparent shadow-sm"},q7={class:"card-body py-2"},G7={class:"mb-0 text-muted"},J7={class:"col-6 col-lg-3"},X7={class:"card rounded-3 bg-transparent shadow-sm"},Q7={class:"card-body py-2"},Z7={class:"mb-0 text-muted"},e9={style:{"word-break":"break-all"},class:"col-12 col-lg-6"},t9={class:"card rounded-3 bg-transparent shadow-sm"},n9={class:"card-body py-2"},s9={class:"mb-0 text-muted"},i9={class:"row gx-2 gy-2 mb-2"},o9={class:"col-6 col-lg-3"},r9={class:"card rounded-3 bg-transparent shadow-sm"},a9={class:"card-body d-flex"},l9={class:"mb-0 text-muted"},c9={class:"h4"},u9=du(()=>h("i",{class:"bi bi-ethernet ms-auto h2 text-muted"},null,-1)),d9={class:"col-6 col-lg-3"},h9={class:"card rounded-3 bg-transparent shadow-sm"},f9={class:"card-body d-flex"},p9={class:"mb-0 text-muted"},g9={class:"h4"},m9=du(()=>h("i",{class:"bi bi-arrow-down-up ms-auto h2 text-muted"},null,-1)),_9={class:"col-6 col-lg-3"},b9={class:"card rounded-3 bg-transparent shadow-sm"},v9={class:"card-body d-flex"},y9={class:"mb-0 text-muted"},w9={class:"h4 text-primary"},x9=du(()=>h("i",{class:"bi bi-arrow-down ms-auto h2 text-muted"},null,-1)),k9={class:"col-6 col-lg-3"},S9={class:"card rounded-3 bg-transparent shadow-sm"},$9={class:"card-body d-flex"},A9={class:"mb-0 text-muted"},C9={class:"h4 text-success"},E9=du(()=>h("i",{class:"bi bi-arrow-up ms-auto h2 text-muted"},null,-1)),T9={class:"row gx-2 gy-2 mb-3"},P9={class:"col-12 col-lg-6"},M9={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},D9={class:"card-header bg-transparent border-0"},O9={class:"text-muted"},I9={class:"card-body pt-1"},L9={class:"col-sm col-lg-3"},R9={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},N9={class:"card-header bg-transparent border-0"},F9={class:"text-muted"},B9={class:"card-body pt-1"},V9={class:"col-sm col-lg-3"},H9={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},j9={class:"card-header bg-transparent border-0"},W9={class:"text-muted"},z9={class:"card-body pt-1"},K9={class:"mb-3"};function Y9(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("Bar"),l=ke("Line"),c=ke("PeerSearch"),u=ke("Peer"),d=ke("PeerSettings"),f=ke("PeerQRCode"),g=ke("PeerJobs"),_=ke("PeerJobsAllModal"),m=ke("PeerJobsLogsModal"),y=ke("PeerShareLinkModal");return this.loading?re("",!0):(C(),F("div",O7,[h("div",I7,[h("div",null,[h("small",L7,[N(r,{t:"CONFIGURATION"})]),h("div",R7,[h("h1",N7,[h("samp",null,xe(this.configurationInfo.Name),1)])])]),h("div",F7,[h("div",B7,[h("div",null,[h("p",V7,[h("small",null,[N(r,{t:"Status"})])]),h("div",H7,[h("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+this.configurationInfo.id},[!this.configurationInfo.Status&&this.configurationToggling?(C(),Se(r,{key:0,t:"Turning Off..."})):this.configurationInfo.Status&&this.configurationToggling?(C(),Se(r,{key:1,t:"Turning On..."})):this.configurationInfo.Status&&!this.configurationToggling?(C(),Se(r,{key:2,t:"On"})):!this.configurationInfo.Status&&!this.configurationToggling?(C(),Se(r,{key:3,t:"Off"})):re("",!0),this.configurationToggling?(C(),F("span",W7)):re("",!0)],8,j7),Le(h("input",{class:"form-check-input",style:{cursor:"pointer"},disabled:this.configurationToggling,type:"checkbox",role:"switch",id:"switch"+this.configurationInfo.id,onChange:e[0]||(e[0]=v=>this.toggle()),"onUpdate:modelValue":e[1]||(e[1]=v=>this.configurationInfo.Status=v)},null,40,z7),[[_n,this.configurationInfo.Status]])])]),h("div",{class:Ee(["dot ms-5",{active:this.configurationInfo.Status}])},null,2)])])]),h("div",K7,[h("div",Y7,[h("div",U7,[h("div",q7,[h("p",G7,[h("small",null,[N(r,{t:"Address"})])]),He(" "+xe(this.configurationInfo.Address),1)])])]),h("div",J7,[h("div",X7,[h("div",Q7,[h("p",Z7,[h("small",null,[N(r,{t:"Listen Port"})])]),He(" "+xe(this.configurationInfo.ListenPort),1)])])]),h("div",e9,[h("div",t9,[h("div",n9,[h("p",s9,[h("small",null,[N(r,{t:"Public Key"})])]),h("samp",null,xe(this.configurationInfo.PublicKey),1)])])])]),h("div",i9,[h("div",o9,[h("div",r9,[h("div",a9,[h("div",null,[h("p",l9,[h("small",null,[N(r,{t:"Connected Peers"})])]),h("strong",c9,xe(o.configurationSummary.connectedPeers),1)]),u9])])]),h("div",d9,[h("div",h9,[h("div",f9,[h("div",null,[h("p",p9,[h("small",null,[N(r,{t:"Total Usage"})])]),h("strong",g9,xe(o.configurationSummary.totalUsage)+" GB",1)]),m9])])]),h("div",_9,[h("div",b9,[h("div",v9,[h("div",null,[h("p",y9,[h("small",null,[N(r,{t:"Total Received"})])]),h("strong",w9,xe(o.configurationSummary.totalReceive)+" GB",1)]),x9])])]),h("div",k9,[h("div",S9,[h("div",$9,[h("div",null,[h("p",A9,[h("small",null,[N(r,{t:"Total Sent"})])]),h("strong",C9,xe(o.configurationSummary.totalSent)+" GB",1)]),E9])])])]),h("div",T9,[h("div",P9,[h("div",M9,[h("div",D9,[h("small",O9,[N(r,{t:"Peers Data Usage"})])]),h("div",I9,[N(a,{data:o.individualDataUsage,options:o.individualDataUsageChartOption,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["data","options"])])])]),h("div",L9,[h("div",R9,[h("div",N9,[h("small",F9,[N(r,{t:"Real Time Received Data Usage"})])]),h("div",B9,[N(l,{options:o.chartOptions,data:o.receiveData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])]),h("div",V9,[h("div",H9,[h("div",j9,[h("small",W9,[N(r,{t:"Real Time Sent Data Usage"})])]),h("div",z9,[N(l,{options:o.chartOptions,data:o.sentData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])])]),h("div",K9,[N(c,{onJobsAll:e[2]||(e[2]=v=>this.peerScheduleJobsAll.modalOpen=!0),onJobLogs:e[3]||(e[3]=v=>this.peerScheduleJobsLogs.modalOpen=!0),configuration:this.configurationInfo},null,8,["configuration"]),N(Ni,{name:"list",tag:"div",class:"row gx-2 gy-2 z-0"},{default:Pe(()=>[(C(!0),F(Me,null,Ke(this.searchPeers,v=>(C(),F("div",{class:"col-12 col-lg-6 col-xl-4",key:v.id},[N(u,{Peer:v,onShare:$=>{this.peerShare.selectedPeer=v.id,this.peerShare.modalOpen=!0},onRefresh:e[4]||(e[4]=$=>this.getPeers()),onJobs:$=>{i.peerScheduleJobs.modalOpen=!0,i.peerScheduleJobs.selectedPeer=this.configurationPeers.find(A=>A.id===v.id)},onSetting:$=>{i.peerSetting.modalOpen=!0,i.peerSetting.selectedPeer=this.configurationPeers.find(A=>A.id===v.id)},onQrcode:e[5]||(e[5]=$=>{this.peerQRCode.peerConfigData=$,this.peerQRCode.modalOpen=!0})},null,8,["Peer","onShare","onJobs","onSetting"])]))),128))]),_:1})]),N(Et,{name:"zoom"},{default:Pe(()=>[this.peerSetting.modalOpen?(C(),Se(d,{key:"settings",selectedPeer:this.peerSetting.selectedPeer,onRefresh:e[6]||(e[6]=v=>this.getPeers()),onClose:e[7]||(e[7]=v=>this.peerSetting.modalOpen=!1)},null,8,["selectedPeer"])):re("",!0)]),_:1}),N(Et,{name:"zoom"},{default:Pe(()=>[i.peerQRCode.modalOpen?(C(),Se(f,{peerConfigData:this.peerQRCode.peerConfigData,key:"qrcode",onClose:e[8]||(e[8]=v=>this.peerQRCode.modalOpen=!1)},null,8,["peerConfigData"])):re("",!0)]),_:1}),N(Et,{name:"zoom"},{default:Pe(()=>[this.peerScheduleJobs.modalOpen?(C(),Se(g,{key:0,onRefresh:e[9]||(e[9]=v=>this.getPeers()),selectedPeer:this.peerScheduleJobs.selectedPeer,onClose:e[10]||(e[10]=v=>this.peerScheduleJobs.modalOpen=!1)},null,8,["selectedPeer"])):re("",!0)]),_:1}),N(Et,{name:"zoom"},{default:Pe(()=>[this.peerScheduleJobsAll.modalOpen?(C(),Se(_,{key:0,onRefresh:e[11]||(e[11]=v=>this.getPeers()),onClose:e[12]||(e[12]=v=>this.peerScheduleJobsAll.modalOpen=!1),configurationPeers:this.configurationPeers},null,8,["configurationPeers"])):re("",!0)]),_:1}),N(Et,{name:"zoom"},{default:Pe(()=>[this.peerScheduleJobsLogs.modalOpen?(C(),Se(m,{key:0,onClose:e[13]||(e[13]=v=>this.peerScheduleJobsLogs.modalOpen=!1),configurationInfo:this.configurationInfo},null,8,["configurationInfo"])):re("",!0)]),_:1}),N(Et,{name:"zoom"},{default:Pe(()=>[this.peerShare.modalOpen?(C(),Se(y,{key:0,onClose:e[14]||(e[14]=v=>{this.peerShare.modalOpen=!1,this.peerShare.selectedPeer=void 0}),peer:this.configurationPeers.find(v=>v.id===this.peerShare.selectedPeer)},null,8,["peer"])):re("",!0)]),_:1})]))}const U9=je(D7,[["render",Y9],["__scopeId","data-v-dc7f794a"]]),q9={name:"ping",data(){return{loading:!1,cips:{},selectedConfiguration:void 0,selectedPeer:void 0,selectedIp:void 0,count:4,pingResult:void 0,pinging:!1}},setup(){return{store:Xe()}},mounted(){kt("/api/ping/getAllPeersIpAddress",{},t=>{t.status&&(this.loading=!0,this.cips=t.data,console.log(this.cips))})},methods:{execute(){this.selectedIp&&(this.pinging=!0,this.pingResult=void 0,kt("/api/ping/execute",{ipAddress:this.selectedIp,count:this.count},t=>{t.status?this.pingResult=t.data:this.store.newMessage("Server",t.message,"danger")}))}},watch:{selectedConfiguration(){this.selectedPeer=void 0,this.selectedIp=void 0},selectedPeer(){this.selectedIp=void 0}}},Vn=t=>(qt("data-v-7b32cdf7"),t=t(),Gt(),t),G9={class:"mt-md-5 mt-3 text-body"},J9={class:"container"},X9=Vn(()=>h("h3",{class:"mb-3 text-body"},"Ping",-1)),Q9={class:"row"},Z9={class:"col-sm-4 d-flex gap-2 flex-column"},eq=Vn(()=>h("label",{class:"mb-1 text-muted",for:"configuration"},[h("small",null,"Configuration")],-1)),tq=Vn(()=>h("option",{disabled:"",selected:"",value:void 0},"Select a Configuration...",-1)),nq=["value"],sq=Vn(()=>h("label",{class:"mb-1 text-muted",for:"peer"},[h("small",null,"Peer")],-1)),iq=["disabled"],oq=Vn(()=>h("option",{disabled:"",selected:"",value:void 0},"Select a Peer...",-1)),rq=["value"],aq=Vn(()=>h("label",{class:"mb-1 text-muted",for:"ip"},[h("small",null,"IP Address")],-1)),lq=["disabled"],cq=Vn(()=>h("option",{disabled:"",selected:"",value:void 0},"Select a IP...",-1)),uq=Vn(()=>h("label",{class:"mb-1 text-muted",for:"count"},[h("small",null,"Ping Count")],-1)),dq=["disabled"],hq=Vn(()=>h("i",{class:"bi bi-person-walking me-2"},null,-1)),fq={class:"col-sm-8"},pq={key:"pingPlaceholder"},gq={key:"pingResult",class:"d-flex flex-column gap-2 w-100"},mq={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.15s"}},_q={class:"card-body"},bq=Vn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Address")],-1)),vq={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.3s"}},yq={class:"card-body"},wq=Vn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Is Alive")],-1)),xq={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.45s"}},kq={class:"card-body"},Sq=Vn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Average / Min / Max Round Trip Time")],-1)),$q={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.6s"}},Aq={class:"card-body"},Cq=Vn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Sent / Received / Lost Package")],-1));function Eq(t,e,n,s,i,o){return C(),F("div",G9,[h("div",J9,[X9,h("div",Q9,[h("div",Z9,[h("div",null,[eq,Le(h("select",{class:"form-select","onUpdate:modelValue":e[0]||(e[0]=r=>this.selectedConfiguration=r)},[tq,(C(!0),F(Me,null,Ke(this.cips,(r,a)=>(C(),F("option",{value:a},xe(a),9,nq))),256))],512),[[Ql,this.selectedConfiguration]])]),h("div",null,[sq,Le(h("select",{id:"peer",class:"form-select","onUpdate:modelValue":e[1]||(e[1]=r=>this.selectedPeer=r),disabled:this.selectedConfiguration===void 0},[oq,this.selectedConfiguration!==void 0?(C(!0),F(Me,{key:0},Ke(this.cips[this.selectedConfiguration],(r,a)=>(C(),F("option",{value:a},xe(a),9,rq))),256)):re("",!0)],8,iq),[[Ql,this.selectedPeer]])]),h("div",null,[aq,Le(h("select",{id:"ip",class:"form-select","onUpdate:modelValue":e[2]||(e[2]=r=>this.selectedIp=r),disabled:this.selectedPeer===void 0},[cq,this.selectedPeer!==void 0?(C(!0),F(Me,{key:0},Ke(this.cips[this.selectedConfiguration][this.selectedPeer].allowed_ips,r=>(C(),F("option",null,xe(r),1))),256)):re("",!0)],8,lq),[[Ql,this.selectedIp]])]),h("div",null,[uq,Le(h("input",{class:"form-control",type:"number","onUpdate:modelValue":e[3]||(e[3]=r=>this.count=r),min:"1",id:"count",placeholder:"How many times you want to ping?"},null,512),[[We,this.count]])]),h("button",{class:"btn btn-primary rounded-3 mt-3",disabled:!this.selectedIp,onClick:e[4]||(e[4]=r=>this.execute())},[hq,He("Go! ")],8,dq)]),h("div",fq,[N(Ni,{name:"ping"},{default:Pe(()=>[this.pingResult?(C(),F("div",gq,[h("div",mq,[h("div",_q,[bq,He(" "+xe(this.pingResult.address),1)])]),h("div",vq,[h("div",yq,[wq,h("span",{class:Ee([this.pingResult.is_alive?"text-success":"text-danger"])},[h("i",{class:Ee(["bi me-1",[this.pingResult.is_alive?"bi-check-circle-fill":"bi-x-circle-fill"]])},null,2),He(" "+xe(this.pingResult.is_alive?"Yes":"No"),1)],2)])]),h("div",xq,[h("div",kq,[Sq,h("samp",null,xe(this.pingResult.avg_rtt)+"ms / "+xe(this.pingResult.min_rtt)+"ms / "+xe(this.pingResult.max_rtt)+"ms ",1)])]),h("div",$q,[h("div",Aq,[Cq,h("samp",null,xe(this.pingResult.package_sent)+" / "+xe(this.pingResult.package_received)+" / "+xe(this.pingResult.package_loss),1)])])])):(C(),F("div",pq,[(C(),F(Me,null,Ke(4,r=>h("div",{class:Ee(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.pinging}]),style:zt({"animation-delay":`${r*.15}s`})},null,6)),64))]))]),_:1})])])])])}const Tq=je(q9,[["render",Eq],["__scopeId","data-v-7b32cdf7"]]),Pq={name:"traceroute",data(){return{tracing:!1,ipAddress:void 0,tracerouteResult:void 0}},setup(){return{store:Pn()}},methods:{execute(){this.ipAddress&&(this.tracing=!0,this.tracerouteResult=void 0,kt("/api/traceroute/execute",{ipAddress:this.ipAddress},t=>{t.status?this.tracerouteResult=t.data:this.store.newMessage("Server",t.message,"danger"),this.tracing=!1}))}}},hu=t=>(qt("data-v-606c2c93"),t=t(),Gt(),t),Mq={class:"mt-md-5 mt-3 text-body"},Dq={class:"container-md"},Oq=hu(()=>h("h3",{class:"mb-3 text-body"},"Traceroute",-1)),Iq={class:"row"},Lq={class:"col-sm-4 d-flex gap-2 flex-column"},Rq=hu(()=>h("label",{class:"mb-1 text-muted",for:"ipAddress"},[h("small",null,"IP Address")],-1)),Nq=["disabled"],Fq=hu(()=>h("i",{class:"bi bi-bullseye me-2"},null,-1)),Bq={class:"col-sm-8 position-relative"},Vq={key:"pingPlaceholder"},Hq={key:"table",class:"w-100"},jq={class:"table table-borderless rounded-3 w-100"},Wq=hu(()=>h("thead",null,[h("tr",null,[h("th",{scope:"col"},"Hop"),h("th",{scope:"col"},"IP Address"),h("th",{scope:"col"},"Average / Min / Max Round Trip Time")])],-1));function zq(t,e,n,s,i,o){return C(),F("div",Mq,[h("div",Dq,[Oq,h("div",Iq,[h("div",Lq,[h("div",null,[Rq,Le(h("input",{id:"ipAddress",class:"form-control","onUpdate:modelValue":e[0]||(e[0]=r=>this.ipAddress=r),type:"text",placeholder:"Enter an IP Address you want to trace :)"},null,512),[[We,this.ipAddress]])]),h("button",{class:"btn btn-primary rounded-3 mt-3",disabled:!this.store.regexCheckIP(this.ipAddress)||this.tracing,onClick:e[1]||(e[1]=r=>this.execute())},[Fq,He(" "+xe(this.tracing?"Tracing...":"Trace It!"),1)],8,Nq)]),h("div",Bq,[N(Ni,{name:"ping"},{default:Pe(()=>[this.tracerouteResult?(C(),F("div",Hq,[h("table",jq,[Wq,h("tbody",null,[(C(!0),F(Me,null,Ke(this.tracerouteResult,(r,a)=>(C(),F("tr",{class:"animate__fadeInUp animate__animated",style:zt({"animation-delay":`${a*.05}s`})},[h("td",null,xe(r.hop),1),h("td",null,xe(r.ip),1),h("td",null,xe(r.avg_rtt)+" / "+xe(r.min_rtt)+" / "+xe(r.max_rtt),1)],4))),256))])])])):(C(),F("div",Vq,[(C(),F(Me,null,Ke(10,r=>h("div",{class:Ee(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.tracing}]),style:zt({"animation-delay":`${r*.05}s`})},null,6)),64))]))]),_:1})])])])])}const Kq=je(Pq,[["render",zq],["__scopeId","data-v-606c2c93"]]),Yq={name:"totp",components:{LocaleText:Ge},async setup(){const t=Xe();let e="";return await kt("/api/Welcome_GetTotpLink",{},n=>{n.status&&(e=n.data)}),{l:e,store:t}},mounted(){this.l&&Io.toCanvas(document.getElementById("qrcode"),this.l,function(t){})},data(){return{totp:"",totpInvalidMessage:"",verified:!1}},methods:{validateTotp(){}},watch:{totp(t){const e=document.querySelector("#totp");e.classList.remove("is-invalid","is-valid"),t.length===6&&(console.log(t),/[0-9]{6}/.test(t)?ht("/api/Welcome_VerifyTotpLink",{totp:t},n=>{n.status?(this.verified=!0,e.classList.add("is-valid"),this.$emit("verified")):(e.classList.add("is-invalid"),this.totpInvalidMessage="TOTP does not match.")}):(e.classList.add("is-invalid"),this.totpInvalidMessage="TOTP can only contain numbers"))}}},Uq=["data-bs-theme"],qq={class:"m-auto text-body",style:{width:"500px"}},Gq={class:"d-flex flex-column"},Jq={class:"dashboardLogo display-4"},Xq={class:"mb-2"},Qq={class:"text-muted"},Zq=h("canvas",{id:"qrcode",class:"rounded-3 mb-2"},null,-1),eG={class:"p-3 bg-body-secondary rounded-3 border mb-3"},tG={class:"text-muted mb-0"},nG=["href"],sG={style:{"line-break":"anywhere"}},iG={for:"totp",class:"mb-2"},oG={class:"text-muted"},rG={class:"form-group mb-2"},aG=["disabled"],lG={class:"invalid-feedback"},cG={class:"valid-feedback"},uG=h("hr",null,null,-1),dG={class:"d-flex gap-3 mt-5 flex-column"},hG=h("i",{class:"bi bi-chevron-right ms-auto"},null,-1),fG=h("i",{class:"bi bi-chevron-right ms-auto"},null,-1);function pG(t,e,n,s,i,o){const r=ke("LocaleText"),a=ke("RouterLink");return C(),F("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[h("div",qq,[h("div",Gq,[h("div",null,[h("h1",Jq,[N(r,{t:"Multi-Factor Authentication (MFA)"})]),h("p",Xq,[h("small",Qq,[N(r,{t:"1. Please scan the following QR Code to generate TOTP with your choice of authenticator"})])]),Zq,h("div",eG,[h("p",tG,[h("small",null,[N(r,{t:"Or you can click the link below:"})])]),h("a",{href:this.l},[h("code",sG,xe(this.l),1)],8,nG)]),h("label",iG,[h("small",oG,[N(r,{t:"2. Enter the TOTP generated by your authenticator to verify"})])]),h("div",rG,[Le(h("input",{class:"form-control text-center totp",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code","onUpdate:modelValue":e[0]||(e[0]=l=>this.totp=l),disabled:this.verified},null,8,aG),[[We,this.totp]]),h("div",lG,[N(r,{t:this.totpInvalidMessage},null,8,["t"])]),h("div",cG,[N(r,{t:"TOTP verified!"})])])]),uG,h("div",dG,[this.verified?(C(),Se(a,{key:1,to:"/",class:"btn btn-dark btn-lg d-flex btn-brand shadow align-items-center flex-grow-1 rounded-3"},{default:Pe(()=>[N(r,{t:"Complete"}),fG]),_:1})):(C(),Se(a,{key:0,to:"/",class:"btn bg-secondary-subtle text-secondary-emphasis rounded-3 flex-grow-1 btn-lg border-1 border-secondary-subtle shadow d-flex"},{default:Pe(()=>[N(r,{t:"I don't need MFA"}),hG]),_:1}))])])])],8,Uq)}const gG=je(Yq,[["render",pG]]),mG={name:"share",components:{LocaleText:Ge},async setup(){const t=RE(),e=be(!1),n=Xe(),s=be(""),i=be(void 0),o=be(new Blob);await kt("/api/getDashboardTheme",{},a=>{s.value=a.data});const r=t.query.ShareID;return r===void 0||r.length===0?(i.value=void 0,e.value=!0):await kt("/api/sharePeer/get",{ShareID:r},a=>{a.status?(i.value=a.data,o.value=new Blob([i.value.file],{type:"text/plain"})):i.value=void 0,e.value=!0}),{store:n,theme:s,peerConfiguration:i,blob:o}},mounted(){this.peerConfiguration&&Io.toCanvas(document.querySelector("#qrcode"),this.peerConfiguration.file,t=>{t&&console.error(t)})},methods:{download(){const t=new Blob([this.peerConfiguration.file],{type:"text/plain"}),e=URL.createObjectURL(t),n=`${this.peerConfiguration.fileName}.conf`,s=document.createElement("a");s.href=e,s.download=n,s.click()}},computed:{getBlob(){return URL.createObjectURL(this.blob)}}},fu=t=>(qt("data-v-1b44aacd"),t=t(),Gt(),t),_G=["data-bs-theme"],bG={class:"m-auto text-body",style:{width:"500px"}},vG={key:0,class:"text-center position-relative",style:{}},yG=fu(()=>h("div",{class:"animate__animated animate__fadeInUp"},[h("h1",{style:{"font-size":"20rem",filter:"blur(1rem)","animation-duration":"7s"},class:"animate__animated animate__flash animate__infinite"},[h("i",{class:"bi bi-file-binary"})])],-1)),wG={class:"position-absolute w-100 h-100 top-0 start-0 d-flex animate__animated animate__fadeInUp",style:{"animation-delay":"0.1s"}},xG={class:"m-auto"},kG={key:1,class:"d-flex align-items-center flex-column gap-3"},SG={class:"h1 dashboardLogo text-center animate__animated animate__fadeInUp"},$G=fu(()=>h("h6",null,"WGDashboard",-1)),AG={id:"qrcode",class:"rounded-3 shadow animate__animated animate__fadeInUp mb-3",ref:"qrcode"},CG={class:"text-muted animate__animated animate__fadeInUp mb-1",style:{"animation-delay":"0.2s"}},EG=fu(()=>h("samp",null,".conf",-1)),TG=["download","href"],PG=fu(()=>h("i",{class:"bi bi-download"},null,-1)),MG=[PG];function DG(t,e,n,s,i,o){const r=ke("LocaleText");return C(),F("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.theme},[h("div",bG,[this.peerConfiguration?(C(),F("div",kG,[h("div",SG,[$G,N(r,{t:"Scan QR Code with the WireGuard App to add peer"})]),h("canvas",AG,null,512),h("p",CG,[N(r,{t:"or click the button below to download the "}),EG,N(r,{t:" file"})]),h("a",{download:this.peerConfiguration.fileName+".conf",href:o.getBlob,class:"btn btn-lg bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle animate__animated animate__fadeInUp shadow-sm",style:{"animation-delay":"0.25s"}},MG,8,TG)])):(C(),F("div",vG,[yG,h("div",wG,[h("h3",xG,[N(r,{t:"Oh no... This link is either expired or invalid."})])])]))])],8,_G)}const OG=je(mG,[["render",DG],["__scopeId","data-v-1b44aacd"]]),IG=async()=>{let t=!1;return await kt("/api/validateAuthentication",{},e=>{t=e.status}),t},sl=IE({history:XC(),routes:[{name:"Index",path:"/",component:IT,meta:{requiresAuth:!0},children:[{name:"Configuration List",path:"",component:TM,meta:{title:"WireGuard Configurations"}},{name:"Settings",path:"/settings",component:H3,meta:{title:"Settings"}},{path:"/ping",name:"Ping",component:Tq},{path:"/traceroute",name:"Traceroute",component:Kq},{name:"New Configuration",path:"/new_configuration",component:S5,meta:{title:"New Configuration"}},{name:"Configuration",path:"/configuration/:id",component:E5,meta:{title:"Configuration"},children:[{name:"Peers List",path:"peers",component:U9},{name:"Peers Create",path:"create",component:M1}]}]},{path:"/signin",component:YP,meta:{title:"Sign In"}},{path:"/welcome",component:lN,meta:{requiresAuth:!0,title:"Welcome to WGDashboard"}},{path:"/2FASetup",component:gG,meta:{requiresAuth:!0,title:"Multi-Factor Authentication Setup"}},{path:"/share",component:OG,meta:{title:"Share"}}]});sl.beforeEach(async(t,e,n)=>{const s=Pn(),i=Xe();t.meta.title?t.params.id?document.title=t.params.id+" | WGDashboard":document.title=t.meta.title+" | WGDashboard":document.title="WGDashboard",i.ShowNavBar=!1,t.meta.requiresAuth?i.getActiveCrossServer()?(await i.getConfiguration(),!s.Configurations&&t.name!=="Configuration List"&&await s.getConfigurations(),n()):NE.getCookie("authToken")&&await IG()?(await i.getConfiguration(),!s.Configurations&&t.name!=="Configuration List"&&await s.getConfigurations(),i.Redirect=void 0,n()):(i.Redirect=t,n("/signin"),i.newMessage("WGDashboard","Sign in session ended, please sign in again","warning")):n()});const I1=()=>{let t={"content-type":"application/json"};const n=Xe().getActiveCrossServer();return n&&(t["wg-dashboard-apikey"]=n.apiKey),t},L1=t=>{const n=Xe().getActiveCrossServer();return n?`${n.host}${t}`:`${window.location.protocol}//${(window.location.host+window.location.pathname+t).replace(/\/\//g,"/")}`},kt=async(t,e=void 0,n=void 0)=>{const s=new URLSearchParams(e);await fetch(`${L1(t)}?${s.toString()}`,{headers:I1()}).then(i=>{const o=Xe();if(i.ok)return i.json();if(i.status!==200)throw i.status===401&&o.newMessage("WGDashboard","Sign in session ended, please sign in again","warning"),new Error(i.statusText)}).then(i=>n?n(i):void 0).catch(i=>{console.log(i),sl.push({path:"/signin"})})},ht=async(t,e,n)=>{await fetch(`${L1(t)}`,{headers:I1(),method:"POST",body:JSON.stringify(e)}).then(s=>{const i=Xe();if(s.ok)return s.json();if(s.status!==200)throw s.status===401&&i.newMessage("WGDashboard","Sign in session ended, please sign in again","warning"),new Error(s.statusText)}).then(s=>n?n(s):void 0).catch(s=>{console.log(s),sl.push({path:"/signin"})})},Xe=Qh("DashboardConfigurationStore",{state:()=>({Redirect:void 0,Configuration:void 0,Messages:[],Peers:{Selecting:!1,RefreshInterval:void 0},CrossServerConfiguration:{Enable:!1,ServerList:{}},ActiveServerConfiguration:void 0,IsElectronApp:!1,ShowNavBar:!1,Locale:void 0}),actions:{initCrossServerConfiguration(){const t=localStorage.getItem("CrossServerConfiguration");localStorage.getItem("ActiveCrossServerConfiguration")!==null&&(this.ActiveServerConfiguration=localStorage.getItem("ActiveCrossServerConfiguration")),t===null?window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration)):this.CrossServerConfiguration=JSON.parse(t)},syncCrossServerConfiguration(){window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration))},addCrossServerConfiguration(){this.CrossServerConfiguration.ServerList[Es().toString()]={host:"",apiKey:"",active:!1}},deleteCrossServerConfiguration(t){delete this.CrossServerConfiguration.ServerList[t]},getActiveCrossServer(){const t=localStorage.getItem("ActiveCrossServerConfiguration");if(t!==null)return this.CrossServerConfiguration.ServerList[t]},setActiveCrossServer(t){this.ActiveServerConfiguration=t,localStorage.setItem("ActiveCrossServerConfiguration",t)},removeActiveCrossServer(){this.ActiveServerConfiguration=void 0,localStorage.removeItem("ActiveCrossServerConfiguration")},async getConfiguration(){await kt("/api/getDashboardConfiguration",{},t=>{t.status&&(this.Configuration=t.data)})},async signOut(){await kt("/api/signout",{},t=>{this.removeActiveCrossServer(),this.$router.go("/signin")})},newMessage(t,e,n){this.Messages.push({id:Es(),from:dt(t),content:dt(e),type:n,show:!0})},applyLocale(t){if(this.Locale===null)return t;const n=Object.keys(this.Locale).filter(s=>t.match(new RegExp("^"+s+"$","g"))!==null);return console.log(n),n.length===0||n.length>1?t:this.Locale[n[0]]}}}),Uf=t=>(qt("data-v-822f113b"),t=t(),Gt(),t),LG={class:"navbar bg-dark sticky-top","data-bs-theme":"dark"},RG={class:"container-fluid d-flex text-body align-items-center"},NG=Uf(()=>h("span",{class:"navbar-brand mb-0 h1"},"WGDashboard",-1)),FG={key:0,class:"ms-auto text-muted"},BG=Uf(()=>h("i",{class:"bi bi-server me-2"},null,-1)),VG=Uf(()=>h("i",{class:"bi bi-list"},null,-1)),HG=[VG],jG={__name:"App",setup(t){const e=Xe();e.initCrossServerConfiguration(),window.IS_WGDASHBOARD_DESKTOP&&(e.IsElectronApp=!0,e.CrossServerConfiguration.Enable=!0),Ht(e.CrossServerConfiguration,()=>{e.syncCrossServerConfiguration()},{deep:!0});const n=_e(()=>{if(e.ActiveServerConfiguration)return e.CrossServerConfiguration.ServerList[e.ActiveServerConfiguration]});return(s,i)=>(C(),F(Me,null,[h("nav",LG,[h("div",RG,[NG,n.value!==void 0?(C(),F("small",FG,[BG,He(xe(n.value.host),1)])):re("",!0),h("a",{role:"button",class:"navbarBtn text-body",onClick:i[0]||(i[0]=o=>G(e).ShowNavBar=!G(e).ShowNavBar),style:{"line-height":"0","font-size":"2rem"}},HG)])]),(C(),Se(Wh,null,{default:Pe(()=>[N(G(oy),null,{default:Pe(({Component:o})=>[N(Et,{name:"app",mode:"out-in"},{default:Pe(()=>[(C(),Se(To(o)))]),_:2},1024)]),_:1})]),_:1}))],64))}},WG=je(jG,[["__scopeId","data-v-822f113b"]]);let R1;await fetch("/api/locale").then(t=>t.json()).then(t=>R1=t.data);const qf=kC(WG);qf.use(sl);const N1=CC();N1.use(({store:t})=>{t.$router=Lc(sl)});qf.use(N1);const zG=Xe();zG.Locale=R1;qf.mount("#app"); diff --git a/src/static/locale/active_languages.json b/src/static/locale/active_languages.json index 1dbb4f7..b0d64ab 100644 --- a/src/static/locale/active_languages.json +++ b/src/static/locale/active_languages.json @@ -23,5 +23,10 @@ "lang_id": "de", "lang_name": "German", "lang_name_localized": "Deutsch" + }, + { + "lang_id": "ru", + "lang_name": "Russian", + "lang_name_localized": "Русский" } ] diff --git a/src/static/locale/ru.json b/src/static/locale/ru.json new file mode 100644 index 0000000..186e82f --- /dev/null +++ b/src/static/locale/ru.json @@ -0,0 +1,236 @@ +{ + "Welcome to": "Добро пожаловать", + "Username": "Имя", + "Password": "Пароль", + "OTP from your authenticator": "OTP вашего аутентификатора", + "Sign In": "Войти", + "Signing In\\.\\.\\.": "Вход в систему...", + "Access Remote Server": "Доступ к удаленному серверу", + "Server": "Сервер", + "Click": "Клик", + "Pinging...": "Пинг...", + "to add your server": "чтобы добавить свой сервер", + "Server List": "Список серверов", + "Sorry, your username or password is incorrect.": "К сожалению, ваше имя пользователя или пароль неверны.", + "Home": "Главная", + "Settings": "Настройки", + "Tools": "Инструменты", + "Sign Out": "Выйти", + "Checking for update...": "Проверка наличия обновлений...", + "You're on the latest version": "Вы используете последнюю версию", + "WireGuard Configurations": "Конфигурация WireGuard", + "You don't have any WireGuard configurations yet. Please check the configuration folder or change it in Settings. By default the folder is /etc/wireguard.": "У вас еще нет настроек WireGuard. Пожалуйста, проверьте папку конфигурации или измените ее в настройках. По умолчанию используется папка /etc/wireguard.", + "Configuration": "Конфигурация", + "Configurations": "Конфигурации", + "Peers Default Settings": "Настройки Peers по умолчанию", + "Dashboard Theme": "Тема интерфейса", + "Light": "Светлая", + "Dark": "Темная", + "This will be changed globally, and will be apply to all peer's QR code and configuration file.": "Это будет изменено глобально и будет применяться ко всем QR-кодам и конфигурационным файлам Peer's.", + "WireGuard Configurations Settings": "Параметры конфигурации WireGuard", + "Configurations Directory": "Каталог конфигураций", + "Remember to remove / at the end of your path. e.g /etc/wireguard": "Не забудьте удалить символ в конце вашего пути - например /etc/wireguard", + "WGDashboard Account Settings": "Настройки учетной записи WGDashboard", + "Current Password": "Текущий пароль", + "New Password": "Новый пароль", + "Repeat New Password": "Повторите новый пароль", + "Update Password": "Обновить пароль", + "Multi-Factor Authentication \\(MFA\\)": "Многофакторная аутентификация (MFA)", + "Reset": "Сброс", + "Setup": "Установка", + "API Keys": "Ключи API", + "API Key": "Ключ API", + "Key": "Ключ", + "Enabled": "Включен", + "Disabled": "Выключен", + "No WGDashboard API Key": "Нет ключа API для WGDashboard", + "Expire At": "Истекает в", + "Are you sure to delete this API key\\?": "Вы уверены, что нужно удалить этот API-ключ?", + "Create API Key": "Создать ключ API", + "When should this API Key expire\\?": "Когда должен истечь срок действия этого API-ключа?", + "Never Expire": "Бессрочный", + "Don't think that's a good idea": "Не думаю, что это хорошая идея", + "Creating\\.\\.\\.": "Создание...", + "Create": "Создать", + "Status": "Статус", + "On": "Вкл", + "Off": "Выкл", + "Turning On\\.\\.\\.": "Включение...", + "Turning Off\\.\\.\\.": "Выключение...", + "Address": "Адрес", + "Listen Port": "Порт", + "Public Key": "Публичный ключ", + "Connected Peers": "Подключенные клиенты", + "Total Usage": "Общий трафик", + "Total Received": "Всего получено", + "Total Sent": "Всего отправлено", + "Peers Data Usage": "Использовано Peers", + "Real Time Received Data Usage": "Входящий трафик в реальном времени", + "Real Time Sent Data Usage": "Исходящий трафик в реальном времени", + "Peer": "Peer", + "Peers": "Peers", + "Peer Settings": "Настройки Peer", + "Download All": "Загрузить все", + "Search Peers\\.\\.\\.": "Поиск Peers...", + "Display": "Отобразить", + "Sort By": "Сортировать по", + "Refresh Interval": "Интервал обновления", + "Name": "Имя", + "Allowed IPs": "Разрешенные IP-адреса", + "Restricted": "Прекращенный", + "(.*) Seconds": "$1 сек.", + "(.*) Minutes": "$1 мин..", + "Configuration Settings": "Параметры конфигурации", + "Peer Jobs": "Задачи Peer", + "Active Jobs": "Активные задачи", + "All Active Jobs": "Все активные задачи", + "Logs": "Журнал", + "Private Key": "Приватный ключ", + "\\(Required for QR Code and Download\\)": "(Требуется для получения QR-кода и загрузки)", + "\\(Required\\)": "(Обязательный)", + "Endpoint Allowed IPs": "Разрешенные IP-адреса конечной точки", + "DNS": "Сервер DNS", + "Optional Settings": "Дополнительные настройки", + "Pre-Shared Key": "Предварительный общий ключ", + "MTU": "MTU", + "Persistent Keepalive": "Поддержание активности", + "Reset Data Usage": "Сброс статистики использования", + "Total": "Общий", + "Sent": "Отправлено", + "Received": "Получено", + "Revert": "Возвращено", + "Save Peer": "Сохранить Peer", + "QR Code": "QR код", + "Schedule Jobs": "План задач", + "Job": "Задача", + "Job ID": "ID задачи", + "Unsaved Job": "Несохраненная задача", + "This peer does not have any job yet\\.": "У этого Peer нет заданий", + "if": "Если", + "is": "является", + "then": "тогда", + "larger than": "больше чем", + "Date": "Дата", + "Restrict Peer": "Остановить Peer", + "Delete Peer": "Удалить Peer", + "Edit": "Правка", + "Delete": "Удалить", + "Deleting...": "Удаление...", + "Cancel": "Закрыть", + "Save": "Сохранить", + "No active job at the moment\\.": "На данный момент нет активных задач.", + "Jobs Logs": "Журнал задач", + "Updated at": "Обновлено в", + "Refresh": "Обновить", + "Filter": "Фильтр", + "Success": "Успешно", + "Failed": "Отказано", + "Log ID": "ID журнала", + "Message": "Сообщение", + "Share Peer": "Поделиться Peer", + "Currently the peer is not sharing": "В настоящее время Peer не предоставляет общий доступ", + "Sharing\\.\\.\\.": "Делимся...", + "Start Sharing": "Начать делиться", + "Stop Sharing\\.\\.\\.": "Прекращаем делиться...", + "Stop Sharing": "Прекратить делиться", + "Access Restricted": "Доступ прекращен", + "Restrict Access": "Прекратить доступ", + "Restricting\\.\\.\\.": "Прекращаем...", + "Allow Access": "Разрешить доступ", + "Allowing Access\\.\\.\\.": "Разрешаем доступ...", + "Download \\& QR Code is not available due to no private key set for this peer": "Загрузка и QR-код недоступны из-за отсутствия закрытого ключа, установленного для этого Peer", + "Add Peers": "Добавить Peers", + "Bulk Add": "Массовое добавление", + "By adding peers by bulk, each peer's name will be auto generated, and Allowed IP will be assign to the next available IP\\.": "При массовом добавлении, имя каждого Peer's будет сгенерировано автоматически, а разрешенный IP-адрес будет присвоен по порядку следования", + "How many peers you want to add\\?": "Сколько Peers вы хотите добавить?", + "You can add up to (.*) peers": "Вы можете добавить до $1 peers", + "Use your own Private and Public Key": "Используйте свой закрытый и открытый ключ", + "Enter IP Address/CIDR": "Введите IP-адрес/CIDR", + "IP Address/CIDR": "IP-адреса/CIDR", + "or": "или", + "Pick Available IP": "Выберите доступный IP-адрес", + "No available IP containing": "Нет доступного IP-адреса", + "Add": "Добавить", + "Adding\\.\\.\\.": "Добавление...", + "Failed to check available update": "Не удалось проверить обновление", + "Nice to meet you!": "Приятно познакомиться с вами!", + "Please fill in the following fields to finish setup": "Пожалуйста, заполните следующие поля, чтобы завершить настройку", + "Create an account": "Создать учетную запись", + "Enter an username you like": "Введите имя пользователя", + "Enter a password": "Введите пароль", + "\\(At least 8 characters and make sure is strong enough!\\)": "(Убедитесь что ваш пароль достаточно сложный, для этого наберите минимум 8 символов!)", + "Confirm password": "Подтвердите пароль", + "Next": "Далее", + "Saving\\.\\.\\.": "Сохранение...", + "1\\. Please scan the following QR Code to generate TOTP with your choice of authenticator": "1.Пожалуйста, отсканируйте следующий QR-код, чтобы сгенерировать TOTP с выбранным вами средством аутентификации", + "Or you can click the link below:": "Или вы можете перейти по ссылке ниже:", + "2\\. Enter the TOTP generated by your authenticator to verify": "2. Для подтверждения Введите TOTP, сгенерированный вашим аутентификатором", + "TOTP verified!": "TOTP подтвержден!", + "I don't need MFA": "Мне не нужен MFA", + "Complete": "Завершить", + "(v[0-9.]{1,}) is now available for update!": "$1 теперь доступна для обновления!", + "Current Version:": "Текущая версия: ", + "Oh no\\.\\.\\. This link is either expired or invalid\\.": "О нет... Срок действия этой ссылки истек или она недействительна.", + "Scan QR Code with the WireGuard App to add peer": "Чтобы добавить peer, отсканируйте QR-код с помощью приложения WireGuard", + "or click the button below to download the ": "или нажмите на кнопку ниже, чтобы скачать файл конфигурации ", + " file": " файл", + "FROM ": "ОТ ", + "(.*) is on": "$1 включен", + "(.*) is off": "$1 выключен", + "Allowed IPs is invalid": "Разрешенные IP-адреса недопустимы", + "Peer created successfully": "Peer успешно создан", + "Please fill in all required box": "Пожалуйста, заполните все обязательные поля", + "Please specify amount of peers you want to add": "Пожалуйста, укажите количество Peers, которых вы хотите добавить", + "No more available IP can assign": "Нет доступных IP-адресов", + "The maximum number of peers can add is (.*)": "Максимальное количество Peers, которые можно добавить, составляет $1", + "Generating key pairs by bulk failed": "Не удалось сгенерировать пары ключей массовым способом", + "Failed to add peers in bulk": "Не удалось массово добавить Peers", + "This peer already exist": "Этот Peer уже существует", + "This IP is not available: (.*)": "Этот IP-адрес недоступен: $1", + "Configuration does not exist": "Конфигурация не существует", + "Peer does not exist": "Peer не существует", + "Please provide a valid configuration name": "Пожалуйста, укажите действительное имя конфигурации", + "Peer saved": "Peer сохранен", + "Allowed IPs already taken by another peer": "Разрешенные IP-адреса, уже занятые Peer", + "Endpoint Allowed IPs format is incorrect": "Неверный формат IP-адреса для конечной точки", + "DNS format is incorrect": "Неправильный формат DNS", + "MTU format is not correct": "Неправильный формат MTU", + "Persistent Keepalive format is not correct": "Неправильный формат значения поддержания активности", + "Private key does not match with the public key": "Закрытый ключ не совпадает с открытым ключом", + "Update peer failed when updating Pre-Shared Key": "Не удалось обновить Peer при обновлении Pre-Shared ключа", + "Update peer failed when updating Allowed IPs": "Не удалось обновить Peer при обновлении разрешенных IP-адресов", + "Update peer failed when saving the configuration": "Ошибка обновления Peer при сохранении конфигурации", + "Peer data usage reset successfully": "Успешный сброс статистики Peer", + "Peer download started": "Старт загрузки Peer", + "Please specify one or more peers": "Пожалуйста, укажите одного или несколькихх Peers", + "Share link failed to create. Reason: (.*)": "Не удалось создать ссылку для общего доступа. Причина: $1", + "Link expire date updated": "Обновлена дата действия ссылки", + "Link expire date failed to update. Reason: (.*)": "Не удалось обновить дату действия ссылки. Причина: $1", + "Peer job saved": "Задача для Peer сохранена", + "Please specify job": "Пожалуйста, укажите задачу", + "Please specify peer and configuration": "Пожалуйста, укажите Peer и конфигурацию", + "Peer job deleted": "Задача для Peer удалена", + "API Keys function is successfully enabled": "Функция API-ключей успешно включена", + "API Keys function is successfully disabled": "Функция API-ключей успешно отключена", + "API Keys function is failed to enable": "Не удалось включить функцию API-ключей", + "API Keys function is failed to disable": "Не удалось отключить функцию API-ключей", + "WGDashboard API Keys function is disabled": "Функция API-ключей WGDashboard отключена", + "WireGuard configuration path saved": "Путь к конфигурации WireGuard сохранен", + "API Key deleted": "Ключ API удален", + "API Key created": "Ключ API создан", + "Sign in session ended, please sign in again": "Сеанс входа в систему завершен, пожалуйста, войдите в систему еще раз", + "Please specify an IP Address (v4/v6)": "Пожалуйста, укажите IP-адрес (v4/v6) ", + "Please provide ipAddress and count": "Пожалуйста, укажите ip-адрес и количество", + "Please provide ipAddress": "Пожалуйста, укажите IP-адрес", + "Dashboard Language": "Язык панели мониторинга", + "Dashboard language update failed": "Не удалось обновить язык панели мониторинга", + "Peer Remote Endpoint": "Адрес для подключения Peer", + "New Configuration": "Новая конфигурация", + "Configuration Name": "Имя конфигурации", + "Configuration name is invalid. Possible reasons:": "Неверное имя конфигурации. Возможные причины:", + "Configuration name already exist\\.": "Имя конфигурации уже существует. ", + "Configuration name can only contain 15 lower/uppercase alphabet, numbers, underscore, equal sign, plus sign, period and hyphen\\.": "Название конфигурации может содержать только 15 строчных/прописных букв, цифры, подчеркивание, знак равенства, знак плюс, точку и дефис ", + "Invalid Port": "Неверный порт", + "Save Configuration": "Сохранить конфигурацию", + "IP Address/CIDR is invalid": "IP-адрес/CIDR недействителен" +} \ No newline at end of file