diff --git a/assets/index.53c9174a.css b/assets/index.53c9174a.css new file mode 100644 index 0000000..61456be --- /dev/null +++ b/assets/index.53c9174a.css @@ -0,0 +1,14 @@ +@charset "UTF-8";/*! + * Bootstrap v5.3.3 (https://getbootstrap.com/) + * Copyright 2011-2024 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: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--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: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--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: rgb(42.5, 47.5, 52.5);--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: rgb(109.8, 168, 253.8);--bs-secondary-text-emphasis: rgb(166.8, 172.2, 177);--bs-success-text-emphasis: rgb(117, 183, 152.4);--bs-info-text-emphasis: rgb(109.8, 223.2, 246);--bs-warning-text-emphasis: rgb(255, 217.8, 106.2);--bs-danger-text-emphasis: rgb(234, 133.8, 143.4);--bs-light-text-emphasis: #f8f9fa;--bs-dark-text-emphasis: #dee2e6;--bs-primary-bg-subtle: rgb(2.6, 22, 50.6);--bs-secondary-bg-subtle: rgb(21.6, 23.4, 25);--bs-success-bg-subtle: rgb(5, 27, 16.8);--bs-info-bg-subtle: rgb(2.6, 40.4, 48);--bs-warning-bg-subtle: rgb(51, 38.6, 1.4);--bs-danger-bg-subtle: rgb(44, 10.6, 13.8);--bs-light-bg-subtle: #343a40;--bs-dark-bg-subtle: #1a1d20;--bs-primary-border-subtle: rgb(7.8, 66, 151.8);--bs-secondary-border-subtle: rgb(64.8, 70.2, 75);--bs-success-border-subtle: rgb(15, 81, 50.4);--bs-info-border-subtle: rgb(7.8, 121.2, 144);--bs-warning-border-subtle: rgb(153, 115.8, 4.2);--bs-danger-border-subtle: rgb(132, 31.8, 41.4);--bs-light-border-subtle: #495057;--bs-dark-border-subtle: #343a40;--bs-heading-color: inherit;--bs-link-color: rgb(109.8, 168, 253.8);--bs-link-hover-color: rgb(138.84, 185.4, 254.04);--bs-link-color-rgb: 110, 168, 254;--bs-link-hover-color-rgb: 139, 185, 254;--bs-code-color: rgb(230.4, 132.6, 181.2);--bs-highlight-color: #dee2e6;--bs-highlight-bg: rgb(102, 77.2, 2.8);--bs-border-color: #495057;--bs-border-color-translucent: rgba(255, 255, 255, .15);--bs-form-valid-color: rgb(117, 183, 152.4);--bs-form-valid-border-color: rgb(117, 183, 152.4);--bs-form-invalid-color: rgb(234, 133.8, 143.4);--bs-form-invalid-border-color: rgb(234, 133.8, 143.4)}*,*: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]{text-decoration:underline dotted;cursor:help;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}::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:"\2014\a0"}.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(even){--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: rgb(206.6, 226, 254.6);--bs-table-border-color: rgb(165.28, 180.8, 203.68);--bs-table-striped-bg: rgb(196.27, 214.7, 241.87);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(185.94, 203.4, 229.14);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(191.105, 209.05, 235.505);--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: rgb(225.6, 227.4, 229);--bs-table-border-color: rgb(180.48, 181.92, 183.2);--bs-table-striped-bg: rgb(214.32, 216.03, 217.55);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(203.04, 204.66, 206.1);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(208.68, 210.345, 211.825);--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: rgb(209, 231, 220.8);--bs-table-border-color: rgb(167.2, 184.8, 176.64);--bs-table-striped-bg: rgb(198.55, 219.45, 209.76);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(188.1, 207.9, 198.72);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(193.325, 213.675, 204.24);--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: rgb(206.6, 244.4, 252);--bs-table-border-color: rgb(165.28, 195.52, 201.6);--bs-table-striped-bg: rgb(196.27, 232.18, 239.4);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(185.94, 219.96, 226.8);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(191.105, 226.07, 233.1);--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: rgb(255, 242.6, 205.4);--bs-table-border-color: rgb(204, 194.08, 164.32);--bs-table-striped-bg: rgb(242.25, 230.47, 195.13);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(229.5, 218.34, 184.86);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(235.875, 224.405, 189.995);--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: rgb(248, 214.6, 217.8);--bs-table-border-color: rgb(198.4, 171.68, 174.24);--bs-table-striped-bg: rgb(235.6, 203.87, 206.91);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(223.2, 193.14, 196.02);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(229.4, 198.505, 201.465);--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: rgb(198.4, 199.2, 200);--bs-table-striped-bg: rgb(235.6, 236.55, 237.5);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(223.2, 224.1, 225);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(229.4, 230.325, 231.25);--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: rgb(77.4, 80.6, 83.8);--bs-table-striped-bg: rgb(44.1, 47.9, 51.7);--bs-table-striped-color: #fff;--bs-table-active-bg: rgb(55.2, 58.8, 62.4);--bs-table-active-color: #fff;--bs-table-hover-bg: rgb(49.65, 53.35, 57.05);--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);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::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.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::file-selector-button{transition:none}}.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::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.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::file-selector-button{padding:.5rem 1rem;margin:-.5rem -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);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;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);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='rgb%28134, 182.5, 254%29'/%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;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;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;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{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;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;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{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::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.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: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: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;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-check:checked:focus-visible+.btn{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: rgb(11.05, 93.5, 215.05);--bs-btn-hover-border-color: rgb(10.4, 88, 202.4);--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(10.4, 88, 202.4);--bs-btn-active-border-color: rgb(9.75, 82.5, 189.75);--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: rgb(91.8, 99.45, 106.25);--bs-btn-hover-border-color: rgb(86.4, 93.6, 100);--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(86.4, 93.6, 100);--bs-btn-active-border-color: rgb(81, 87.75, 93.75);--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: rgb(21.25, 114.75, 71.4);--bs-btn-hover-border-color: rgb(20, 108, 67.2);--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(20, 108, 67.2);--bs-btn-active-border-color: rgb(18.75, 101.25, 63);--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: rgb(49.3, 209.95, 242.25);--bs-btn-hover-border-color: rgb(37.2, 207.3, 241.5);--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(61.4, 212.6, 243);--bs-btn-active-border-color: rgb(37.2, 207.3, 241.5);--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: rgb(255, 202.3, 44.2);--bs-btn-hover-border-color: rgb(255, 199.2, 31.8);--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(255, 205.4, 56.6);--bs-btn-active-border-color: rgb(255, 199.2, 31.8);--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: rgb(187, 45.05, 58.65);--bs-btn-hover-border-color: rgb(176, 42.4, 55.2);--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(176, 42.4, 55.2);--bs-btn-active-border-color: rgb(165, 39.75, 51.75);--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: rgb(210.8, 211.65, 212.5);--bs-btn-hover-border-color: rgb(198.4, 199.2, 200);--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(198.4, 199.2, 200);--bs-btn-active-border-color: rgb(186, 186.75, 187.5);--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: rgb(66.3, 69.7, 73.1);--bs-btn-hover-border-color: rgb(55.2, 58.8, 62.4);--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(77.4, 80.6, 83.8);--bs-btn-active-border-color: rgb(55.2, 58.8, 62.4);--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;top:0;right:0;bottom:0;left: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='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%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='none' stroke='rgb%285.2, 44, 101.2%29' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");--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;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-header .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-header .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-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-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}.accordion-flush>.accordion-item>.accordion-collapse{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='rgb%28109.8, 168, 253.8%29'%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='rgb%28109.8, 168, 253.8%29'%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;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: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;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%;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;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:calc(-.5 * var(--bs-offcanvas-padding-y)) calc(-.5 * var(--bs-offcanvas-padding-x)) calc(-.5 * var(--bs-offcanvas-padding-y)) auto}.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{mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-underline-offset:.25em;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:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{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;top:0;right:0;bottom:0;left: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{object-fit:contain!important}.object-fit-cover{object-fit:cover!important}.object-fit-fill{object-fit:fill!important}.object-fit-scale{object-fit:scale-down!important}.object-fit-none{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: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{column-gap:0!important}.column-gap-1{column-gap:.25rem!important}.column-gap-2{column-gap:.5rem!important}.column-gap-3{column-gap:1rem!important}.column-gap-4{column-gap:1.5rem!important}.column-gap-5{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;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity: 1;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{user-select:all!important}.user-select-auto{user-select:auto!important}.user-select-none{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{object-fit:contain!important}.object-fit-sm-cover{object-fit:cover!important}.object-fit-sm-fill{object-fit:fill!important}.object-fit-sm-scale{object-fit:scale-down!important}.object-fit-sm-none{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{column-gap:0!important}.column-gap-sm-1{column-gap:.25rem!important}.column-gap-sm-2{column-gap:.5rem!important}.column-gap-sm-3{column-gap:1rem!important}.column-gap-sm-4{column-gap:1.5rem!important}.column-gap-sm-5{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{object-fit:contain!important}.object-fit-md-cover{object-fit:cover!important}.object-fit-md-fill{object-fit:fill!important}.object-fit-md-scale{object-fit:scale-down!important}.object-fit-md-none{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{column-gap:0!important}.column-gap-md-1{column-gap:.25rem!important}.column-gap-md-2{column-gap:.5rem!important}.column-gap-md-3{column-gap:1rem!important}.column-gap-md-4{column-gap:1.5rem!important}.column-gap-md-5{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{object-fit:contain!important}.object-fit-lg-cover{object-fit:cover!important}.object-fit-lg-fill{object-fit:fill!important}.object-fit-lg-scale{object-fit:scale-down!important}.object-fit-lg-none{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{column-gap:0!important}.column-gap-lg-1{column-gap:.25rem!important}.column-gap-lg-2{column-gap:.5rem!important}.column-gap-lg-3{column-gap:1rem!important}.column-gap-lg-4{column-gap:1.5rem!important}.column-gap-lg-5{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{object-fit:contain!important}.object-fit-xl-cover{object-fit:cover!important}.object-fit-xl-fill{object-fit:fill!important}.object-fit-xl-scale{object-fit:scale-down!important}.object-fit-xl-none{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{column-gap:0!important}.column-gap-xl-1{column-gap:.25rem!important}.column-gap-xl-2{column-gap:.5rem!important}.column-gap-xl-3{column-gap:1rem!important}.column-gap-xl-4{column-gap:1.5rem!important}.column-gap-xl-5{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{object-fit:contain!important}.object-fit-xxl-cover{object-fit:cover!important}.object-fit-xxl-fill{object-fit:fill!important}.object-fit-xxl-scale{object-fit:scale-down!important}.object-fit-xxl-none{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{column-gap:0!important}.column-gap-xxl-1{column-gap:.25rem!important}.column-gap-xxl-2{column-gap:.5rem!important}.column-gap-xxl-3{column-gap:1rem!important}.column-gap-xxl-4{column-gap:1.5rem!important}.column-gap-xxl-5{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}}h2,.h2,h3,.h3{text-align:center}.link-block{margin:1em}.td-wrap{padding:0;height:10em;width:90em}.td-textarea{display:block;height:100%;width:100%;border:0;box-sizing:border-box}span.hljs-string{color:#22863a}.col{overflow:scroll}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*! + Theme: GitHub + Description: Light theme as seen on github.com + Author: github.com + Maintainer: @Hirse + Updated: 2021-05-15 + + Outdated base version: https://github.com/primer/github-syntax-light + Current colors taken from GitHub's CSS +*/.hljs{color:#24292e;background:#ffffff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0} diff --git a/assets/index.6a970d22.js b/assets/index.6a970d22.js deleted file mode 100644 index 4b9de9e..0000000 --- a/assets/index.6a970d22.js +++ /dev/null @@ -1,515 +0,0 @@ -const Cc=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const n of r)if(n.type==="childList")for(const a of n.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function e(r){const n={};return r.integrity&&(n.integrity=r.integrity),r.referrerpolicy&&(n.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?n.credentials="include":r.crossorigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function s(r){if(r.ep)return;r.ep=!0;const n=e(r);fetch(r.href,n)}};Cc();/** -* @vue/shared v3.4.15 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function En(i,t){const e=new Set(i.split(","));return t?s=>e.has(s.toLowerCase()):s=>e.has(s)}const Ze={},Bs=[],Et=()=>{},wc=()=>!1,lr=i=>i.charCodeAt(0)===111&&i.charCodeAt(1)===110&&(i.charCodeAt(2)>122||i.charCodeAt(2)<97),An=i=>i.startsWith("onUpdate:"),ot=Object.assign,Cn=(i,t)=>{const e=i.indexOf(t);e>-1&&i.splice(e,1)},kc=Object.prototype.hasOwnProperty,Ue=(i,t)=>kc.call(i,t),Ie=Array.isArray,Rs=i=>Ei(i)==="[object Map]",cr=i=>Ei(i)==="[object Set]",da=i=>Ei(i)==="[object Date]",Oe=i=>typeof i=="function",it=i=>typeof i=="string",ms=i=>typeof i=="symbol",Xe=i=>i!==null&&typeof i=="object",Io=i=>(Xe(i)||Oe(i))&&Oe(i.then)&&Oe(i.catch),No=Object.prototype.toString,Ei=i=>No.call(i),Lc=i=>Ei(i).slice(8,-1),_o=i=>Ei(i)==="[object Object]",wn=i=>it(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,Bi=En(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ur=i=>{const t=Object.create(null);return e=>t[e]||(t[e]=i(e))},vc=/-(\w)/g,Bt=ur(i=>i.replace(vc,(t,e)=>e?e.toUpperCase():"")),Ic=/\B([A-Z])/g,qs=ur(i=>i.replace(Ic,"-$1").toLowerCase()),hr=ur(i=>i.charAt(0).toUpperCase()+i.slice(1)),Mr=ur(i=>i?`on${hr(i)}`:""),ys=(i,t)=>!Object.is(i,t),Ri=(i,t)=>{for(let e=0;e{Object.defineProperty(i,t,{configurable:!0,enumerable:!1,value:e})},Zr=i=>{const t=parseFloat(i);return isNaN(t)?i:t};let ma;const kn=()=>ma||(ma=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Ln(i){if(Ie(i)){const t={};for(let e=0;e{if(e){const s=e.split(_c);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function di(i){let t="";if(it(i))t=i;else if(Ie(i))for(let e=0;epr(e,t))}const Js=i=>it(i)?i:i==null?"":Ie(i)||Xe(i)&&(i.toString===No||!Oe(i.toString))?JSON.stringify(i,Fo,2):String(i),Fo=(i,t)=>t&&t.__v_isRef?Fo(i,t.value):Rs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[s,r],n)=>(e[Or(s,n)+" =>"]=r,e),{})}:cr(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Or(e))}:ms(t)?Or(t):Xe(t)&&!Ie(t)&&!_o(t)?String(t):t,Or=(i,t="")=>{var e;return ms(i)?`Symbol(${(e=i.description)!=null?e:t})`:i};/** -* @vue/reactivity v3.4.15 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let kt;class Rc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=kt,!t&&kt&&(this.index=(kt.scopes||(kt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const e=kt;try{return kt=this,t()}finally{kt=e}}}on(){kt=this}off(){kt=this.parent}stop(t){if(this._active){let e,s;for(e=0,s=this.effects.length;e=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),_s()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=hs,e=ks;try{return hs=!0,ks=this,this._runnings++,ya(this),this.fn()}finally{ga(this),this._runnings--,ks=e,hs=t}}stop(){var t;this.active&&(ya(this),ga(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Uc(i){return i.value}function ya(i){i._trackId++,i._depsLength=0}function ga(i){if(i.deps&&i.deps.length>i._depsLength){for(let t=i._depsLength;t{const e=new Map;return e.cleanup=i,e.computed=t,e},tn=new WeakMap,Ls=Symbol(""),sn=Symbol("");function xt(i,t,e){if(hs&&ks){let s=tn.get(i);s||tn.set(i,s=new Map);let r=s.get(e);r||s.set(e,r=Uo(()=>s.delete(e))),Ro(ks,r)}}function Xt(i,t,e,s,r,n){const a=tn.get(i);if(!a)return;let o=[];if(t==="clear")o=[...a.values()];else if(e==="length"&&Ie(i)){const l=Number(s);a.forEach((h,u)=>{(u==="length"||!ms(u)&&u>=l)&&o.push(h)})}else switch(e!==void 0&&o.push(a.get(e)),t){case"add":Ie(i)?wn(e)&&o.push(a.get("length")):(o.push(a.get(Ls)),Rs(i)&&o.push(a.get(sn)));break;case"delete":Ie(i)||(o.push(a.get(Ls)),Rs(i)&&o.push(a.get(sn)));break;case"set":Rs(i)&&o.push(a.get(Ls));break}In();for(const l of o)l&&$o(l,2);Nn()}const Vc=En("__proto__,__v_isRef,__isVue"),Vo=new Set(Object.getOwnPropertyNames(Symbol).filter(i=>i!=="arguments"&&i!=="caller").map(i=>Symbol[i]).filter(ms)),Ta=Hc();function Hc(){const i={};return["includes","indexOf","lastIndexOf"].forEach(t=>{i[t]=function(...e){const s=Ge(this);for(let n=0,a=this.length;n{i[t]=function(...e){Ns(),In();const s=Ge(this)[t].apply(this,e);return Nn(),_s(),s}}),i}function Gc(i){const t=Ge(this);return xt(t,"has",i),t.hasOwnProperty(i)}class Ho{constructor(t=!1,e=!1){this._isReadonly=t,this._shallow=e}get(t,e,s){const r=this._isReadonly,n=this._shallow;if(e==="__v_isReactive")return!r;if(e==="__v_isReadonly")return r;if(e==="__v_isShallow")return n;if(e==="__v_raw")return s===(r?n?iu:qo:n?Ko:Wo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const a=Ie(t);if(!r){if(a&&Ue(Ta,e))return Reflect.get(Ta,e,s);if(e==="hasOwnProperty")return Gc}const o=Reflect.get(t,e,s);return(ms(e)?Vo.has(e):Vc(e))||(r||xt(t,"get",e),n)?o:St(o)?a&&wn(e)?o:o.value:Xe(o)?r?zo(o):dr(o):o}}class Go extends Ho{constructor(t=!1){super(!1,t)}set(t,e,s,r){let n=t[e];if(!this._shallow){const l=Hs(n);if(!Yi(s)&&!Hs(s)&&(n=Ge(n),s=Ge(s)),!Ie(t)&&St(n)&&!St(s))return l?!1:(n.value=s,!0)}const a=Ie(t)&&wn(e)?Number(e)i,fr=i=>Reflect.getPrototypeOf(i);function ki(i,t,e=!1,s=!1){i=i.__v_raw;const r=Ge(i),n=Ge(t);e||(ys(t,n)&&xt(r,"get",t),xt(r,"get",n));const{has:a}=fr(r),o=s?_n:e?Fn:mi;if(a.call(r,t))return o(i.get(t));if(a.call(r,n))return o(i.get(n));i!==r&&i.get(t)}function Li(i,t=!1){const e=this.__v_raw,s=Ge(e),r=Ge(i);return t||(ys(i,r)&&xt(s,"has",i),xt(s,"has",r)),i===r?e.has(i):e.has(i)||e.has(r)}function vi(i,t=!1){return i=i.__v_raw,!t&&xt(Ge(i),"iterate",Ls),Reflect.get(i,"size",i)}function ba(i){i=Ge(i);const t=Ge(this);return fr(t).has.call(t,i)||(t.add(i),Xt(t,"add",i,i)),this}function xa(i,t){t=Ge(t);const e=Ge(this),{has:s,get:r}=fr(e);let n=s.call(e,i);n||(i=Ge(i),n=s.call(e,i));const a=r.call(e,i);return e.set(i,t),n?ys(t,a)&&Xt(e,"set",i,t):Xt(e,"add",i,t),this}function Sa(i){const t=Ge(this),{has:e,get:s}=fr(t);let r=e.call(t,i);r||(i=Ge(i),r=e.call(t,i)),s&&s.call(t,i);const n=t.delete(i);return r&&Xt(t,"delete",i,void 0),n}function Pa(){const i=Ge(this),t=i.size!==0,e=i.clear();return t&&Xt(i,"clear",void 0,void 0),e}function Ii(i,t){return function(s,r){const n=this,a=n.__v_raw,o=Ge(a),l=t?_n:i?Fn:mi;return!i&&xt(o,"iterate",Ls),a.forEach((h,u)=>s.call(r,l(h),l(u),n))}}function Ni(i,t,e){return function(...s){const r=this.__v_raw,n=Ge(r),a=Rs(n),o=i==="entries"||i===Symbol.iterator&&a,l=i==="keys"&&a,h=r[i](...s),u=e?_n:t?Fn:mi;return!t&&xt(n,"iterate",l?sn:Ls),{next(){const{value:x,done:P}=h.next();return P?{value:x,done:P}:{value:o?[u(x[0]),u(x[1])]:u(x),done:P}},[Symbol.iterator](){return this}}}}function ts(i){return function(...t){return i==="delete"?!1:i==="clear"?void 0:this}}function Jc(){const i={get(n){return ki(this,n)},get size(){return vi(this)},has:Li,add:ba,set:xa,delete:Sa,clear:Pa,forEach:Ii(!1,!1)},t={get(n){return ki(this,n,!1,!0)},get size(){return vi(this)},has:Li,add:ba,set:xa,delete:Sa,clear:Pa,forEach:Ii(!1,!0)},e={get(n){return ki(this,n,!0)},get size(){return vi(this,!0)},has(n){return Li.call(this,n,!0)},add:ts("add"),set:ts("set"),delete:ts("delete"),clear:ts("clear"),forEach:Ii(!0,!1)},s={get(n){return ki(this,n,!0,!0)},get size(){return vi(this,!0)},has(n){return Li.call(this,n,!0)},add:ts("add"),set:ts("set"),delete:ts("delete"),clear:ts("clear"),forEach:Ii(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(n=>{i[n]=Ni(n,!1,!1),e[n]=Ni(n,!0,!1),t[n]=Ni(n,!1,!0),s[n]=Ni(n,!0,!0)}),[i,e,t,s]}const[Xc,Yc,Zc,Qc]=Jc();function Mn(i,t){const e=t?i?Qc:Zc:i?Yc:Xc;return(s,r,n)=>r==="__v_isReactive"?!i:r==="__v_isReadonly"?i:r==="__v_raw"?s:Reflect.get(Ue(e,r)&&r in s?e:s,r,n)}const eu={get:Mn(!1,!1)},tu={get:Mn(!1,!0)},su={get:Mn(!0,!1)},Wo=new WeakMap,Ko=new WeakMap,qo=new WeakMap,iu=new WeakMap;function ru(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function nu(i){return i.__v_skip||!Object.isExtensible(i)?0:ru(Lc(i))}function dr(i){return Hs(i)?i:On(i,!1,Kc,eu,Wo)}function au(i){return On(i,!1,zc,tu,Ko)}function zo(i){return On(i,!0,qc,su,qo)}function On(i,t,e,s,r){if(!Xe(i)||i.__v_raw&&!(t&&i.__v_isReactive))return i;const n=r.get(i);if(n)return n;const a=nu(i);if(a===0)return i;const o=new Proxy(i,a===2?s:e);return r.set(i,o),o}function $s(i){return Hs(i)?$s(i.__v_raw):!!(i&&i.__v_isReactive)}function Hs(i){return!!(i&&i.__v_isReadonly)}function Yi(i){return!!(i&&i.__v_isShallow)}function Jo(i){return $s(i)||Hs(i)}function Ge(i){const t=i&&i.__v_raw;return t?Ge(t):i}function Xo(i){return Xi(i,"__v_skip",!0),i}const mi=i=>Xe(i)?dr(i):i,Fn=i=>Xe(i)?zo(i):i;class Yo{constructor(t,e,s,r){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new vn(()=>t(this._value),()=>$i(this,1),()=>this.dep&&jo(this.dep)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=Ge(this);return(!t._cacheable||t.effect.dirty)&&ys(t._value,t._value=t.effect.run())&&$i(t,2),Zo(t),t.effect._dirtyLevel>=1&&$i(t,1),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function ou(i,t,e=!1){let s,r;const n=Oe(i);return n?(s=i,r=Et):(s=i.get,r=i.set),new Yo(s,r,n||!r,e)}function Zo(i){hs&&ks&&(i=Ge(i),Ro(ks,i.dep||(i.dep=Uo(()=>i.dep=void 0,i instanceof Yo?i:void 0))))}function $i(i,t=2,e){i=Ge(i);const s=i.dep;s&&$o(s,t)}function St(i){return!!(i&&i.__v_isRef===!0)}function Es(i){return lu(i,!1)}function lu(i,t){return St(i)?i:new cu(i,t)}class cu{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:Ge(t),this._value=e?t:mi(t)}get value(){return Zo(this),this._value}set value(t){const e=this.__v_isShallow||Yi(t)||Hs(t);t=e?t:Ge(t),ys(t,this._rawValue)&&(this._rawValue=t,this._value=e?t:mi(t),$i(this,2))}}function ji(i){return St(i)?i.value:i}const uu={get:(i,t,e)=>ji(Reflect.get(i,t,e)),set:(i,t,e,s)=>{const r=i[t];return St(r)&&!St(e)?(r.value=e,!0):Reflect.set(i,t,e,s)}};function Qo(i){return $s(i)?i:new Proxy(i,uu)}/** -* @vue/runtime-core v3.4.15 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function ps(i,t,e,s){let r;try{r=s?i(...s):i()}catch(n){mr(n,t,e)}return r}function It(i,t,e,s){if(Oe(i)){const n=ps(i,t,e,s);return n&&Io(n)&&n.catch(a=>{mr(a,t,e)}),n}const r=[];for(let n=0;n>>1,r=ct[s],n=gi(r);nDt&&ct.splice(t,1)}function mu(i){Ie(i)?js.push(...i):(!os||!os.includes(i,i.allowRecurse?As+1:As))&&js.push(i),tl()}function Ea(i,t,e=yi?Dt+1:0){for(;egi(e)-gi(s));if(js.length=0,os){os.push(...t);return}for(os=t,As=0;Asi.id==null?1/0:i.id,yu=(i,t)=>{const e=gi(i)-gi(t);if(e===0){if(i.pre&&!t.pre)return-1;if(t.pre&&!i.pre)return 1}return e};function il(i){rn=!1,yi=!0,ct.sort(yu);const t=Et;try{for(Dt=0;Dtit(I)?I.trim():I)),x&&(r=e.map(Zr))}let o,l=s[o=Mr(t)]||s[o=Mr(Bt(t))];!l&&n&&(l=s[o=Mr(qs(t))]),l&&It(l,i,6,r);const h=s[o+"Once"];if(h){if(!i.emitted)i.emitted={};else if(i.emitted[o])return;i.emitted[o]=!0,It(h,i,6,r)}}function rl(i,t,e=!1){const s=t.emitsCache,r=s.get(i);if(r!==void 0)return r;const n=i.emits;let a={},o=!1;if(!Oe(i)){const l=h=>{const u=rl(h,t,!0);u&&(o=!0,ot(a,u))};!e&&t.mixins.length&&t.mixins.forEach(l),i.extends&&l(i.extends),i.mixins&&i.mixins.forEach(l)}return!n&&!o?(Xe(i)&&s.set(i,null),null):(Ie(n)?n.forEach(l=>a[l]=null):ot(a,n),Xe(i)&&s.set(i,a),a)}function yr(i,t){return!i||!lr(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ue(i,t[0].toLowerCase()+t.slice(1))||Ue(i,qs(t))||Ue(i,t))}let bt=null,nl=null;function Zi(i){const t=bt;return bt=i,nl=i&&i.type.__scopeId||null,t}function Tu(i,t=bt,e){if(!t||i._n)return i;const s=(...r)=>{s._d&&Oa(-1);const n=Zi(t);let a;try{a=i(...r)}finally{Zi(n),s._d&&Oa(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function Fr(i){const{type:t,vnode:e,proxy:s,withProxy:r,props:n,propsOptions:[a],slots:o,attrs:l,emit:h,render:u,renderCache:x,data:P,setupState:I,ctx:A,inheritAttrs:G}=i;let B,$;const V=Zi(i);try{if(e.shapeFlag&4){const Z=r||s,L=Z;B=Ft(u.call(L,Z,x,n,I,P,A)),$=l}else{const Z=t;B=Ft(Z.length>1?Z(n,{attrs:l,slots:o,emit:h}):Z(n,null)),$=t.props?l:bu(l)}}catch(Z){ci.length=0,mr(Z,i,1),B=at(Is)}let ee=B;if($&&G!==!1){const Z=Object.keys($),{shapeFlag:L}=ee;Z.length&&L&7&&(a&&Z.some(An)&&($=xu($,a)),ee=Gs(ee,$))}return e.dirs&&(ee=Gs(ee),ee.dirs=ee.dirs?ee.dirs.concat(e.dirs):e.dirs),e.transition&&(ee.transition=e.transition),B=ee,Zi(V),B}const bu=i=>{let t;for(const e in i)(e==="class"||e==="style"||lr(e))&&((t||(t={}))[e]=i[e]);return t},xu=(i,t)=>{const e={};for(const s in i)(!An(s)||!(s.slice(9)in t))&&(e[s]=i[s]);return e};function Su(i,t,e){const{props:s,children:r,component:n}=i,{props:a,children:o,patchFlag:l}=t,h=n.emitsOptions;if(t.dirs||t.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return s?Aa(s,a,h):!!a;if(l&8){const u=t.dynamicProps;for(let x=0;xi.__isSuspense;function ku(i,t){t&&t.pendingBranch?Ie(i)?t.effects.push(...i):t.effects.push(i):mu(i)}const Lu=Symbol.for("v-scx"),vu=()=>Vi(Lu),_i={};function oi(i,t,e){return ol(i,t,e)}function ol(i,t,{immediate:e,deep:s,flush:r,once:n,onTrack:a,onTrigger:o}=Ze){if(t&&n){const oe=t;t=(...Fe)=>{oe(...Fe),L()}}const l=ut,h=oe=>s===!0?oe:ws(oe,s===!1?1:void 0);let u,x=!1,P=!1;if(St(i)?(u=()=>i.value,x=Yi(i)):$s(i)?(u=()=>h(i),x=!0):Ie(i)?(P=!0,x=i.some(oe=>$s(oe)||Yi(oe)),u=()=>i.map(oe=>{if(St(oe))return oe.value;if($s(oe))return h(oe);if(Oe(oe))return ps(oe,l,2)})):Oe(i)?t?u=()=>ps(i,l,2):u=()=>(I&&I(),It(i,l,3,[A])):u=Et,t&&s){const oe=u;u=()=>ws(oe())}let I,A=oe=>{I=ee.onStop=()=>{ps(oe,l,4),I=ee.onStop=void 0}},G;if(xr)if(A=Et,t?e&&It(t,l,3,[u(),P?[]:void 0,A]):u(),r==="sync"){const oe=vu();G=oe.__watcherHandles||(oe.__watcherHandles=[])}else return Et;let B=P?new Array(i.length).fill(_i):_i;const $=()=>{if(!(!ee.active||!ee.dirty))if(t){const oe=ee.run();(s||x||(P?oe.some((Fe,g)=>ys(Fe,B[g])):ys(oe,B)))&&(I&&I(),It(t,l,3,[oe,B===_i?void 0:P&&B[0]===_i?[]:B,A]),B=oe)}else ee.run()};$.allowRecurse=!!t;let V;r==="sync"?V=$:r==="post"?V=()=>Tt($,l&&l.suspense):($.pre=!0,l&&($.id=l.uid),V=()=>Bn($));const ee=new vn(u,Et,V),Z=jc(),L=()=>{ee.stop(),Z&&Cn(Z.effects,ee)};return t?e?$():B=ee.run():r==="post"?Tt(ee.run.bind(ee),l&&l.suspense):ee.run(),G&&G.push(L),L}function Iu(i,t,e){const s=this.proxy,r=it(i)?i.includes(".")?ll(s,i):()=>s[i]:i.bind(s,s);let n;Oe(t)?n=t:(n=t.handler,e=t);const a=Ai(this),o=ol(r,n.bind(s),e);return a(),o}function ll(i,t){const e=t.split(".");return()=>{let s=i;for(let r=0;r0){if(e>=t)return i;e++}if(s=s||new Set,s.has(i))return i;if(s.add(i),St(i))ws(i.value,t,e,s);else if(Ie(i))for(let r=0;r{ws(r,t,e,s)});else if(_o(i))for(const r in i)ws(i[r],t,e,s);return i}function Xs(i,t){if(bt===null)return i;const e=Sr(bt)||bt.proxy,s=i.dirs||(i.dirs=[]);for(let r=0;rot({name:i.name},t,{setup:i}))():i}const Ui=i=>!!i.type.__asyncLoader,cl=i=>i.type.__isKeepAlive;function _u(i,t){ul(i,"a",t)}function Mu(i,t){ul(i,"da",t)}function ul(i,t,e=ut){const s=i.__wdc||(i.__wdc=()=>{let r=e;for(;r;){if(r.isDeactivated)return;r=r.parent}return i()});if(gr(t,s,e),e){let r=e.parent;for(;r&&r.parent;)cl(r.parent.vnode)&&Ou(s,t,e,r),r=r.parent}}function Ou(i,t,e,s){const r=gr(t,i,s,!0);hl(()=>{Cn(s[t],r)},e)}function gr(i,t,e=ut,s=!1){if(e){const r=e[i]||(e[i]=[]),n=t.__weh||(t.__weh=(...a)=>{if(e.isUnmounted)return;Ns();const o=Ai(e),l=It(t,e,i,a);return o(),_s(),l});return s?r.unshift(n):r.push(n),n}}const Zt=i=>(t,e=ut)=>(!xr||i==="sp")&&gr(i,(...s)=>t(...s),e),Fu=Zt("bm"),Du=Zt("m"),Bu=Zt("bu"),Ru=Zt("u"),$u=Zt("bum"),hl=Zt("um"),ju=Zt("sp"),Uu=Zt("rtg"),Vu=Zt("rtc");function Hu(i,t=ut){gr("ec",i,t)}function Dr(i,t,e,s){let r;const n=e&&e[s];if(Ie(i)||it(i)){r=new Array(i.length);for(let a=0,o=i.length;at(a,o,void 0,n&&n[o]));else{const a=Object.keys(i);r=new Array(a.length);for(let o=0,l=a.length;oi?El(i)?Sr(i)||i.proxy:nn(i.parent):null,li=ot(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>nn(i.parent),$root:i=>nn(i.root),$emit:i=>i.emit,$options:i=>Rn(i),$forceUpdate:i=>i.f||(i.f=()=>{i.effect.dirty=!0,Bn(i.update)}),$nextTick:i=>i.n||(i.n=pu.bind(i.proxy)),$watch:i=>Iu.bind(i)}),Br=(i,t)=>i!==Ze&&!i.__isScriptSetup&&Ue(i,t),Gu={get({_:i},t){const{ctx:e,setupState:s,data:r,props:n,accessCache:a,type:o,appContext:l}=i;let h;if(t[0]!=="$"){const I=a[t];if(I!==void 0)switch(I){case 1:return s[t];case 2:return r[t];case 4:return e[t];case 3:return n[t]}else{if(Br(s,t))return a[t]=1,s[t];if(r!==Ze&&Ue(r,t))return a[t]=2,r[t];if((h=i.propsOptions[0])&&Ue(h,t))return a[t]=3,n[t];if(e!==Ze&&Ue(e,t))return a[t]=4,e[t];an&&(a[t]=0)}}const u=li[t];let x,P;if(u)return t==="$attrs"&&xt(i,"get",t),u(i);if((x=o.__cssModules)&&(x=x[t]))return x;if(e!==Ze&&Ue(e,t))return a[t]=4,e[t];if(P=l.config.globalProperties,Ue(P,t))return P[t]},set({_:i},t,e){const{data:s,setupState:r,ctx:n}=i;return Br(r,t)?(r[t]=e,!0):s!==Ze&&Ue(s,t)?(s[t]=e,!0):Ue(i.props,t)||t[0]==="$"&&t.slice(1)in i?!1:(n[t]=e,!0)},has({_:{data:i,setupState:t,accessCache:e,ctx:s,appContext:r,propsOptions:n}},a){let o;return!!e[a]||i!==Ze&&Ue(i,a)||Br(t,a)||(o=n[0])&&Ue(o,a)||Ue(s,a)||Ue(li,a)||Ue(r.config.globalProperties,a)},defineProperty(i,t,e){return e.get!=null?i._.accessCache[t]=0:Ue(e,"value")&&this.set(i,t,e.value,null),Reflect.defineProperty(i,t,e)}};function wa(i){return Ie(i)?i.reduce((t,e)=>(t[e]=null,t),{}):i}let an=!0;function Wu(i){const t=Rn(i),e=i.proxy,s=i.ctx;an=!1,t.beforeCreate&&ka(t.beforeCreate,i,"bc");const{data:r,computed:n,methods:a,watch:o,provide:l,inject:h,created:u,beforeMount:x,mounted:P,beforeUpdate:I,updated:A,activated:G,deactivated:B,beforeDestroy:$,beforeUnmount:V,destroyed:ee,unmounted:Z,render:L,renderTracked:oe,renderTriggered:Fe,errorCaptured:g,serverPrefetch:fe,expose:me,inheritAttrs:b,components:k,directives:ne,filters:se}=t;if(h&&Ku(h,s,null),a)for(const E in a){const F=a[E];Oe(F)&&(s[E]=F.bind(e))}if(r){const E=r.call(e,e);Xe(E)&&(i.data=dr(E))}if(an=!0,n)for(const E in n){const F=n[E],le=Oe(F)?F.bind(e,e):Oe(F.get)?F.get.bind(e,e):Et,be=!Oe(F)&&Oe(F.set)?F.set.bind(e):Et,ke=Kt({get:le,set:be});Object.defineProperty(s,E,{enumerable:!0,configurable:!0,get:()=>ke.value,set:Ee=>ke.value=Ee})}if(o)for(const E in o)pl(o[E],s,e,E);if(l){const E=Oe(l)?l.call(e):l;Reflect.ownKeys(E).forEach(F=>{Zu(F,E[F])})}u&&ka(u,i,"c");function O(E,F){Ie(F)?F.forEach(le=>E(le.bind(e))):F&&E(F.bind(e))}if(O(Fu,x),O(Du,P),O(Bu,I),O(Ru,A),O(_u,G),O(Mu,B),O(Hu,g),O(Vu,oe),O(Uu,Fe),O($u,V),O(hl,Z),O(ju,fe),Ie(me))if(me.length){const E=i.exposed||(i.exposed={});me.forEach(F=>{Object.defineProperty(E,F,{get:()=>e[F],set:le=>e[F]=le})})}else i.exposed||(i.exposed={});L&&i.render===Et&&(i.render=L),b!=null&&(i.inheritAttrs=b),k&&(i.components=k),ne&&(i.directives=ne)}function Ku(i,t,e=Et){Ie(i)&&(i=on(i));for(const s in i){const r=i[s];let n;Xe(r)?"default"in r?n=Vi(r.from||s,r.default,!0):n=Vi(r.from||s):n=Vi(r),St(n)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>n.value,set:a=>n.value=a}):t[s]=n}}function ka(i,t,e){It(Ie(i)?i.map(s=>s.bind(t.proxy)):i.bind(t.proxy),t,e)}function pl(i,t,e,s){const r=s.includes(".")?ll(e,s):()=>e[s];if(it(i)){const n=t[i];Oe(n)&&oi(r,n)}else if(Oe(i))oi(r,i.bind(e));else if(Xe(i))if(Ie(i))i.forEach(n=>pl(n,t,e,s));else{const n=Oe(i.handler)?i.handler.bind(e):t[i.handler];Oe(n)&&oi(r,n,i)}}function Rn(i){const t=i.type,{mixins:e,extends:s}=t,{mixins:r,optionsCache:n,config:{optionMergeStrategies:a}}=i.appContext,o=n.get(t);let l;return o?l=o:!r.length&&!e&&!s?l=t:(l={},r.length&&r.forEach(h=>Qi(l,h,a,!0)),Qi(l,t,a)),Xe(t)&&n.set(t,l),l}function Qi(i,t,e,s=!1){const{mixins:r,extends:n}=t;n&&Qi(i,n,e,!0),r&&r.forEach(a=>Qi(i,a,e,!0));for(const a in t)if(!(s&&a==="expose")){const o=qu[a]||e&&e[a];i[a]=o?o(i[a],t[a]):t[a]}return i}const qu={data:La,props:va,emits:va,methods:ii,computed:ii,beforeCreate:mt,created:mt,beforeMount:mt,mounted:mt,beforeUpdate:mt,updated:mt,beforeDestroy:mt,beforeUnmount:mt,destroyed:mt,unmounted:mt,activated:mt,deactivated:mt,errorCaptured:mt,serverPrefetch:mt,components:ii,directives:ii,watch:Ju,provide:La,inject:zu};function La(i,t){return t?i?function(){return ot(Oe(i)?i.call(this,this):i,Oe(t)?t.call(this,this):t)}:t:i}function zu(i,t){return ii(on(i),on(t))}function on(i){if(Ie(i)){const t={};for(let e=0;e1)return e&&Oe(t)?t.call(s&&s.proxy):t}}function Qu(i,t,e,s=!1){const r={},n={};Xi(n,br,1),i.propsDefaults=Object.create(null),dl(i,t,r,n);for(const a in i.propsOptions[0])a in r||(r[a]=void 0);e?i.props=s?r:au(r):i.type.props?i.props=r:i.props=n,i.attrs=n}function eh(i,t,e,s){const{props:r,attrs:n,vnode:{patchFlag:a}}=i,o=Ge(r),[l]=i.propsOptions;let h=!1;if((s||a>0)&&!(a&16)){if(a&8){const u=i.vnode.dynamicProps;for(let x=0;x{l=!0;const[P,I]=ml(x,t,!0);ot(a,P),I&&o.push(...I)};!e&&t.mixins.length&&t.mixins.forEach(u),i.extends&&u(i.extends),i.mixins&&i.mixins.forEach(u)}if(!n&&!l)return Xe(i)&&s.set(i,Bs),Bs;if(Ie(n))for(let u=0;u-1,I[1]=G<0||A-1||Ue(I,"default"))&&o.push(x)}}}const h=[a,o];return Xe(i)&&s.set(i,h),h}function Ia(i){return i[0]!=="$"}function Na(i){const t=i&&i.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:i===null?"null":""}function _a(i,t){return Na(i)===Na(t)}function Ma(i,t){return Ie(t)?t.findIndex(e=>_a(e,i)):Oe(t)&&_a(t,i)?0:-1}const yl=i=>i[0]==="_"||i==="$stable",$n=i=>Ie(i)?i.map(Ft):[Ft(i)],th=(i,t,e)=>{if(t._n)return t;const s=Tu((...r)=>$n(t(...r)),e);return s._c=!1,s},gl=(i,t,e)=>{const s=i._ctx;for(const r in i){if(yl(r))continue;const n=i[r];if(Oe(n))t[r]=th(r,n,s);else if(n!=null){const a=$n(n);t[r]=()=>a}}},Tl=(i,t)=>{const e=$n(t);i.slots.default=()=>e},sh=(i,t)=>{if(i.vnode.shapeFlag&32){const e=t._;e?(i.slots=Ge(t),Xi(t,"_",e)):gl(t,i.slots={})}else i.slots={},t&&Tl(i,t);Xi(i.slots,br,1)},ih=(i,t,e)=>{const{vnode:s,slots:r}=i;let n=!0,a=Ze;if(s.shapeFlag&32){const o=t._;o?e&&o===1?n=!1:(ot(r,t),!e&&o===1&&delete r._):(n=!t.$stable,gl(t,r)),a=t}else t&&(Tl(i,t),a={default:1});if(n)for(const o in r)!yl(o)&&a[o]==null&&delete r[o]};function cn(i,t,e,s,r=!1){if(Ie(i)){i.forEach((P,I)=>cn(P,t&&(Ie(t)?t[I]:t),e,s,r));return}if(Ui(s)&&!r)return;const n=s.shapeFlag&4?Sr(s.component)||s.component.proxy:s.el,a=r?null:n,{i:o,r:l}=i,h=t&&t.r,u=o.refs===Ze?o.refs={}:o.refs,x=o.setupState;if(h!=null&&h!==l&&(it(h)?(u[h]=null,Ue(x,h)&&(x[h]=null)):St(h)&&(h.value=null)),Oe(l))ps(l,o,12,[a,u]);else{const P=it(l),I=St(l),A=i.f;if(P||I){const G=()=>{if(A){const B=P?Ue(x,l)?x[l]:u[l]:l.value;r?Ie(B)&&Cn(B,n):Ie(B)?B.includes(n)||B.push(n):P?(u[l]=[n],Ue(x,l)&&(x[l]=u[l])):(l.value=[n],i.k&&(u[i.k]=l.value))}else P?(u[l]=a,Ue(x,l)&&(x[l]=a)):I&&(l.value=a,i.k&&(u[i.k]=a))};r||A?G():(G.id=-1,Tt(G,e))}}}function rh(){typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__!="boolean"&&(kn().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1)}const Tt=ku;function nh(i){return ah(i)}function ah(i,t){rh();const e=kn();e.__VUE__=!0;const{insert:s,remove:r,patchProp:n,createElement:a,createText:o,createComment:l,setText:h,setElementText:u,parentNode:x,nextSibling:P,setScopeId:I=Et,insertStaticContent:A}=i,G=(d,T,c,f=null,y=null,S=null,C=void 0,K=null,z=!!T.dynamicChildren)=>{if(d===T)return;d&&!Ys(d,T)&&(f=U(d),Ee(d,y,S,!0),d=null),T.patchFlag===-2&&(z=!1,T.dynamicChildren=null);const{type:q,ref:de,shapeFlag:pe}=T;switch(q){case Tr:B(d,T,c,f);break;case Is:$(d,T,c,f);break;case $r:d==null&&V(T,c,f,C);break;case Pt:k(d,T,c,f,y,S,C,K,z);break;default:pe&1?L(d,T,c,f,y,S,C,K,z):pe&6?ne(d,T,c,f,y,S,C,K,z):(pe&64||pe&128)&&q.process(d,T,c,f,y,S,C,K,z,j)}de!=null&&y&&cn(de,d&&d.ref,S,T||d,!T)},B=(d,T,c,f)=>{if(d==null)s(T.el=o(T.children),c,f);else{const y=T.el=d.el;T.children!==d.children&&h(y,T.children)}},$=(d,T,c,f)=>{d==null?s(T.el=l(T.children||""),c,f):T.el=d.el},V=(d,T,c,f)=>{[d.el,d.anchor]=A(d.children,T,c,f,d.el,d.anchor)},ee=({el:d,anchor:T},c,f)=>{let y;for(;d&&d!==T;)y=P(d),s(d,c,f),d=y;s(T,c,f)},Z=({el:d,anchor:T})=>{let c;for(;d&&d!==T;)c=P(d),r(d),d=c;r(T)},L=(d,T,c,f,y,S,C,K,z)=>{T.type==="svg"?C="svg":T.type==="math"&&(C="mathml"),d==null?oe(T,c,f,y,S,C,K,z):fe(d,T,y,S,C,K,z)},oe=(d,T,c,f,y,S,C,K)=>{let z,q;const{props:de,shapeFlag:pe,transition:ae,dirs:xe}=d;if(z=d.el=a(d.type,S,de&&de.is,de),pe&8?u(z,d.children):pe&16&&g(d.children,z,null,f,y,Rr(d,S),C,K),xe&&bs(d,null,f,"created"),Fe(z,d,d.scopeId,C,f),de){for(const he in de)he!=="value"&&!Bi(he)&&n(z,he,null,de[he],S,d.children,f,y,N);"value"in de&&n(z,"value",null,de.value,S),(q=de.onVnodeBeforeMount)&&Mt(q,f,d)}xe&&bs(d,null,f,"beforeMount");const te=oh(y,ae);te&&ae.beforeEnter(z),s(z,T,c),((q=de&&de.onVnodeMounted)||te||xe)&&Tt(()=>{q&&Mt(q,f,d),te&&ae.enter(z),xe&&bs(d,null,f,"mounted")},y)},Fe=(d,T,c,f,y)=>{if(c&&I(d,c),f)for(let S=0;S{for(let q=z;q{const K=T.el=d.el;let{patchFlag:z,dynamicChildren:q,dirs:de}=T;z|=d.patchFlag&16;const pe=d.props||Ze,ae=T.props||Ze;let xe;if(c&&xs(c,!1),(xe=ae.onVnodeBeforeUpdate)&&Mt(xe,c,T,d),de&&bs(T,d,c,"beforeUpdate"),c&&xs(c,!0),q?me(d.dynamicChildren,q,K,c,f,Rr(T,y),S):C||F(d,T,K,null,c,f,Rr(T,y),S,!1),z>0){if(z&16)b(K,T,pe,ae,c,f,y);else if(z&2&&pe.class!==ae.class&&n(K,"class",null,ae.class,y),z&4&&n(K,"style",pe.style,ae.style,y),z&8){const te=T.dynamicProps;for(let he=0;he{xe&&Mt(xe,c,T,d),de&&bs(T,d,c,"updated")},f)},me=(d,T,c,f,y,S,C)=>{for(let K=0;K{if(c!==f){if(c!==Ze)for(const K in c)!Bi(K)&&!(K in f)&&n(d,K,c[K],null,C,T.children,y,S,N);for(const K in f){if(Bi(K))continue;const z=f[K],q=c[K];z!==q&&K!=="value"&&n(d,K,q,z,C,T.children,y,S,N)}"value"in f&&n(d,"value",c.value,f.value,C)}},k=(d,T,c,f,y,S,C,K,z)=>{const q=T.el=d?d.el:o(""),de=T.anchor=d?d.anchor:o("");let{patchFlag:pe,dynamicChildren:ae,slotScopeIds:xe}=T;xe&&(K=K?K.concat(xe):xe),d==null?(s(q,c,f),s(de,c,f),g(T.children||[],c,de,y,S,C,K,z)):pe>0&&pe&64&&ae&&d.dynamicChildren?(me(d.dynamicChildren,ae,c,y,S,C,K),(T.key!=null||y&&T===y.subTree)&&bl(d,T,!0)):F(d,T,c,de,y,S,C,K,z)},ne=(d,T,c,f,y,S,C,K,z)=>{T.slotScopeIds=K,d==null?T.shapeFlag&512?y.ctx.activate(T,c,f,C,z):se(T,c,f,y,S,C,z):D(d,T,z)},se=(d,T,c,f,y,S,C)=>{const K=d.component=Th(d,f,y);if(cl(d)&&(K.ctx.renderer=j),bh(K),K.asyncDep){if(y&&y.registerDep(K,O),!d.el){const z=K.subTree=at(Is);$(null,z,T,c)}}else O(K,d,T,c,y,S,C)},D=(d,T,c)=>{const f=T.component=d.component;if(Su(d,T,c))if(f.asyncDep&&!f.asyncResolved){E(f,T,c);return}else f.next=T,du(f.update),f.effect.dirty=!0,f.update();else T.el=d.el,f.vnode=T},O=(d,T,c,f,y,S,C)=>{const K=()=>{if(d.isMounted){let{next:de,bu:pe,u:ae,parent:xe,vnode:te}=d;{const We=xl(d);if(We){de&&(de.el=te.el,E(d,de,C)),We.asyncDep.then(()=>{d.isUnmounted||K()});return}}let he=de,Se;xs(d,!1),de?(de.el=te.el,E(d,de,C)):de=te,pe&&Ri(pe),(Se=de.props&&de.props.onVnodeBeforeUpdate)&&Mt(Se,xe,de,te),xs(d,!0);const Le=Fr(d),Me=d.subTree;d.subTree=Le,G(Me,Le,x(Me.el),U(Me),d,y,S),de.el=Le.el,he===null&&Pu(d,Le.el),ae&&Tt(ae,y),(Se=de.props&&de.props.onVnodeUpdated)&&Tt(()=>Mt(Se,xe,de,te),y)}else{let de;const{el:pe,props:ae}=T,{bm:xe,m:te,parent:he}=d,Se=Ui(T);if(xs(d,!1),xe&&Ri(xe),!Se&&(de=ae&&ae.onVnodeBeforeMount)&&Mt(de,he,T),xs(d,!0),pe&&M){const Le=()=>{d.subTree=Fr(d),M(pe,d.subTree,d,y,null)};Se?T.type.__asyncLoader().then(()=>!d.isUnmounted&&Le()):Le()}else{const Le=d.subTree=Fr(d);G(null,Le,c,f,d,y,S),T.el=Le.el}if(te&&Tt(te,y),!Se&&(de=ae&&ae.onVnodeMounted)){const Le=T;Tt(()=>Mt(de,he,Le),y)}(T.shapeFlag&256||he&&Ui(he.vnode)&&he.vnode.shapeFlag&256)&&d.a&&Tt(d.a,y),d.isMounted=!0,T=c=f=null}},z=d.effect=new vn(K,Et,()=>Bn(q),d.scope),q=d.update=()=>{z.dirty&&z.run()};q.id=d.uid,xs(d,!0),q()},E=(d,T,c)=>{T.component=d;const f=d.vnode.props;d.vnode=T,d.next=null,eh(d,T.props,f,c),ih(d,T.children,c),Ns(),Ea(d),_s()},F=(d,T,c,f,y,S,C,K,z=!1)=>{const q=d&&d.children,de=d?d.shapeFlag:0,pe=T.children,{patchFlag:ae,shapeFlag:xe}=T;if(ae>0){if(ae&128){be(q,pe,c,f,y,S,C,K,z);return}else if(ae&256){le(q,pe,c,f,y,S,C,K,z);return}}xe&8?(de&16&&N(q,y,S),pe!==q&&u(c,pe)):de&16?xe&16?be(q,pe,c,f,y,S,C,K,z):N(q,y,S,!0):(de&8&&u(c,""),xe&16&&g(pe,c,f,y,S,C,K,z))},le=(d,T,c,f,y,S,C,K,z)=>{d=d||Bs,T=T||Bs;const q=d.length,de=T.length,pe=Math.min(q,de);let ae;for(ae=0;aede?N(d,y,S,!0,!1,pe):g(T,c,f,y,S,C,K,z,pe)},be=(d,T,c,f,y,S,C,K,z)=>{let q=0;const de=T.length;let pe=d.length-1,ae=de-1;for(;q<=pe&&q<=ae;){const xe=d[q],te=T[q]=z?ls(T[q]):Ft(T[q]);if(Ys(xe,te))G(xe,te,c,null,y,S,C,K,z);else break;q++}for(;q<=pe&&q<=ae;){const xe=d[pe],te=T[ae]=z?ls(T[ae]):Ft(T[ae]);if(Ys(xe,te))G(xe,te,c,null,y,S,C,K,z);else break;pe--,ae--}if(q>pe){if(q<=ae){const xe=ae+1,te=xeae)for(;q<=pe;)Ee(d[q],y,S,!0),q++;else{const xe=q,te=q,he=new Map;for(q=te;q<=ae;q++){const rt=T[q]=z?ls(T[q]):Ft(T[q]);rt.key!=null&&he.set(rt.key,q)}let Se,Le=0;const Me=ae-te+1;let We=!1,Nt=0;const ht=new Array(Me);for(q=0;q=Me){Ee(rt,y,S,!0);continue}let Ye;if(rt.key!=null)Ye=he.get(rt.key);else for(Se=te;Se<=ae;Se++)if(ht[Se-te]===0&&Ys(rt,T[Se])){Ye=Se;break}Ye===void 0?Ee(rt,y,S,!0):(ht[Ye-te]=q+1,Ye>=Nt?Nt=Ye:We=!0,G(rt,T[Ye],c,null,y,S,C,K,z),Le++)}const $t=We?lh(ht):Bs;for(Se=$t.length-1,q=Me-1;q>=0;q--){const rt=te+q,Ye=T[rt],X=rt+1{const{el:S,type:C,transition:K,children:z,shapeFlag:q}=d;if(q&6){ke(d.component.subTree,T,c,f);return}if(q&128){d.suspense.move(T,c,f);return}if(q&64){C.move(d,T,c,j);return}if(C===Pt){s(S,T,c);for(let pe=0;peK.enter(S),y);else{const{leave:pe,delayLeave:ae,afterLeave:xe}=K,te=()=>s(S,T,c),he=()=>{pe(S,()=>{te(),xe&&xe()})};ae?ae(S,te,he):he()}else s(S,T,c)},Ee=(d,T,c,f=!1,y=!1)=>{const{type:S,props:C,ref:K,children:z,dynamicChildren:q,shapeFlag:de,patchFlag:pe,dirs:ae}=d;if(K!=null&&cn(K,null,c,d,!0),de&256){T.ctx.deactivate(d);return}const xe=de&1&&ae,te=!Ui(d);let he;if(te&&(he=C&&C.onVnodeBeforeUnmount)&&Mt(he,T,d),de&6)_(d.component,c,f);else{if(de&128){d.suspense.unmount(c,f);return}xe&&bs(d,null,T,"beforeUnmount"),de&64?d.type.remove(d,T,c,y,j,f):q&&(S!==Pt||pe>0&&pe&64)?N(q,T,c,!1,!0):(S===Pt&&pe&384||!y&&de&16)&&N(z,T,c),f&&re(d)}(te&&(he=C&&C.onVnodeUnmounted)||xe)&&Tt(()=>{he&&Mt(he,T,d),xe&&bs(d,null,T,"unmounted")},c)},re=d=>{const{type:T,el:c,anchor:f,transition:y}=d;if(T===Pt){W(c,f);return}if(T===$r){Z(d);return}const S=()=>{r(c),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(d.shapeFlag&1&&y&&!y.persisted){const{leave:C,delayLeave:K}=y,z=()=>C(c,S);K?K(d.el,S,z):z()}else S()},W=(d,T)=>{let c;for(;d!==T;)c=P(d),r(d),d=c;r(T)},_=(d,T,c)=>{const{bum:f,scope:y,update:S,subTree:C,um:K}=d;f&&Ri(f),y.stop(),S&&(S.active=!1,Ee(C,d,T,c)),K&&Tt(K,T),Tt(()=>{d.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},N=(d,T,c,f=!1,y=!1,S=0)=>{for(let C=S;Cd.shapeFlag&6?U(d.component.subTree):d.shapeFlag&128?d.suspense.next():P(d.anchor||d.el);let H=!1;const p=(d,T,c)=>{d==null?T._vnode&&Ee(T._vnode,null,null,!0):G(T._vnode||null,d,T,null,null,null,c),H||(H=!0,Ea(),sl(),H=!1),T._vnode=d},j={p:G,um:Ee,m:ke,r:re,mt:se,mc:g,pc:F,pbc:me,n:U,o:i};let R,M;return t&&([R,M]=t(j)),{render:p,hydrate:R,createApp:Yu(p,R)}}function Rr({type:i,props:t},e){return e==="svg"&&i==="foreignObject"||e==="mathml"&&i==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:e}function xs({effect:i,update:t},e){i.allowRecurse=t.allowRecurse=e}function oh(i,t){return(!i||i&&!i.pendingBranch)&&t&&!t.persisted}function bl(i,t,e=!1){const s=i.children,r=t.children;if(Ie(s)&&Ie(r))for(let n=0;n>1,i[e[o]]0&&(t[s]=e[n-1]),e[n]=s)}}for(n=e.length,a=e[n-1];n-- >0;)e[n]=a,a=t[a];return e}function xl(i){const t=i.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:xl(t)}const ch=i=>i.__isTeleport,Pt=Symbol.for("v-fgt"),Tr=Symbol.for("v-txt"),Is=Symbol.for("v-cmt"),$r=Symbol.for("v-stc"),ci=[];let Lt=null;function wt(i=!1){ci.push(Lt=i?null:[])}function uh(){ci.pop(),Lt=ci[ci.length-1]||null}let Ti=1;function Oa(i){Ti+=i}function Sl(i){return i.dynamicChildren=Ti>0?Lt||Bs:null,uh(),Ti>0&&Lt&&Lt.push(i),i}function _t(i,t,e,s,r,n){return Sl(Re(i,t,e,s,r,n,!0))}function hh(i,t,e,s,r){return Sl(at(i,t,e,s,r,!0))}function un(i){return i?i.__v_isVNode===!0:!1}function Ys(i,t){return i.type===t.type&&i.key===t.key}const br="__vInternal",Pl=({key:i})=>i!=null?i:null,Hi=({ref:i,ref_key:t,ref_for:e})=>(typeof i=="number"&&(i=""+i),i!=null?it(i)||St(i)||Oe(i)?{i:bt,r:i,k:t,f:!!e}:i:null);function Re(i,t=null,e=null,s=0,r=null,n=i===Pt?0:1,a=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:i,props:t,key:t&&Pl(t),ref:t&&Hi(t),scopeId:nl,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:bt};return o?(jn(l,e),n&128&&i.normalize(l)):e&&(l.shapeFlag|=it(e)?8:16),Ti>0&&!a&&Lt&&(l.patchFlag>0||n&6)&&l.patchFlag!==32&&Lt.push(l),l}const at=ph;function ph(i,t=null,e=null,s=0,r=null,n=!1){if((!i||i===Au)&&(i=Is),un(i)){const o=Gs(i,t,!0);return e&&jn(o,e),Ti>0&&!n&&Lt&&(o.shapeFlag&6?Lt[Lt.indexOf(i)]=o:Lt.push(o)),o.patchFlag|=-2,o}if(Ah(i)&&(i=i.__vccOpts),t){t=fh(t);let{class:o,style:l}=t;o&&!it(o)&&(t.class=di(o)),Xe(l)&&(Jo(l)&&!Ie(l)&&(l=ot({},l)),t.style=Ln(l))}const a=it(i)?1:wu(i)?128:ch(i)?64:Xe(i)?4:Oe(i)?2:0;return Re(i,t,e,s,r,a,n,!0)}function fh(i){return i?Jo(i)||br in i?ot({},i):i:null}function Gs(i,t,e=!1){const{props:s,ref:r,patchFlag:n,children:a}=i,o=t?mh(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:i.type,props:o,key:o&&Pl(o),ref:t&&t.ref?e&&r?Ie(r)?r.concat(Hi(t)):[r,Hi(t)]:Hi(t):r,scopeId:i.scopeId,slotScopeIds:i.slotScopeIds,children:a,target:i.target,targetAnchor:i.targetAnchor,staticCount:i.staticCount,shapeFlag:i.shapeFlag,patchFlag:t&&i.type!==Pt?n===-1?16:n|16:n,dynamicProps:i.dynamicProps,dynamicChildren:i.dynamicChildren,appContext:i.appContext,dirs:i.dirs,transition:i.transition,component:i.component,suspense:i.suspense,ssContent:i.ssContent&&Gs(i.ssContent),ssFallback:i.ssFallback&&Gs(i.ssFallback),el:i.el,anchor:i.anchor,ctx:i.ctx,ce:i.ce}}function hn(i=" ",t=0){return at(Tr,null,i,t)}function dh(i="",t=!1){return t?(wt(),hh(Is,null,i)):at(Is,null,i)}function Ft(i){return i==null||typeof i=="boolean"?at(Is):Ie(i)?at(Pt,null,i.slice()):typeof i=="object"?ls(i):at(Tr,null,String(i))}function ls(i){return i.el===null&&i.patchFlag!==-1||i.memo?i:Gs(i)}function jn(i,t){let e=0;const{shapeFlag:s}=i;if(t==null)t=null;else if(Ie(t))e=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),jn(i,r()),r._c&&(r._d=!0));return}else{e=32;const r=t._;!r&&!(br in t)?t._ctx=bt:r===3&&bt&&(bt.slots._===1?t._=1:(t._=2,i.patchFlag|=1024))}else Oe(t)?(t={default:t,_ctx:bt},e=32):(t=String(t),s&64?(e=16,t=[hn(t)]):e=8);i.children=t,i.shapeFlag|=e}function mh(...i){const t={};for(let e=0;e{let r;return(r=i[e])||(r=i[e]=[]),r.push(s),n=>{r.length>1?r.forEach(a=>a(n)):r[0](n)}};tr=t("__VUE_INSTANCE_SETTERS__",e=>ut=e),pn=t("__VUE_SSR_SETTERS__",e=>xr=e)}const Ai=i=>{const t=ut;return tr(i),i.scope.on(),()=>{i.scope.off(),tr(t)}},Fa=()=>{ut&&ut.scope.off(),tr(null)};function El(i){return i.vnode.shapeFlag&4}let xr=!1;function bh(i,t=!1){t&&pn(t);const{props:e,children:s}=i.vnode,r=El(i);Qu(i,e,r,t),sh(i,s);const n=r?xh(i,t):void 0;return t&&pn(!1),n}function xh(i,t){const e=i.type;i.accessCache=Object.create(null),i.proxy=Xo(new Proxy(i.ctx,Gu));const{setup:s}=e;if(s){const r=i.setupContext=s.length>1?Ph(i):null,n=Ai(i);Ns();const a=ps(s,i,0,[i.props,r]);if(_s(),n(),Io(a)){if(a.then(Fa,Fa),t)return a.then(o=>{Da(i,o,t)}).catch(o=>{mr(o,i,0)});i.asyncDep=a}else Da(i,a,t)}else Al(i,t)}function Da(i,t,e){Oe(t)?i.type.__ssrInlineRender?i.ssrRender=t:i.render=t:Xe(t)&&(i.setupState=Qo(t)),Al(i,e)}let Ba;function Al(i,t,e){const s=i.type;if(!i.render){if(!t&&Ba&&!s.render){const r=s.template||Rn(i).template;if(r){const{isCustomElement:n,compilerOptions:a}=i.appContext.config,{delimiters:o,compilerOptions:l}=s,h=ot(ot({isCustomElement:n,delimiters:o},a),l);s.render=Ba(r,h)}}i.render=s.render||Et}{const r=Ai(i);Ns();try{Wu(i)}finally{_s(),r()}}}function Sh(i){return i.attrsProxy||(i.attrsProxy=new Proxy(i.attrs,{get(t,e){return xt(i,"get","$attrs"),t[e]}}))}function Ph(i){const t=e=>{i.exposed=e||{}};return{get attrs(){return Sh(i)},slots:i.slots,emit:i.emit,expose:t}}function Sr(i){if(i.exposed)return i.exposeProxy||(i.exposeProxy=new Proxy(Qo(Xo(i.exposed)),{get(t,e){if(e in t)return t[e];if(e in li)return li[e](i)},has(t,e){return e in t||e in li}}))}function Eh(i,t=!0){return Oe(i)?i.displayName||i.name:i.name||t&&i.__name}function Ah(i){return Oe(i)&&"__vccOpts"in i}const Kt=(i,t)=>ou(i,t,xr);function Ra(i,t,e){const s=arguments.length;return s===2?Xe(t)&&!Ie(t)?un(t)?at(i,null,[t]):at(i,t):at(i,null,t):(s>3?e=Array.prototype.slice.call(arguments,2):s===3&&un(e)&&(e=[e]),at(i,t,e))}const Ch="3.4.15";/** -* @vue/runtime-dom v3.4.15 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const wh="http://www.w3.org/2000/svg",kh="http://www.w3.org/1998/Math/MathML",cs=typeof document!="undefined"?document:null,$a=cs&&cs.createElement("template"),Lh={insert:(i,t,e)=>{t.insertBefore(i,e||null)},remove:i=>{const t=i.parentNode;t&&t.removeChild(i)},createElement:(i,t,e,s)=>{const r=t==="svg"?cs.createElementNS(wh,i):t==="mathml"?cs.createElementNS(kh,i):cs.createElement(i,e?{is:e}:void 0);return i==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:i=>cs.createTextNode(i),createComment:i=>cs.createComment(i),setText:(i,t)=>{i.nodeValue=t},setElementText:(i,t)=>{i.textContent=t},parentNode:i=>i.parentNode,nextSibling:i=>i.nextSibling,querySelector:i=>cs.querySelector(i),setScopeId(i,t){i.setAttribute(t,"")},insertStaticContent(i,t,e,s,r,n){const a=e?e.previousSibling:t.lastChild;if(r&&(r===n||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),e),!(r===n||!(r=r.nextSibling)););else{$a.innerHTML=s==="svg"?`${i}`:s==="mathml"?`${i}`:i;const o=$a.content;if(s==="svg"||s==="mathml"){const l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}t.insertBefore(o,e)}return[a?a.nextSibling:t.firstChild,e?e.previousSibling:t.lastChild]}},vh=Symbol("_vtc");function Ih(i,t,e){const s=i[vh];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?i.removeAttribute("class"):e?i.setAttribute("class",t):i.className=t}const Nh=Symbol("_vod"),_h=Symbol("");function Mh(i,t,e){const s=i.style,r=s.display,n=it(e);if(e&&!n){if(t&&!it(t))for(const a in t)e[a]==null&&fn(s,a,"");for(const a in e)fn(s,a,e[a])}else if(n){if(t!==e){const a=s[_h];a&&(e+=";"+a),s.cssText=e}}else t&&i.removeAttribute("style");Nh in i&&(s.display=r)}const ja=/\s*!important$/;function fn(i,t,e){if(Ie(e))e.forEach(s=>fn(i,t,s));else if(e==null&&(e=""),t.startsWith("--"))i.setProperty(t,e);else{const s=Oh(i,t);ja.test(e)?i.setProperty(qs(s),e.replace(ja,""),"important"):i[s]=e}}const Ua=["Webkit","Moz","ms"],jr={};function Oh(i,t){const e=jr[t];if(e)return e;let s=Bt(t);if(s!=="filter"&&s in i)return jr[t]=s;s=hr(s);for(let r=0;rUr||(jh.then(()=>Ur=0),Ur=Date.now());function Vh(i,t){const e=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=e.attached)return;It(Hh(s,e.value),t,5,[s])};return e.value=i,e.attached=Uh(),e}function Hh(i,t){if(Ie(t)){const e=i.stopImmediatePropagation;return i.stopImmediatePropagation=()=>{e.call(i),i._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Wa=i=>i.charCodeAt(0)===111&&i.charCodeAt(1)===110&&i.charCodeAt(2)>96&&i.charCodeAt(2)<123,Gh=(i,t,e,s,r,n,a,o,l)=>{const h=r==="svg";t==="class"?Ih(i,s,h):t==="style"?Mh(i,e,s):lr(t)?An(t)||Rh(i,t,e,s,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wh(i,t,s,h))?Dh(i,t,s,n,a,o,l):(t==="true-value"?i._trueValue=s:t==="false-value"&&(i._falseValue=s),Fh(i,t,s,h))};function Wh(i,t,e,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in i&&Wa(t)&&Oe(e));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&i.tagName==="INPUT"||t==="type"&&i.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=i.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Wa(t)&&it(e)?!1:t in i}const sr=i=>{const t=i.props["onUpdate:modelValue"]||!1;return Ie(t)?e=>Ri(t,e):t};function Kh(i){i.target.composing=!0}function Ka(i){const t=i.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Us=Symbol("_assign"),qa={created(i,{modifiers:{lazy:t,trim:e,number:s}},r){i[Us]=sr(r);const n=s||r.props&&r.props.type==="number";Cs(i,t?"change":"input",a=>{if(a.target.composing)return;let o=i.value;e&&(o=o.trim()),n&&(o=Zr(o)),i[Us](o)}),e&&Cs(i,"change",()=>{i.value=i.value.trim()}),t||(Cs(i,"compositionstart",Kh),Cs(i,"compositionend",Ka),Cs(i,"change",Ka))},mounted(i,{value:t}){i.value=t==null?"":t},beforeUpdate(i,{value:t,modifiers:{lazy:e,trim:s,number:r}},n){if(i[Us]=sr(n),i.composing)return;const a=r||i.type==="number"?Zr(i.value):i.value,o=t==null?"":t;a!==o&&(document.activeElement===i&&i.type!=="range"&&(e||s&&i.value.trim()===o)||(i.value=o))}},Vr={deep:!0,created(i,t,e){i[Us]=sr(e),Cs(i,"change",()=>{const s=i._modelValue,r=qh(i),n=i.checked,a=i[Us];if(Ie(s)){const o=Oo(s,r),l=o!==-1;if(n&&!l)a(s.concat(r));else if(!n&&l){const h=[...s];h.splice(o,1),a(h)}}else if(cr(s)){const o=new Set(s);n?o.add(r):o.delete(r),a(o)}else a(Cl(i,n))})},mounted:za,beforeUpdate(i,t,e){i[Us]=sr(e),za(i,t,e)}};function za(i,{value:t,oldValue:e},s){i._modelValue=t,Ie(t)?i.checked=Oo(t,s.props.value)>-1:cr(t)?i.checked=t.has(s.props.value):t!==e&&(i.checked=pr(t,Cl(i,!0)))}function qh(i){return"_value"in i?i._value:i.value}function Cl(i,t){const e=t?"_trueValue":"_falseValue";return e in i?i[e]:t}const zh=ot({patchProp:Gh},Lh);let Ja;function Jh(){return Ja||(Ja=nh(zh))}const Xh=(...i)=>{const t=Jh().createApp(...i),{mount:e}=t;return t.mount=s=>{const r=Zh(s);if(!r)return;const n=t._component;!Oe(n)&&!n.render&&!n.template&&(n.template=r.innerHTML),r.innerHTML="";const a=e(r,!1,Yh(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function Yh(i){if(i instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&i instanceof MathMLElement)return"mathml"}function Zh(i){return it(i)?document.querySelector(i):i}var Gt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Pr={};Object.defineProperty(Pr,"__esModule",{value:!0});function wl(i,t){if(i==null)return{};var e={},s=Object.keys(i),r,n;for(n=0;n=0)&&(e[r]=i[r]);return e}class fs{constructor(t,e,s){this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=e,this.index=s}}class ir{constructor(t,e){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=e}}function yt(i,t){const{line:e,column:s,index:r}=i;return new fs(e,s+t,r+t)}const Xa="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var Qh={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:Xa},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:Xa}};const Ya={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},Gi=({type:i,prefix:t})=>i==="UpdateExpression"?Ya.UpdateExpression[String(t)]:Ya[i];var ep={AccessorIsGenerator:({kind:i})=>`A ${i}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:i})=>`Missing initializer in ${i} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:i})=>`\`${i}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:i})=>`'import.${i}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:i,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`. -- Did you mean \`export { '${i}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:i})=>`'${i==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:i})=>`Unsyntactic ${i==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:i})=>`A string literal cannot be used as an imported binding. -- Did you mean \`import { "${i}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:i})=>`\`import()\` requires exactly ${i===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:i})=>`Expected number in radix ${i}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:i})=>`Escape sequence in keyword ${i}.`,InvalidIdentifier:({identifierName:i})=>`Invalid identifier ${i}.`,InvalidLhs:({ancestor:i})=>`Invalid left-hand side in ${Gi(i)}.`,InvalidLhsBinding:({ancestor:i})=>`Binding invalid left-hand side in ${Gi(i)}.`,InvalidLhsOptionalChaining:({ancestor:i})=>`Invalid optional chaining in the left-hand side of ${Gi(i)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:i})=>`Unexpected character '${i}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:i})=>`Private name #${i} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:i})=>`Label '${i}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:i})=>`This experimental syntax requires enabling the parser plugin: ${i.map(t=>JSON.stringify(t)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:i})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${i.map(t=>JSON.stringify(t)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:i})=>`Duplicate key "${i}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:i})=>`An export name cannot include a lone surrogate, found '\\u${i.toString(16)}'.`,ModuleExportUndefined:({localName:i})=>`Export '${i}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:i})=>`Private names are only allowed in property accesses (\`obj.#${i}\`) or in \`in\` expressions (\`#${i} in obj\`).`,PrivateNameRedeclaration:({identifierName:i})=>`Duplicate private name #${i}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:i})=>`Unexpected keyword '${i}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:i})=>`Unexpected reserved word '${i}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:i,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${i?`, expected "${i}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:i,onlyValidPropertyName:t})=>`The only valid meta property for ${i} is ${i}.${t}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:i})=>`Identifier '${i}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},tp={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:i})=>`Assigning to '${i}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:i})=>`Binding '${i}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."};const sp=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var ip={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:i})=>`Invalid topic token ${i}. In order to use ${i} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${i}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:i})=>`Hack-style pipe body cannot be an unparenthesized ${Gi({type:i})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'};const rp=["toMessage"],np=["message"];function Za(i,t,e){Object.defineProperty(i,t,{enumerable:!1,configurable:!0,value:e})}function ap(i){let{toMessage:t}=i,e=wl(i,rp);return function s(r,n){const a=new SyntaxError;return Object.assign(a,e,{loc:r,pos:r.index}),"missingPlugin"in n&&Object.assign(a,{missingPlugin:n.missingPlugin}),Za(a,"clone",function(l={}){var h;const{line:u,column:x,index:P}=(h=l.loc)!=null?h:r;return s(new fs(u,x,P),Object.assign({},n,l.details))}),Za(a,"details",n),Object.defineProperty(a,"message",{configurable:!0,get(){const o=`${t(n)} (${r.line}:${r.column})`;return this.message=o,o},set(o){Object.defineProperty(this,"message",{value:o,writable:!0})}}),a}}function qt(i,t){if(Array.isArray(i))return s=>qt(s,i[0]);const e={};for(const s of Object.keys(i)){const r=i[s],n=typeof r=="string"?{message:()=>r}:typeof r=="function"?{message:r}:r,{message:a}=n,o=wl(n,np),l=typeof a=="string"?()=>a:a;e[s]=ap(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:s,toMessage:l},t?{syntaxPlugin:t}:{},o))}return e}const w=Object.assign({},qt(Qh),qt(ep),qt(tp),qt`pipelineOperator`(ip)),{defineProperty:op}=Object,Qa=(i,t)=>op(i,t,{enumerable:!1,value:i[t]});function Zs(i){return i.loc.start&&Qa(i.loc.start,"index"),i.loc.end&&Qa(i.loc.end,"index"),i}var lp=i=>class extends i{parse(){const e=Zs(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(Zs)),e}parseRegExpLiteral({pattern:e,flags:s}){let r=null;try{r=new RegExp(e,s)}catch{}const n=this.estreeParseLiteral(r);return n.regex={pattern:e,flags:s},n}parseBigIntLiteral(e){let s;try{s=BigInt(e)}catch{s=null}const r=this.estreeParseLiteral(s);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){const r=this.estreeParseLiteral(null);return r.decimal=String(r.value||e),r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const s=e.value;delete e.value,s.type="Literal",s.raw=s.extra.raw,s.value=s.extra.expressionValue;const r=e;return r.type="ExpressionStatement",r.expression=s,r.directive=s.extra.rawValue,delete s.extra,r}initFunction(e,s){super.initFunction(e,s),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var s;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&!((s=e.expression.extra)!=null&&s.parenthesized)}parseBlockBody(e,s,r,n,a){super.parseBlockBody(e,s,r,n,a);const o=e.directives.map(l=>this.directiveToStmt(l));e.body=o.concat(e.body),delete e.directives}pushClassMethod(e,s,r,n,a,o){this.parseMethod(s,r,n,a,o,"ClassMethod",!0),s.typeParameters&&(s.value.typeParameters=s.typeParameters,delete s.typeParameters),e.body.push(s)}parsePrivateName(){const e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){const s=super.getPrivateNameSV(e);return e=e,delete e.id,e.name=s,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?e.type==="PrivateIdentifier":super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,s){const r=super.parseLiteral(e,s);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,s,r=!1){super.parseFunctionBody(e,s,r),e.expression=e.body.type!=="BlockStatement"}parseMethod(e,s,r,n,a,o,l=!1){let h=this.startNode();return h.kind=e.kind,h=super.parseMethod(h,s,r,n,a,o,l),h.type="FunctionExpression",delete h.kind,e.value=h,o==="ClassPrivateMethod"&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}parseClassProperty(...e){const s=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")&&(s.type="PropertyDefinition"),s}parseClassPrivateProperty(...e){const s=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")&&(s.type="PropertyDefinition",s.computed=!1),s}parseObjectMethod(e,s,r,n,a){const o=super.parseObjectMethod(e,s,r,n,a);return o&&(o.type="Property",o.kind==="method"&&(o.kind="init"),o.shorthand=!1),o}parseObjectProperty(e,s,r,n){const a=super.parseObjectProperty(e,s,r,n);return a&&(a.kind="init",a.type="Property"),a}isValidLVal(e,s,r){return e==="Property"?"value":super.isValidLVal(e,s,r)}isAssignable(e,s){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,s):super.isAssignable(e,s)}toAssignable(e,s=!1){if(e!=null&&this.isObjectProperty(e)){const{key:r,value:n}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(n,s)}else super.toAssignable(e,s)}toAssignableObjectExpressionProp(e,s,r){e.kind==="get"||e.kind==="set"?this.raise(w.PatternHasAccessor,e.key):e.method?this.raise(w.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,s,r)}finishCallExpression(e,s){const r=super.finishCallExpression(e,s);if(r.callee.type==="Import"){if(r.type="ImportExpression",r.source=r.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var n,a;r.options=(n=r.arguments[1])!=null?n:null,r.attributes=(a=r.arguments[1])!=null?a:null}delete r.arguments,delete r.callee}return r}toReferencedArguments(e){e.type!=="ImportExpression"&&super.toReferencedArguments(e)}parseExport(e,s){const r=this.state.lastTokStartLoc,n=super.parseExport(e,s);switch(n.type){case"ExportAllDeclaration":n.exported=null;break;case"ExportNamedDeclaration":n.specifiers.length===1&&n.specifiers[0].type==="ExportNamespaceSpecifier"&&(n.type="ExportAllDeclaration",n.exported=n.specifiers[0].exported,delete n.specifiers);case"ExportDefaultDeclaration":{var a;const{declaration:o}=n;(o==null?void 0:o.type)==="ClassDeclaration"&&((a=o.decorators)==null?void 0:a.length)>0&&o.start===n.start&&this.resetStartLocation(n,r)}break}return n}parseSubscript(e,s,r,n){const a=super.parseSubscript(e,s,r,n);if(n.optionalChainMember){if((a.type==="OptionalMemberExpression"||a.type==="OptionalCallExpression")&&(a.type=a.type.substring(8)),n.stop){const o=this.startNodeAtNode(a);return o.expression=a,this.finishNode(o,"ChainExpression")}}else(a.type==="MemberExpression"||a.type==="CallExpression")&&(a.optional=!1);return a}isOptionalMemberExpression(e){return e.type==="ChainExpression"?e.expression.type==="MemberExpression":super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return e.type==="ChainExpression"&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}finishNodeAt(e,s,r){return Zs(super.finishNodeAt(e,s,r))}resetStartLocation(e,s){super.resetStartLocation(e,s),Zs(e)}resetEndLocation(e,s=this.state.lastTokEndLoc){super.resetEndLocation(e,s),Zs(e)}};class ri{constructor(t,e){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!e}}const Ke={brace:new ri("{"),j_oTag:new ri("...",!0)};Ke.template=new ri("`",!0);const Be=!0,Te=!0,Hr=!0,Qs=!0,ss=!0,cp=!0;class kl{constructor(t,e={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.rightAssociative=!!e.rightAssociative,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop!=null?e.binop:null,this.updateContext=null}}const Un=new Map;function $e(i,t={}){t.keyword=i;const e=we(i,t);return Un.set(i,e),e}function dt(i,t){return we(i,{beforeExpr:Be,binop:t})}let ui=-1;const Ht=[],Vn=[],Hn=[],Gn=[],Wn=[],Kn=[];function we(i,t={}){var e,s,r,n;return++ui,Vn.push(i),Hn.push((e=t.binop)!=null?e:-1),Gn.push((s=t.beforeExpr)!=null?s:!1),Wn.push((r=t.startsExpr)!=null?r:!1),Kn.push((n=t.prefix)!=null?n:!1),Ht.push(new kl(i,t)),ui}function De(i,t={}){var e,s,r,n;return++ui,Un.set(i,ui),Vn.push(i),Hn.push((e=t.binop)!=null?e:-1),Gn.push((s=t.beforeExpr)!=null?s:!1),Wn.push((r=t.startsExpr)!=null?r:!1),Kn.push((n=t.prefix)!=null?n:!1),Ht.push(new kl("name",t)),ui}const up={bracketL:we("[",{beforeExpr:Be,startsExpr:Te}),bracketHashL:we("#[",{beforeExpr:Be,startsExpr:Te}),bracketBarL:we("[|",{beforeExpr:Be,startsExpr:Te}),bracketR:we("]"),bracketBarR:we("|]"),braceL:we("{",{beforeExpr:Be,startsExpr:Te}),braceBarL:we("{|",{beforeExpr:Be,startsExpr:Te}),braceHashL:we("#{",{beforeExpr:Be,startsExpr:Te}),braceR:we("}"),braceBarR:we("|}"),parenL:we("(",{beforeExpr:Be,startsExpr:Te}),parenR:we(")"),comma:we(",",{beforeExpr:Be}),semi:we(";",{beforeExpr:Be}),colon:we(":",{beforeExpr:Be}),doubleColon:we("::",{beforeExpr:Be}),dot:we("."),question:we("?",{beforeExpr:Be}),questionDot:we("?."),arrow:we("=>",{beforeExpr:Be}),template:we("template"),ellipsis:we("...",{beforeExpr:Be}),backQuote:we("`",{startsExpr:Te}),dollarBraceL:we("${",{beforeExpr:Be,startsExpr:Te}),templateTail:we("...`",{startsExpr:Te}),templateNonTail:we("...${",{beforeExpr:Be,startsExpr:Te}),at:we("@"),hash:we("#",{startsExpr:Te}),interpreterDirective:we("#!..."),eq:we("=",{beforeExpr:Be,isAssign:Qs}),assign:we("_=",{beforeExpr:Be,isAssign:Qs}),slashAssign:we("_=",{beforeExpr:Be,isAssign:Qs}),xorAssign:we("_=",{beforeExpr:Be,isAssign:Qs}),moduloAssign:we("_=",{beforeExpr:Be,isAssign:Qs}),incDec:we("++/--",{prefix:ss,postfix:cp,startsExpr:Te}),bang:we("!",{beforeExpr:Be,prefix:ss,startsExpr:Te}),tilde:we("~",{beforeExpr:Be,prefix:ss,startsExpr:Te}),doubleCaret:we("^^",{startsExpr:Te}),doubleAt:we("@@",{startsExpr:Te}),pipeline:dt("|>",0),nullishCoalescing:dt("??",1),logicalOR:dt("||",1),logicalAND:dt("&&",2),bitwiseOR:dt("|",3),bitwiseXOR:dt("^",4),bitwiseAND:dt("&",5),equality:dt("==/!=/===/!==",6),lt:dt("/<=/>=",7),gt:dt("/<=/>=",7),relational:dt("/<=/>=",7),bitShift:dt("<>/>>>",8),bitShiftL:dt("<>/>>>",8),bitShiftR:dt("<>/>>>",8),plusMin:we("+/-",{beforeExpr:Be,binop:9,prefix:ss,startsExpr:Te}),modulo:we("%",{binop:10,startsExpr:Te}),star:we("*",{binop:10}),slash:dt("/",10),exponent:we("**",{beforeExpr:Be,binop:11,rightAssociative:!0}),_in:$e("in",{beforeExpr:Be,binop:7}),_instanceof:$e("instanceof",{beforeExpr:Be,binop:7}),_break:$e("break"),_case:$e("case",{beforeExpr:Be}),_catch:$e("catch"),_continue:$e("continue"),_debugger:$e("debugger"),_default:$e("default",{beforeExpr:Be}),_else:$e("else",{beforeExpr:Be}),_finally:$e("finally"),_function:$e("function",{startsExpr:Te}),_if:$e("if"),_return:$e("return",{beforeExpr:Be}),_switch:$e("switch"),_throw:$e("throw",{beforeExpr:Be,prefix:ss,startsExpr:Te}),_try:$e("try"),_var:$e("var"),_const:$e("const"),_with:$e("with"),_new:$e("new",{beforeExpr:Be,startsExpr:Te}),_this:$e("this",{startsExpr:Te}),_super:$e("super",{startsExpr:Te}),_class:$e("class",{startsExpr:Te}),_extends:$e("extends",{beforeExpr:Be}),_export:$e("export"),_import:$e("import",{startsExpr:Te}),_null:$e("null",{startsExpr:Te}),_true:$e("true",{startsExpr:Te}),_false:$e("false",{startsExpr:Te}),_typeof:$e("typeof",{beforeExpr:Be,prefix:ss,startsExpr:Te}),_void:$e("void",{beforeExpr:Be,prefix:ss,startsExpr:Te}),_delete:$e("delete",{beforeExpr:Be,prefix:ss,startsExpr:Te}),_do:$e("do",{isLoop:Hr,beforeExpr:Be}),_for:$e("for",{isLoop:Hr}),_while:$e("while",{isLoop:Hr}),_as:De("as",{startsExpr:Te}),_assert:De("assert",{startsExpr:Te}),_async:De("async",{startsExpr:Te}),_await:De("await",{startsExpr:Te}),_defer:De("defer",{startsExpr:Te}),_from:De("from",{startsExpr:Te}),_get:De("get",{startsExpr:Te}),_let:De("let",{startsExpr:Te}),_meta:De("meta",{startsExpr:Te}),_of:De("of",{startsExpr:Te}),_sent:De("sent",{startsExpr:Te}),_set:De("set",{startsExpr:Te}),_source:De("source",{startsExpr:Te}),_static:De("static",{startsExpr:Te}),_using:De("using",{startsExpr:Te}),_yield:De("yield",{startsExpr:Te}),_asserts:De("asserts",{startsExpr:Te}),_checks:De("checks",{startsExpr:Te}),_exports:De("exports",{startsExpr:Te}),_global:De("global",{startsExpr:Te}),_implements:De("implements",{startsExpr:Te}),_intrinsic:De("intrinsic",{startsExpr:Te}),_infer:De("infer",{startsExpr:Te}),_is:De("is",{startsExpr:Te}),_mixins:De("mixins",{startsExpr:Te}),_proto:De("proto",{startsExpr:Te}),_require:De("require",{startsExpr:Te}),_satisfies:De("satisfies",{startsExpr:Te}),_keyof:De("keyof",{startsExpr:Te}),_readonly:De("readonly",{startsExpr:Te}),_unique:De("unique",{startsExpr:Te}),_abstract:De("abstract",{startsExpr:Te}),_declare:De("declare",{startsExpr:Te}),_enum:De("enum",{startsExpr:Te}),_module:De("module",{startsExpr:Te}),_namespace:De("namespace",{startsExpr:Te}),_interface:De("interface",{startsExpr:Te}),_type:De("type",{startsExpr:Te}),_opaque:De("opaque",{startsExpr:Te}),name:we("name",{startsExpr:Te}),string:we("string",{startsExpr:Te}),num:we("num",{startsExpr:Te}),bigint:we("bigint",{startsExpr:Te}),decimal:we("decimal",{startsExpr:Te}),regexp:we("regexp",{startsExpr:Te}),privateName:we("#name",{startsExpr:Te}),eof:we("eof"),jsxName:we("jsxName"),jsxText:we("jsxText",{beforeExpr:!0}),jsxTagStart:we("jsxTagStart",{startsExpr:!0}),jsxTagEnd:we("jsxTagEnd"),placeholder:we("%%",{startsExpr:!0})};function He(i){return i>=93&&i<=132}function hp(i){return i<=92}function vt(i){return i>=58&&i<=132}function Ll(i){return i>=58&&i<=136}function pp(i){return Gn[i]}function dn(i){return Wn[i]}function fp(i){return i>=29&&i<=33}function eo(i){return i>=129&&i<=131}function dp(i){return i>=90&&i<=92}function qn(i){return i>=58&&i<=92}function mp(i){return i>=39&&i<=59}function yp(i){return i===34}function gp(i){return Kn[i]}function Tp(i){return i>=121&&i<=123}function bp(i){return i>=124&&i<=130}function ds(i){return Vn[i]}function Wi(i){return Hn[i]}function xp(i){return i===57}function rr(i){return i>=24&&i<=25}function Vt(i){return Ht[i]}Ht[8].updateContext=i=>{i.pop()},Ht[5].updateContext=Ht[7].updateContext=Ht[23].updateContext=i=>{i.push(Ke.brace)},Ht[22].updateContext=i=>{i[i.length-1]===Ke.template?i.pop():i.push(Ke.template)},Ht[142].updateContext=i=>{i.push(Ke.j_expr,Ke.j_oTag)};let zn="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",vl="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";const Sp=new RegExp("["+zn+"]"),Pp=new RegExp("["+zn+vl+"]");zn=vl=null;const Il=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Ep=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function mn(i,t){let e=65536;for(let s=0,r=t.length;si)return!1;if(e+=t[s+1],e>=i)return!0}return!1}function Wt(i){return i<65?i===36:i<=90?!0:i<97?i===95:i<=122?!0:i<=65535?i>=170&&Sp.test(String.fromCharCode(i)):mn(i,Il)}function Vs(i){return i<48?i===36:i<58?!0:i<65?!1:i<=90?!0:i<97?i===95:i<=122?!0:i<=65535?i>=170&&Pp.test(String.fromCharCode(i)):mn(i,Il)||mn(i,Ep)}const Jn={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Ap=new Set(Jn.keyword),Cp=new Set(Jn.strict),wp=new Set(Jn.strictBind);function Nl(i,t){return t&&i==="await"||i==="enum"}function _l(i,t){return Nl(i,t)||Cp.has(i)}function Ml(i){return wp.has(i)}function Ol(i,t){return _l(i,t)||Ml(i)}function kp(i){return Ap.has(i)}function Lp(i,t,e){return i===64&&t===64&&Wt(e)}const vp=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function Ip(i){return vp.has(i)}class Xn{constructor(t){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=t}}class Yn{constructor(t,e){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=t,this.inModule=e}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){const t=this.currentThisScopeFlags();return(t&64)>0&&(t&2)===0}get inStaticBlock(){for(let t=this.scopeStack.length-1;;t--){const{flags:e}=this.scopeStack[t];if(e&128)return!0;if(e&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new Xn(t)}enter(t){this.scopeStack.push(this.createScope(t))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(t){return!!(t.flags&130||!this.parser.inModule&&t.flags&1)}declareName(t,e,s){let r=this.currentScope();if(e&8||e&16){this.checkRedeclarationInScope(r,t,e,s);let n=r.names.get(t)||0;e&16?n=n|4:(r.firstLexicalName||(r.firstLexicalName=t),n=n|2),r.names.set(t,n),e&8&&this.maybeExportDefined(r,t)}else if(e&4)for(let n=this.scopeStack.length-1;n>=0&&(r=this.scopeStack[n],this.checkRedeclarationInScope(r,t,e,s),r.names.set(t,(r.names.get(t)||0)|1),this.maybeExportDefined(r,t),!(r.flags&387));--n);this.parser.inModule&&r.flags&1&&this.undefinedExports.delete(t)}maybeExportDefined(t,e){this.parser.inModule&&t.flags&1&&this.undefinedExports.delete(e)}checkRedeclarationInScope(t,e,s,r){this.isRedeclaredInScope(t,e,s)&&this.parser.raise(w.VarRedeclaration,r,{identifierName:e})}isRedeclaredInScope(t,e,s){if(!(s&1))return!1;if(s&8)return t.names.has(e);const r=t.names.get(e);return s&16?(r&2)>0||!this.treatFunctionsAsVarInScope(t)&&(r&1)>0:(r&2)>0&&!(t.flags&8&&t.firstLexicalName===e)||!this.treatFunctionsAsVarInScope(t)&&(r&4)>0}checkLocalExport(t){const{name:e}=t;this.scopeStack[0].names.has(e)||this.undefinedExports.set(e,t.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let t=this.scopeStack.length-1;;t--){const{flags:e}=this.scopeStack[t];if(e&387)return e}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){const{flags:e}=this.scopeStack[t];if(e&451&&!(e&4))return e}}}class Np extends Xn{constructor(...t){super(...t),this.declareFunctions=new Set}}class _p extends Yn{createScope(t){return new Np(t)}declareName(t,e,s){const r=this.currentScope();if(e&2048){this.checkRedeclarationInScope(r,t,e,s),this.maybeExportDefined(r,t),r.declareFunctions.add(t);return}super.declareName(t,e,s)}isRedeclaredInScope(t,e,s){if(super.isRedeclaredInScope(t,e,s))return!0;if(s&2048&&!t.declareFunctions.has(e)){const r=t.names.get(e);return(r&4)>0||(r&2)>0}return!1}checkLocalExport(t){this.scopeStack[0].declareFunctions.has(t.name)||super.checkLocalExport(t)}}class Mp{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(t){if(typeof t=="string")return this.plugins.has(t);{const[e,s]=t;if(!this.hasPlugin(e))return!1;const r=this.plugins.get(e);for(const n of Object.keys(s))if((r==null?void 0:r[n])!==s[n])return!1;return!0}}getPluginOption(t,e){var s;return(s=this.plugins.get(t))==null?void 0:s[e]}}function Fl(i,t){i.trailingComments===void 0?i.trailingComments=t:i.trailingComments.unshift(...t)}function Op(i,t){i.leadingComments===void 0?i.leadingComments=t:i.leadingComments.unshift(...t)}function bi(i,t){i.innerComments===void 0?i.innerComments=t:i.innerComments.unshift(...t)}function ei(i,t,e){let s=null,r=t.length;for(;s===null&&r>0;)s=t[--r];s===null||s.start>e.start?bi(i,e.comments):Fl(s,e.comments)}class Fp extends Mp{addComment(t){this.filename&&(t.loc.filename=this.filename);const{commentsLen:e}=this.state;this.comments.length!=e&&(this.comments.length=e),this.comments.push(t),this.state.commentsLen++}processComment(t){const{commentStack:e}=this.state,s=e.length;if(s===0)return;let r=s-1;const n=e[r];n.start===t.end&&(n.leadingNode=t,r--);const{start:a}=t;for(;r>=0;r--){const o=e[r],l=o.end;if(l>a)o.containingNode=t,this.finalizeComment(o),e.splice(r,1);else{l===a&&(o.trailingNode=t);break}}}finalizeComment(t){const{comments:e}=t;if(t.leadingNode!==null||t.trailingNode!==null)t.leadingNode!==null&&Fl(t.leadingNode,e),t.trailingNode!==null&&Op(t.trailingNode,e);else{const{containingNode:s,start:r}=t;if(this.input.charCodeAt(r-1)===44)switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":ei(s,s.properties,t);break;case"CallExpression":case"OptionalCallExpression":ei(s,s.arguments,t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":ei(s,s.params,t);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":ei(s,s.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":ei(s,s.specifiers,t);break;default:bi(s,e)}else bi(s,e)}}finalizeRemainingComments(){const{commentStack:t}=this.state;for(let e=t.length-1;e>=0;e--)this.finalizeComment(t[e]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(t){const{commentStack:e}=this.state,{length:s}=e;if(s===0)return;const r=e[s-1];r.leadingNode===t&&(r.leadingNode=null)}resetPreviousIdentifierLeadingComments(t){const{commentStack:e}=this.state,{length:s}=e;s!==0&&(e[s-1].trailingNode===t?e[s-1].trailingNode=null:s>=2&&e[s-2].trailingNode===t&&(e[s-2].trailingNode=null))}takeSurroundingComments(t,e,s){const{commentStack:r}=this.state,n=r.length;if(n===0)return;let a=n-1;for(;a>=0;a--){const o=r[a],l=o.end;if(o.start===s)o.leadingNode=t;else if(l===e)o.trailingNode=t;else if(l0}set strict(t){t?this.flags|=1:this.flags&=-2}init({strictMode:t,sourceType:e,startLine:s,startColumn:r}){this.strict=t===!1?!1:t===!0?!0:e==="module",this.curLine=s,this.lineStart=-r,this.startLoc=this.endLoc=new fs(s,r,0)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(t){t?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(t){t?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(t){t?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(t){t?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(t){t?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(t){t?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(t){t?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(t){t?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(t){t?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(t){t?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(t){t?this.flags|=2048:this.flags&=-2049}curPosition(){return new fs(this.curLine,this.pos-this.lineStart,this.pos)}clone(){const t=new Zn;return t.flags=this.flags,t.curLine=this.curLine,t.lineStart=this.lineStart,t.startLoc=this.startLoc,t.endLoc=this.endLoc,t.errors=this.errors.slice(),t.potentialArrowAt=this.potentialArrowAt,t.noArrowAt=this.noArrowAt.slice(),t.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),t.topicContext=this.topicContext,t.labels=this.labels.slice(),t.commentsLen=this.commentsLen,t.commentStack=this.commentStack.slice(),t.pos=this.pos,t.type=this.type,t.value=this.value,t.start=this.start,t.end=this.end,t.lastTokEndLoc=this.lastTokEndLoc,t.lastTokStartLoc=this.lastTokStartLoc,t.context=this.context.slice(),t.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,t.strictErrors=this.strictErrors,t.tokensLength=this.tokensLength,t}}var Bp=function(t){return t>=48&&t<=57};const so={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Oi={bin:i=>i===48||i===49,oct:i=>i>=48&&i<=55,dec:i=>i>=48&&i<=57,hex:i=>i>=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102};function io(i,t,e,s,r,n){const a=e,o=s,l=r;let h="",u=null,x=e;const{length:P}=t;for(;;){if(e>=P){n.unterminated(a,o,l),h+=t.slice(x,e);break}const I=t.charCodeAt(e);if(Rp(i,I,t,e)){h+=t.slice(x,e);break}if(I===92){h+=t.slice(x,e);const A=$p(t,e,s,r,i==="template",n);A.ch===null&&!u?u={pos:e,lineStart:s,curLine:r}:h+=A.ch,{pos:e,lineStart:s,curLine:r}=A,x=e}else I===8232||I===8233?(++e,++r,s=e):I===10||I===13?i==="template"?(h+=t.slice(x,e)+` -`,++e,I===13&&t.charCodeAt(e)===10&&++e,++r,x=s=e):n.unterminated(a,o,l):++e}return{pos:e,str:h,firstInvalidLoc:u,lineStart:s,curLine:r,containsInvalid:!!u}}function Rp(i,t,e,s){return i==="template"?t===96||t===36&&e.charCodeAt(s+1)===123:t===(i==="double"?34:39)}function $p(i,t,e,s,r,n){const a=!r;t++;const o=h=>({pos:t,ch:h,lineStart:e,curLine:s}),l=i.charCodeAt(t++);switch(l){case 110:return o(` -`);case 114:return o("\r");case 120:{let h;return{code:h,pos:t}=yn(i,t,e,s,2,!1,a,n),o(h===null?null:String.fromCharCode(h))}case 117:{let h;return{code:h,pos:t}=Rl(i,t,e,s,a,n),o(h===null?null:String.fromCodePoint(h))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:i.charCodeAt(t)===10&&++t;case 10:e=t,++s;case 8232:case 8233:return o("");case 56:case 57:if(r)return o(null);n.strictNumericEscape(t-1,e,s);default:if(l>=48&&l<=55){const h=t-1;let x=i.slice(h,t+2).match(/^[0-7]+/)[0],P=parseInt(x,8);P>255&&(x=x.slice(0,-1),P=parseInt(x,8)),t+=x.length-1;const I=i.charCodeAt(t);if(x!=="0"||I===56||I===57){if(r)return o(null);n.strictNumericEscape(h,e,s)}return o(String.fromCharCode(P))}return o(String.fromCharCode(l))}}function yn(i,t,e,s,r,n,a,o){const l=t;let h;return{n:h,pos:t}=Bl(i,t,e,s,16,r,n,!1,o,!a),h===null&&(a?o.invalidEscapeSequence(l,e,s):t=l-1),{code:h,pos:t}}function Bl(i,t,e,s,r,n,a,o,l,h){const u=t,x=r===16?so.hex:so.decBinOct,P=r===16?Oi.hex:r===10?Oi.dec:r===8?Oi.oct:Oi.bin;let I=!1,A=0;for(let G=0,B=n==null?1/0:n;G=97?V=$-97+10:$>=65?V=$-65+10:Bp($)?V=$-48:V=1/0,V>=r){if(V<=9&&h)return{n:null,pos:t};if(V<=9&&l.invalidDigit(t,e,s,r))V=0;else if(a)V=0,I=!0;else break}++t,A=A*r+V}return t===u||n!=null&&t-u!==n||I?{n:null,pos:t}:{n:A,pos:t}}function Rl(i,t,e,s,r,n){const a=i.charCodeAt(t);let o;if(a===123){if(++t,{code:o,pos:t}=yn(i,t,e,s,i.indexOf("}",t)-t,!0,r,n),++t,o!==null&&o>1114111)if(r)n.invalidCodePoint(t,e,s);else return{code:null,pos:t}}else({code:o,pos:t}=yn(i,t,e,s,4,!1,r,n));return{code:o,pos:t}}function ti(i,t,e){return new fs(e,i-t,i)}const jp=new Set([103,109,115,105,121,117,100,118]);class ns{constructor(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,this.loc=new ir(t.startLoc,t.endLoc)}}class Up extends Fp{constructor(t,e){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(s,r,n,a)=>this.options.errorRecovery?(this.raise(w.InvalidDigit,ti(s,r,n),{radix:a}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(w.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(w.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(w.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(w.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(s,r,n)=>{this.recordStrictModeErrors(w.StrictNumericEscape,ti(s,r,n))},unterminated:(s,r,n)=>{throw this.raise(w.UnterminatedString,ti(s-1,r,n))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(w.StrictNumericEscape),unterminated:(s,r,n)=>{throw this.raise(w.UnterminatedTemplate,ti(s,r,n))}}),this.state=new Zn,this.state.init(t),this.input=e,this.length=e.length,this.comments=[],this.isLookahead=!1}pushToken(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new ns(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(t){return this.match(t)?(this.next(),!0):!1}match(t){return this.state.type===t}createLookaheadState(t){return{pos:t.pos,value:null,type:t.type,start:t.start,end:t.end,context:[this.curContext()],inType:t.inType,startLoc:t.startLoc,lastTokEndLoc:t.lastTokEndLoc,curLine:t.curLine,lineStart:t.lineStart,curPosition:t.curPosition}}lookahead(){const t=this.state;this.state=this.createLookaheadState(t),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const e=this.state;return this.state=t,e}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(t){return Gr.lastIndex=t,Gr.test(this.input)?Gr.lastIndex:t}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return Ki.lastIndex=t,Ki.test(this.input)?Ki.lastIndex:t}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(t){let e=this.input.charCodeAt(t);if((e&64512)===55296&&++tthis.raise(e,s)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(139);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(t){let e;this.isLookahead||(e=this.state.curPosition());const s=this.state.pos,r=this.input.indexOf(t,s+2);if(r===-1)throw this.raise(w.UnterminatedComment,this.state.curPosition());for(this.state.pos=r+t.length,Mi.lastIndex=s+2;Mi.test(this.input)&&Mi.lastIndex<=r;)++this.state.curLine,this.state.lineStart=Mi.lastIndex;if(this.isLookahead)return;const n={type:"CommentBlock",value:this.input.slice(s+2,r),start:s,end:r+t.length,loc:new ir(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}skipLineComment(t){const e=this.state.pos;let s;this.isLookahead||(s=this.state.curPosition());let r=this.input.charCodeAt(this.state.pos+=t);if(this.state.post)){const n=this.skipLineComment(3);n!==void 0&&(this.addComment(n),this.options.attachComment&&e.push(n))}else break e}else if(s===60&&!this.inModule&&this.options.annexB){const r=this.state.pos;if(this.input.charCodeAt(r+1)===33&&this.input.charCodeAt(r+2)===45&&this.input.charCodeAt(r+3)===45){const n=this.skipLineComment(4);n!==void 0&&(this.addComment(n),this.options.attachComment&&e.push(n))}else break e}else break e}}if(e.length>0){const s=this.state.pos,r={start:t,end:s,comments:e,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(t,e){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const s=this.state.type;this.state.type=t,this.state.value=e,this.isLookahead||this.updateContext(s)}replaceToken(t){this.state.type=t,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;const t=this.state.pos+1,e=this.codePointAtPos(t);if(e>=48&&e<=57)throw this.raise(w.UnexpectedDigitAfterHash,this.state.curPosition());if(e===123||e===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(e===123?w.RecordExpressionHashIncorrectStartSyntaxType:w.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,e===123?this.finishToken(7):this.finishToken(1)}else Wt(e)?(++this.state.pos,this.finishToken(138,this.readWord1(e))):e===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const t=this.input.charCodeAt(this.state.pos+1);if(t>=48&&t<=57){this.readNumber(!0);return}t===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let t=this.input.charCodeAt(this.state.pos+1);if(t!==33)return!1;const e=this.state.pos;for(this.state.pos+=1;!hi(t)&&++this.state.pos=48&&e<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(t){switch(t){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(w.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(w.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(t);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(t);return;case 124:case 38:this.readToken_pipe_amp(t);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(t);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(t);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(Wt(t)){this.readWord(t);return}}throw this.raise(w.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(t)})}finishOp(t,e){const s=this.input.slice(this.state.pos,this.state.pos+e);this.state.pos+=e,this.finishToken(t,s)}readRegexp(){const t=this.state.startLoc,e=this.state.start+1;let s,r,{pos:n}=this.state;for(;;++n){if(n>=this.length)throw this.raise(w.UnterminatedRegExp,yt(t,1));const h=this.input.charCodeAt(n);if(hi(h))throw this.raise(w.UnterminatedRegExp,yt(t,1));if(s)s=!1;else{if(h===91)r=!0;else if(h===93&&r)r=!1;else if(h===47&&!r)break;s=h===92}}const a=this.input.slice(e,n);++n;let o="";const l=()=>yt(t,n+2-e);for(;n=2&&this.input.charCodeAt(e)===48;if(h){const I=this.input.slice(e,this.state.pos);if(this.recordStrictModeErrors(w.StrictOctalLiteral,s),!this.state.strict){const A=I.indexOf("_");A>0&&this.raise(w.ZeroDigitNumericSeparator,yt(s,A))}l=h&&!/[89]/.test(I)}let u=this.input.charCodeAt(this.state.pos);if(u===46&&!l&&(++this.state.pos,this.readInt(10),r=!0,u=this.input.charCodeAt(this.state.pos)),(u===69||u===101)&&!l&&(u=this.input.charCodeAt(++this.state.pos),(u===43||u===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(w.InvalidOrMissingExponent,s),r=!0,o=!0,u=this.input.charCodeAt(this.state.pos)),u===110&&((r||h)&&this.raise(w.InvalidBigIntLiteral,s),++this.state.pos,n=!0),u===109&&(this.expectPlugin("decimal",this.state.curPosition()),(o||h)&&this.raise(w.InvalidDecimal,s),++this.state.pos,a=!0),Wt(this.codePointAtPos(this.state.pos)))throw this.raise(w.NumberIdentifier,this.state.curPosition());const x=this.input.slice(e,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(135,x);return}if(a){this.finishToken(136,x);return}const P=l?parseInt(x,8):parseFloat(x);this.finishToken(134,P)}readCodePoint(t){const{code:e,pos:s}=Rl(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,this.errorHandlers_readCodePoint);return this.state.pos=s,e}readString(t){const{str:e,pos:s,curLine:r,lineStart:n}=io(t===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=s+1,this.state.lineStart=n,this.state.curLine=r,this.finishToken(133,e)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const t=this.input[this.state.pos],{str:e,firstInvalidLoc:s,pos:r,curLine:n,lineStart:a}=io("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=r+1,this.state.lineStart=a,this.state.curLine=n,s&&(this.state.firstInvalidTemplateEscapePos=new fs(s.curLine,s.pos-s.lineStart,s.pos)),this.input.codePointAt(r)===96?this.finishToken(24,s?null:t+e+"`"):(this.state.pos++,this.finishToken(25,s?null:t+e+"${"))}recordStrictModeErrors(t,e){const s=e.index;this.state.strict&&!this.state.strictErrors.has(s)?this.raise(t,e):this.state.strictErrors.set(s,[t,e])}readWord1(t){this.state.containsEsc=!1;let e="";const s=this.state.pos;let r=this.state.pos;for(t!==void 0&&(this.state.pos+=t<=65535?1:2);this.state.pos=0;o--){const l=a[o];if(l.loc.index===n)return a[o]=t(r,s);if(l.loc.indexthis.hasPlugin(e)))throw this.raise(w.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:t})}errorBuilder(t){return(e,s,r)=>{this.raise(t,ti(e,s,r))}}}class Vp{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Hp{constructor(t){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=t}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Vp)}exit(){const t=this.stack.pop(),e=this.current();for(const[s,r]of Array.from(t.undefinedPrivateNames))e?e.undefinedPrivateNames.has(s)||e.undefinedPrivateNames.set(s,r):this.parser.raise(w.InvalidPrivateFieldResolution,r,{identifierName:s})}declarePrivateName(t,e,s){const{privateNames:r,loneAccessors:n,undefinedPrivateNames:a}=this.current();let o=r.has(t);if(e&3){const l=o&&n.get(t);if(l){const h=l&4,u=e&4,x=l&3,P=e&3;o=x===P||h!==u,o||n.delete(t)}else o||n.set(t,e)}o&&this.parser.raise(w.PrivateNameRedeclaration,s,{identifierName:t}),r.add(t),a.delete(t)}usePrivateName(t,e){let s;for(s of this.stack)if(s.privateNames.has(t))return;s?s.undefinedPrivateNames.set(t,e):this.parser.raise(w.InvalidPrivateFieldResolution,e,{identifierName:t})}}class Er{constructor(t=0){this.type=t}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class $l extends Er{constructor(t){super(t),this.declarationErrors=new Map}recordDeclarationError(t,e){const s=e.index;this.declarationErrors.set(s,[t,e])}clearDeclarationError(t){this.declarationErrors.delete(t)}iterateErrors(t){this.declarationErrors.forEach(t)}}class Gp{constructor(t){this.parser=void 0,this.stack=[new Er],this.parser=t}enter(t){this.stack.push(t)}exit(){this.stack.pop()}recordParameterInitializerError(t,e){const s=e.loc.start,{stack:r}=this;let n=r.length-1,a=r[n];for(;!a.isCertainlyParameterDeclaration();){if(a.canBeArrowParameterDeclaration())a.recordDeclarationError(t,s);else return;a=r[--n]}this.parser.raise(t,s)}recordArrowParameterBindingError(t,e){const{stack:s}=this,r=s[s.length-1],n=e.loc.start;if(r.isCertainlyParameterDeclaration())this.parser.raise(t,n);else if(r.canBeArrowParameterDeclaration())r.recordDeclarationError(t,n);else return}recordAsyncArrowParametersError(t){const{stack:e}=this;let s=e.length-1,r=e[s];for(;r.canBeArrowParameterDeclaration();)r.type===2&&r.recordDeclarationError(w.AwaitBindingIdentifier,t),r=e[--s]}validateAsPattern(){const{stack:t}=this,e=t[t.length-1];!e.canBeArrowParameterDeclaration()||e.iterateErrors(([s,r])=>{this.parser.raise(s,r);let n=t.length-2,a=t[n];for(;a.canBeArrowParameterDeclaration();)a.clearDeclarationError(r.index),a=t[--n]})}}function Wp(){return new Er(3)}function Kp(){return new $l(1)}function qp(){return new $l(2)}function jl(){return new Er}class zp{constructor(){this.stacks=[]}enter(t){this.stacks.push(t)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}}function qi(i,t){return(i?2:0)|(t?1:0)}class Jp extends Up{addExtra(t,e,s,r=!0){if(!t)return;const n=t.extra=t.extra||{};r?n[e]=s:Object.defineProperty(n,e,{enumerable:r,value:s})}isContextual(t){return this.state.type===t&&!this.state.containsEsc}isUnparsedContextual(t,e){const s=t+e.length;if(this.input.slice(t,s)===e){const r=this.input.charCodeAt(s);return!(Vs(r)||(r&64512)===55296)}return!1}isLookaheadContextual(t){const e=this.nextTokenStart();return this.isUnparsedContextual(e,t)}eatContextual(t){return this.isContextual(t)?(this.next(),!0):!1}expectContextual(t,e){if(!this.eatContextual(t)){if(e!=null)throw this.raise(e,this.state.startLoc);this.unexpected(null,t)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Dl.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return to.lastIndex=this.state.end,to.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(t=!0){(t?this.isLineTerminator():this.eat(13))||this.raise(w.MissingSemicolon,this.state.lastTokEndLoc)}expect(t,e){this.eat(t)||this.unexpected(e,t)}tryParse(t,e=this.state.clone()){const s={node:null};try{const r=t((n=null)=>{throw s.node=n,s});if(this.state.errors.length>e.errors.length){const n=this.state;return this.state=e,this.state.tokensLength=n.tokensLength,{node:r,error:n.errors[e.errors.length],thrown:!1,aborted:!1,failState:n}}return{node:r,error:null,thrown:!1,aborted:!1,failState:null}}catch(r){const n=this.state;if(this.state=e,r instanceof SyntaxError)return{node:null,error:r,thrown:!0,aborted:!1,failState:n};if(r===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:n};throw r}}checkExpressionErrors(t,e){if(!t)return!1;const{shorthandAssignLoc:s,doubleProtoLoc:r,privateKeyLoc:n,optionalParametersLoc:a}=t,o=!!s||!!r||!!a||!!n;if(!e)return o;s!=null&&this.raise(w.InvalidCoverInitializedName,s),r!=null&&this.raise(w.DuplicateProto,r),n!=null&&this.raise(w.UnexpectedPrivateField,n),a!=null&&this.unexpected(a)}isLiteralPropertyName(){return Ll(this.state.type)}isPrivateName(t){return t.type==="PrivateName"}getPrivateNameSV(t){return t.id.name}hasPropertyAsPrivateName(t){return(t.type==="MemberExpression"||t.type==="OptionalMemberExpression")&&this.isPrivateName(t.property)}isObjectProperty(t){return t.type==="ObjectProperty"}isObjectMethod(t){return t.type==="ObjectMethod"}initializeScopes(t=this.options.sourceType==="module"){const e=this.state.labels;this.state.labels=[];const s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const r=this.inModule;this.inModule=t;const n=this.scope,a=this.getScopeHandler();this.scope=new a(this,t);const o=this.prodParam;this.prodParam=new zp;const l=this.classScope;this.classScope=new Hp(this);const h=this.expressionScope;return this.expressionScope=new Gp(this),()=>{this.state.labels=e,this.exportedIdentifiers=s,this.inModule=r,this.scope=n,this.prodParam=o,this.classScope=l,this.expressionScope=h}}enterInitialScopes(){let t=0;this.inModule&&(t|=2),this.scope.enter(1),this.prodParam.enter(t)}checkDestructuringPrivate(t){const{privateKeyLoc:e}=t;e!==null&&this.expectPlugin("destructuringPrivate",e)}}class zi{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class nr{constructor(t,e,s){this.type="",this.start=e,this.end=0,this.loc=new ir(s),t!=null&&t.options.ranges&&(this.range=[e,0]),t!=null&&t.filename&&(this.loc.filename=t.filename)}}const Qn=nr.prototype;Qn.__clone=function(){const i=new nr(void 0,this.start,this.loc.start),t=Object.keys(this);for(let e=0,s=t.length;e`Cannot overwrite reserved type ${i}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:i,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${i} = true,\` or \`${i} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:i,enumName:t})=>`Enum member names need to be unique, but the name \`${i}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:i})=>`Enum \`${i}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:i,enumName:t})=>`Enum type \`${i}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:i})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${i}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:i,memberName:t,explicitType:e})=>`Enum \`${i}\` has type \`${e}\`, so the initializer of \`${t}\` needs to be a ${e} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:i,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${i}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:i,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${i}\`.`,EnumInvalidMemberName:({enumName:i,memberName:t,suggestion:e})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${e}\`, in enum \`${i}\`.`,EnumNumberMemberNotInitialized:({enumName:i,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${i}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:i})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${i}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:i})=>`Unexpected reserved type ${i}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:i,suggestion:t})=>`\`declare export ${i}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function ef(i){return i.type==="DeclareExportAllDeclaration"||i.type==="DeclareExportDeclaration"&&(!i.declaration||i.declaration.type!=="TypeAlias"&&i.declaration.type!=="InterfaceDeclaration")}function ro(i){return i.importKind==="type"||i.importKind==="typeof"}const tf={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function sf(i,t){const e=[],s=[];for(let r=0;rclass extends i{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return _p}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,s){e!==133&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,s)}addComment(e){if(this.flowPragma===void 0){const s=rf.exec(e.value);if(s)if(s[1]==="flow")this.flowPragma="flow";else if(s[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(e)}flowParseTypeInitialiser(e){const s=this.state.inType;this.state.inType=!0,this.expect(e||14);const r=this.flowParseType();return this.state.inType=s,r}flowParsePredicate(){const e=this.startNode(),s=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>s.index+1&&this.raise(ve.UnexpectedSpaceBetweenModuloChecks,s),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=!0,this.expect(14);let s=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(s=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[s,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const s=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);const a=this.flowParseFunctionTypeParams();return r.params=a.params,r.rest=a.rest,r.this=a._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),s.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(s),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,s){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(e):(s&&this.raise(ve.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,s);this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(133)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();const s=e.body=this.startNode(),r=s.body=[];for(this.expect(5);!this.match(8);){let o=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(ve.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(o)):(this.expectContextual(125,ve.UnsupportedStatementInDeclareModule),o=this.flowParseDeclare(o,!0)),r.push(o)}this.scope.exit(),this.expect(8),this.finishNode(s,"BlockStatement");let n=null,a=!1;return r.forEach(o=>{ef(o)?(n==="CommonJS"&&this.raise(ve.AmbiguousDeclareModuleKind,o),n="ES"):o.type==="DeclareModuleExports"&&(a&&this.raise(ve.DuplicateDeclareModuleExports,o),n==="ES"&&this.raise(ve.AmbiguousDeclareModuleKind,o),n="CommonJS",a=!0)}),e.kind=n||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,s){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!s){const r=this.state.value;throw this.raise(ve.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:r,suggestion:tf[r]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return e=this.parseExport(e,null),e.type==="ExportNamedDeclaration"&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();const s=this.flowParseTypeAlias(e);return s.type="DeclareTypeAlias",s}flowParseDeclareOpaqueType(e){this.next();const s=this.flowParseOpaqueType(e,!0);return s.type="DeclareOpaqueType",s}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,s){if(e.id=this.flowParseRestrictedIdentifier(!s,!0),this.scope.declareName(e.id.name,s?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!s&&this.eat(12));if(s){if(e.implements=[],e.mixins=[],this.eatContextual(117))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:s,allowExact:!1,allowSpread:!1,allowProto:s,allowInexact:!1})}flowParseInterfaceExtends(){const e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){e==="_"&&this.raise(ve.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,s,r){!Qp.has(e)||this.raise(r?ve.AssignReservedType:ve.UnexpectedReservedType,s,{reservedType:e})}flowParseRestrictedIdentifier(e,s){return this.checkReservedType(this.state.value,this.state.startLoc,s),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,s){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,s||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){const s=this.state.startLoc,r=this.startNode(),n=this.flowParseVariance(),a=this.flowParseTypeAnnotatableIdentifier();return r.name=a.name,r.variance=n,r.bound=a.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(ve.MissingTypeParamDefault,s),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,s=this.startNode();s.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let r=!1;do{const n=this.flowParseTypeParameter(r);s.params.push(n),n.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(s,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode(),s=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);const r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(48),this.state.inType=s,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode(),s=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=s,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,s,r){return e.static=s,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,s){return e.static=s,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,s){const r=this.startNode();return e.static=s,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:s,allowSpread:r,allowProto:n,allowInexact:a}){const o=this.state.inType;this.state.inType=!0;const l=this.startNode();l.callProperties=[],l.properties=[],l.indexers=[],l.internalSlots=[];let h,u,x=!1;for(s&&this.match(6)?(this.expect(6),h=9,u=!0):(this.expect(5),h=8,u=!1),l.exact=u;!this.match(h);){let I=!1,A=null,G=null;const B=this.startNode();if(n&&this.isContextual(118)){const V=this.lookahead();V.type!==14&&V.type!==17&&(this.next(),A=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){const V=this.lookahead();V.type!==14&&V.type!==17&&(this.next(),I=!0)}const $=this.flowParseVariance();if(this.eat(0))A!=null&&this.unexpected(A),this.eat(0)?($&&this.unexpected($.loc.start),l.internalSlots.push(this.flowParseObjectTypeInternalSlot(B,I))):l.indexers.push(this.flowParseObjectTypeIndexer(B,I,$));else if(this.match(10)||this.match(47))A!=null&&this.unexpected(A),$&&this.unexpected($.loc.start),l.callProperties.push(this.flowParseObjectTypeCallProperty(B,I));else{let V="init";if(this.isContextual(99)||this.isContextual(104)){const Z=this.lookahead();Ll(Z.type)&&(V=this.state.value,this.next())}const ee=this.flowParseObjectTypeProperty(B,I,A,$,V,r,a!=null?a:!u);ee===null?(x=!0,G=this.state.lastTokStartLoc):l.properties.push(ee)}this.flowObjectTypeSemicolon(),G&&!this.match(8)&&!this.match(9)&&this.raise(ve.UnexpectedExplicitInexactInObject,G)}this.expect(h),r&&(l.inexact=x);const P=this.finishNode(l,"ObjectTypeAnnotation");return this.state.inType=o,P}flowParseObjectTypeProperty(e,s,r,n,a,o,l){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(o?l||this.raise(ve.InexactInsideExact,this.state.lastTokStartLoc):this.raise(ve.InexactInsideNonObject,this.state.lastTokStartLoc),n&&this.raise(ve.InexactVariance,n),null):(o||this.raise(ve.UnexpectedSpreadType,this.state.lastTokStartLoc),r!=null&&this.unexpected(r),n&&this.raise(ve.SpreadVariance,n),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=s,e.proto=r!=null,e.kind=a;let h=!1;return this.match(47)||this.match(10)?(e.method=!0,r!=null&&this.unexpected(r),n&&this.unexpected(n.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(a==="get"||a==="set")&&this.flowCheckGetterSetterParams(e),!o&&e.key.name==="constructor"&&e.value.this&&this.raise(ve.ThisParamBannedInConstructor,e.value.this)):(a!=="init"&&this.unexpected(),e.method=!1,this.eat(17)&&(h=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=h,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const s=e.kind==="get"?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.kind==="get"?ve.GetterMayNotHaveThisParam:ve.SetterMayNotHaveThisParam,e.value.this),r!==s&&this.raise(e.kind==="get"?w.BadGetterArity:w.BadSetterArity,e),e.kind==="set"&&e.value.rest&&this.raise(w.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,s){var r;(r=e)!=null||(e=this.state.startLoc);let n=s||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const a=this.startNodeAt(e);a.qualification=n,a.id=this.flowParseRestrictedIdentifier(!0),n=this.finishNode(a,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,s){const r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,s),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();for(e.types=[],this.expect(0);this.state.possuper.parseFunctionBody(e,!0,r));return}super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,s,r=!1){if(this.match(14)){const n=this.startNode();[n.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=n.typeAnnotation?this.finishNode(n,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,s,r)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){const r=this.lookahead();if(vt(r.type)){const n=this.startNode();return this.next(),this.flowParseInterface(n)}}else if(this.shouldParseEnums()&&this.isContextual(126)){const r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}const s=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(s)&&(this.flowPragma=null),s}parseExpressionStatement(e,s,r){if(s.type==="Identifier"){if(s.name==="declare"){if(this.match(80)||He(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(He(this.state.type)){if(s.name==="interface")return this.flowParseInterface(e);if(s.name==="type")return this.flowParseTypeAlias(e);if(s.name==="opaque")return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,s,r)}shouldParseExportDeclaration(){const{type:e}=this.state;return eo(e)||this.shouldParseEnums()&&e===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return eo(e)||this.shouldParseEnums()&&e===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,s,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const P=this.lookaheadCharCode();if(P===44||P===61||P===58||P===41)return this.setOptionalParametersError(r),e}this.expect(17);const n=this.state.clone(),a=this.state.noArrowAt,o=this.startNodeAt(s);let{consequent:l,failed:h}=this.tryParseConditionalConsequent(),[u,x]=this.getArrowLikeExpressions(l);if(h||x.length>0){const P=[...a];if(x.length>0){this.state=n,this.state.noArrowAt=P;for(let I=0;I1&&this.raise(ve.AmbiguousConditionalArrow,n.startLoc),h&&u.length===1&&(this.state=n,P.push(u[0].start),this.state.noArrowAt=P,{consequent:l,failed:h}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(l,!0),this.state.noArrowAt=a,this.expect(14),o.test=e,o.consequent=l,o.alternate=this.forwardNoArrowParamsConversionAt(o,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn(),s=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:s}}getArrowLikeExpressions(e,s){const r=[e],n=[];for(;r.length!==0;){const a=r.pop();a.type==="ArrowFunctionExpression"?(a.typeParameters||!a.returnType?this.finishArrowValidation(a):n.push(a),r.push(a.body)):a.type==="ConditionalExpression"&&(r.push(a.consequent),r.push(a.alternate))}return s?(n.forEach(a=>this.finishArrowValidation(a)),[n,[]]):sf(n,a=>a.params.every(o=>this.isAssignable(o,!0)))}finishArrowValidation(e){var s;this.toAssignableList(e.params,(s=e.extra)==null?void 0:s.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,s){let r;return this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),r=s(),this.state.noArrowParamsConversionAt.pop()):r=s(),r}parseParenItem(e,s){if(e=super.parseParenItem(e,s),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const r=this.startNodeAt(s);return r.expression=e,r.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(r,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind="type";const s=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(s)}else if(this.isContextual(131)){e.exportKind="type";const s=this.startNode();return this.next(),this.flowParseOpaqueType(s,!1)}else if(this.isContextual(129)){e.exportKind="type";const s=this.startNode();return this.next(),this.flowParseInterface(s)}else if(this.shouldParseEnums()&&this.isContextual(126)){e.exportKind="value";const s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(130)&&this.lookahead().type===55?(e.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){const{startLoc:s}=this.state,r=super.maybeParseExportNamespaceSpecifier(e);return r&&e.exportKind==="type"&&this.unexpected(s),r}parseClassId(e,s,r){super.parseClassId(e,s,r),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,s,r){const{startLoc:n}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,s))return;s.declare=!0}super.parseClassMember(e,s,r),s.declare&&(s.type!=="ClassProperty"&&s.type!=="ClassPrivateProperty"&&s.type!=="PropertyDefinition"?this.raise(ve.DeclareClassElement,n):s.value&&this.raise(ve.DeclareClassFieldInitializer,s.value))}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1(),s="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(w.InvalidIdentifier,this.state.curPosition(),{identifierName:s}),this.finishToken(132,s)}getTokenFromCode(e){const s=this.input.charCodeAt(this.state.pos+1);e===123&&s===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?s===46?this.finishOp(18,2):this.finishOp(17,1):Lp(e,s,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,s){return e.type==="TypeCastExpression"?this.isAssignable(e.expression,s):super.isAssignable(e,s)}toAssignable(e,s=!1){!s&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,s)}toAssignableList(e,s,r){for(let n=0;n1||!s)&&this.raise(ve.TypeCastInPattern,a.typeAnnotation)}return e}parseArrayLike(e,s,r,n){const a=super.parseArrayLike(e,s,r,n);return s&&!this.state.maybeInArrowParameters&&this.toReferencedList(a.elements),a}isValidLVal(e,s,r){return e==="TypeCastExpression"||super.isValidLVal(e,s,r)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,s,r,n,a,o){if(s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,s,r,n,a,o),s.params&&a){const l=s.params;l.length>0&&this.isThisParam(l[0])&&this.raise(ve.ThisParamBannedInConstructor,s)}else if(s.type==="MethodDefinition"&&a&&s.value.params){const l=s.value.params;l.length>0&&this.isThisParam(l[0])&&this.raise(ve.ThisParamBannedInConstructor,s)}}pushClassPrivateMethod(e,s,r,n){s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,s,r,n)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();const s=e.implements=[];do{const r=this.startNode();r.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?r.typeParameters=this.flowParseTypeParameterInstantiation():r.typeParameters=null,s.push(this.finishNode(r,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const s=this.getObjectOrClassMethodParams(e);if(s.length>0){const r=s[0];this.isThisParam(r)&&e.kind==="get"?this.raise(ve.GetterMayNotHaveThisParam,r):this.isThisParam(r)&&this.raise(ve.SetterMayNotHaveThisParam,r)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,s,r,n,a,o,l){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let h;this.match(47)&&!o&&(h=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const u=super.parseObjPropValue(e,s,r,n,a,o,l);return h&&((u.value||u).typeParameters=h),u}parseAssignableListItemTypes(e){return this.eat(17)&&(e.type!=="Identifier"&&this.raise(ve.PatternIsOptional,e),this.isThisParam(e)&&this.raise(ve.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(ve.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(ve.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,s){const r=super.parseMaybeDefault(e,s);return r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.startsuper.parseMaybeAssign(e,s),n),!a.error)return a.node;const{context:h}=this.state,u=h[h.length-1];(u===Ke.j_oTag||u===Ke.j_expr)&&h.pop()}if((r=a)!=null&&r.error||this.match(47)){var o,l;n=n||this.state.clone();let h;const u=this.tryParse(P=>{var I;h=this.flowParseTypeParameterDeclaration();const A=this.forwardNoArrowParamsConversionAt(h,()=>{const B=super.parseMaybeAssign(e,s);return this.resetStartLocationFromNode(B,h),B});(I=A.extra)!=null&&I.parenthesized&&P();const G=this.maybeUnwrapTypeCastExpression(A);return G.type!=="ArrowFunctionExpression"&&P(),G.typeParameters=h,this.resetStartLocationFromNode(G,h),A},n);let x=null;if(u.node&&this.maybeUnwrapTypeCastExpression(u.node).type==="ArrowFunctionExpression"){if(!u.error&&!u.aborted)return u.node.async&&this.raise(ve.UnexpectedTypeParameterBeforeAsyncArrowFunction,h),u.node;x=u.node}if((o=a)!=null&&o.node)return this.state=a.failState,a.node;if(x)return this.state=u.failState,x;throw(l=a)!=null&&l.thrown?a.error:u.thrown?u.error:this.raise(ve.UnexpectedTokenAfterTypeParameter,h)}return super.parseMaybeAssign(e,s)}parseArrow(e){if(this.match(14)){const s=this.tryParse(()=>{const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const n=this.startNode();return[n.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=r,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),n});if(s.thrown)return null;s.error&&(this.state=s.failState),e.returnType=s.node.typeAnnotation?this.finishNode(s.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,s){this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1?e.params=s:super.setArrowFunctionParameters(e,s)}checkParams(e,s,r,n=!0){if(!(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1)){for(let a=0;a0&&this.raise(ve.ThisParamMustBeFirst,e.params[a]);super.checkParams(e,s,r,n)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,s,r){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(s.index)!==-1){this.next();const n=this.startNodeAt(s);n.callee=e,n.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){const n=this.state.clone(),a=this.tryParse(l=>this.parseAsyncArrowWithTypeParameters(s)||l(),n);if(!a.error&&!a.aborted)return a.node;const o=this.tryParse(()=>super.parseSubscripts(e,s,r),n);if(o.node&&!o.error)return o.node;if(a.node)return this.state=a.failState,a.node;if(o.node)return this.state=o.failState,o.node;throw a.error||o.error}return super.parseSubscripts(e,s,r)}parseSubscript(e,s,r,n){if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,r)return n.stop=!0,e;this.next();const a=this.startNodeAt(s);return a.callee=e,a.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),a.arguments=this.parseCallExpressionArguments(11,!1),a.optional=!0,this.finishCallExpression(a,!0)}else if(!r&&this.shouldParseTypes()&&this.match(47)){const a=this.startNodeAt(s);a.callee=e;const o=this.tryParse(()=>(a.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),a.arguments=super.parseCallExpressionArguments(11,!1),n.optionalChainMember&&(a.optional=!1),this.finishCallExpression(a,n.optionalChainMember)));if(o.node)return o.error&&(this.state=o.failState),o.node}return super.parseSubscript(e,s,r,n)}parseNewCallee(e){super.parseNewCallee(e);let s=null;this.shouldParseTypes()&&this.match(47)&&(s=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=s}parseAsyncArrowWithTypeParameters(e){const s=this.startNodeAt(e);if(this.parseFunctionParams(s,!1),!!this.parseArrow(s))return super.parseArrowExpression(s,void 0,!0)}readToken_mult_modulo(e){const s=this.input.charCodeAt(this.state.pos+1);if(e===42&&s===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const s=this.input.charCodeAt(this.state.pos+1);if(e===124&&s===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,s){const r=super.parseTopLevel(e,s);return this.state.hasFlowComment&&this.raise(ve.UnterminatedFlowComment,this.state.curPosition()),r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(ve.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){const{pos:e}=this.state;let s=2;for(;[32,9].includes(this.input.charCodeAt(e+s));)s++;const r=this.input.charCodeAt(s+e),n=this.input.charCodeAt(s+e+1);return r===58&&n===58?s+2:this.input.slice(s+e,s+e+12)==="flow-include"?s+12:r===58&&n!==58?s:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(w.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:s,memberName:r}){this.raise(ve.EnumBooleanMemberNotInitialized,e,{memberName:r,enumName:s})}flowEnumErrorInvalidMemberInitializer(e,s){return this.raise(s.explicitType?s.explicitType==="symbol"?ve.EnumInvalidMemberInitializerSymbolType:ve.EnumInvalidMemberInitializerPrimaryType:ve.EnumInvalidMemberInitializerUnknownType,e,s)}flowEnumErrorNumberMemberNotInitialized(e,s){this.raise(ve.EnumNumberMemberNotInitialized,e,s)}flowEnumErrorStringMemberInconsistentlyInitialized(e,s){this.raise(ve.EnumStringMemberInconsistentlyInitialized,e,s)}flowEnumMemberInit(){const e=this.state.startLoc,s=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{const r=this.parseNumericLiteral(this.state.value);return s()?{type:"number",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 133:{const r=this.parseStringLiteral(this.state.value);return s()?{type:"string",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 85:case 86:{const r=this.parseBooleanLiteral(this.match(85));return s()?{type:"boolean",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){const e=this.state.startLoc,s=this.parseIdentifier(!0),r=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:s,init:r}}flowEnumCheckExplicitTypeMismatch(e,s,r){const{explicitType:n}=s;n!==null&&n!==r&&this.flowEnumErrorInvalidMemberInitializer(e,s)}flowEnumMembers({enumName:e,explicitType:s}){const r=new Set,n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let a=!1;for(;!this.match(8);){if(this.eat(21)){a=!0;break}const o=this.startNode(),{id:l,init:h}=this.flowEnumMemberRaw(),u=l.name;if(u==="")continue;/^[a-z]/.test(u)&&this.raise(ve.EnumInvalidMemberName,l,{memberName:u,suggestion:u[0].toUpperCase()+u.slice(1),enumName:e}),r.has(u)&&this.raise(ve.EnumDuplicateMemberName,l,{memberName:u,enumName:e}),r.add(u);const x={enumName:e,explicitType:s,memberName:u};switch(o.id=l,h.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(h.loc,x,"boolean"),o.init=h.value,n.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(h.loc,x,"number"),o.init=h.value,n.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(h.loc,x,"string"),o.init=h.value,n.stringMembers.push(this.finishNode(o,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(h.loc,x);case"none":switch(s){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(h.loc,x);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(h.loc,x);break;default:n.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:n,hasUnknownMembers:a}}flowEnumStringMembers(e,s,{enumName:r}){if(e.length===0)return s;if(s.length===0)return e;if(s.length>e.length){for(const n of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(n,{enumName:r});return s}else{for(const n of s)this.flowEnumErrorStringMemberInconsistentlyInitialized(n,{enumName:r});return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!He(this.state.type))throw this.raise(ve.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});const{value:s}=this.state;return this.next(),s!=="boolean"&&s!=="number"&&s!=="string"&&s!=="symbol"&&this.raise(ve.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:s}),s}flowEnumBody(e,s){const r=s.name,n=s.loc.start,a=this.flowEnumParseExplicitType({enumName:r});this.expect(5);const{members:o,hasUnknownMembers:l}=this.flowEnumMembers({enumName:r,explicitType:a});switch(e.hasUnknownMembers=l,a){case"boolean":return e.explicitType=!0,e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=o.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const h=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const u=o.booleanMembers.length,x=o.numberMembers.length,P=o.stringMembers.length,I=o.defaultedMembers.length;if(!u&&!x&&!P&&!I)return h();if(!u&&!x)return e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!x&&!P&&u>=I){for(const A of o.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(A.loc.start,{enumName:r,memberName:A.id.name});return e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}else if(!u&&!P&&x>=I){for(const A of o.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(A.loc.start,{enumName:r,memberName:A.id.name});return e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}else return this.raise(ve.EnumInconsistentMemberValues,n,{enumName:r}),h()}}}flowParseEnumDeclaration(e){const s=this.parseIdentifier();return e.id=s,e.body=this.flowEnumBody(this.startNode(),s),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const s=this.input.charCodeAt(e+1);return s!==60&&s!==61}return!1}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}};const af={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},Ss=qt`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:i})=>`Expected corresponding JSX closing tag for <${i}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:i,HTMLEntity:t})=>`Unexpected token \`${i}\`. Did you mean \`${t}\` or \`{'${i}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"});function is(i){return i?i.type==="JSXOpeningFragment"||i.type==="JSXClosingFragment":!1}function Ds(i){if(i.type==="JSXIdentifier")return i.name;if(i.type==="JSXNamespacedName")return i.namespace.name+":"+i.name.name;if(i.type==="JSXMemberExpression")return Ds(i.object)+"."+Ds(i.property);throw new Error("Node had unexpected type: "+i.type)}var of=i=>class extends i{jsxReadToken(){let e="",s=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Ss.UnterminatedJsxContent,this.state.startLoc);const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){r===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(r);return}e+=this.input.slice(s,this.state.pos),this.finishToken(141,e);return;case 38:e+=this.input.slice(s,this.state.pos),e+=this.jsxReadEntity(),s=this.state.pos;break;case 62:case 125:default:hi(r)?(e+=this.input.slice(s,this.state.pos),e+=this.jsxReadNewLine(!0),s=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){const s=this.input.charCodeAt(this.state.pos);let r;return++this.state.pos,s===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,r=e?` -`:`\r -`):r=String.fromCharCode(s),++this.state.curLine,this.state.lineStart=this.state.pos,r}jsxReadString(e){let s="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(w.UnterminatedString,this.state.startLoc);const n=this.input.charCodeAt(this.state.pos);if(n===e)break;n===38?(s+=this.input.slice(r,this.state.pos),s+=this.jsxReadEntity(),r=this.state.pos):hi(n)?(s+=this.input.slice(r,this.state.pos),s+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}s+=this.input.slice(r,this.state.pos++),this.finishToken(133,s)}jsxReadEntity(){const e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let s=10;this.codePointAtPos(this.state.pos)===120&&(s=16,++this.state.pos);const r=this.readInt(s,void 0,!1,"bail");if(r!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(r)}else{let s=0,r=!1;for(;s++<10&&this.state.pos1){for(let r=0;r0){if(s&256){const n=!!(s&512),a=(r&4)>0;return n!==a}return!0}return s&128&&(r&8)>0?t.names.get(e)&2?!!(s&1):!1:s&2&&(r&1)>0?!0:super.isRedeclaredInScope(t,e,s)}checkLocalExport(t){const{name:e}=t;if(this.hasImport(e))return;const s=this.scopeStack.length;for(let r=s-1;r>=0;r--){const a=this.scopeStack[r].tsNames.get(e);if((a&1)>0||(a&16)>0)return}super.checkLocalExport(t)}}const uf=(i,t)=>Object.hasOwnProperty.call(i,t)&&i[t],Ul=i=>i.type==="ParenthesizedExpression"?Ul(i.expression):i;class hf extends Zp{toAssignable(t,e=!1){var s,r;let n;switch((t.type==="ParenthesizedExpression"||(s=t.extra)!=null&&s.parenthesized)&&(n=Ul(t),e?n.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(w.InvalidParenthesizedAssignment,t):n.type!=="MemberExpression"&&!this.isOptionalMemberExpression(n)&&this.raise(w.InvalidParenthesizedAssignment,t):this.raise(w.InvalidParenthesizedAssignment,t)),t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern";for(let o=0,l=t.properties.length,h=l-1;or.type!=="ObjectMethod"&&(n===s||r.type!=="SpreadElement")&&this.isAssignable(r))}case"ObjectProperty":return this.isAssignable(t.value);case"SpreadElement":return this.isAssignable(t.argument);case"ArrayExpression":return t.elements.every(s=>s===null||this.isAssignable(s));case"AssignmentExpression":return t.operator==="=";case"ParenthesizedExpression":return this.isAssignable(t.expression);case"MemberExpression":case"OptionalMemberExpression":return!e;default:return!1}}toReferencedList(t,e){return t}toReferencedListDeep(t,e){this.toReferencedList(t,e);for(const s of t)(s==null?void 0:s.type)==="ArrayExpression"&&this.toReferencedListDeep(s.elements)}parseSpread(t){const e=this.startNode();return this.next(),e.argument=this.parseMaybeAssignAllowIn(t,void 0),this.finishNode(e,"SpreadElement")}parseRestBinding(){const t=this.startNode();return this.next(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const t=this.startNode();return this.next(),t.elements=this.parseBindingList(3,93,1),this.finishNode(t,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(t,e,s){const r=s&1,n=[];let a=!0;for(;!this.eat(t);)if(a?a=!1:this.expect(12),r&&this.match(12))n.push(null);else{if(this.eat(t))break;if(this.match(21)){if(n.push(this.parseAssignableListItemTypes(this.parseRestBinding(),s)),!this.checkCommaAfterRest(e)){this.expect(t);break}}else{const o=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(w.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)o.push(this.parseDecorator());n.push(this.parseAssignableListItem(s,o))}}return n}parseBindingRestProperty(t){return this.next(),t.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(t,"RestElement")}parseBindingProperty(){const t=this.startNode(),{type:e,startLoc:s}=this.state;return e===21?this.parseBindingRestProperty(t):(e===138?(this.expectPlugin("destructuringPrivate",s),this.classScope.usePrivateName(this.state.value,s),t.key=this.parsePrivateName()):this.parsePropertyName(t),t.method=!1,this.parseObjPropValue(t,s,!1,!1,!0,!1))}parseAssignableListItem(t,e){const s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s,t);const r=this.parseMaybeDefault(s.loc.start,s);return e.length&&(s.decorators=e),r}parseAssignableListItemTypes(t,e){return t}parseMaybeDefault(t,e){var s,r;if((s=t)!=null||(t=this.state.startLoc),e=(r=e)!=null?r:this.parseBindingAtom(),!this.eat(29))return e;const n=this.startNodeAt(t);return n.left=e,n.right=this.parseMaybeAssignAllowIn(),this.finishNode(n,"AssignmentPattern")}isValidLVal(t,e,s){return uf({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},t)}isOptionalMemberExpression(t){return t.type==="OptionalMemberExpression"}checkLVal(t,{in:e,binding:s=64,checkClashes:r=!1,strictModeChanged:n=!1,hasParenthesizedAncestor:a=!1}){var o;const l=t.type;if(this.isObjectMethod(t))return;const h=this.isOptionalMemberExpression(t);if(h||l==="MemberExpression"){h&&(this.expectPlugin("optionalChainingAssign",t.loc.start),e.type!=="AssignmentExpression"&&this.raise(w.InvalidLhsOptionalChaining,t,{ancestor:e})),s!==64&&this.raise(w.InvalidPropertyBindingPattern,t);return}if(l==="Identifier"){this.checkIdentifier(t,s,n);const{name:A}=t;r&&(r.has(A)?this.raise(w.ParamDupe,t):r.add(A));return}const u=this.isValidLVal(l,!(a||(o=t.extra)!=null&&o.parenthesized)&&e.type==="AssignmentExpression",s);if(u===!0)return;if(u===!1){const A=s===64?w.InvalidLhs:w.InvalidLhsBinding;this.raise(A,t,{ancestor:e});return}const[x,P]=Array.isArray(u)?u:[u,l==="ParenthesizedExpression"],I=l==="ArrayPattern"||l==="ObjectPattern"?{type:l}:e;for(const A of[].concat(t[x]))A&&this.checkLVal(A,{in:I,binding:s,checkClashes:r,strictModeChanged:n,hasParenthesizedAncestor:P})}checkIdentifier(t,e,s=!1){this.state.strict&&(s?Ol(t.name,this.inModule):Ml(t.name))&&(e===64?this.raise(w.StrictEvalArguments,t,{referenceName:t.name}):this.raise(w.StrictEvalArgumentsBinding,t,{bindingName:t.name})),e&8192&&t.name==="let"&&this.raise(w.LetInLexicalBinding,t),e&64||this.declareNameFromIdentifier(t,e)}declareNameFromIdentifier(t,e){this.scope.declareName(t.name,e,t.loc.start)}checkToRestConversion(t,e){switch(t.type){case"ParenthesizedExpression":this.checkToRestConversion(t.expression,e);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(e)break;default:this.raise(w.InvalidRestAssignmentPattern,t)}}checkCommaAfterRest(t){return this.match(12)?(this.raise(this.lookaheadCharCode()===t?w.RestTrailingComma:w.ElementAfterRest,this.state.startLoc),!0):!1}}const pf=(i,t)=>Object.hasOwnProperty.call(i,t)&&i[t];function ff(i){if(i==null)throw new Error(`Unexpected ${i} value.`);return i}function no(i){if(!i)throw new Error("Assert fail")}const Ce=qt`typescript`({AbstractMethodHasImplementation:({methodName:i})=>`Method '${i}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:i})=>`Property '${i}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:i})=>`'declare' is not allowed in ${i}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:i})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:i})=>`Duplicate modifier: '${i}'.`,EmptyHeritageClauseType:({token:i})=>`'${i}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:i})=>`'${i[0]}' modifier cannot be used with '${i[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:i})=>`Index signatures cannot have an accessibility modifier ('${i}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:i})=>`'${i}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:i})=>`'${i}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:i})=>`'${i}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:i})=>`'${i[0]}' modifier must precede '${i[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:i})=>`Private elements cannot have an accessibility modifier ('${i}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:i})=>`Single type parameter ${i} should have a trailing comma. Example usage: <${i},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:i})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${i}.`});function df(i){switch(i){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function ao(i){return i==="private"||i==="public"||i==="protected"}function mf(i){return i==="in"||i==="out"}var yf=i=>class extends i{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Ce.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Ce.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Ce.InvalidModifierOnTypeParameter})}getScopeHandler(){return cf}tsIsIdentifier(){return He(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,s){if(!He(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;const r=this.state.value;if(e.indexOf(r)!==-1){if(s&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:s,stopOnStartOfClassStaticBlock:r,errorTemplate:n=Ce.InvalidModifierOnTypeMember},a){const o=(h,u,x,P)=>{u===x&&a[P]&&this.raise(Ce.InvalidModifiersOrder,h,{orderedModifiers:[x,P]})},l=(h,u,x,P)=>{(a[x]&&u===P||a[P]&&u===x)&&this.raise(Ce.IncompatibleModifiers,h,{modifiers:[x,P]})};for(;;){const{startLoc:h}=this.state,u=this.tsParseModifier(e.concat(s!=null?s:[]),r);if(!u)break;ao(u)?a.accessibility?this.raise(Ce.DuplicateAccessibilityModifier,h,{modifier:u}):(o(h,u,u,"override"),o(h,u,u,"static"),o(h,u,u,"readonly"),a.accessibility=u):mf(u)?(a[u]&&this.raise(Ce.DuplicateModifier,h,{modifier:u}),a[u]=!0,o(h,u,"in","out")):(Object.hasOwnProperty.call(a,u)?this.raise(Ce.DuplicateModifier,h,{modifier:u}):(o(h,u,"static","readonly"),o(h,u,"static","override"),o(h,u,"override","readonly"),o(h,u,"abstract","override"),l(h,u,"declare","override"),l(h,u,"static","abstract")),a[u]=!0),s!=null&&s.includes(u)&&this.raise(n,h,{modifier:u})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,s){const r=[];for(;!this.tsIsListTerminator(e);)r.push(s());return r}tsParseDelimitedList(e,s,r){return ff(this.tsParseDelimitedListWorker(e,s,!0,r))}tsParseDelimitedListWorker(e,s,r,n){const a=[];let o=-1;for(;!this.tsIsListTerminator(e);){o=-1;const l=s();if(l==null)return;if(a.push(l),this.eat(12)){o=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(e))break;r&&this.expect(12);return}return n&&(n.value=o),a}tsParseBracketedList(e,s,r,n,a){n||(r?this.expect(0):this.expect(47));const o=this.tsParseDelimitedList(e,s,a);return r?this.expect(3):this.expect(48),o}tsParseImportType(){const e=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(Ce.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e=!0){let s=this.parseIdentifier(e);for(;this.eat(16);){const r=this.startNodeAtNode(s);r.left=s,r.right=this.parseIdentifier(e),s=this.finishNode(r,"TSQualifiedName")}return s}tsParseTypeReference(){const e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const s=this.startNodeAtNode(e);return s.parameterName=e,s.typeAnnotation=this.tsParseTypeAnnotation(!1),s.asserts=!1,this.finishNode(s,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){const s=this.startNode();return e(s),s.name=this.tsParseTypeParameterName(),s.constraint=this.tsEatThenParseType(81),s.default=this.tsEatThenParseType(29),this.finishNode(s,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){const s=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();const r={value:-1};return s.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),s.params.length===0&&this.raise(Ce.EmptyTypeParameters,s),r.value!==-1&&this.addExtra(s,"trailingComma",r.value),this.finishNode(s,"TSTypeParameterDeclaration")}tsFillSignature(e,s){const r=e===19,n="parameters",a="typeAnnotation";s.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),s[n]=this.tsParseBindingListForSignature(),r?s[a]=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(s[a]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){const e=super.parseBindingList(11,41,2);for(const s of e){const{type:r}=s;(r==="AssignmentPattern"||r==="TSParameterProperty")&&this.raise(Ce.UnsupportedSignatureParameterKind,s,{type:r})}return e}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,s){return this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon(),this.finishNode(s,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),He(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);const s=this.parseIdentifier();s.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(s),this.expect(3),e.parameters=[s];const r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,s){this.eat(17)&&(e.optional=!0);const r=e;if(this.match(10)||this.match(47)){s&&this.raise(Ce.ReadonlyForMethodSignature,e);const n=r;n.kind&&this.match(47)&&this.raise(Ce.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon();const a="parameters",o="typeAnnotation";if(n.kind==="get")n[a].length>0&&(this.raise(w.BadGetterArity,this.state.curPosition()),this.isThisParam(n[a][0])&&this.raise(Ce.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if(n.kind==="set"){if(n[a].length!==1)this.raise(w.BadSetterArity,this.state.curPosition());else{const l=n[a][0];this.isThisParam(l)&&this.raise(Ce.AccesorCannotDeclareThisParameter,this.state.curPosition()),l.type==="Identifier"&&l.optional&&this.raise(Ce.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),l.type==="RestElement"&&this.raise(Ce.SetAccesorCannotHaveRestParameter,this.state.curPosition())}n[o]&&this.raise(Ce.SetAccesorCannotHaveReturnType,n[o])}else n.kind="method";return this.finishNode(n,"TSMethodSignature")}else{const n=r;s&&(n.readonly=!0);const a=this.tsTryParseTypeAnnotation();return a&&(n.typeAnnotation=a),this.tsParseTypeMemberSemicolon(),this.finishNode(n,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){const r=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(r,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);const s=this.tsTryParseIndexSignature(e);return s||(super.parsePropertyName(e),!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let s=!1;return e.elementTypes.forEach(r=>{const{type:n}=r;s&&n!=="TSRestType"&&n!=="TSOptionalType"&&!(n==="TSNamedTupleMember"&&r.optional)&&this.raise(Ce.OptionalTypeBeforeRequired,r),s||(s=n==="TSNamedTupleMember"&&r.optional||n==="TSOptionalType")}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{startLoc:e}=this.state,s=this.eat(21);let r,n,a,o;const h=vt(this.state.type)?this.lookaheadCharCode():null;if(h===58)r=!0,a=!1,n=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(h===63){a=!0;const u=this.state.startLoc,x=this.state.value,P=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(r=!0,n=this.createIdentifier(this.startNodeAt(u),x),this.expect(17),this.expect(14),o=this.tsParseType()):(r=!1,o=P,this.expect(17))}else o=this.tsParseType(),a=this.eat(17),r=this.eat(14);if(r){let u;n?(u=this.startNodeAtNode(n),u.optional=a,u.label=n,u.elementType=o,this.eat(17)&&(u.optional=!0,this.raise(Ce.TupleOptionalAfterType,this.state.lastTokStartLoc))):(u=this.startNodeAtNode(o),u.optional=a,this.raise(Ce.InvalidTupleMemberLabel,o),u.label=o,u.elementType=this.tsParseType()),o=this.finishNode(u,"TSNamedTupleMember")}else if(a){const u=this.startNodeAtNode(o);u.typeAnnotation=o,o=this.finishNode(u,"TSOptionalType")}if(s){const u=this.startNodeAt(e);u.typeAnnotation=o,o=this.finishNode(u,"TSRestType")}return o}tsParseParenthesizedType(){const e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,s){const r=this.startNode();return e==="TSConstructorType"&&(r.abstract=!!s,s&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,r)),this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const e=this.startNode(),s=this.lookahead();return s.type!==134&&s.type!==135&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(He(e)||e===88||e===84){const s=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":df(this.state.value);if(s!==void 0&&this.lookaheadCharCode()!==46){const r=this.startNode();return this.next(),this.finishNode(r,s)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const s=this.startNodeAtNode(e);s.elementType=e,this.expect(3),e=this.finishNode(s,"TSArrayType")}else{const s=this.startNodeAtNode(e);s.objectType=e,s.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(s,"TSIndexedAccessType")}return e}tsParseTypeOperator(){const e=this.startNode(),s=this.state.value;return this.next(),e.operator=s,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),s==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Ce.UnexpectedReadonly,e)}}tsParseInferType(){const e=this.startNode();this.expectContextual(115);const s=this.startNode();return s.name=this.tsParseTypeParameterName(),s.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(s,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return Tp(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,s,r){const n=this.startNode(),a=this.eat(r),o=[];do o.push(s());while(this.eat(r));return o.length===1&&!a?o[0]:(n.types=o,this.finishNode(n,e))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(He(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:e}=this.state,s=e.length;try{return this.parseObjectLike(8,!0),e.length===s}catch{return!1}}if(this.match(0)){this.next();const{errors:e}=this.state,s=e.length;try{return super.parseBindingList(3,93,1),e.length===s}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const s=this.startNode();this.expect(e);const r=this.startNode(),n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(78)){let l=this.tsParseThisTypeOrThisTypePredicate();return l.type==="TSThisType"?(r.parameterName=l,r.asserts=!0,r.typeAnnotation=null,l=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(l,r),l.asserts=!0),s.typeAnnotation=l,this.finishNode(s,"TSTypeAnnotation")}const a=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!a)return n?(r.parameterName=this.parseIdentifier(),r.asserts=n,r.typeAnnotation=null,s.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,s);const o=this.tsParseTypeAnnotation(!1);return r.parameterName=a,r.typeAnnotation=o,r.asserts=n,s.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;const e=this.state.containsEsc;return this.next(),!He(this.state.type)&&!this.match(78)?!1:(e&&this.raise(w.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(e=!0,s=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),s.typeAnnotation=this.tsParseType()}),this.finishNode(s,"TSTypeAnnotation")}tsParseType(){no(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;const s=this.startNodeAtNode(e);return s.checkType=e,s.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),s.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),s.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(s,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Ce.ReservedTypeAssertion,this.state.startLoc);const e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const s=this.state.startLoc,r=this.tsParseDelimitedList("HeritageClauseElement",()=>{const n=this.startNode();return n.expression=this.tsParseEntityName(),this.match(47)&&(n.typeParameters=this.tsParseTypeArguments()),this.finishNode(n,"TSExpressionWithTypeArguments")});return r.length||this.raise(Ce.EmptyHeritageClauseType,s,{token:e}),r}tsParseInterfaceDeclaration(e,s={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),s.declare&&(e.declare=!0),He(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(Ce.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));const r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){const s=this.startNode();return this.next(),this.finishNode(s,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const s=this.state.context;this.state.context=[s[0]];try{return e()}finally{this.state.context=s}}tsInType(e){const s=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=s}}tsInDisallowConditionalTypesContext(e){const s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsInAllowConditionalTypesContext(e){const s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){const e=this.startNode();return e.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,s={}){return s.const&&(e.const=!0),s.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,s=!1){if(e.id=this.parseIdentifier(),s||this.checkIdentifier(e.id,1024),this.eat(16)){const r=this.startNode();this.tsParseModuleOrNamespaceDeclaration(r,!0),e.body=r}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.global=!0,e.id=this.parseIdentifier()):this.match(133)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,s,r){e.isExport=r||!1,e.id=s||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);const n=this.tsParseModuleReference();return e.importKind==="type"&&n.type!=="TSExternalModuleReference"&&this.raise(Ce.ImportAliasHasImportType,n),e.moduleReference=n,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const s=this.state.clone(),r=e();return this.state=s,r}tsTryParseAndCatch(e){const s=this.tryParse(r=>e()||r());if(!(s.aborted||!s.node))return s.error&&(this.state=s.failState),s.node}tsTryParse(e){const s=this.state.clone(),r=e();if(r!==void 0&&r!==!1)return r;this.state=s}tsTryParseDeclare(e){if(this.isLineTerminator())return;let s=this.state.type,r;return this.isContextual(100)&&(s=74,r="let"),this.tsInAmbientContext(()=>{switch(s){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(e.declare=!0,this.parseVarStatement(e,r||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));case 129:{const n=this.tsParseInterfaceDeclaration(e,{declare:!0});if(n)return n}default:if(He(s))return this.tsParseDeclaration(e,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,s,r){switch(s.name){case"declare":{const n=this.tsTryParseDeclare(e);return n&&(n.declare=!0),n}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const n=e;return n.global=!0,n.id=s,n.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(n,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,s.name,!1,r)}}tsParseDeclaration(e,s,r,n){switch(s){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||He(this.state.type)))return this.tsParseAbstractDeclaration(e,n);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(e);if(He(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&He(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&He(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;const s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const r=this.tsTryParseAndCatch(()=>{const n=this.startNodeAt(e);return n.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(n),n.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),n});if(this.state.maybeInArrowParameters=s,!!r)return super.parseArrowExpression(r,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),e.params.length===0?this.raise(Ce.EmptyTypeArguments,e):!this.state.inType&&this.curContext()===Ke.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return bp(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(e,s){const r=this.state.startLoc,n={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},n);const a=n.accessibility,o=n.override,l=n.readonly;!(e&4)&&(a||l||o)&&this.raise(Ce.UnexpectedParameterModifier,r);const h=this.parseMaybeDefault();this.parseAssignableListItemTypes(h,e);const u=this.parseMaybeDefault(h.loc.start,h);if(a||l||o){const x=this.startNodeAt(r);return s.length&&(x.decorators=s),a&&(x.accessibility=a),l&&(x.readonly=l),o&&(x.override=o),u.type!=="Identifier"&&u.type!=="AssignmentPattern"&&this.raise(Ce.UnsupportedParameterPropertyKind,x),x.parameter=u,this.finishNode(x,"TSParameterProperty")}return s.length&&(h.decorators=s),u}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(const s of e.params)s.type!=="Identifier"&&s.optional&&!this.state.isAmbientContext&&this.raise(Ce.PatternIsOptional,s)}setArrowFunctionParameters(e,s,r){super.setArrowFunctionParameters(e,s,r),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,s,r=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const n=s==="FunctionDeclaration"?"TSDeclareFunction":s==="ClassMethod"||s==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return n&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,n):n==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Ce.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,n,r):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,s,r))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(s=>{(s==null?void 0:s.type)==="TSTypeCastExpression"&&this.raise(Ce.UnexpectedTypeAnnotation,s.typeAnnotation)})}toReferencedList(e,s){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,s,r,n){const a=super.parseArrayLike(e,s,r,n);return a.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(a.elements),a}parseSubscript(e,s,r,n){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const o=this.startNodeAt(s);return o.expression=e,this.finishNode(o,"TSNonNullExpression")}let a=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(r)return n.stop=!0,e;n.optionalChainMember=a=!0,this.next()}if(this.match(47)||this.match(51)){let o;const l=this.tsTryParseAndCatch(()=>{if(!r&&this.atPossibleAsyncArrow(e)){const P=this.tsTryParseGenericAsyncArrowFunction(s);if(P)return P}const h=this.tsParseTypeArgumentsInExpression();if(!h)return;if(a&&!this.match(10)){o=this.state.curPosition();return}if(rr(this.state.type)){const P=super.parseTaggedTemplateExpression(e,s,n);return P.typeParameters=h,P}if(!r&&this.eat(10)){const P=this.startNodeAt(s);return P.callee=e,P.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(P.arguments),P.typeParameters=h,n.optionalChainMember&&(P.optional=a),this.finishCallExpression(P,n.optionalChainMember)}const u=this.state.type;if(u===48||u===52||u!==10&&dn(u)&&!this.hasPrecedingLineBreak())return;const x=this.startNodeAt(s);return x.expression=e,x.typeParameters=h,this.finishNode(x,"TSInstantiationExpression")});if(o&&this.unexpected(o,10),l)return l.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(Ce.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),l}return super.parseSubscript(e,s,r,n)}parseNewCallee(e){var s;super.parseNewCallee(e);const{callee:r}=e;r.type==="TSInstantiationExpression"&&!((s=r.extra)!=null&&s.parenthesized)&&(e.typeParameters=r.typeParameters,e.callee=r.expression)}parseExprOp(e,s,r){let n;if(Wi(58)>r&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(n=this.isContextual(120)))){const a=this.startNodeAt(s);return a.expression=e,a.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(n&&this.raise(w.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(a,n?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(a,s,r)}return super.parseExprOp(e,s,r)}checkReservedWord(e,s,r,n){this.state.isAmbientContext||super.checkReservedWord(e,s,r,n)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(Ce.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){const s=this.lookaheadCharCode();return e?s===123||s===42:s!==61}return!e&&this.isContextual(87)}applyImportPhase(e,s,r,n){super.applyImportPhase(e,s,r,n),s?e.exportKind=r==="type"?"type":"value":e.importKind=r==="type"||r==="typeof"?r:"value"}parseImport(e){if(this.match(133))return e.importKind="value",super.parseImport(e);let s;if(He(this.state.type)&&this.lookaheadCharCode()===61)return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){const r=this.parseMaybeImportPhase(e,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(e,r);s=super.parseImportSpecifiersAndAfter(e,r)}else s=super.parseImport(e);return s.importKind==="type"&&s.specifiers.length>1&&s.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Ce.TypeImportCannotSpecifyDefaultAndNamed,s),s}parseExport(e,s){if(this.match(83)){this.next();let r=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?r=this.parseMaybeImportPhase(e,!1):e.importKind="value",this.tsParseImportEqualsDeclaration(e,r,!0)}else if(this.eat(29)){const r=e;return r.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(r,"TSExportAssignment")}else if(this.eatContextual(93)){const r=e;return this.expectContextual(128),r.id=this.parseIdentifier(),this.semicolon(),this.finishNode(r,"TSNamespaceExportDeclaration")}else return super.parseExport(e,s)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,s,r=!1){const{isAmbientContext:n}=this.state,a=super.parseVarStatement(e,s,r||n);if(!n)return a;for(const{id:o,init:l}of a.declarations)!l||(s!=="const"||!!o.typeAnnotation?this.raise(Ce.InitializerNotAllowedInAmbientContext,l):Tf(l,this.hasPlugin("estree"))||this.raise(Ce.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,l));return a}parseStatementContent(e,s){if(this.match(75)&&this.isLookaheadContextual("enum")){const r=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(r,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){const r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return super.parseStatementContent(e,s)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,s){return s.some(r=>ao(r)?e.accessibility===r:!!e[r])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(e,s,r){const n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:n,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Ce.InvalidModifierOnTypeParameterPositions},s);const a=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(s,n)&&this.raise(Ce.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,s)):this.parseClassMemberWithIsStatic(e,s,r,!!s.static)};s.declare?this.tsInAmbientContext(a):a()}parseClassMemberWithIsStatic(e,s,r,n){const a=this.tsTryParseIndexSignature(s);if(a){e.body.push(a),s.abstract&&this.raise(Ce.IndexSignatureHasAbstract,s),s.accessibility&&this.raise(Ce.IndexSignatureHasAccessibility,s,{modifier:s.accessibility}),s.declare&&this.raise(Ce.IndexSignatureHasDeclare,s),s.override&&this.raise(Ce.IndexSignatureHasOverride,s);return}!this.state.inAbstractClass&&s.abstract&&this.raise(Ce.NonAbstractClassHasAbstractMethod,s),s.override&&(r.hadSuperClass||this.raise(Ce.OverrideNotInSubClass,s)),super.parseClassMemberWithIsStatic(e,s,r,n)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(Ce.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(Ce.ClassMethodHasDeclare,e)}parseExpressionStatement(e,s,r){return(s.type==="Identifier"?this.tsParseExpressionStatement(e,s,r):void 0)||super.parseExpressionStatement(e,s,r)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,s,r){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,s,r);const n=this.tryParse(()=>super.parseConditional(e,s));return n.node?(n.error&&(this.state=n.failState),n.node):(n.error&&super.setOptionalParametersError(r,n.error),e)}parseParenItem(e,s){if(e=super.parseParenItem(e,s),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const r=this.startNodeAt(s);return r.expression=e,r.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));const s=this.state.startLoc,r=this.eatContextual(125);if(r&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(Ce.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const a=He(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return a?((a.type==="TSInterfaceDeclaration"||a.type==="TSTypeAliasDeclaration"||r)&&(e.exportKind="type"),r&&(this.resetStartLocation(a,s),a.declare=!0),a):null}parseClassId(e,s,r,n){if((!s||r)&&this.isContextual(113))return;super.parseClassId(e,s,r,e.declare?1024:8331);const a=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);a&&(e.typeParameters=a)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));const s=this.tsTryParseTypeAnnotation();s&&(e.typeAnnotation=s)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(Ce.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){const{key:s}=e;this.raise(Ce.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:s.type==="Identifier"&&!e.computed?s.name:`[${this.input.slice(s.start,s.end)}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(Ce.PrivateElementHasAbstract,e),e.accessibility&&this.raise(Ce.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(Ce.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,s,r,n,a,o){const l=this.tsTryParseTypeParameters(this.tsParseConstModifier);l&&a&&this.raise(Ce.ConstructorHasTypeParameters,l);const{declare:h=!1,kind:u}=s;h&&(u==="get"||u==="set")&&this.raise(Ce.DeclareAccessor,s,{kind:u}),l&&(s.typeParameters=l),super.pushClassMethod(e,s,r,n,a,o)}pushClassPrivateMethod(e,s,r,n){const a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&(s.typeParameters=a),super.pushClassPrivateMethod(e,s,r,n)}declareClassPrivateMethodInScope(e,s){e.type!=="TSDeclareMethod"&&(e.type==="MethodDefinition"&&!e.value.body||super.declareClassPrivateMethodInScope(e,s))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,s,r,n,a,o,l){const h=this.tsTryParseTypeParameters(this.tsParseConstModifier);return h&&(e.typeParameters=h),super.parseObjPropValue(e,s,r,n,a,o,l)}parseFunctionParams(e,s){const r=this.tsTryParseTypeParameters(this.tsParseConstModifier);r&&(e.typeParameters=r),super.parseFunctionParams(e,s)}parseVarId(e,s){super.parseVarId(e,s),e.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);const r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,s){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,s)}parseMaybeAssign(e,s){var r,n,a,o,l;let h,u,x;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(h=this.state.clone(),u=this.tryParse(()=>super.parseMaybeAssign(e,s),h),!u.error)return u.node;const{context:A}=this.state,G=A[A.length-1];(G===Ke.j_oTag||G===Ke.j_expr)&&A.pop()}if(!((r=u)!=null&&r.error)&&!this.match(47))return super.parseMaybeAssign(e,s);(!h||h===this.state)&&(h=this.state.clone());let P;const I=this.tryParse(A=>{var G,B;P=this.tsParseTypeParameters(this.tsParseConstModifier);const $=super.parseMaybeAssign(e,s);return($.type!=="ArrowFunctionExpression"||(G=$.extra)!=null&&G.parenthesized)&&A(),((B=P)==null?void 0:B.params.length)!==0&&this.resetStartLocationFromNode($,P),$.typeParameters=P,$},h);if(!I.error&&!I.aborted)return P&&this.reportReservedArrowTypeParam(P),I.node;if(!u&&(no(!this.hasPlugin("jsx")),x=this.tryParse(()=>super.parseMaybeAssign(e,s),h),!x.error))return x.node;if((n=u)!=null&&n.node)return this.state=u.failState,u.node;if(I.node)return this.state=I.failState,P&&this.reportReservedArrowTypeParam(P),I.node;if((a=x)!=null&&a.node)return this.state=x.failState,x.node;throw((o=u)==null?void 0:o.error)||I.error||((l=x)==null?void 0:l.error)}reportReservedArrowTypeParam(e){var s;e.params.length===1&&!e.params[0].constraint&&!((s=e.extra)!=null&&s.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Ce.ReservedArrowTypeParam,e)}parseMaybeUnary(e,s){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,s)}parseArrow(e){if(this.match(14)){const s=this.tryParse(r=>{const n=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&r(),n});if(s.aborted)return;s.thrown||(s.error&&(this.state=s.failState),e.returnType=s.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e,s){if(!(s&2))return e;this.eat(17)&&(e.optional=!0);const r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.resetEndLocation(e),e}isAssignable(e,s){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,s);case"TSParameterProperty":return!0;default:return super.isAssignable(e,s)}}toAssignable(e,s=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,s);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":s?this.expressionScope.recordArrowParameterBindingError(Ce.UnexpectedTypeCastInParameter,e):this.raise(Ce.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,s);break;case"AssignmentExpression":!s&&e.left.type==="TSTypeCastExpression"&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,s)}}toAssignableParenthesizedExpression(e,s){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,s);break;default:super.toAssignable(e,s)}}checkToRestConversion(e,s){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,s)}}isValidLVal(e,s,r){return pf({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(r!==64||!s)&&["expression",!0],TSSatisfiesExpression:(r!==64||!s)&&["expression",!0],TSTypeAssertion:(r!==64||!s)&&["expression",!0]},e)||super.isValidLVal(e,s,r)}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){const s=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=s,r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,s){const r=super.parseMaybeDefault(e,s);return r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.startthis.isAssignable(s,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){const s=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());s&&(e.typeParameters=s)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const s=super.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e)[0];return n&&this.isThisParam(n)?s+1:s}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s,this.resetEndLocation(e)),e}tsInAmbientContext(e){const s=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=s}}parseClass(e,s,r){const n=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,s,r)}finally{this.state.inAbstractClass=n}}tsParseAbstractDeclaration(e,s){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(s,this.parseClass(e,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(Ce.NonClassMethodPropertyHasAbstractModifer,e),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,s,r,n,a,o,l){const h=super.parseMethod(e,s,r,n,a,o,l);if(h.abstract&&(this.hasPlugin("estree")?!!h.value.body:!!h.body)){const{key:x}=h;this.raise(Ce.AbstractMethodHasImplementation,h,{methodName:x.type==="Identifier"&&!h.computed?x.name:`[${this.input.slice(x.start,x.end)}]`})}return h}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,s,r,n){return!s&&n?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,s,r,n))}parseImportSpecifier(e,s,r,n,a){return!s&&n?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,s,r,n,r?4098:4096))}parseTypeOnlyImportExportSpecifier(e,s,r){const n=s?"imported":"local",a=s?"local":"exported";let o=e[n],l,h=!1,u=!0;const x=o.loc.start;if(this.isContextual(93)){const I=this.parseIdentifier();if(this.isContextual(93)){const A=this.parseIdentifier();vt(this.state.type)?(h=!0,o=I,l=s?this.parseIdentifier():this.parseModuleExportName(),u=!1):(l=A,u=!1)}else vt(this.state.type)?(u=!1,l=s?this.parseIdentifier():this.parseModuleExportName()):(h=!0,o=I)}else vt(this.state.type)&&(h=!0,s?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());h&&r&&this.raise(s?Ce.TypeModifierIsUsedInTypeImports:Ce.TypeModifierIsUsedInTypeExports,x),e[n]=o,e[a]=l;const P=s?"importKind":"exportKind";e[P]=h?"type":"value",u&&this.eatContextual(93)&&(e[a]=s?this.parseIdentifier():this.parseModuleExportName()),e[a]||(e[a]=Yt(e[n])),s&&this.checkIdentifier(e[a],h?4098:4096)}};function gf(i){if(i.type!=="MemberExpression")return!1;const{computed:t,property:e}=i;return t&&e.type!=="StringLiteral"&&(e.type!=="TemplateLiteral"||e.expressions.length>0)?!1:Hl(i.object)}function Tf(i,t){var e;const{type:s}=i;if((e=i.extra)!=null&&e.parenthesized)return!1;if(t){if(s==="Literal"){const{value:r}=i;if(typeof r=="string"||typeof r=="boolean")return!0}}else if(s==="StringLiteral"||s==="BooleanLiteral")return!0;return!!(Vl(i,t)||bf(i,t)||s==="TemplateLiteral"&&i.expressions.length===0||gf(i))}function Vl(i,t){return t?i.type==="Literal"&&(typeof i.value=="number"||"bigint"in i):i.type==="NumericLiteral"||i.type==="BigIntLiteral"}function bf(i,t){if(i.type==="UnaryExpression"){const{operator:e,argument:s}=i;if(e==="-"&&Vl(s,t))return!0}return!1}function Hl(i){return i.type==="Identifier"?!0:i.type!=="MemberExpression"||i.computed?!1:Hl(i.object)}const oo=qt`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});var xf=i=>class extends i{parsePlaceholder(e){if(this.match(144)){const s=this.startNode();return this.next(),this.assertNoSpace(),s.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(s,e)}}finishPlaceholder(e,s){const r=!!(e.expectedNode&&e.type==="Placeholder");return e.expectedNode=s,r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,s,r,n){e!==void 0&&super.checkReservedWord(e,s,r,n)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,s,r){return e==="Placeholder"||super.isValidLVal(e,s,r)}toAssignable(e,s){e&&e.type==="Placeholder"&&e.expectedNode==="Expression"?e.expectedNode="Pattern":super.toAssignable(e,s)}chStartsBindingIdentifier(e,s){return!!(super.chStartsBindingIdentifier(e,s)||this.lookahead().type===144)}verifyBreakContinue(e,s){e.label&&e.label.type==="Placeholder"||super.verifyBreakContinue(e,s)}parseExpressionStatement(e,s){var r;if(s.type!=="Placeholder"||(r=s.extra)!=null&&r.parenthesized)return super.parseExpressionStatement(e,s);if(this.match(14)){const n=e;return n.label=this.finishPlaceholder(s,"Identifier"),this.next(),n.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(n,"LabeledStatement")}return this.semicolon(),e.name=s.name,this.finishPlaceholder(e,"Statement")}parseBlock(e,s,r){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,s,r)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,s,r){const n=s?"ClassDeclaration":"ClassExpression";this.next();const a=this.state.strict,o=this.parsePlaceholder("Identifier");if(o)if(this.match(81)||this.match(144)||this.match(5))e.id=o;else{if(r||!s)return e.id=null,e.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(e,n);throw this.raise(oo.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(e,s,r);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,a),this.finishNode(e,n)}parseExport(e,s){const r=this.parsePlaceholder("Identifier");if(!r)return super.parseExport(e,s);if(!this.isContextual(98)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(r,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const n=this.startNode();return n.exported=r,e.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")],super.parseExport(e,s)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(ds(144),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,s){var r;return(r=e.specifiers)!=null&&r.length?!0:super.maybeParseExportDefaultSpecifier(e,s)}checkExport(e){const{specifiers:s}=e;s!=null&&s.length&&(e.specifiers=s.filter(r=>r.exported.type==="Placeholder")),super.checkExport(e),e.specifiers=s}parseImport(e){const s=this.parsePlaceholder("Identifier");if(!s)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(s,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");const r=this.startNodeAtNode(s);return r.local=s,e.specifiers.push(this.finishNode(r,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(oo.UnexpectedSpace,this.state.lastTokEndLoc)}},Sf=i=>class extends i{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc,s=this.startNode();if(this.next(),He(this.state.type)){const r=this.parseIdentifierName(),n=this.createIdentifier(s,r);if(n.type="V8IntrinsicIdentifier",this.match(10))return n}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};function st(i,t){const[e,s]=typeof t=="string"?[t,{}]:t,r=Object.keys(s),n=r.length===0;return i.some(a=>{if(typeof a=="string")return n&&a===e;{const[o,l]=a;if(o!==e)return!1;for(const h of r)if(l[h]!==s[h])return!1;return!0}})}function rs(i,t,e){const s=i.find(r=>Array.isArray(r)?r[0]===t:r===t);return s&&Array.isArray(s)&&s.length>1?s[1][e]:null}const lo=["minimal","fsharp","hack","smart"],co=["^^","@@","^","%","#"],uo=["hash","bar"];function Pf(i){if(st(i,"decorators")){if(st(i,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const t=rs(i,"decorators","decoratorsBeforeExport");if(t!=null&&typeof t!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const e=rs(i,"decorators","allowCallParenthesized");if(e!=null&&typeof e!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(st(i,"flow")&&st(i,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(st(i,"placeholders")&&st(i,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(st(i,"pipelineOperator")){const t=rs(i,"pipelineOperator","proposal");if(!lo.includes(t)){const s=lo.map(r=>`"${r}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${s}.`)}const e=st(i,["recordAndTuple",{syntaxType:"hash"}]);if(t==="hack"){if(st(i,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(st(i,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const s=rs(i,"pipelineOperator","topicToken");if(!co.includes(s)){const r=co.map(n=>`"${n}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${r}.`)}if(s==="#"&&e)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(t==="smart"&&e)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(st(i,"moduleAttributes")){if(st(i,"importAssertions")||st(i,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(rs(i,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(st(i,"importAssertions")&&st(i,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(st(i,"recordAndTuple")&&rs(i,"recordAndTuple","syntaxType")!=null&&!uo.includes(rs(i,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+uo.map(t=>`'${t}'`).join(", "));if(st(i,"asyncDoExpressions")&&!st(i,"doExpressions")){const t=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw t.missingPlugins="doExpressions",t}if(st(i,"optionalChainingAssign")&&rs(i,"optionalChainingAssign","version")!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}const Gl={estree:lp,jsx:of,flow:nf,typescript:yf,v8intrinsic:Sf,placeholders:xf},Ef=Object.keys(Gl),Wr={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function Af(i){if(i==null)return Object.assign({},Wr);if(i.annexB!=null&&i.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");const t={};for(const s of Object.keys(Wr)){var e;t[s]=(e=i[s])!=null?e:Wr[s]}return t}class Cf extends hf{checkProto(t,e,s,r){if(t.type==="SpreadElement"||this.isObjectMethod(t)||t.computed||t.shorthand)return;const n=t.key;if((n.type==="Identifier"?n.name:n.value)==="__proto__"){if(e){this.raise(w.RecordNoProto,n);return}s.used&&(r?r.doubleProtoLoc===null&&(r.doubleProtoLoc=n.loc.start):this.raise(w.DuplicateProto,n)),s.used=!0}}shouldExitDescending(t,e){return t.type==="ArrowFunctionExpression"&&t.start===e}getExpression(){this.enterInitialScopes(),this.nextToken();const t=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),t.comments=this.comments,t.errors=this.state.errors,this.options.tokens&&(t.tokens=this.tokens),t}parseExpression(t,e){return t?this.disallowInAnd(()=>this.parseExpressionBase(e)):this.allowInAnd(()=>this.parseExpressionBase(e))}parseExpressionBase(t){const e=this.state.startLoc,s=this.parseMaybeAssign(t);if(this.match(12)){const r=this.startNodeAt(e);for(r.expressions=[s];this.eat(12);)r.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(r.expressions),this.finishNode(r,"SequenceExpression")}return s}parseMaybeAssignDisallowIn(t,e){return this.disallowInAnd(()=>this.parseMaybeAssign(t,e))}parseMaybeAssignAllowIn(t,e){return this.allowInAnd(()=>this.parseMaybeAssign(t,e))}setOptionalParametersError(t,e){var s;t.optionalParametersLoc=(s=e==null?void 0:e.loc)!=null?s:this.state.startLoc}parseMaybeAssign(t,e){const s=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let o=this.parseYield();return e&&(o=e.call(this,o,s)),o}let r;t?r=!1:(t=new zi,r=!0);const{type:n}=this.state;(n===10||He(n))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(t);if(e&&(a=e.call(this,a,s)),fp(this.state.type)){const o=this.startNodeAt(s),l=this.state.value;if(o.operator=l,this.match(29)){this.toAssignable(a,!0),o.left=a;const h=s.index;t.doubleProtoLoc!=null&&t.doubleProtoLoc.index>=h&&(t.doubleProtoLoc=null),t.shorthandAssignLoc!=null&&t.shorthandAssignLoc.index>=h&&(t.shorthandAssignLoc=null),t.privateKeyLoc!=null&&t.privateKeyLoc.index>=h&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null)}else o.left=a;return this.next(),o.right=this.parseMaybeAssign(),this.checkLVal(a,{in:this.finishNode(o,"AssignmentExpression")}),o}else r&&this.checkExpressionErrors(t,!0);return a}parseMaybeConditional(t){const e=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprOps(t);return this.shouldExitDescending(r,s)?r:this.parseConditional(r,e,t)}parseConditional(t,e,s){if(this.eat(17)){const r=this.startNodeAt(e);return r.test=t,r.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),r.alternate=this.parseMaybeAssign(),this.finishNode(r,"ConditionalExpression")}return t}parseMaybeUnaryOrPrivate(t){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(t)}parseExprOps(t){const e=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(r,s)?r:this.parseExprOp(r,e,-1)}parseExprOp(t,e,s){if(this.isPrivateName(t)){const n=this.getPrivateNameSV(t);(s>=Wi(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(w.PrivateInExpectedIn,t,{identifierName:n}),this.classScope.usePrivateName(n,t.loc.start)}const r=this.state.type;if(mp(r)&&(this.prodParam.hasIn||!this.match(58))){let n=Wi(r);if(n>s){if(r===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return t;this.checkPipelineAtInfixOperator(t,e)}const a=this.startNodeAt(e);a.left=t,a.operator=this.state.value;const o=r===41||r===42,l=r===40;if(l&&(n=Wi(42)),this.next(),r===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(w.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);a.right=this.parseExprOpRightExpr(r,n);const h=this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression"),u=this.state.type;if(l&&(u===41||u===42)||o&&u===40)throw this.raise(w.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(h,e,s)}}return t}parseExprOpRightExpr(t,e){const s=this.state.startLoc;switch(t){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(w.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t,e),s)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(e))}default:return this.parseExprOpBaseRightExpr(t,e)}}parseExprOpBaseRightExpr(t,e){const s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,xp(t)?e-1:e)}parseHackPipeBody(){var t;const{startLoc:e}=this.state,s=this.parseMaybeAssign();return sp.has(s.type)&&!((t=s.extra)!=null&&t.parenthesized)&&this.raise(w.PipeUnparenthesizedBody,e,{type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(w.PipeTopicUnused,e),s}checkExponentialAfterUnary(t){this.match(57)&&this.raise(w.UnexpectedTokenUnaryExponentiation,t.argument)}parseMaybeUnary(t,e){const s=this.state.startLoc,r=this.isContextual(96);if(r&&this.isAwaitAllowed()){this.next();const l=this.parseAwait(s);return e||this.checkExponentialAfterUnary(l),l}const n=this.match(34),a=this.startNode();if(gp(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const l=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),this.state.strict&&l){const h=a.argument;h.type==="Identifier"?this.raise(w.StrictDelete,a):this.hasPropertyAsPrivateName(h)&&this.raise(w.DeletePrivateField,a)}if(!n)return e||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}const o=this.parseUpdate(a,n,t);if(r){const{type:l}=this.state;if((this.hasPlugin("v8intrinsic")?dn(l):dn(l)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(w.AwaitNotInAsyncContext,s),this.parseAwait(s)}return o}parseUpdate(t,e,s){if(e){const a=t;return this.checkLVal(a.argument,{in:this.finishNode(a,"UpdateExpression")}),t}const r=this.state.startLoc;let n=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return n;for(;yp(this.state.type)&&!this.canInsertSemicolon();){const a=this.startNodeAt(r);a.operator=this.state.value,a.prefix=!1,a.argument=n,this.next(),this.checkLVal(n,{in:n=this.finishNode(a,"UpdateExpression")})}return n}parseExprSubscripts(t){const e=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprAtom(t);return this.shouldExitDescending(r,s)?r:this.parseSubscripts(r,e)}parseSubscripts(t,e,s){const r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do t=this.parseSubscript(t,e,s,r),r.maybeAsyncArrow=!1;while(!r.stop);return t}parseSubscript(t,e,s,r){const{type:n}=this.state;if(!s&&n===15)return this.parseBind(t,e,s,r);if(rr(n))return this.parseTaggedTemplateExpression(t,e,r);let a=!1;if(n===18){if(s&&(this.raise(w.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return r.stop=!0,t;r.optionalChainMember=a=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,e,r,a);{const o=this.eat(0);return o||a||this.eat(16)?this.parseMember(t,e,r,o,a):(r.stop=!0,t)}}parseMember(t,e,s,r,n){const a=this.startNodeAt(e);return a.object=t,a.computed=r,r?(a.property=this.parseExpression(),this.expect(3)):this.match(138)?(t.type==="Super"&&this.raise(w.SuperPrivateField,e),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),s.optionalChainMember?(a.optional=n,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(t,e,s,r){const n=this.startNodeAt(e);return n.object=t,this.next(),n.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),e,s)}parseCoverCallAndAsyncArrowHead(t,e,s,r){const n=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=!0,this.next();const o=this.startNodeAt(e);o.callee=t;const{maybeAsyncArrow:l,optionalChainMember:h}=s;l&&(this.expressionScope.enter(qp()),a=new zi),h&&(o.optional=r),r?o.arguments=this.parseCallExpressionArguments(11):o.arguments=this.parseCallExpressionArguments(11,t.type==="Import",t.type!=="Super",o,a);let u=this.finishCallExpression(o,h);return l&&this.shouldParseAsyncArrow()&&!r?(s.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),u=this.parseAsyncArrowFromCallExpression(this.startNodeAt(e),u)):(l&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(u)),this.state.maybeInArrowParameters=n,u}toReferencedArguments(t,e){this.toReferencedListDeep(t.arguments,e)}parseTaggedTemplateExpression(t,e,s){const r=this.startNodeAt(e);return r.tag=t,r.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(w.OptionalChainingNoTemplate,e),this.finishNode(r,"TaggedTemplateExpression")}atPossibleAsyncArrow(t){return t.type==="Identifier"&&t.name==="async"&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&t.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(t,e){if(t.callee.type==="Import")if(t.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),t.arguments.length===0||t.arguments.length>2)this.raise(w.ImportCallArity,t,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const s of t.arguments)s.type==="SpreadElement"&&this.raise(w.ImportCallSpreadArgument,s);return this.finishNode(t,e?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(t,e,s,r,n){const a=[];let o=!0;const l=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){e&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(w.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),r&&this.addTrailingCommaExtraToNode(r),this.next();break}a.push(this.parseExprListItem(!1,n,s))}return this.state.inFSharpPipelineDirectBody=l,a}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(t,e){var s;return this.resetPreviousNodeTrailingComments(e),this.expect(19),this.parseArrowExpression(t,e.arguments,!0,(s=e.extra)==null?void 0:s.trailingCommaLoc),e.innerComments&&bi(t,e.innerComments),e.callee.trailingComments&&bi(t,e.callee.trailingComments),t}parseNoCallExpr(){const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,!0)}parseExprAtom(t){let e,s=null;const{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return e=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(e):this.match(10)?this.options.createImportExpressions?this.parseImportCall(e):this.finishNode(e,"Import"):(this.raise(w.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(e,"Import"));case 78:return e=this.startNode(),this.next(),this.finishNode(e,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{const n=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(n)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,t);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,t);case 68:return this.parseFunctionOrFunctionSent();case 26:s=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(s,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{e=this.startNode(),this.next(),e.object=null;const n=e.callee=this.parseNoCallExpr();if(n.type==="MemberExpression")return this.finishNode(e,"BindExpression");throw this.raise(w.UnsupportedBind,n)}case 138:return this.raise(w.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{const n=this.getPluginOption("pipelineOperator","proposal");if(n)return this.parseTopicReference(n);this.unexpected();break}case 47:{const n=this.input.codePointAt(this.nextTokenStart());Wt(n)||n===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(He(r)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();const n=this.state.potentialArrowAt===this.state.start,a=this.state.containsEsc,o=this.parseIdentifier();if(!a&&o.name==="async"&&!this.canInsertSemicolon()){const{type:l}=this.state;if(l===68)return this.resetPreviousNodeTrailingComments(o),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(o));if(He(l))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(o)):o;if(l===90)return this.resetPreviousNodeTrailingComments(o),this.parseDo(this.startNodeAtNode(o),!0)}return n&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(o),[o],!1)):o}else this.unexpected()}}parseTopicReferenceThenEqualsSign(t,e){const s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.state.type=t,this.state.value=e,this.state.pos--,this.state.end--,this.state.endLoc=yt(this.state.endLoc,-1),this.parseTopicReference(s);this.unexpected()}parseTopicReference(t){const e=this.startNode(),s=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(e,s,t,r)}finishTopicReference(t,e,s,r){if(this.testTopicReferenceConfiguration(s,e,r)){const n=s==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(s==="smart"?w.PrimaryTopicNotAllowed:w.PipeTopicUnbound,e),this.registerTopicReference(),this.finishNode(t,n)}else throw this.raise(w.PipeTopicUnconfiguredToken,e,{token:ds(r)})}testTopicReferenceConfiguration(t,e,s){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:ds(s)}]);case"smart":return s===27;default:throw this.raise(w.PipeTopicRequiresHackPipes,e)}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(qi(!0,this.prodParam.hasYield));const e=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(w.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(t,e,!0)}parseDo(t,e){this.expectPlugin("doExpressions"),e&&this.expectPlugin("asyncDoExpressions"),t.async=e,this.next();const s=this.state.labels;return this.state.labels=[],e?(this.prodParam.enter(2),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=s,this.finishNode(t,"DoExpression")}parseSuper(){const t=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(w.SuperNotAllowed,t):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(w.UnexpectedSuper,t),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(w.UnsupportedSuper,t),this.finishNode(t,"Super")}parsePrivateName(){const t=this.startNode(),e=this.startNodeAt(yt(this.state.startLoc,1)),s=this.state.value;return this.next(),t.id=this.createIdentifier(e,s),this.finishNode(t,"PrivateName")}parseFunctionOrFunctionSent(){const t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const e=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(t,e,"sent")}return this.parseFunction(t)}parseMetaProperty(t,e,s){t.meta=e;const r=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==s||r)&&this.raise(w.UnsupportedMetaProperty,t.property,{target:e.name,onlyValidPropertyName:s}),this.finishNode(t,"MetaProperty")}parseImportMetaProperty(t){const e=this.createIdentifier(this.startNodeAtNode(t),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(w.ImportMetaOutsideModule,e),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const s=this.isContextual(105);if(s||this.unexpected(),this.expectPlugin(s?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(w.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),t.phase=s?"source":"defer",this.parseImportCall(t)}return this.parseMetaProperty(t,e,"meta")}parseLiteralAtNode(t,e,s){return this.addExtra(s,"rawValue",t),this.addExtra(s,"raw",this.input.slice(s.start,this.state.end)),s.value=t,this.next(),this.finishNode(s,e)}parseLiteral(t,e){const s=this.startNode();return this.parseLiteralAtNode(t,e,s)}parseStringLiteral(t){return this.parseLiteral(t,"StringLiteral")}parseNumericLiteral(t){return this.parseLiteral(t,"NumericLiteral")}parseBigIntLiteral(t){return this.parseLiteral(t,"BigIntLiteral")}parseDecimalLiteral(t){return this.parseLiteral(t,"DecimalLiteral")}parseRegExpLiteral(t){const e=this.parseLiteral(t.value,"RegExpLiteral");return e.pattern=t.pattern,e.flags=t.flags,e}parseBooleanLiteral(t){const e=this.startNode();return e.value=t,this.next(),this.finishNode(e,"BooleanLiteral")}parseNullLiteral(){const t=this.startNode();return this.next(),this.finishNode(t,"NullLiteral")}parseParenAndDistinguishExpression(t){const e=this.state.startLoc;let s;this.next(),this.expressionScope.enter(Kp());const r=this.state.maybeInArrowParameters,n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const a=this.state.startLoc,o=[],l=new zi;let h=!0,u,x;for(;!this.match(11);){if(h)h=!1;else if(this.expect(12,l.optionalParametersLoc===null?null:l.optionalParametersLoc),this.match(11)){x=this.state.startLoc;break}if(this.match(21)){const A=this.state.startLoc;if(u=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),A)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowIn(l,this.parseParenItem))}const P=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=n;let I=this.startNodeAt(e);return t&&this.shouldParseArrow(o)&&(I=this.parseArrow(I))?(this.checkDestructuringPrivate(l),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(I,o,!1),I):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),x&&this.unexpected(x),u&&this.unexpected(u),this.checkExpressionErrors(l,!0),this.toReferencedListDeep(o,!0),o.length>1?(s=this.startNodeAt(a),s.expressions=o,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,P)):s=o[0],this.wrapParenthesis(e,s))}wrapParenthesis(t,e){if(!this.options.createParenthesizedExpressions)return this.addExtra(e,"parenthesized",!0),this.addExtra(e,"parenStart",t.index),this.takeSurroundingComments(e,t.index,this.state.lastTokEndLoc.index),e;const s=this.startNodeAt(t);return s.expression=e,this.finishNode(s,"ParenthesizedExpression")}shouldParseArrow(t){return!this.canInsertSemicolon()}parseArrow(t){if(this.eat(19))return t}parseParenItem(t,e){return t}parseNewOrNewTarget(){const t=this.startNode();if(this.next(),this.match(16)){const e=this.createIdentifier(this.startNodeAtNode(t),"new");this.next();const s=this.parseMetaProperty(t,e,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(w.UnexpectedNewTarget,s),s}return this.parseNew(t)}parseNew(t){if(this.parseNewCallee(t),this.eat(10)){const e=this.parseExprList(11);this.toReferencedList(e),t.arguments=e}else t.arguments=[];return this.finishNode(t,"NewExpression")}parseNewCallee(t){const e=this.match(83),s=this.parseNoCallExpr();t.callee=s,e&&(s.type==="Import"||s.type==="ImportExpression")&&this.raise(w.ImportCallNotNewExpression,s)}parseTemplateElement(t){const{start:e,startLoc:s,end:r,value:n}=this.state,a=e+1,o=this.startNodeAt(yt(s,1));n===null&&(t||this.raise(w.InvalidEscapeSequenceTemplate,yt(this.state.firstInvalidTemplateEscapePos,1)));const l=this.match(24),h=l?-1:-2,u=r+h;o.value={raw:this.input.slice(a,u).replace(/\r\n?/g,` -`),cooked:n===null?null:n.slice(1,h)},o.tail=l,this.next();const x=this.finishNode(o,"TemplateElement");return this.resetEndLocation(x,yt(this.state.lastTokEndLoc,h)),x}parseTemplate(t){const e=this.startNode();e.expressions=[];let s=this.parseTemplateElement(t);for(e.quasis=[s];!s.tail;)e.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),e.quasis.push(s=this.parseTemplateElement(t));return this.finishNode(e,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(t,e,s,r){s&&this.expectPlugin("recordAndTuple");const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const a=Object.create(null);let o=!0;const l=this.startNode();for(l.properties=[],this.next();!this.match(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){this.addTrailingCommaExtraToNode(l);break}let u;e?u=this.parseBindingProperty():(u=this.parsePropertyDefinition(r),this.checkProto(u,s,a,r)),s&&!this.isObjectProperty(u)&&u.type!=="SpreadElement"&&this.raise(w.InvalidRecordProperty,u),u.shorthand&&this.addExtra(u,"shorthand",!0),l.properties.push(u)}this.next(),this.state.inFSharpPipelineDirectBody=n;let h="ObjectExpression";return e?h="ObjectPattern":s&&(h="RecordExpression"),this.finishNode(l,h)}addTrailingCommaExtraToNode(t){this.addExtra(t,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(t,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(t){return!t.computed&&t.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(t){let e=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(w.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());const s=this.startNode();let r=!1,n=!1,a;if(this.match(21))return e.length&&this.unexpected(),this.parseSpread();e.length&&(s.decorators=e,e=[]),s.method=!1,t&&(a=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(s);const l=this.state.containsEsc,h=this.parsePropertyName(s,t);if(!o&&!l&&this.maybeAsyncOrAccessorProp(s)){const u=h.name;u==="async"&&!this.hasPrecedingLineBreak()&&(r=!0,this.resetPreviousNodeTrailingComments(h),o=this.eat(55),this.parsePropertyName(s)),(u==="get"||u==="set")&&(n=!0,this.resetPreviousNodeTrailingComments(h),s.kind=u,this.match(55)&&(o=!0,this.raise(w.AccessorIsGenerator,this.state.curPosition(),{kind:u}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,a,o,r,!1,n,t)}getGetterSetterExpectedParamCount(t){return t.kind==="get"?0:1}getObjectOrClassMethodParams(t){return t.params}checkGetterSetterParams(t){var e;const s=this.getGetterSetterExpectedParamCount(t),r=this.getObjectOrClassMethodParams(t);r.length!==s&&this.raise(t.kind==="get"?w.BadGetterArity:w.BadSetterArity,t),t.kind==="set"&&((e=r[r.length-1])==null?void 0:e.type)==="RestElement"&&this.raise(w.BadSetterRestParameter,t)}parseObjectMethod(t,e,s,r,n){if(n){const a=this.parseMethod(t,e,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(a),a}if(s||e||this.match(10))return r&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,e,s,!1,!1,"ObjectMethod")}parseObjectProperty(t,e,s,r){if(t.shorthand=!1,this.eat(14))return t.value=s?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(r),this.finishNode(t,"ObjectProperty");if(!t.computed&&t.key.type==="Identifier"){if(this.checkReservedWord(t.key.name,t.key.loc.start,!0,!1),s)t.value=this.parseMaybeDefault(e,Yt(t.key));else if(this.match(29)){const n=this.state.startLoc;r!=null?r.shorthandAssignLoc===null&&(r.shorthandAssignLoc=n):this.raise(w.InvalidCoverInitializedName,n),t.value=this.parseMaybeDefault(e,Yt(t.key))}else t.value=Yt(t.key);return t.shorthand=!0,this.finishNode(t,"ObjectProperty")}}parseObjPropValue(t,e,s,r,n,a,o){const l=this.parseObjectMethod(t,s,r,n,a)||this.parseObjectProperty(t,e,n,o);return l||this.unexpected(),l}parsePropertyName(t,e){if(this.eat(0))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:s,value:r}=this.state;let n;if(vt(s))n=this.parseIdentifier(!0);else switch(s){case 134:n=this.parseNumericLiteral(r);break;case 133:n=this.parseStringLiteral(r);break;case 135:n=this.parseBigIntLiteral(r);break;case 136:n=this.parseDecimalLiteral(r);break;case 138:{const a=this.state.startLoc;e!=null?e.privateKeyLoc===null&&(e.privateKeyLoc=a):this.raise(w.UnexpectedPrivateField,a),n=this.parsePrivateName();break}default:this.unexpected()}t.key=n,s!==138&&(t.computed=!1)}return t.key}initFunction(t,e){t.id=null,t.generator=!1,t.async=e}parseMethod(t,e,s,r,n,a,o=!1){this.initFunction(t,s),t.generator=e,this.scope.enter(18|(o?64:0)|(n?32:0)),this.prodParam.enter(qi(s,t.generator)),this.parseFunctionParams(t,r);const l=this.parseFunctionBodyAndFinish(t,a,!0);return this.prodParam.exit(),this.scope.exit(),l}parseArrayLike(t,e,s,r){s&&this.expectPlugin("recordAndTuple");const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const a=this.startNode();return this.next(),a.elements=this.parseExprList(t,!s,r,a),this.state.inFSharpPipelineDirectBody=n,this.finishNode(a,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(t,e,s,r){this.scope.enter(6);let n=qi(s,!1);!this.match(5)&&this.prodParam.hasIn&&(n|=8),this.prodParam.enter(n),this.initFunction(t,s);const a=this.state.maybeInArrowParameters;return e&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,e,r)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(t,"ArrowFunctionExpression")}setArrowFunctionParameters(t,e,s){this.toAssignableList(e,s,!1),t.params=e}parseFunctionBodyAndFinish(t,e,s=!1){return this.parseFunctionBody(t,!1,s),this.finishNode(t,e)}parseFunctionBody(t,e,s=!1){const r=e&&!this.match(5);if(this.expressionScope.enter(jl()),r)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,e,!1);else{const n=this.state.strict,a=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),t.body=this.parseBlock(!0,!1,o=>{const l=!this.isSimpleParamList(t.params);o&&l&&this.raise(w.IllegalLanguageModeDirective,(t.kind==="method"||t.kind==="constructor")&&!!t.key?t.key.loc.end:t);const h=!n&&this.state.strict;this.checkParams(t,!this.state.strict&&!e&&!s&&!l,e,h),this.state.strict&&t.id&&this.checkIdentifier(t.id,65,h)}),this.prodParam.exit(),this.state.labels=a}this.expressionScope.exit()}isSimpleParameter(t){return t.type==="Identifier"}isSimpleParamList(t){for(let e=0,s=t.length;e10||!Ip(t))return;if(s&&kp(t)){this.raise(w.UnexpectedKeyword,e,{keyword:t});return}if((this.state.strict?r?Ol:_l:Nl)(t,this.inModule)){this.raise(w.UnexpectedReservedWord,e,{reservedWord:t});return}else if(t==="yield"){if(this.prodParam.hasYield){this.raise(w.YieldBindingIdentifier,e);return}}else if(t==="await"){if(this.prodParam.hasAwait){this.raise(w.AwaitBindingIdentifier,e);return}if(this.scope.inStaticBlock){this.raise(w.AwaitBindingIdentifierInStaticBlock,e);return}this.expressionScope.recordAsyncArrowParametersError(e)}else if(t==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(w.ArgumentsInClass,e);return}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(t){const e=this.startNodeAt(t);return this.expressionScope.recordParameterInitializerError(w.AwaitExpressionFormalParameter,e),this.eat(55)&&this.raise(w.ObsoleteAwaitStar,e),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(e.argument=this.parseMaybeUnary(null,!0)),this.finishNode(e,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:t}=this.state;return t===53||t===10||t===0||rr(t)||t===102&&!this.state.containsEsc||t===137||t===56||this.hasPlugin("v8intrinsic")&&t===54}parseYield(){const t=this.startNode();this.expressionScope.recordParameterInitializerError(w.YieldInParameter,t),this.next();let e=!1,s=null;if(!this.hasPrecedingLineBreak())switch(e=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!e)break;default:s=this.parseMaybeAssign()}return t.delegate=e,t.argument=s,this.finishNode(t,"YieldExpression")}parseImportCall(t){return this.next(),t.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(t.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(t.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(t,"ImportExpression")}checkPipelineAtInfixOperator(t,e){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&t.type==="SequenceExpression"&&this.raise(w.PipelineHeadSequenceExpression,e)}parseSmartPipelineBodyInStyle(t,e){if(this.isSimpleReference(t)){const s=this.startNodeAt(e);return s.callee=t,this.finishNode(s,"PipelineBareFunction")}else{const s=this.startNodeAt(e);return this.checkSmartPipeTopicBodyEarlyErrors(e),s.expression=t,this.finishNode(s,"PipelineTopicExpression")}}isSimpleReference(t){switch(t.type){case"MemberExpression":return!t.computed&&this.isSimpleReference(t.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(t){if(this.match(19))throw this.raise(w.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(w.PipelineTopicUnused,t)}withTopicBindingContext(t){const e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}withSmartMixTopicForbiddingContext(t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){const e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}else return t()}withSoloAwaitPermittingContext(t){const e=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=e}}allowInAnd(t){const e=this.prodParam.currentFlags();if(8&~e){this.prodParam.enter(e|8);try{return t()}finally{this.prodParam.exit()}}return t()}disallowInAnd(t){const e=this.prodParam.currentFlags();if(8&e){this.prodParam.enter(e&-9);try{return t()}finally{this.prodParam.exit()}}return t()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(t){const e=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),e,t);return this.state.inFSharpPipelineDirectBody=s,r}parseModuleExpression(){this.expectPlugin("moduleBlocks");const t=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const e=this.startNodeAt(this.state.endLoc);this.next();const s=this.initializeScopes(!0);this.enterInitialScopes();try{t.body=this.parseProgram(e,8,"module")}finally{s()}return this.finishNode(t,"ModuleExpression")}parsePropertyNamePrefixOperator(t){}}const Kr={kind:1},wf={kind:2},kf=/[\uD800-\uDFFF]/u,qr=/in(?:stanceof)?/y;function Lf(i,t){for(let e=0;e0)for(const[n,a]of Array.from(this.scope.undefinedExports))this.raise(w.ModuleExportUndefined,a,{localName:n});let r;return e===139?r=this.finishNode(t,"Program"):r=this.finishNodeAt(t,"Program",yt(this.state.startLoc,-1)),r}stmtToDirective(t){const e=t;e.type="Directive",e.value=e.expression,delete e.expression;const s=e.value,r=s.value,n=this.input.slice(s.start,s.end),a=s.value=n.slice(1,-1);return this.addExtra(s,"raw",n),this.addExtra(s,"rawValue",a),this.addExtra(s,"expressionValue",r),s.type="DirectiveLiteral",e}parseInterpreterDirective(){if(!this.match(28))return null;const t=this.startNode();return t.value=this.state.value,this.next(),this.finishNode(t,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(t,e){if(Wt(t)){if(qr.lastIndex=e,qr.test(this.input)){const s=this.codePointAtPos(qr.lastIndex);if(!Vs(s)&&s!==92)return!1}return!0}else return t===92}chStartsBindingPattern(t){return t===91||t===123}hasFollowingBindingAtom(){const t=this.nextTokenStart(),e=this.codePointAtPos(t);return this.chStartsBindingPattern(e)||this.chStartsBindingIdentifier(e,t)}hasInLineFollowingBindingIdentifier(){const t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);return this.chStartsBindingIdentifier(e,t)}startsUsingForOf(){const{type:t,containsEsc:e}=this.lookahead();if(t===102&&!e)return!1;if(He(t)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let t=this.nextTokenInLineStart();if(this.isUnparsedContextual(t,"using")){t=this.nextTokenInLineStartSince(t+5);const e=this.codePointAtPos(t);if(this.chStartsBindingIdentifier(e,t))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(t=!1){let e=0;return this.options.annexB&&!this.state.strict&&(e|=4,t&&(e|=8)),this.parseStatementLike(e)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(t){let e=null;return this.match(26)&&(e=this.parseDecorators(!0)),this.parseStatementContent(t,e)}parseStatementContent(t,e){const s=this.state.type,r=this.startNode(),n=!!(t&2),a=!!(t&4),o=t&1;switch(s){case 60:return this.parseBreakContinueStatement(r,!0);case 63:return this.parseBreakContinueStatement(r,!1);case 64:return this.parseDebuggerStatement(r);case 90:return this.parseDoWhileStatement(r);case 91:return this.parseForStatement(r);case 68:if(this.lookaheadCharCode()===46)break;return a||this.raise(this.state.strict?w.StrictFunction:this.options.annexB?w.SloppyFunctionAnnexB:w.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(r,!1,!n&&a);case 80:return n||this.unexpected(),this.parseClass(this.maybeTakeDecorators(e,r),!0);case 69:return this.parseIfStatement(r);case 70:return this.parseReturnStatement(r);case 71:return this.parseSwitchStatement(r);case 72:return this.parseThrowStatement(r);case 73:return this.parseTryStatement(r);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?n||this.raise(w.UnexpectedLexicalDeclaration,r):this.raise(w.AwaitUsingNotInAsyncContext,r),this.next(),this.parseVarStatement(r,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(w.UnexpectedUsingDeclaration,this.state.startLoc):n||this.raise(w.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(r,"using");case 100:{if(this.state.containsEsc)break;const u=this.nextTokenStart(),x=this.codePointAtPos(u);if(x!==91&&(!n&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(x,u)&&x!==123))break}case 75:n||this.raise(w.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const u=this.state.value;return this.parseVarStatement(r,u)}case 92:return this.parseWhileStatement(r);case 76:return this.parseWithStatement(r);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(r);case 83:{const u=this.lookaheadCharCode();if(u===40||u===46)break}case 82:{!this.options.allowImportExportEverywhere&&!o&&this.raise(w.UnexpectedImportExport,this.state.startLoc),this.next();let u;return s===83?(u=this.parseImport(r),u.type==="ImportDeclaration"&&(!u.importKind||u.importKind==="value")&&(this.sawUnambiguousESM=!0)):(u=this.parseExport(r,e),(u.type==="ExportNamedDeclaration"&&(!u.exportKind||u.exportKind==="value")||u.type==="ExportAllDeclaration"&&(!u.exportKind||u.exportKind==="value")||u.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(u),u}default:if(this.isAsyncFunction())return n||this.raise(w.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(r,!0,!n&&a)}const l=this.state.value,h=this.parseExpression();return He(s)&&h.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(r,l,h,t):this.parseExpressionStatement(r,h,e)}assertModuleNodeAllowed(t){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(w.ImportOutsideModule,t)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(t,e,s){return t&&(e.decorators&&e.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(w.DecoratorsBeforeAfterExport,e.decorators[0]),e.decorators.unshift(...t)):e.decorators=t,this.resetStartLocationFromNode(e,t[0]),s&&this.resetStartLocationFromNode(s,e)),e}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(t){const e=[];do e.push(this.parseDecorator());while(this.match(26));if(this.match(82))t||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(w.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(w.UnexpectedLeadingDecorator,this.state.startLoc);return e}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const t=this.startNode();if(this.next(),this.hasPlugin("decorators")){const e=this.state.startLoc;let s;if(this.match(10)){const r=this.state.startLoc;this.next(),s=this.parseExpression(),this.expect(11),s=this.wrapParenthesis(r,s);const n=this.state.startLoc;t.expression=this.parseMaybeDecoratorArguments(s),this.getPluginOption("decorators","allowCallParenthesized")===!1&&t.expression!==s&&this.raise(w.DecoratorArgumentsOutsideParentheses,n)}else{for(s=this.parseIdentifier(!1);this.eat(16);){const r=this.startNodeAt(e);r.object=s,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),r.property=this.parsePrivateName()):r.property=this.parseIdentifier(!0),r.computed=!1,s=this.finishNode(r,"MemberExpression")}t.expression=this.parseMaybeDecoratorArguments(s)}}else t.expression=this.parseExprSubscripts();return this.finishNode(t,"Decorator")}parseMaybeDecoratorArguments(t){if(this.eat(10)){const e=this.startNodeAtNode(t);return e.callee=t,e.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(e.arguments),this.finishNode(e,"CallExpression")}return t}parseBreakContinueStatement(t,e){return this.next(),this.isLineTerminator()?t.label=null:(t.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(t,e),this.finishNode(t,e?"BreakStatement":"ContinueStatement")}verifyBreakContinue(t,e){let s;for(s=0;sthis.parseStatement()),this.state.labels.pop(),this.expect(92),t.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(t,"DoWhileStatement")}parseForStatement(t){this.next(),this.state.labels.push(Kr);let e=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(e=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return e!==null&&this.unexpected(e),this.parseFor(t,null);const s=this.isContextual(100);{const l=this.isContextual(96)&&this.startsAwaitUsing(),h=l||this.isContextual(107)&&this.startsUsingForOf(),u=s&&this.hasFollowingBindingAtom()||h;if(this.match(74)||this.match(75)||u){const x=this.startNode();let P;l?(P="await using",this.isAwaitAllowed()||this.raise(w.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):P=this.state.value,this.next(),this.parseVar(x,!0,P);const I=this.finishNode(x,"VariableDeclaration"),A=this.match(58);return A&&h&&this.raise(w.ForInUsing,I),(A||this.isContextual(102))&&I.declarations.length===1?this.parseForIn(t,I,e):(e!==null&&this.unexpected(e),this.parseFor(t,I))}}const r=this.isContextual(95),n=new zi,a=this.parseExpression(!0,n),o=this.isContextual(102);if(o&&(s&&this.raise(w.ForOfLet,a),e===null&&r&&a.type==="Identifier"&&this.raise(w.ForOfAsync,a)),o||this.match(58)){this.checkDestructuringPrivate(n),this.toAssignable(a,!0);const l=o?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{in:{type:l}}),this.parseForIn(t,a,e)}else this.checkExpressionErrors(n,!0);return e!==null&&this.unexpected(e),this.parseFor(t,a)}parseFunctionStatement(t,e,s){return this.next(),this.parseFunction(t,1|(s?2:0)|(e?8:0))}parseIfStatement(t){return this.next(),t.test=this.parseHeaderExpression(),t.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),t.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(t,"IfStatement")}parseReturnStatement(t){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(w.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")}parseSwitchStatement(t){this.next(),t.discriminant=this.parseHeaderExpression();const e=t.cases=[];this.expect(5),this.state.labels.push(wf),this.scope.enter(0);let s;for(let r;!this.match(8);)if(this.match(61)||this.match(65)){const n=this.match(61);s&&this.finishNode(s,"SwitchCase"),e.push(s=this.startNode()),s.consequent=[],this.next(),n?s.test=this.parseExpression():(r&&this.raise(w.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),r=!0,s.test=null),this.expect(14)}else s?s.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),s&&this.finishNode(s,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(t,"SwitchStatement")}parseThrowStatement(t){return this.next(),this.hasPrecedingLineBreak()&&this.raise(w.NewlineAfterThrow,this.state.lastTokEndLoc),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")}parseCatchClauseParam(){const t=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&t.type==="Identifier"?8:0),this.checkLVal(t,{in:{type:"CatchClause"},binding:9}),t}parseTryStatement(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(62)){const e=this.startNode();this.next(),this.match(10)?(this.expect(10),e.param=this.parseCatchClauseParam(),this.expect(11)):(e.param=null,this.scope.enter(0)),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(67)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(w.NoCatchOrFinally,t),this.finishNode(t,"TryStatement")}parseVarStatement(t,e,s=!1){return this.next(),this.parseVar(t,!1,e,s),this.semicolon(),this.finishNode(t,"VariableDeclaration")}parseWhileStatement(t){return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push(Kr),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}parseWithStatement(t){return this.state.strict&&this.raise(w.StrictWith,this.state.startLoc),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(t,"WithStatement")}parseEmptyStatement(t){return this.next(),this.finishNode(t,"EmptyStatement")}parseLabeledStatement(t,e,s,r){for(const a of this.state.labels)a.name===e&&this.raise(w.LabelRedeclaration,s,{labelName:e});const n=dp(this.state.type)?1:this.match(71)?2:null;for(let a=this.state.labels.length-1;a>=0;a--){const o=this.state.labels[a];if(o.statementStart===t.start)o.statementStart=this.state.start,o.kind=n;else break}return this.state.labels.push({name:e,kind:n,statementStart:this.state.start}),t.body=r&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),t.label=s,this.finishNode(t,"LabeledStatement")}parseExpressionStatement(t,e,s){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")}parseBlock(t=!1,e=!0,s){const r=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),e&&this.scope.enter(0),this.parseBlockBody(r,t,!1,8,s),e&&this.scope.exit(),this.finishNode(r,"BlockStatement")}isValidDirective(t){return t.type==="ExpressionStatement"&&t.expression.type==="StringLiteral"&&!t.expression.extra.parenthesized}parseBlockBody(t,e,s,r,n){const a=t.body=[],o=t.directives=[];this.parseBlockOrModuleBlockBody(a,e?o:void 0,s,r,n)}parseBlockOrModuleBlockBody(t,e,s,r,n){const a=this.state.strict;let o=!1,l=!1;for(;!this.match(r);){const h=s?this.parseModuleItem():this.parseStatementListItem();if(e&&!l){if(this.isValidDirective(h)){const u=this.stmtToDirective(h);e.push(u),!o&&u.value.value==="use strict"&&(o=!0,this.setStrict(!0));continue}l=!0,this.state.strictErrors.clear()}t.push(h)}n==null||n.call(this,o),a||this.setStrict(!1),this.next()}parseFor(t,e){return t.init=e,this.semicolon(!1),t.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),t.update=this.match(11)?null:this.parseExpression(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,"ForStatement")}parseForIn(t,e,s){const r=this.match(58);return this.next(),r?s!==null&&this.unexpected(s):t.await=s!==null,e.type==="VariableDeclaration"&&e.declarations[0].init!=null&&(!r||!this.options.annexB||this.state.strict||e.kind!=="var"||e.declarations[0].id.type!=="Identifier")&&this.raise(w.ForInOfLoopInitializer,e,{type:r?"ForInStatement":"ForOfStatement"}),e.type==="AssignmentPattern"&&this.raise(w.InvalidLhs,e,{ancestor:{type:"ForStatement"}}),t.left=e,t.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,r?"ForInStatement":"ForOfStatement")}parseVar(t,e,s,r=!1){const n=t.declarations=[];for(t.kind=s;;){const a=this.startNode();if(this.parseVarId(a,s),a.init=this.eat(29)?e?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,a.init===null&&!r&&(a.id.type!=="Identifier"&&!(e&&(this.match(58)||this.isContextual(102)))?this.raise(w.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):s==="const"&&!(this.match(58)||this.isContextual(102))&&this.raise(w.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"const"})),n.push(this.finishNode(a,"VariableDeclarator")),!this.eat(12))break}return t}parseVarId(t,e){const s=this.parseBindingAtom();this.checkLVal(s,{in:{type:"VariableDeclarator"},binding:e==="var"?5:8201}),t.id=s}parseAsyncFunctionExpression(t){return this.parseFunction(t,8)}parseFunction(t,e=0){const s=e&2,r=!!(e&1),n=r&&!(e&4),a=!!(e&8);this.initFunction(t,a),this.match(55)&&(s&&this.raise(w.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),t.generator=!0),r&&(t.id=this.parseFunctionId(n));const o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(qi(a,t.generator)),r||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(t,r?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),r&&!s&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=o,t}parseFunctionId(t){return t||He(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,e){this.expect(10),this.expressionScope.enter(Wp()),t.params=this.parseBindingList(11,41,2|(e?4:0)),this.expressionScope.exit()}registerFunctionStatementId(t){!t.id||this.scope.declareName(t.id.name,!this.options.annexB||this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?5:8201:17,t.id.loc.start)}parseClass(t,e,s){this.next();const r=this.state.strict;return this.state.strict=!0,this.parseClassId(t,e,s),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,r),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(t){return!t.computed&&!t.static&&(t.key.name==="constructor"||t.key.value==="constructor")}parseClassBody(t,e){this.classScope.enter();const s={hadConstructor:!1,hadSuperClass:t};let r=[];const n=this.startNode();if(n.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(r.length>0)throw this.raise(w.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){r.push(this.parseDecorator());continue}const a=this.startNode();r.length&&(a.decorators=r,this.resetStartLocationFromNode(a,r[0]),r=[]),this.parseClassMember(n,a,s),a.kind==="constructor"&&a.decorators&&a.decorators.length>0&&this.raise(w.DecoratorConstructor,a)}}),this.state.strict=e,this.next(),r.length)throw this.raise(w.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(n,"ClassBody")}parseClassMemberFromModifier(t,e){const s=this.parseIdentifier(!0);if(this.isClassMethod()){const r=e;return r.kind="method",r.computed=!1,r.key=s,r.static=!1,this.pushClassMethod(t,r,!1,!1,!1,!1),!0}else if(this.isClassProperty()){const r=e;return r.computed=!1,r.key=s,r.static=!1,t.body.push(this.parseClassProperty(r)),!0}return this.resetPreviousNodeTrailingComments(s),!1}parseClassMember(t,e,s){const r=this.isContextual(106);if(r){if(this.parseClassMemberFromModifier(t,e))return;if(this.eat(5)){this.parseClassStaticBlock(t,e);return}}this.parseClassMemberWithIsStatic(t,e,s,r)}parseClassMemberWithIsStatic(t,e,s,r){const n=e,a=e,o=e,l=e,h=e,u=n,x=n;if(e.static=r,this.parsePropertyNamePrefixOperator(e),this.eat(55)){u.kind="method";const B=this.match(138);if(this.parseClassElementName(u),B){this.pushClassPrivateMethod(t,a,!0,!1);return}this.isNonstaticConstructor(n)&&this.raise(w.ConstructorIsGenerator,n.key),this.pushClassMethod(t,n,!0,!1,!1,!1);return}const P=He(this.state.type)&&!this.state.containsEsc,I=this.match(138),A=this.parseClassElementName(e),G=this.state.startLoc;if(this.parsePostMemberNameModifiers(x),this.isClassMethod()){if(u.kind="method",I){this.pushClassPrivateMethod(t,a,!1,!1);return}const B=this.isNonstaticConstructor(n);let $=!1;B&&(n.kind="constructor",s.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(w.DuplicateConstructor,A),B&&this.hasPlugin("typescript")&&e.override&&this.raise(w.OverrideOnConstructor,A),s.hadConstructor=!0,$=s.hadSuperClass),this.pushClassMethod(t,n,!1,!1,B,$)}else if(this.isClassProperty())I?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o);else if(P&&A.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(A);const B=this.eat(55);x.optional&&this.unexpected(G),u.kind="method";const $=this.match(138);this.parseClassElementName(u),this.parsePostMemberNameModifiers(x),$?this.pushClassPrivateMethod(t,a,B,!0):(this.isNonstaticConstructor(n)&&this.raise(w.ConstructorIsAsync,n.key),this.pushClassMethod(t,n,B,!0,!1,!1))}else if(P&&(A.name==="get"||A.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(A),u.kind=A.name;const B=this.match(138);this.parseClassElementName(n),B?this.pushClassPrivateMethod(t,a,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(w.ConstructorIsAccessor,n.key),this.pushClassMethod(t,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}else if(P&&A.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(A);const B=this.match(138);this.parseClassElementName(o),this.pushClassAccessorProperty(t,h,B)}else this.isLineTerminator()?I?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o):this.unexpected()}parseClassElementName(t){const{type:e,value:s}=this.state;if((e===132||e===133)&&t.static&&s==="prototype"&&this.raise(w.StaticPrototype,this.state.startLoc),e===138){s==="constructor"&&this.raise(w.ConstructorClassPrivateField,this.state.startLoc);const r=this.parsePrivateName();return t.key=r,r}return this.parsePropertyName(t)}parseClassStaticBlock(t,e){var s;this.scope.enter(208);const r=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const n=e.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,t.body.push(this.finishNode(e,"StaticBlock")),(s=e.decorators)!=null&&s.length&&this.raise(w.DecoratorStaticBlock,e)}pushClassProperty(t,e){!e.computed&&(e.key.name==="constructor"||e.key.value==="constructor")&&this.raise(w.ConstructorClassField,e.key),t.body.push(this.parseClassProperty(e))}pushClassPrivateProperty(t,e){const s=this.parseClassPrivateProperty(e);t.body.push(s),this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.start)}pushClassAccessorProperty(t,e,s){if(!s&&!e.computed){const n=e.key;(n.name==="constructor"||n.value==="constructor")&&this.raise(w.ConstructorClassField,n)}const r=this.parseClassAccessorProperty(e);t.body.push(r),s&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassMethod(t,e,s,r,n,a){t.body.push(this.parseMethod(e,s,r,n,a,"ClassMethod",!0))}pushClassPrivateMethod(t,e,s,r){const n=this.parseMethod(e,s,r,!1,!1,"ClassPrivateMethod",!0);t.body.push(n);const a=n.kind==="get"?n.static?6:2:n.kind==="set"?n.static?5:1:0;this.declareClassPrivateMethodInScope(n,a)}declareClassPrivateMethodInScope(t,e){this.classScope.declarePrivateName(this.getPrivateNameSV(t.key),e,t.key.loc.start)}parsePostMemberNameModifiers(t){}parseClassPrivateProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassPrivateProperty")}parseClassProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassProperty")}parseClassAccessorProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassAccessorProperty")}parseInitializer(t){this.scope.enter(80),this.expressionScope.enter(jl()),this.prodParam.enter(0),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(t,e,s,r=8331){if(He(this.state.type))t.id=this.parseIdentifier(),e&&this.declareNameFromIdentifier(t.id,r);else if(s||!e)t.id=null;else throw this.raise(w.MissingClassName,this.state.startLoc)}parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(t,e){const s=this.parseMaybeImportPhase(t,!0),r=this.maybeParseExportDefaultSpecifier(t,s),n=!r||this.eat(12),a=n&&this.eatExportStar(t),o=a&&this.maybeParseExportNamespaceSpecifier(t),l=n&&(!o||this.eat(12)),h=r||a;if(a&&!o){if(r&&this.unexpected(),e)throw this.raise(w.UnsupportedDecoratorExport,t);return this.parseExportFrom(t,!0),this.finishNode(t,"ExportAllDeclaration")}const u=this.maybeParseExportNamedSpecifiers(t);r&&n&&!a&&!u&&this.unexpected(null,5),o&&l&&this.unexpected(null,98);let x;if(h||u){if(x=!1,e)throw this.raise(w.UnsupportedDecoratorExport,t);this.parseExportFrom(t,h)}else x=this.maybeParseExportDeclaration(t);if(h||u||x){var P;const I=t;if(this.checkExport(I,!0,!1,!!I.source),((P=I.declaration)==null?void 0:P.type)==="ClassDeclaration")this.maybeTakeDecorators(e,I.declaration,I);else if(e)throw this.raise(w.UnsupportedDecoratorExport,t);return this.finishNode(I,"ExportNamedDeclaration")}if(this.eat(65)){const I=t,A=this.parseExportDefaultExpression();if(I.declaration=A,A.type==="ClassDeclaration")this.maybeTakeDecorators(e,A,I);else if(e)throw this.raise(w.UnsupportedDecoratorExport,t);return this.checkExport(I,!0,!0),this.finishNode(I,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(t){return this.eat(55)}maybeParseExportDefaultSpecifier(t,e){if(e||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",e==null?void 0:e.loc.start);const s=e||this.parseIdentifier(!0),r=this.startNodeAtNode(s);return r.exported=s,t.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(t){if(this.isContextual(93)){t.specifiers||(t.specifiers=[]);const e=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),e.exported=this.parseModuleExportName(),t.specifiers.push(this.finishNode(e,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(t){if(this.match(5)){t.specifiers||(t.specifiers=[]);const e=t.exportKind==="type";return t.specifiers.push(...this.parseExportSpecifiers(e)),t.source=null,t.declaration=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),!0}return!1}maybeParseExportDeclaration(t){return this.shouldParseExportDeclaration()?(t.specifiers=[],t.source=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),t.declaration=this.parseExportDeclaration(t),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;const t=this.nextTokenInLineStart();return this.isUnparsedContextual(t,"function")}parseExportDefaultExpression(){const t=this.startNode();if(this.match(68))return this.next(),this.parseFunction(t,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(t,13);if(this.match(80))return this.parseClass(t,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(w.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(w.UnsupportedDefaultExport,this.state.startLoc);const e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}parseExportDeclaration(t){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:t}=this.state;if(He(t)){if(t===95&&!this.state.containsEsc||t===100)return!1;if((t===130||t===129)&&!this.state.containsEsc){const{type:r}=this.lookahead();if(He(r)&&r!==98||r===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const e=this.nextTokenStart(),s=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||He(this.state.type)&&s)return!0;if(this.match(65)&&s){const r=this.input.charCodeAt(this.nextTokenStartSince(e+4));return r===34||r===39}return!1}parseExportFrom(t,e){this.eatContextual(98)?(t.source=this.parseImportSource(),this.checkExport(t),this.maybeParseImportAttributes(t),this.checkJSONModuleImport(t)):e&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:t}=this.state;return t===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(w.DecoratorBeforeExport,this.state.startLoc),!0):t===74||t===75||t===68||t===80||this.isLet()||this.isAsyncFunction()}checkExport(t,e,s,r){if(e){var n;if(s){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var a;const o=t.declaration;o.type==="Identifier"&&o.name==="from"&&o.end-o.start===4&&!((a=o.extra)!=null&&a.parenthesized)&&this.raise(w.ExportDefaultFromAsIdentifier,o)}}else if((n=t.specifiers)!=null&&n.length)for(const o of t.specifiers){const{exported:l}=o,h=l.type==="Identifier"?l.name:l.value;if(this.checkDuplicateExports(o,h),!r&&o.local){const{local:u}=o;u.type!=="Identifier"?this.raise(w.ExportBindingIsString,o,{localName:u.value,exportName:h}):(this.checkReservedWord(u.name,u.loc.start,!0,!1),this.scope.checkLocalExport(u))}}else if(t.declaration){if(t.declaration.type==="FunctionDeclaration"||t.declaration.type==="ClassDeclaration"){const o=t.declaration.id;if(!o)throw new Error("Assertion failure");this.checkDuplicateExports(t,o.name)}else if(t.declaration.type==="VariableDeclaration")for(const o of t.declaration.declarations)this.checkDeclaration(o.id)}}}checkDeclaration(t){if(t.type==="Identifier")this.checkDuplicateExports(t,t.name);else if(t.type==="ObjectPattern")for(const e of t.properties)this.checkDeclaration(e);else if(t.type==="ArrayPattern")for(const e of t.elements)e&&this.checkDeclaration(e);else t.type==="ObjectProperty"?this.checkDeclaration(t.value):t.type==="RestElement"?this.checkDeclaration(t.argument):t.type==="AssignmentPattern"&&this.checkDeclaration(t.left)}checkDuplicateExports(t,e){this.exportedIdentifiers.has(e)&&(e==="default"?this.raise(w.DuplicateDefaultExport,t):this.raise(w.DuplicateExport,t,{exportName:e})),this.exportedIdentifiers.add(e)}parseExportSpecifiers(t){const e=[];let s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else if(this.expect(12),this.eat(8))break;const r=this.isContextual(130),n=this.match(133),a=this.startNode();a.local=this.parseModuleExportName(),e.push(this.parseExportSpecifier(a,n,t,r))}return e}parseExportSpecifier(t,e,s,r){return this.eatContextual(93)?t.exported=this.parseModuleExportName():e?t.exported=Yp(t.local):t.exported||(t.exported=Yt(t.local)),this.finishNode(t,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){const t=this.parseStringLiteral(this.state.value),e=t.value.match(kf);return e&&this.raise(w.ModuleExportNameHasLoneSurrogate,t,{surrogateCharCode:e[0].charCodeAt(0)}),t}return this.parseIdentifier(!0)}isJSONModuleImport(t){return t.assertions!=null?t.assertions.some(({key:e,value:s})=>s.value==="json"&&(e.type==="Identifier"?e.name==="type":e.value==="type")):!1}checkImportReflection(t){const{specifiers:e}=t,s=e.length===1?e[0].type:null;if(t.phase==="source")s!=="ImportDefaultSpecifier"&&this.raise(w.SourcePhaseImportRequiresDefault,e[0].loc.start);else if(t.phase==="defer")s!=="ImportNamespaceSpecifier"&&this.raise(w.DeferImportRequiresNamespace,e[0].loc.start);else if(t.module){var r;s!=="ImportDefaultSpecifier"&&this.raise(w.ImportReflectionNotBinding,e[0].loc.start),((r=t.assertions)==null?void 0:r.length)>0&&this.raise(w.ImportReflectionHasAssertion,e[0].loc.start)}}checkJSONModuleImport(t){if(this.isJSONModuleImport(t)&&t.type!=="ExportAllDeclaration"){const{specifiers:e}=t;if(e!=null){const s=e.find(r=>{let n;if(r.type==="ExportSpecifier"?n=r.local:r.type==="ImportSpecifier"&&(n=r.imported),n!==void 0)return n.type==="Identifier"?n.name!=="default":n.value!=="default"});s!==void 0&&this.raise(w.ImportJSONBindingNotDefault,s.loc.start)}}}isPotentialImportPhase(t){return t?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(t,e,s,r){e||(s==="module"?(this.expectPlugin("importReflection",r),t.module=!0):this.hasPlugin("importReflection")&&(t.module=!1),s==="source"?(this.expectPlugin("sourcePhaseImports",r),t.phase="source"):s==="defer"?(this.expectPlugin("deferredImportEvaluation",r),t.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(t.phase=null))}parseMaybeImportPhase(t,e){if(!this.isPotentialImportPhase(e))return this.applyImportPhase(t,e,null),null;const s=this.parseIdentifier(!0),{type:r}=this.state;return(vt(r)?r!==98||this.lookaheadCharCode()===102:r!==12)?(this.resetPreviousIdentifierLeadingComments(s),this.applyImportPhase(t,e,s.name,s.loc.start),null):(this.applyImportPhase(t,e,null),s)}isPrecedingIdImportPhase(t){const{type:e}=this.state;return He(e)?e!==98||this.lookaheadCharCode()===102:e!==12}parseImport(t){return this.match(133)?this.parseImportSourceAndAttributes(t):this.parseImportSpecifiersAndAfter(t,this.parseMaybeImportPhase(t,!1))}parseImportSpecifiersAndAfter(t,e){t.specifiers=[];const r=!this.maybeParseDefaultImportSpecifier(t,e)||this.eat(12),n=r&&this.maybeParseStarImportSpecifier(t);return r&&!n&&this.parseNamedImportSpecifiers(t),this.expectContextual(98),this.parseImportSourceAndAttributes(t)}parseImportSourceAndAttributes(t){var e;return(e=t.specifiers)!=null||(t.specifiers=[]),t.source=this.parseImportSource(),this.maybeParseImportAttributes(t),this.checkImportReflection(t),this.checkJSONModuleImport(t),this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(t,e,s){e.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(e,s))}finishImportSpecifier(t,e,s=8201){return this.checkLVal(t.local,{in:{type:e},binding:s}),this.finishNode(t,e)}parseImportAttributes(){this.expect(5);const t=[],e=new Set;do{if(this.match(8))break;const s=this.startNode(),r=this.state.value;if(e.has(r)&&this.raise(w.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:r}),e.add(r),this.match(133)?s.key=this.parseStringLiteral(r):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(w.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return this.expect(8),t}parseModuleAttributes(){const t=[],e=new Set;do{const s=this.startNode();if(s.key=this.parseIdentifier(!0),s.key.name!=="type"&&this.raise(w.ModuleAttributeDifferentFromType,s.key),e.has(s.key.name)&&this.raise(w.ModuleAttributesWithDuplicateKeys,s.key,{key:s.key.name}),e.add(s.key.name),this.expect(14),!this.match(133))throw this.raise(w.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return t}maybeParseImportAttributes(t){let e,s=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?e=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),e=this.parseImportAttributes()),s=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(w.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(t,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),e=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))e=[];else if(this.hasPlugin("moduleAttributes"))e=[];else return;!s&&this.hasPlugin("importAssertions")?t.assertions=e:t.attributes=e}maybeParseDefaultImportSpecifier(t,e){if(e){const s=this.startNodeAtNode(e);return s.local=e,t.specifiers.push(this.finishImportSpecifier(s,"ImportDefaultSpecifier")),!0}else if(vt(this.state.type))return this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(t){if(this.match(55)){const e=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,e,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(t){let e=!0;for(this.expect(5);!this.eat(8);){if(e)e=!1;else{if(this.eat(14))throw this.raise(w.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const s=this.startNode(),r=this.match(133),n=this.isContextual(130);s.imported=this.parseModuleExportName();const a=this.parseImportSpecifier(s,r,t.importKind==="type"||t.importKind==="typeof",n,void 0);t.specifiers.push(a)}}parseImportSpecifier(t,e,s,r,n){if(this.eatContextual(93))t.local=this.parseIdentifier();else{const{imported:a}=t;if(e)throw this.raise(w.ImportBindingIsString,t,{importName:a.value});this.checkReservedWord(a.name,t.loc.start,!0,!0),t.local||(t.local=Yt(a))}return this.finishImportSpecifier(t,"ImportSpecifier",n)}isThisParam(t){return t.type==="Identifier"&&t.name==="this"}}class Wl extends vf{constructor(t,e){t=Af(t),super(t,e),this.options=t,this.initializeScopes(),this.plugins=If(this.options.plugins),this.filename=t.sourceFilename}getScopeHandler(){return Yn}parse(){this.enterInitialScopes();const t=this.startNode(),e=this.startNode();return this.nextToken(),t.errors=null,this.parseTopLevel(t,e),t.errors=this.state.errors,t.comments.length=this.state.commentsLen,t}}function If(i){const t=new Map;for(const e of i){const[s,r]=Array.isArray(e)?e:[e,{}];t.has(s)||t.set(s,r||{})}return t}function Nf(i,t){var e;if(((e=t)==null?void 0:e.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const s=ni(t,i),r=s.parse();if(s.sawUnambiguousESM)return r;if(s.ambiguousScriptDifferentAst)try{return t.sourceType="script",ni(t,i).parse()}catch{}else r.program.sourceType="script";return r}catch(s){try{return t.sourceType="script",ni(t,i).parse()}catch{}throw s}}else return ni(t,i).parse()}function _f(i,t){const e=ni(t,i);return e.options.strictMode&&(e.state.strict=!0),e.getExpression()}function Mf(i){const t={};for(const e of Object.keys(i))t[e]=Vt(i[e]);return t}const Of=Mf(up);function ni(i,t){let e=Wl;return i!=null&&i.plugins&&(Pf(i.plugins),e=Ff(i.plugins)),new e(i,t)}const ho={};function Ff(i){const t=Ef.filter(r=>st(i,r)),e=t.join("/");let s=ho[e];if(!s){s=Wl;for(const r of t)s=Gl[r](s);ho[e]=s}return s}var Df=Pr.parse=Nf;Pr.parseExpression=_f;Pr.tokTypes=Of;var Ci={},Ts={},At={};Object.defineProperty(At,"__esModule",{value:!0});function Kl(i){return{type:"concat",parts:i}}At.concat=Kl;function Bf(i,t){const e=[];return t.forEach((s,r)=>{r>0&&e.push(i),e.push(s)}),Kl(e)}At.join=Bf;At.line={type:"line",hard:!1,soft:!1};At.hardline={type:"line",hard:!0,soft:!1};At.softline={type:"line",hard:!1,soft:!0};function Rf(i){return{type:"indent",content:i}}At.indent=Rf;function $f(i){return{type:"lineSuffix",content:i}}At.lineSuffix=$f;function jf(i,t=!1){return{type:"group",content:i,willBreak:t}}At.group=jf;At.breakParent={type:"breakParent"};function Uf(i){return typeof i=="string"&&i.length===0}At.isEmpty=Uf;var lt={};Object.defineProperty(lt,"__esModule",{value:!0});function Vf(i){return i.range[0]}lt.locStart=Vf;function Hf(i){return i.range[1]}lt.locEnd=Hf;function Gf(i){if(!i||typeof i.type!="string")return!1;switch(i.type){case"LabelStatement":case"BreakStatement":case"GotoStatement":case"ReturnStatement":case"IfStatement":case"IfClause":case"ElseifClause":case"ElseClause":case"WhileStatement":case"DoStatement":case"RepeatStatement":case"LocalStatement":case"AssignmentStatement":case"CallStatement":case"FunctionDeclaration":case"ForNumericStatement":case"ForGenericStatement":case"Chunk":case"Identifier":case"BooleanLiteral":case"NilLiteral":case"NumericLiteral":case"StringLiteral":case"VarargLiteral":case"TableKey":case"TableKeyString":case"TableValue":case"TableConstructorExpression":case"BinaryExpression":case"LogicalExpression":case"UnaryExpression":case"MemberExpression":case"IndexExpression":case"CallExpression":case"TableCallExpression":case"StringCallExpression":case"Comment":return!0;default:return!1}}lt.isNode=Gf;function ea(i,t,e,s={}){let r=0;return e.forEach(n=>{if((s.searchBackwards?i.substring(t-n.length,t):i.substring(t,t+n.length))===n){r=n.length;return}}),t+(s.searchBackwards?-r:r)}lt.skipOnce=ea;function ta(i,t,e,s={}){let r=null;for(;r!==t;)r=t,t=ea(i,t,e,s);return t}lt.skipMany=ta;function xi(i,t,e={}){return ea(i,t,[` -`,`\r -`],e)}lt.skipNewLine=xi;function Ws(i,t,e={}){return ta(i,t,[" "," "],e)}lt.skipSpaces=Ws;function ql(i,t,e={}){return ta(i,Ws(i,t),[";"],e)}lt.skipToLineEnd=ql;function zl(i,t,e={}){const s=Ws(i,t,e),r=xi(i,s,e);return s!==r}lt.hasNewLine=zl;function Wf(i,t,e){return i.substr(t,e-t).indexOf(` -`)!==-1}lt.hasNewLineInRange=Wf;function Kf(i,t){t=Ws(i,t,{searchBackwards:!0}),t=xi(i,t,{searchBackwards:!0}),t=Ws(i,t,{searchBackwards:!0});const e=xi(i,t,{searchBackwards:!0});return t!==e}lt.isPreviousLineEmpty=Kf;function Jl(i,t){if(i.charAt(t)==="-"&&i.charAt(t+1)==="-")for(t+=2;t>=0&&t=0&&!(et.locStart(e[n])<=et.locStart(r)&&et.locEnd(e[n])<=et.locEnd(i));--n);e.splice(n+1,0,r)}}for(const r of t){const n=i[r];Array.isArray(n)?n.forEach(s):n&&s(n)}return e}function Jf(i,t){for(const e of i.comments){Xl(i,e);const s=e.precedingNode,r=e.enclosingNode,n=e.followingNode;et.hasNewLine(t.sourceText,et.locStart(e),{searchBackwards:!0})?sd(r,e)||id(s,r,e)||rd(s,r,n,e)||(n?po(n,e):s?fo(s,e):zt(r||i,e)):nd(s,r,e)||ad(s,r,e)||(s?fo(s,e):n?po(n,e):zt(r||i,e))}}Ts.attachComments=Jf;function Xf(i,t){if(!t.sourceText.startsWith("#!"))return;const e=t.sourceText.indexOf(` -`),s=t.sourceText.slice(0,e),r=t.sourceText.slice(2,e);i.comments.push({type:"Comment",loc:{start:{line:1,column:0},end:{line:1,column:e}},range:[0,e],raw:s,value:r})}Ts.injectShebang=Xf;function Yf(i,t=!1){const e=i.getValue();if(!e||!e.attachedComments)return"";const s=[];return i.forEach(r=>{const n=r.getValue();n.commentType===Rt.Dangling&&s.push(n.raw)},"attachedComments"),s.length===0?"":t?tt.join(tt.hardline,s):tt.indent(tt.concat([tt.hardline,tt.join(tt.hardline,s)]))}Ts.printDanglingComments=Yf;function Zf(i){const t=i.getValue();if(!t||!t.attachedComments)return"";const e=[];return i.forEach(s=>{const r=s.getValue();r.commentType===Rt.DanglingStatement&&(e.push(" "),e.push(r.raw))},"attachedComments"),e.length===0?"":tt.concat(e)}Ts.printDanglingStatementComments=Zf;function Qf(i,t){const e=i.getValue();if(e.raw.startsWith("--[["))return tt.concat([e.raw,et.hasNewLine(t.sourceText,et.locEnd(e))?tt.hardline:" "]);const r=[];return r.push(e.raw),r.push(tt.hardline),et.isNextLineEmpty(t.sourceText,et.locEnd(e))&&r.push(tt.hardline),tt.concat(r)}function ed(i,t){const e=i.getValue();if(et.hasNewLine(t.sourceText,et.locStart(e),{searchBackwards:!0})){const r=et.isPreviousLineEmpty(t.sourceText,et.locStart(e));return tt.concat([tt.hardline,r?tt.hardline:"",e.raw])}if(e.raw.startsWith("--[["))return tt.concat([" ",e.raw]);const s=[];return et.isNextLineEmpty(t.sourceText,et.locStart(e),{searchBackwards:!0})&&s.push(tt.hardline),s.push(" "),s.push(e.raw),s.push(tt.breakParent),tt.lineSuffix(tt.concat(s))}function td(i,t,e){const s=i.getValue(),r=e(i),n=s.attachedComments;if(!n||n.length===0)return r;const a=[],o=[r];return i.forEach(l=>{switch(l.getValue().commentType){case Rt.Leading:a.push(Qf(i,t));break;case Rt.Trailing:o.push(ed(i,t));break}},"attachedComments"),tt.concat(a.concat(o))}Ts.printComments=td;function Xl(i,t){const e=zf(i);let s=null,r=null,n=0,a=e.length;for(;n0?!1:t.parameters.length>0&&t.parameters[t.parameters.length-1]===i||i&&i.type==="Identifier"?(zt(t,e),!0):!1}function rd(i,t,e,s){return!t||t.type!=="IfStatement"?!1:e&&(e.type==="ElseifClause"||e.type==="ElseClause")||i&&i.type==="ElseClause"?(zt(i,s),!0):!1}function nd(i,t,e){if(e.raw.startsWith("--[[")||!t)return!1;switch(t.type){case"WhileStatement":if(i===t.condition)return as(t,e),!0;break;case"DoStatement":case"RepeatStatement":if(i==null)return as(t,e),!0;break;case"FunctionDeclaration":if(t.parameters.length&&i===t.parameters[t.parameters.length-1]||i===t.identifier)return as(t,e),!0;break;case"ForNumericStatement":if(i===t.end||i===t.step)return as(t,e),!0;break;case"ForGenericStatement":if(i===t.iterators[t.iterators.length-1])return as(t,e),!0;break;case"IfClause":case"ElseifClause":if(i===t.condition&&e.loc.start.column>i.loc.start.column)return as(t,e),!0;break;case"ElseClause":if(i==null)return as(t,e),!0;break}return!1}function ad(i,t,e){if(!i||!t||t.type!=="IfStatement")return!1;switch(i.type){case"IfClause":case"ElseifClause":case"ElseClause":if(i.body.length===0)return as(i,e),!0;break}return!1}var sa={},ia={};Object.defineProperty(ia,"__esModule",{value:!0});const od=lt;class ld{constructor(t){this.stack=[t]}getValue(){return this.stack[this.stack.length-1]}getNodeAtDepth(t){for(let e=this.stack.length-1;e>=0;e-=2){const s=this.stack[e];if(od.isNode(s)&&--t<0)return s}return null}getParent(t=0){return this.getNodeAtDepth(t+1)}call(t,e){const s=this.getValue(),r=this.stack.length;this.stack.push(e,s[e]);const n=t(this);return this.stack.length=r,n}forEach(t,e=null){let s=this.getValue();const r=this.stack.length;e&&(s=s[e],this.stack.push(s));for(let n=0;n{this.stack.push(o,a),r.push(t(this,o)),this.stack.length-=2}),this.stack.length=n,r}needsParens(){const t=this.getParent(),e=this.getValue();let s=!1;switch(e.type){case"FunctionDeclaration":case"Chunk":case"Identifier":case"BooleanLiteral":case"NilLiteral":case"NumericLiteral":case"StringLiteral":case"VarargLiteral":case"TableConstructorExpression":case"BinaryExpression":case"LogicalExpression":case"UnaryExpression":case"MemberExpression":case"IndexExpression":case"CallExpression":case"TableCallExpression":case"StringCallExpression":s=e.inParens||!1}return t&&e.type==="UnaryExpression"&&t.type==="UnaryExpression"&&(s=!0),s}}ia.FastPath=ld;var Cr={};Object.defineProperty(Cr,"__esModule",{value:!0});function Yl(i,t,e){let s=!1;const r=n=>{if(t(n)){s=!0;return}if(!s&&typeof n!="string"){switch(n.type){case"concat":n.parts.forEach(r);break;case"indent":case"group":case"lineSuffix":r(n.content);break}e&&e(n)}};r(i)}function cd(i,t){let e=!1;return Yl(i,s=>t(s)?(e=!0,!0):!1),e}function ud(i){return cd(i,t=>{if(typeof t=="string")return!1;switch(t.type){case"line":if(t.hard)return!0;break;case"group":if(t.willBreak)return!0}return!1})}Cr.willBreak=ud;function mo(i){i.length>0&&(i[i.length-1].willBreak=!0)}function hd(i){const t=[];Yl(i,e=>{if(typeof e=="string")return!1;switch(e.type){case"breakParent":mo(t);break;case"group":t.push(e);break}return!1},e=>{if(typeof e=="string")return!1;if(e.type==="group"){const s=t.pop();s&&s.willBreak&&mo(t)}return!1})}Cr.propagateBreaks=hd;var wr={};(function(i){Object.defineProperty(i,"__esModule",{value:!0});var t;(function(r){r.StdOut="stdout",r.Replace="replace",r.Diff="diff"})(t=i.WriteMode||(i.WriteMode={})),i.defaultOptions={sourceText:"",lineWidth:120,indentCount:4,useTabs:!1,linebreakMultipleAssignments:!1,quotemark:"double",writeMode:t.StdOut};function e(r){return r==="single"?"'":'"'}i.getStringQuotemark=e;function s(r){return r==="single"?'"':"'"}i.getAlternativeStringQuotemark=s})(wr);Object.defineProperty(sa,"__esModule",{value:!0});const pd=ia,Q=At,Zl=Cr,ar=Ts,gn=lt,Tn=wr;function Ql(i,t,e){const s=[];return i.forEach(r=>{const n=[e(r)];gn.isNextLineEmpty(t.sourceText,gn.locEnd(r.getValue()))&&!md(i)&&n.push(Q.hardline),s.push(Q.concat(n))}),Q.join(Q.hardline,s)}function jt(i,t,e,s){const r=i.call(n=>Ql(n,t,e),s);return Q.indent(Q.concat([Q.hardline,r]))}function Ut(i){return i.getValue().attachedComments?Q.concat([ar.printDanglingStatementComments(i),ar.printDanglingComments(i)]):""}function fd(i,t){const e=Tn.getStringQuotemark(t),s=Tn.getAlternativeStringQuotemark(t==="single"?"single":"double"),r=i.replace(/\\([\s\S])|(['"])/g,(n,a,o)=>a===s?a:o===e?"\\"+o:n);return e+r+e}function dd(i,t){const e=i.getValue();if(e.type!=="StringLiteral")throw new Error("printStringLiteral: Expected StringLiteral, got "+e.type);if(e.raw.startsWith("[[")||e.raw.startsWith("[="))return e.raw;const s=e.raw.slice(1,-1);let r=t.quotemark;const n=Tn.getStringQuotemark(r);return s.includes(n)&&(r=r==="single"?"double":"single"),fd(s,r)}function md(i){const t=i.getParent(),e=i.getValue(),s=t.body;return s&&s[s.length-1]===e}function yd(i,t,e){const s=i.getValue();if(!s)return"";const r=[],n=s;switch(n.type){case"Chunk":return r.push(i.call(A=>Ql(A,t,e),"body")),r.push(ar.printDanglingComments(i,!0)),(n.body.length||n.attachedComments)&&r.push(Q.hardline),Q.concat(r);case"LabelStatement":return Q.concat(["::",i.call(e,"label"),"::"]);case"GotoStatement":return Q.concat(["goto ",i.call(e,"label")]);case"BreakStatement":return"break";case"ReturnStatement":return r.push("return"),n.arguments.length>0&&(r.push(" "),r.push(Q.join(", ",i.map(e,"arguments")))),Q.concat(r);case"WhileStatement":return r.push("while "),r.push(i.call(e,"condition")),r.push(" do"),r.push(Ut(i)),n.body.length&&r.push(jt(i,t,e,"body")),r.push(Q.concat([Q.hardline,"end"])),Q.concat(r);case"DoStatement":return r.push("do"),r.push(Ut(i)),n.body.length&&r.push(jt(i,t,e,"body")),r.push(Q.concat([Q.hardline,"end"])),Q.concat(r);case"RepeatStatement":return r.push("repeat"),r.push(Ut(i)),n.body.length&&r.push(jt(i,t,e,"body")),r.push(Q.concat([Q.hardline,"until "])),r.push(i.call(e,"condition")),Q.concat(r);case"LocalStatement":case"AssignmentStatement":{const A=[];n.type==="LocalStatement"&&A.push("local ");const G=t.linebreakMultipleAssignments;A.push(Q.indent(Q.join(Q.concat([",",G?Q.hardline:Q.line]),i.map(e,"variables"))));let B="";const $=[];n.init.length&&(B=" =",n.init.length>1?$.push(Q.indent(Q.join(Q.concat([",",Q.line]),i.map(e,"init")))):$.push(Q.join(Q.concat([",",Q.line]),i.map(e,"init"))));const V=n.init.some(ee=>ee!=null&&ee.type!=="TableConstructorExpression"&&ee.type!=="FunctionDeclaration");return Q.group(Q.concat([Q.group(Q.concat(A)),Q.group(Q.concat([B,V?Q.indent(Q.line):" ",Q.concat($)]))]))}case"CallStatement":return i.call(e,"expression");case"FunctionDeclaration":return n.isLocal&&r.push("local "),r.push("function"),n.identifier&&r.push(" ",i.call(e,"identifier")),r.push(Q.concat(["(",Q.group(Q.indent(Q.concat([Q.softline,Q.join(Q.concat([",",Q.line]),i.map(e,"parameters"))]))),")"])),r.push(Ut(i)),n.body.length&&r.push(jt(i,t,e,"body")),r.push(Q.hardline,"end"),Q.concat(r);case"ForNumericStatement":return r.push("for "),r.push(i.call(e,"variable")),r.push(" = "),r.push(i.call(e,"start")),r.push(", "),r.push(i.call(e,"end")),n.step&&(r.push(", "),r.push(i.call(e,"step"))),r.push(" do"),r.push(Ut(i)),n.body.length&&r.push(jt(i,t,e,"body")),r.push(Q.concat([Q.hardline,"end"])),Q.concat(r);case"ForGenericStatement":return r.push("for "),r.push(Q.join(", ",i.map(e,"variables"))),r.push(" in "),r.push(Q.join(", ",i.map(e,"iterators"))),r.push(" do"),r.push(Ut(i)),n.body.length&&r.push(jt(i,t,e,"body")),r.push(Q.concat([Q.hardline,"end"])),Q.concat(r);case"IfStatement":const a=[];return i.forEach(A=>{a.push(e(A))},"clauses"),r.push(Q.join(Q.hardline,a)),r.push(Q.concat([Q.hardline,"end"])),Q.concat(r);case"IfClause":return r.push(Q.concat(["if ",Q.group(Q.concat([Q.indent(Q.concat([Q.softline,i.call(e,"condition")])),Q.softline]))," then"])),r.push(Ut(i)),n.body.length&&r.push(jt(i,t,e,"body")),Q.concat(r);case"ElseifClause":return r.push(Q.concat(["elseif ",Q.group(Q.concat([Q.indent(Q.concat([Q.softline,i.call(e,"condition")])),Q.softline]))," then"])),r.push(Ut(i)),n.body.length&&r.push(jt(i,t,e,"body")),Q.concat(r);case"ElseClause":return r.push("else"),r.push(Ut(i)),n.body.length&&r.push(jt(i,t,e,"body")),Q.concat(r);case"BooleanLiteral":return n.raw;case"NilLiteral":return"nil";case"NumericLiteral":return n.raw;case"StringLiteral":return dd(i,t);case"VarargLiteral":return"...";case"Identifier":return n.name;case"BinaryExpression":case"LogicalExpression":const l=i.getParent().type!==n.type&&n.left.type!==n.type&&n.right.type!==n.type,h=Q.concat([n.operator,Q.line,i.call(e,"right")]);return Q.group(Q.concat([i.call(e,"left"),Q.indent(Q.concat([" ",l?Q.group(h):h]))]));case"UnaryExpression":return r.push(n.operator),n.operator==="not"&&r.push(" "),r.push(i.call(e,"argument")),Q.concat(r);case"MemberExpression":return Q.concat([i.call(e,"base"),n.indexer,i.call(e,"identifier")]);case"IndexExpression":return Q.concat([i.call(e,"base"),"[",Q.group(Q.concat([Q.indent(Q.concat([Q.softline,i.call(e,"index")])),Q.softline])),"]"]);case"CallExpression":const u=i.map(e,"arguments");return Q.concat([i.call(e,"base"),Q.group(Q.concat(["(",Q.indent(Q.concat([Q.softline,Q.join(Q.concat([",",Q.line]),u)])),Q.softline,")"]),u.some(Zl.willBreak))]);case"TableCallExpression":return r.push(i.call(e,"base")),r.push(" "),r.push(i.call(e,"arguments")),Q.concat(r);case"StringCallExpression":return r.push(i.call(e,"base")),r.push(" "),r.push(i.call(e,"argument")),Q.concat(r);case"TableConstructorExpression":if(n.fields.length===0)return"{}";const x=[];let P=[];i.forEach(A=>{x.push(Q.concat(P)),x.push(Q.group(e(A))),P=[",",Q.line]},"fields");const I=gn.hasNewLineInRange(t.sourceText,n.range[0],n.range[1]);return Q.group(Q.concat(["{",Q.indent(Q.concat([Q.softline,Q.concat(x)])),Q.softline,"}"]),I);case"TableKeyString":return Q.concat([i.call(e,"key")," = ",i.call(e,"value")]);case"TableKey":return Q.concat(["[",i.call(e,"key"),"]"," = ",i.call(e,"value")]);case"TableValue":return i.call(e,"value")}throw new Error("Unhandled AST node: "+n.type)}function gd(i,t,e){const s=yd(i,t,e),r=[],n=i.needsParens();return n&&r.push("("),r.push(s),n&&r.push(")"),Q.concat(r)}function Td(i,t){const e=r=>ar.printComments(r,t,n=>gd(n,t,e)),s=e(new pd.FastPath(i));return Zl.propagateBreaks(s),s}sa.buildDocFromAst=Td;var ra={};Object.defineProperty(ra,"__esModule",{value:!0});var Jt;(function(i){i[i.Flat=0]="Flat",i[i.Break=1]="Break"})(Jt||(Jt={}));function bd(i,t){const e={options:t,indentation:0,currentLineLength:0,mode:Jt.Break,lineSuffixes:[],renderedText:""};return ai(i,e),e.renderedText}ra.printDocToString=bd;function Ji(i,t){function e(s){return t.currentLineLength+s.length<=t.options.lineWidth?(t.currentLineLength+=s.length,!0):!1}if(typeof i=="string")return e(i);switch(i.type){case"concat":return i.parts.every(s=>Ji(s,t));case"indent":return t.indentation++,Ji(i.content,t)?(t.indentation--,!0):(t.indentation--,!1);case"group":return i.willBreak&&(t.mode=Jt.Break),Ji(i.content,t);case"line":return t.mode===Jt.Flat&&!i.hard?i.soft?!0:e(" "):(t.currentLineLength=t.indentation,!0);case"lineSuffix":return!0}return!1}function ai(i,t){if(typeof i=="string")t.renderedText+=i,t.currentLineLength+=i.length;else switch(i.type){case"concat":for(const n of i.parts)ai(n,t);break;case"line":if(t.mode===Jt.Flat&&!i.hard){i.soft||(t.renderedText+=" ",t.currentLineLength+=1);break}if(t.lineSuffixes.length>0){const n=[...t.lineSuffixes];t.lineSuffixes.length=0;for(const a of n)ai(a.content,t)}t.renderedText.length>0&&(t.renderedText=t.renderedText.replace(/[^\S\n]*$/,""));const e=t.options.useTabs?" ".repeat(t.indentation):" ".repeat(t.indentation*t.options.indentCount);t.renderedText+=` -`+e,t.currentLineLength=e.length;break;case"indent":{t.indentation++,ai(i.content,t),t.indentation--;break}case"lineSuffix":t.lineSuffixes.push(i);break;case"group":const s=Ji(i,Object.assign({},t,{mode:Jt.Flat})),r=t.mode;!i.willBreak&&s?t.mode=Jt.Flat:t.mode=Jt.Break,ai(i.content,t),t.mode=r;break}}var bn={exports:{}};(function(i,t){(function(e,s,r){var n=t&&!t.nodeType&&t,a=i&&!i.nodeType&&i,o=n&&a&&typeof Gt=="object"&&Gt,l=a&&a.exports===n&&n;o&&(o.global===o||o.window===o||o.self===o)&&(e=o),r(n&&a?l?a.exports:n:e[s]={})})(Gt,"luaparse",function(e){e.version="0.2.1";var s,r,n,a=e.defaultOptions={wait:!1,comments:!0,scope:!1,locations:!1,ranges:!1,onCreateNode:null,onCreateScope:null,onDestroyScope:null,onLocalDeclaration:null,luaVersion:"5.1"},o=1,l=2,h=4,u=8,x=16,P=32,I=64,A=128,G=256;e.tokenTypes={EOF:o,StringLiteral:l,Keyword:h,Identifier:u,NumericLiteral:x,Punctuator:P,BooleanLiteral:I,NilLiteral:A,VarargLiteral:G};var B=e.errors={unexpected:"unexpected %1 '%2' near '%3'",expected:"'%1' expected near '%2'",expectedToken:"%1 expected near '%2'",unfinishedString:"unfinished string near '%1'",malformedNumber:"malformed number near '%1'",invalidVar:"invalid left-hand side of assignment near '%1'",decimalEscapeTooLarge:"decimal escape too large near '%1'",invalidEscape:"invalid escape sequence near '%1'",hexadecimalDigitExpected:"hexadecimal digit expected near '%1'",braceExpected:"missing '%1' near '%2'",tooLargeCodepoint:"UTF-8 value too large near '%1'",unfinishedLongString:"unfinished long string (starting at line %1) near '%2'",unfinishedLongComment:"unfinished long comment (starting at line %1) near '%2'"},$=e.ast={labelStatement:function(m){return{type:"LabelStatement",label:m}},breakStatement:function(){return{type:"BreakStatement"}},gotoStatement:function(m){return{type:"GotoStatement",label:m}},returnStatement:function(m){return{type:"ReturnStatement",arguments:m}},ifStatement:function(m){return{type:"IfStatement",clauses:m}},ifClause:function(m,v){return{type:"IfClause",condition:m,body:v}},elseifClause:function(m,v){return{type:"ElseifClause",condition:m,body:v}},elseClause:function(m){return{type:"ElseClause",body:m}},whileStatement:function(m,v){return{type:"WhileStatement",condition:m,body:v}},doStatement:function(m){return{type:"DoStatement",body:m}},repeatStatement:function(m,v){return{type:"RepeatStatement",condition:m,body:v}},localStatement:function(m,v){return{type:"LocalStatement",variables:m,init:v}},assignmentStatement:function(m,v){return{type:"AssignmentStatement",variables:m,init:v}},callStatement:function(m){return{type:"CallStatement",expression:m}},functionStatement:function(m,v,Y,ge){return{type:"FunctionDeclaration",identifier:m,isLocal:Y,parameters:v,body:ge}},forNumericStatement:function(m,v,Y,ge,_e){return{type:"ForNumericStatement",variable:m,start:v,end:Y,step:ge,body:_e}},forGenericStatement:function(m,v,Y){return{type:"ForGenericStatement",variables:m,iterators:v,body:Y}},chunk:function(m){return{type:"Chunk",body:m}},identifier:function(m){return{type:"Identifier",name:m}},literal:function(m,v,Y){return m=m===l?"StringLiteral":m===x?"NumericLiteral":m===I?"BooleanLiteral":m===A?"NilLiteral":"VarargLiteral",{type:m,value:v,raw:Y}},tableKey:function(m,v){return{type:"TableKey",key:m,value:v}},tableKeyString:function(m,v){return{type:"TableKeyString",key:m,value:v}},tableValue:function(m){return{type:"TableValue",value:m}},tableConstructorExpression:function(m){return{type:"TableConstructorExpression",fields:m}},binaryExpression:function(m,v,Y){var ge=m==="and"||m==="or"?"LogicalExpression":"BinaryExpression";return{type:ge,operator:m,left:v,right:Y}},unaryExpression:function(m,v){return{type:"UnaryExpression",operator:m,argument:v}},memberExpression:function(m,v,Y){return{type:"MemberExpression",indexer:v,identifier:Y,base:m}},indexExpression:function(m,v){return{type:"IndexExpression",base:m,index:v}},callExpression:function(m,v){return{type:"CallExpression",base:m,arguments:v}},tableCallExpression:function(m,v){return{type:"TableCallExpression",base:m,arguments:v}},stringCallExpression:function(m,v){return{type:"StringCallExpression",base:m,argument:v}},comment:function(m,v){return{type:"Comment",value:m,raw:v}}};function V(m){if(X){var v=Ye.pop();v.complete(),v.bless(m)}return r.onCreateNode&&r.onCreateNode(m),m}var ee=Array.prototype.slice,Z=function(v,Y){for(var ge=0,_e=v.length;ge<_e;++ge)if(v[ge]===Y)return ge;return-1};function L(m,v,Y){for(var ge=0,_e=m.length;ge<_e;++ge)if(m[ge][v]===Y)return ge;return-1}function oe(m){var v=ee.call(arguments,1);return m=m.replace(/%(\d)/g,function(Y,ge){return""+v[ge-1]||""}),m}function Fe(){for(var m=ee.call(arguments),v={},Y,ge,_e=0,je=m.length;_e=n)return{type:o,value:"",line:E,lineStart:F,range:[b,b]};var m=s.charCodeAt(b),v=s.charCodeAt(b+1);if(O=b,q(m))return Ee();switch(m){case 39:case 34:return _();case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return U();case 46:return K(v)?U():v===46?s.charCodeAt(b+2)===46?W():re(".."):re(".");case 61:return re(v===61?"==":"=");case 62:return r.luaVersion==="5.3"&&v===62?re(">>"):re(v===61?">=":">");case 60:return r.luaVersion==="5.3"&&v===60?re("<<"):re(v===61?"<=":"<");case 126:if(v===61)return re("~=");if(r.luaVersion==="5.1"||r.luaVersion==="5.2")break;return re("~");case 58:return(r.luaVersion==="5.2"||r.luaVersion==="5.3")&&v===58?re("::"):re(":");case 91:return v===91||v===61?N():re("[");case 47:return r.luaVersion==="5.3"&&v===47?re("//"):re("/");case 38:case 124:if(r.luaVersion==="5.1"||r.luaVersion==="5.2")break;case 42:case 94:case 37:case 44:case 123:case 125:case 93:case 40:case 41:case 59:case 35:case 45:case 43:return re(s.charAt(b))}return me(s.charAt(b))}function be(){var m=s.charCodeAt(b),v=s.charCodeAt(b+1);return C(m)?(m===10&&v===13&&++b,m===13&&v===10&&++b,++E,F=++b,!0):!1}function ke(){for(;b=n||C(je))&&(_e+=s.slice(ge,b-1),g({},B.unfinishedString,_e+String.fromCharCode(je)));return _e+=s.slice(ge,b-1),{type:l,value:_e,line:v,lineStart:Y,lastLine:E,lastLineStart:F,range:[O,b]}}function N(){var m=E,v=F,Y=T(!1);return Y===!1&&g(k,B.expected,"[",k.value),{type:l,value:Y,line:m,lineStart:v,lastLine:E,lastLineStart:F,range:[O,b]}}function U(){var m=s.charAt(b),v=s.charAt(b+1),Y=m==="0"&&"xX".indexOf(v||null)>=0?H():p();return{type:x,value:Y,line:E,lineStart:F,range:[O,b]}}function H(){var m=0,v=1,Y=1,ge,_e,je,ft;for(ft=b+=2,z(s.charCodeAt(b))||g({},B.malformedNumber,s.slice(O,b));z(s.charCodeAt(b));)++b;if(ge=parseInt(s.slice(ft,b),16),s.charAt(b)==="."){for(_e=++b;z(s.charCodeAt(b));)++b;m=s.slice(_e,b),m=_e===b?0:parseInt(m,16)/Math.pow(16,b-_e)}if("pP".indexOf(s.charAt(b)||null)>=0){for(++b,"+-".indexOf(s.charAt(b)||null)>=0&&(Y=s.charAt(b++)==="+"?1:-1),je=b,K(s.charCodeAt(b))||g({},B.malformedNumber,s.slice(O,b));K(s.charCodeAt(b));)++b;v=s.slice(je,b),v=Math.pow(2,v*Y)}return(ge+m)*v}function p(){for(;K(s.charCodeAt(b));)++b;if(s.charAt(b)===".")for(++b;K(s.charCodeAt(b));)++b;if("eE".indexOf(s.charAt(b)||null)>=0)for(++b,"+-".indexOf(s.charAt(b)||null)>=0&&++b,K(s.charCodeAt(b))||g({},B.malformedNumber,s.slice(O,b));K(s.charCodeAt(b));)++b;return parseFloat(s.slice(O,b))}function j(m){return m<128?String.fromCharCode(m):m<2048?String.fromCharCode(192|m>>6,128|m&63):m<65536?String.fromCharCode(224|m>>12,128|m>>6&63,128|m&63):m<1114112?String.fromCharCode(240|m>>18,128|m>>12&63,128|m>>6&63,128|m&63):null}function R(){var m=b++;for(s.charAt(b++)!=="{"&&g({},B.braceExpected,"{","\\"+s.slice(m,b)),z(s.charCodeAt(b))||g({},B.hexadecimalDigitExpected,"\\"+s.slice(m,b));s.charCodeAt(b)===48;)++b;for(var v=b;z(s.charCodeAt(b));)++b,b-v>6&&g({},B.tooLargeCodepoint,"\\"+s.slice(m,b));var Y=s.charAt(b++);Y!=="}"&&(Y==='"'||Y==="'"?g({},B.braceExpected,"}","\\"+s.slice(m,b--)):g({},B.hexadecimalDigitExpected,"\\"+s.slice(m,b)));var ge=parseInt(s.slice(v,b-1),16);return ge=j(ge),ge===null&&g({},B.tooLargeCodepoint,"\\"+s.slice(m,b)),ge}function M(){var m=b;switch(s.charAt(b)){case"a":return++b,"\x07";case"n":return++b,` -`;case"r":return++b,"\r";case"t":return++b," ";case"v":return++b,"\v";case"b":return++b,"\b";case"f":return++b,"\f";case"\r":case` -`:return be(),` -`;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;K(s.charCodeAt(b))&&b-m<3;)++b;var v=parseInt(s.slice(m,b),10);return v>255&&g({},B.decimalEscapeTooLarge,"\\"+v),String.fromCharCode(v);case"z":if(r.luaVersion==="5.2"||r.luaVersion==="5.3")return++b,ke(),"";case"x":if(r.luaVersion==="5.2"||r.luaVersion==="5.3"){if(z(s.charCodeAt(b+1))&&z(s.charCodeAt(b+2)))return b+=3,String.fromCharCode(parseInt(s.slice(m+1,b),16));g({},B.hexadecimalDigitExpected,"\\"+s.slice(m,b+2))}case"u":if(r.luaVersion==="5.3")return R();default:(r.luaVersion==="5.2"||r.luaVersion==="5.3")&&g({},B.invalidEscape,"\\"+s.slice(m,b+1));case"\\":case'"':case"'":return s.charAt(b++)}}function d(){O=b,b+=2;var m=s.charAt(b),v="",Y=!1,ge=b,_e=F,je=E;if(m==="["&&(v=T(!0),v===!1?v=m:Y=!0),!Y){for(;b")}function c(){ne=k,k=se,se=le()}function f(m){return m===k.value?(c(),!0):!1}function y(m){m===k.value?c():g(k,B.expected,m,k.value)}function S(m){return m===9||m===32||m===11||m===12}function C(m){return m===10||m===13}function K(m){return m>=48&&m<=57}function z(m){return m>=48&&m<=57||m>=97&&m<=102||m>=65&&m<=70}function q(m){return m>=65&&m<=90||m>=97&&m<=122||m===95}function de(m){return m>=65&&m<=90||m>=97&&m<=122||m===95||m>=48&&m<=57}function pe(m){switch(m.length){case 2:return m==="do"||m==="if"||m==="in"||m==="or";case 3:return m==="and"||m==="end"||m==="for"||m==="not";case 4:return m==="else"||m==="then"?!0:r.luaVersion==="5.2"||r.luaVersion==="5.3"?m==="goto":!1;case 5:return m==="break"||m==="local"||m==="until"||m==="while";case 6:return m==="elseif"||m==="repeat"||m==="return";case 8:return m==="function"}return!1}function ae(m){return P===m.type?"#-~".indexOf(m.value)>=0:h===m.type?m.value==="not":!1}function xe(m){switch(m.type){case"CallExpression":case"TableCallExpression":case"StringCallExpression":return!0}return!1}function te(m){if(o===m.type)return!0;if(h!==m.type)return!1;switch(m.value){case"else":case"elseif":case"end":case"until":return!0;default:return!1}}var he,Se,Le;function Me(){var m=Array.apply(null,he[Se++]);he.push(m),r.onCreateScope&&r.onCreateScope()}function We(){he.pop(),Se--,r.onDestroyScope&&r.onDestroyScope()}function Nt(m){r.onLocalDeclaration&&r.onLocalDeclaration(m),Z(he[Se],m)===-1&&he[Se].push(m)}function ht(m){Nt(m.name),$t(m,!0)}function $t(m,v){!v&&L(Le,"name",m.name)===-1&&Le.push(m),m.isLocal=v}function rt(m){return Z(he[Se],m)!==-1}var Ye=[],X;function ce(){return new ie(k)}function ie(m){r.locations&&(this.loc={start:{line:m.line,column:m.range[0]-m.lineStart},end:{line:0,column:0}}),r.ranges&&(this.range=[m.range[0],0])}ie.prototype.complete=function(){r.locations&&(this.loc.end.line=ne.lastLine||ne.line,this.loc.end.column=ne.range[1]-(ne.lastLineStart||ne.lineStart)),r.ranges&&(this.range[1]=ne.range[1])},ie.prototype.bless=function(m){if(this.loc){var v=this.loc;m.loc={start:{line:v.start.line,column:v.start.column},end:{line:v.end.line,column:v.end.column}}}this.range&&(m.range=[this.range[0],this.range[1]])};function J(){X&&Ye.push(ce())}function ue(m){X&&Ye.push(m)}function Pe(){c(),J(),r.scope&&Me();var m=ye();return r.scope&&We(),o!==k.type&&me(k),X&&!m.length&&(ne=k),V($.chunk(m))}function ye(m){for(var v=[],Y;!te(k);){if(k.value==="return"){v.push(Ae());break}Y=Ae(),f(";"),Y&&v.push(Y)}return v}function Ae(){if(J(),h===k.type)switch(k.value){case"local":return c(),pt();case"if":return c(),Ct();case"return":return c(),Ve();case"function":c();var m=Pc();return Lr(m);case"while":return c(),Qt();case"for":return c(),es();case"repeat":return c(),Os();case"break":return c(),Qe();case"do":return c(),qe();case"goto":return c(),ze()}if(P===k.type&&f("::"))return Ne();if(X&&Ye.pop(),!((r.luaVersion==="5.2"||r.luaVersion==="5.3")&&f(";")))return Sc()}function Ne(){var m=k.value,v=gt();return r.scope&&(Nt("::"+m+"::"),$t(v,!0)),y("::"),V($.labelStatement(v))}function Qe(){return V($.breakStatement())}function ze(){k.value;var m=gt();return V($.gotoStatement(m))}function qe(){r.scope&&Me();var m=ye();return r.scope&&We(),y("end"),V($.doStatement(m))}function Qt(){var m=nt();y("do"),r.scope&&Me();var v=ye();return r.scope&&We(),y("end"),V($.whileStatement(m,v))}function Os(){r.scope&&Me();var m=ye();y("until");var v=nt();return r.scope&&We(),V($.repeatStatement(v,m))}function Ve(){var m=[];if(k.value!=="end"){var v=wi();for(v!=null&&m.push(v);f(",");)v=nt(),m.push(v);f(";")}return V($.returnStatement(m))}function Ct(){var m=[],v,Y,ge;for(X&&(ge=Ye[Ye.length-1],Ye.push(ge)),v=nt(),y("then"),r.scope&&Me(),Y=ye(),r.scope&&We(),m.push(V($.ifClause(v,Y))),X&&(ge=ce());f("elseif");)ue(ge),v=nt(),y("then"),r.scope&&Me(),Y=ye(),r.scope&&We(),m.push(V($.elseifClause(v,Y))),X&&(ge=ce());return f("else")&&(X&&(ge=new ie(ne),Ye.push(ge)),r.scope&&Me(),Y=ye(),r.scope&&We(),m.push(V($.elseClause(Y)))),y("end"),V($.ifStatement(m))}function es(){var m=gt(),v;if(r.scope&&(Me(),ht(m)),f("=")){var Y=nt();y(",");var ge=nt(),_e=f(",")?nt():null;return y("do"),v=ye(),y("end"),r.scope&&We(),V($.forNumericStatement(m,Y,ge,_e,v))}else{for(var je=[m];f(",");)m=gt(),r.scope&&ht(m),je.push(m);y("in");var ft=[];do{var zs=nt();ft.push(zs)}while(f(","));return y("do"),v=ye(),y("end"),r.scope&&We(),V($.forGenericStatement(je,ft,v))}}function pt(){var m;if(u===k.type){var v=[],Y=[];do m=gt(),v.push(m);while(f(","));if(f("="))do{var ge=nt();Y.push(ge)}while(f(","));if(r.scope)for(var _e=0,je=v.length;_e",k)}function ua(m){(m.inParens||["Identifier","MemberExpression","IndexExpression"].indexOf(m.type)===-1)&&g(k,B.invalidVar,k.value)}function Sc(){var m=k,v,Y;if(X&&(Y=ce()),v=Ir(),v==null)return me(k);if(",=".indexOf(k.value)>=0){var ge=[v],_e=[],je;for(ua(v);f(",");)je=Ir(),je==null&&fe("",k),ua(je),ge.push(je);y("=");do je=nt(),_e.push(je);while(f(","));return ue(Y),V($.assignmentStatement(ge,_e))}return xe(v)?(ue(Y),V($.callStatement(v))):me(m)}function gt(){J();var m=k.value;return u!==k.type&&fe("",k),c(),V($.identifier(m))}function Lr(m,v){var Y=[];if(y("("),!f(")"))for(;;)if(u===k.type){var ge=gt();if(r.scope&&ht(ge),Y.push(ge),f(","))continue;if(f(")"))break}else if(G===k.type){Y.push(_r()),y(")");break}else fe(" or '...'",k);var _e=ye();return y("end"),r.scope&&We(),v=v||!1,V($.functionStatement(m,Y,v,_e))}function Pc(){var m,v,Y;for(X&&(Y=ce()),m=gt(),r.scope&&($t(m,rt(m.name)),Me());f(".");)ue(Y),v=gt(),m=V($.memberExpression(m,".",v));return f(":")&&(ue(Y),v=gt(),m=V($.memberExpression(m,":",v)),r.scope&&Nt("self")),m}function ha(){for(var m=[],v,Y;;){if(J(),P===k.type&&f("["))v=nt(),y("]"),y("="),Y=nt(),m.push(V($.tableKey(v,Y)));else if(u===k.type)se.value==="="?(v=gt(),c(),Y=nt(),m.push(V($.tableKeyString(v,Y)))):(Y=nt(),m.push(V($.tableValue(Y))));else{if((Y=wi())==null){Ye.pop();break}m.push(V($.tableValue(Y)))}if(",;".indexOf(k.value)>=0){c();continue}break}return y("}"),V($.tableConstructorExpression(m))}function wi(){var m=vr(0);return m}function nt(){var m=wi();if(m==null)fe("",k);else return m}function Ec(m){var v=m.charCodeAt(0),Y=m.length;if(Y===1)switch(v){case 94:return 12;case 42:case 47:case 37:return 10;case 43:case 45:return 9;case 38:return 6;case 126:return 5;case 124:return 4;case 60:case 62:return 3}else if(Y===2)switch(v){case 47:return 10;case 46:return 8;case 60:case 62:return m==="<<"||m===">>"?7:3;case 61:case 126:return 3;case 111:return 1}else if(v===97&&m==="and")return 2;return 0}function vr(m){var v=k.value,Y,ge;if(X&&(ge=ce()),ae(k)){J(),c();var _e=vr(10);_e==null&&fe("",k),Y=V($.unaryExpression(v,_e))}if(Y==null&&(Y=_r(),Y==null&&(Y=Ir())),Y==null)return null;for(var je;v=k.value,je=P===k.type||h===k.type?Ec(v):0,!(je===0||je<=m);){(v==="^"||v==="..")&&je--,c();var ft=vr(je);ft==null&&fe("",k),X&&Ye.push(ge),Y=V($.binaryExpression(v,Y,ft))}return Y}function Ir(){var m,v,Y;if(X&&(Y=ce()),u===k.type)v=k.value,m=gt(),r.scope&&$t(m,rt(v));else if(f("("))m=nt(),y(")"),m.inParens=!0;else return null;for(var ge,_e;;)if(P===k.type)switch(k.value){case"[":ue(Y),c(),ge=nt(),y("]"),m=V($.indexExpression(m,ge));break;case".":ue(Y),c(),_e=gt(),m=V($.memberExpression(m,".",_e));break;case":":ue(Y),c(),_e=gt(),m=V($.memberExpression(m,":",_e)),ue(Y),m=Nr(m);break;case"(":case"{":ue(Y),m=Nr(m);break;default:return m}else if(l===k.type)ue(Y),m=Nr(m);else break;return m}function Nr(m){if(P===k.type)switch(k.value){case"(":c();var v=[],Y=wi();for(Y!=null&&v.push(Y);f(",");)Y=nt(),v.push(Y);return y(")"),V($.callExpression(m,v));case"{":J(),c();var ge=ha();return V($.tableCallExpression(m,ge))}else if(l===k.type)return V($.stringCallExpression(m,_r()));fe("function arguments",k)}function _r(){var m=l|x|I|A|G,v=k.value,Y=k.type,ge;if(X&&(ge=ce()),Y&m){ue(ge);var _e=s.slice(k.range[0],k.range[1]);return c(),V($.literal(Y,v,_e))}else{if(h===Y&&v==="function")return ue(ge),c(),r.scope&&Me(),Lr(null);if(f("{"))return ue(ge),ha()}}e.parse=Ac;function Ac(m,v){if(typeof v=="undefined"&&typeof m=="object"&&(v=m,m=void 0),v||(v={}),s=m||"",r=Fe(a,v),b=0,E=1,F=0,n=s.length,he=[[]],Se=0,Le=[],Ye=[],!(r.luaVersion==="5.1"||r.luaVersion==="5.2"||r.luaVersion==="5.3"))throw new Error(oe("Lua version '%1' not supported",r.luaVersion));return r.comments&&(D=[]),r.wait?e:fa()}e.write=pa;function pa(m){return s+=String(m),n=s.length,e}e.end=fa;function fa(m){typeof m!="undefined"&&pa(m),s&&s.substr(0,2)==="#!"&&(s=s.replace(/^.*/,function(Y){return Y.replace(/./g," ")})),n=s.length,X=r.locations||r.ranges,se=le();var v=Pe();if(r.comments&&(v.comments=D),r.scope&&(v.globals=Le),Ye.length>0)throw new Error("Location tracking failed. This is most likely a bug in luaparse");return v}})})(bn,bn.exports);var ec={exports:{}};/*! - - diff v3.5.0 - -Software License Agreement (BSD License) - -Copyright (c) 2009-2015, Kevin Decker - -All rights reserved. - -Redistribution and use of this software in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - -* Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - -* Neither the name of Kevin Decker nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER -IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT -OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -@license -*/(function(i,t){(function(s,r){i.exports=r()})(Gt,function(){return function(e){var s={};function r(n){if(s[n])return s[n].exports;var a=s[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}return r.m=e,r.c=s,r.p="",r(0)}([function(e,s,r){s.__esModule=!0,s.canonicalize=s.convertChangesToXML=s.convertChangesToDMP=s.merge=s.parsePatch=s.applyPatches=s.applyPatch=s.createPatch=s.createTwoFilesPatch=s.structuredPatch=s.diffArrays=s.diffJson=s.diffCss=s.diffSentences=s.diffTrimmedLines=s.diffLines=s.diffWordsWithSpace=s.diffWords=s.diffChars=s.Diff=void 0;var n=r(1),a=Z(n),o=r(2),l=r(3),h=r(5),u=r(6),x=r(7),P=r(8),I=r(9),A=r(10),G=r(11),B=r(13),$=r(14),V=r(16),ee=r(17);function Z(L){return L&&L.__esModule?L:{default:L}}s.Diff=a.default,s.diffChars=o.diffChars,s.diffWords=l.diffWords,s.diffWordsWithSpace=l.diffWordsWithSpace,s.diffLines=h.diffLines,s.diffTrimmedLines=h.diffTrimmedLines,s.diffSentences=u.diffSentences,s.diffCss=x.diffCss,s.diffJson=P.diffJson,s.diffArrays=I.diffArrays,s.structuredPatch=$.structuredPatch,s.createTwoFilesPatch=$.createTwoFilesPatch,s.createPatch=$.createPatch,s.applyPatch=A.applyPatch,s.applyPatches=A.applyPatches,s.parsePatch=G.parsePatch,s.merge=B.merge,s.convertChangesToDMP=V.convertChangesToDMP,s.convertChangesToXML=ee.convertChangesToXML,s.canonicalize=P.canonicalize},function(e,s){s.__esModule=!0,s.default=r;function r(){}r.prototype={diff:function(l,h){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},x=u.callback;typeof u=="function"&&(x=u,u={}),this.options=u;var P=this;function I(oe){return x?(setTimeout(function(){x(void 0,oe)},0),!0):oe}l=this.castInput(l),h=this.castInput(h),l=this.removeEmpty(this.tokenize(l)),h=this.removeEmpty(this.tokenize(h));var A=h.length,G=l.length,B=1,$=A+G,V=[{newPos:-1,components:[]}],ee=this.extractCommon(V[0],h,l,0);if(V[0].newPos+1>=A&&ee+1>=G)return I([{value:this.join(h),count:h.length}]);function Z(){for(var oe=-1*B;oe<=B;oe+=2){var Fe=void 0,g=V[oe-1],fe=V[oe+1],me=(fe?fe.newPos:0)-oe;g&&(V[oe-1]=void 0);var b=g&&g.newPos+1=A&&me+1>=G)return I(n(P,Fe.components,h,l,P.useLongestToken));V[oe]=Fe}B++}if(x)(function oe(){setTimeout(function(){if(B>$)return x();Z()||oe()},0)})();else for(;B<=$;){var L=Z();if(L)return L}},pushComponent:function(l,h,u){var x=l[l.length-1];x&&x.added===h&&x.removed===u?l[l.length-1]={count:x.count+1,added:h,removed:u}:l.push({count:1,added:h,removed:u})},extractCommon:function(l,h,u,x){for(var P=h.length,I=u.length,A=l.newPos,G=A-x,B=0;A+1Z.length?oe:Z}),B.value=o.join($)}else B.value=o.join(h.slice(A,A+B.count));A+=B.count,B.added||(G+=B.count)}}var ee=l[I-1];return I>1&&typeof ee.value=="string"&&(ee.added||ee.removed)&&o.equals("",ee.value)&&(l[I-2].value+=ee.value,l.pop()),l}function a(o){return{newPos:o.newPos,components:o.components.slice(0)}}},function(e,s,r){s.__esModule=!0,s.characterDiff=void 0,s.diffChars=h;var n=r(1),a=o(n);function o(u){return u&&u.__esModule?u:{default:u}}var l=s.characterDiff=new a.default;function h(u,x,P){return l.diff(u,x,P)}},function(e,s,r){s.__esModule=!0,s.wordDiff=void 0,s.diffWords=P,s.diffWordsWithSpace=I;var n=r(1),a=l(n),o=r(4);function l(A){return A&&A.__esModule?A:{default:A}}var h=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,u=/\S/,x=s.wordDiff=new a.default;x.equals=function(A,G){return this.options.ignoreCase&&(A=A.toLowerCase(),G=G.toLowerCase()),A===G||this.options.ignoreWhitespace&&!u.test(A)&&!u.test(G)},x.tokenize=function(A){for(var G=A.split(/(\s+|\b)/),B=0;B2&&arguments[2]!==void 0?arguments[2]:{};if(typeof P=="string"&&(P=(0,n.parsePatch)(P)),Array.isArray(P)){if(P.length>1)throw new Error("applyPatch only works with a single input.");P=P[0]}var A=x.split(/\r\n|[\n\v\f\r\x85]/),G=x.match(/\r\n|[\n\v\f\r\x85]/g)||[],B=P.hunks,$=I.compareLine||function(N,U,H,p){return U===p},V=0,ee=I.fuzzFactor||0,Z=0,L=0,oe=void 0,Fe=void 0;function g(N,U){for(var H=0;H0?p[0]:" ",R=p.length>0?p.substr(1):p;if(j===" "||j==="-"){if(!$(U+1,A[U],j,R)&&(V++,V>ee))return!1;U++}}return!0}for(var fe=0;fe0?be[0]:" ",Ee=be.length>0?be.substr(1):be,re=E.linedelimiters[le];if(ke===" ")F++;else if(ke==="-")A.splice(F,1),G.splice(F,1);else if(ke==="+")A.splice(F,0,Ee),G.splice(F,0,re),F++;else if(ke==="\\"){var W=E.lines[le-1]?E.lines[le-1][0]:null;W==="+"?oe=!0:W==="-"&&(Fe=!0)}}}if(oe)for(;!A[A.length-1];)A.pop(),G.pop();else Fe&&(A.push(""),G.push(` -`));for(var _=0;_1&&arguments[1]!==void 0?arguments[1]:{},o=n.split(/\r\n|[\n\v\f\r\x85]/),l=n.match(/\r\n|[\n\v\f\r\x85]/g)||[],h=[],u=0;function x(){var A={};for(h.push(A);u0?V(O.lines.slice(-B.context)):[],Z-=oe.length,L-=oe.length)}(D=oe).push.apply(D,a(se.map(function(re){return(ne.added?"+":"-")+re}))),ne.added?g+=se.length:Fe+=se.length}else{if(Z)if(se.length<=B.context*2&&k<$.length-2){var E;(E=oe).push.apply(E,a(V(se)))}else{var F,le=Math.min(se.length,B.context);(F=oe).push.apply(F,a(V(se.slice(0,le))));var be={oldStart:Z,oldLines:Fe-Z+le,newStart:L,newLines:g-L+le,lines:oe};if(k>=$.length-2&&se.length<=B.context){var ke=/\n$/.test(P),Ee=/\n$/.test(I);se.length==0&&!ke?oe.splice(be.oldLines,0,"\\ No newline at end of file"):(!ke||!Ee)&&oe.push("\\ No newline at end of file")}ee.push(be),Z=0,L=0,oe=[]}Fe+=se.length,g+=se.length}},me=0;me<$.length;me++)fe(me);return{oldFileName:u,newFileName:x,oldHeader:A,newHeader:G,hunks:ee}}function l(u,x,P,I,A,G,B){var $=o(u,x,P,I,A,G,B),V=[];u==x&&V.push("Index: "+u),V.push("==================================================================="),V.push("--- "+$.oldFileName+(typeof $.oldHeader=="undefined"?"":" "+$.oldHeader)),V.push("+++ "+$.newFileName+(typeof $.newHeader=="undefined"?"":" "+$.newHeader));for(var ee=0;ee<$.hunks.length;ee++){var Z=$.hunks[ee];V.push("@@ -"+Z.oldStart+","+Z.oldLines+" +"+Z.newStart+","+Z.newLines+" @@"),V.push.apply(V,Z.lines)}return V.join(` -`)+` -`}function h(u,x,P,I,A,G){return l(u,u,x,P,I,A,G)}},function(e,s){s.__esModule=!0,s.arrayEqual=r,s.arrayStartsWith=n;function r(a,o){return a.length!==o.length?!1:n(a,o)}function n(a,o){if(o.length>a.length)return!1;for(var l=0;l"):h.removed&&o.push(""),o.push(n(h.value)),h.added?o.push(""):h.removed&&o.push("")}return o.join("")}function n(a){var o=a;return o=o.replace(/&/g,"&"),o=o.replace(//g,">"),o=o.replace(/"/g,"""),o}}])})})(ec);Object.defineProperty(Ci,"__esModule",{value:!0});const yo=Ts,xd=sa,Sd=ra,Pd=wr,Ed=bn.exports,Ad=ec.exports;var tc=wr;Ci.defaultOptions=tc.defaultOptions;Ci.WriteMode=tc.WriteMode;function Cd(i,t){const e=Ed.parse(i,{comments:!0,locations:!0,ranges:!0,luaVersion:"5.3"});e.range[0]=0,e.range[1]=i.length;const s=Object.assign({},Pd.defaultOptions,t),r=Object.assign({},s,{sourceText:i});yo.injectShebang(e,r),yo.attachComments(e,r);const n=xd.buildDocFromAst(e,r);return Sd.printDocToString(n,r)}var wd=Ci.formatText=Cd;function kd(i,t,e){return Ad.createPatch(i,t,e,"original","formatted")}Ci.producePatch=kd;var sc={exports:{}};(function(i){function t(re){for(var W=0,_=re.length;_--;)W+=re.charCodeAt(_),W+=W<<10,W^=W>>6;return W+=W<<3,W^=W>>11,W+=W<<15,W}const e=console.log,s=function(re,W){if(!re)throw W};function r(re,W){if(!re)return 0;var _=re.toString().split(".");return _.length>1?parseInt(_[0],W)+parseInt(_[1],W)/Math.pow(W,_[1].length):parseInt(_[0],W)}let n=[" ",` -`," ","\r"],a={r:"\r",n:` -`,t:" ",'"':'"',"'":"'","\\":"\\"};const o=new Proxy(a,{get(re,W){return r(W)}});let l=["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","_","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"],h=["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","_","a","b","c","d","e","f","g","t","u","v","w","h","i","j","k","l","m","n","o","p","q","r","s","x","y","z"],u=["0","1","2","3","4","5","6","7","8","9"],x=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","A","B","C","D","E","F"],P=["0","1"],I=["+","-","*",")",";","/","^","%","#",",","{","}",":","[","]","(",".","`"],A=["~","=",">","<"],G=["+","-","*","/","^","..","%","//"],B=["+=","-=","*=","/=","^=","..=","%=","//="],$=["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while","continue"],V=["else","elseif","until","end"],ee=["-","not","#","~"],Z=["+","-","*","/","%","^","#","//","&","|","~","<<",">>","..",".",":",">","<","<=",">=","~=","==","+=","-=","*=","/=","%=","^=","..=","//=","and","or"],L=11,oe={"^":[13,12],"%":[10,10],"//":[10,10],"/":[10,10],"*":[10,10],"+":[9,9],"-":[9,9],"..":[8,7],">>":[7,7],"<<":[7,7],"&":[6,6],"~":[5,5],"|":[4,4],"==":[3,3],"~=":[3,3],">=":[3,3],"<=":[3,3],">":[3,3],"<":[3,3],"+=":[3,3],"-=":[3,3],"*=":[3,3],"/=":[3,3],"^=":[3,3],"%=":[3,3],"..=":[3,3],"//=":[3,3],and:[2,2],or:[1,1]};function Fe(re){let W=0,_=re.length,N=[];function U(c){return c=c||0,W<=_?re.substr(W+c,1):""}function H(){if(W<=_){let c=re.substr(W,1);return W++,c}else return""}function p(c){let f=0,y=1,S=1;for(;f<=W;)re.substr(f,1)==` -`?(y++,S=1):S++;let C;for(C=0;C`)}throw`file<${y}:${S}>: ${c}`}function j(c){for(;;){let f=H();if(f=="")p("Unfinished long string.");else if(f=="]"){let y=!0,S;for(S=1;S<=c;S++)if(U()=="=")W++;else{y=!1;break}if(y&&H()=="]")return}}}function R(){let c=W;for(;U()=="=";)W++;if(U()=="[")return W++,W-c-1;W=c}let M=0,d=0;function T(c){let f=re.substr(d,W-d),y=null;c=="Number"&&(f.substr(0,2).toLowerCase()=="0x"?(y="hex",parseInt(f,16)<999999999999&&(f=parseInt(f,16))):f.substr(0,2).toLowerCase()=="0b"&&(y="bin",parseInt(f.substr(2),2)<999999999999&&(f=parseInt(f.substr(2),2))));let S={Type:c,LeadingWhite:re.substr(M,d-M),Source:f};return y!==null&&(S.NType=y),N.push(S),M=W,d=W,S}for(;;){for(M=W;;){let f=U();if(f=="")break;if(f=="-")if(U(1)=="-")if(W+=2,U()=="["){W++;let y=R();if(y!=null)j(y),M=W;else for(;;){let S=H();if(S==""||S==` -`)break}}else for(;;){let y=H();if(y==""||y==` -`)break}else break;else if(n.includes(f))W++;else break}re.substr(M,W-M),d=W;let c=H();if(c==""){T("Eof");break}else if(c=="'"||c=='"'){for(;;){let f=H();if(f=="\\"){let y=H();if(o[y]==null)throw`Invalid Escape Sequence \`${y}\`.`}else{if(f==c)break;if(f=="")throw"Unfinished string!"}}T("String")}else if(c=="`"){for(;;){let f=H();if(f=="\\"){let y=H();if(o[y]==null)throw`Invalid Escape Sequence \`${y}\`.`}else{if(f==c)break;if(f=="")throw"Unfinished string!"}}T("Hash")}else if(l.includes(c)){for(;h.includes(U());)W++;$.includes(re.substr(d,W-d))?T("Keyword"):T("Ident")}else if(u.includes(c)||c=="."&&u.includes(U())){if(c=="0"&&U().toLowerCase()=="x")for(W++;x.includes(U())||U()==="_";)W++;else if(c=="0"&&U().toLowerCase()=="b")for(W++;P.includes(U())||U()==="_";)W++;else{for(;u.includes(U())||U()==="_";)W++;if(U()==".")for(W++;u.includes(U());)W++;if(U()=="e"||U()=="E")for(W++,(U()=="-"||U()=="+")&&W++;u.includes(U());)W++}T("Number")}else if(c=="["){let f=R();f!=null?(j(f),T("String")):T("Symbol")}else if(c==".")U()=="."&&(H(),(U()=="."||U()=="=")&&H()),T("Symbol");else if(c+U()=="//")H(),U()=="="&&H(),T("Symbol");else if(Z.includes(c+U()))H(),T("Symbol");else if(A.includes(c))U()=="="&&W++,T("Symbol");else if(G.includes(c)&&U()=="=")H(),T("Symbol");else if(I.includes(c))T("Symbol");else throw`Bad symbol \`${c}\` in source. ${W}`}return N}function g(re){let W=Fe(re),_=0;function N(){let X=W[_];return _ at: ${H(X)}`}function j(){let X=U();return X.Type=="Eof"||X.Type=="Keyword"&&V.includes(X.Source)}function R(){return ee.includes(U().Source)||!1}function M(){return Z.includes(U().Source)||!1}function d(X,ce){let ie=U();if(ie.Type==X&&(ce==null||ie.Source==ce))return N();{let J;for(J=-3;J<=3;J++)e(`Tokens[${J}] = \`${U(J).Source}\``);throw ce?`${H(ie)}: \`${ce}\` expected.`:`${H(ie)}: ${X} expected.`}}function T(X){let ce=X.GetFirstToken,ie=X.GetLastToken,J=X;return X.GetFirstToken=function(){let ue=ce(J);return s(ue),ue},X.GetLastToken=function(){let ue=ie(J);return s(ue),ue},X}let c,f;function y(X,ce){let ie=[f(X,ce)],J=[];for(;U().Source==",";)J.push(N()),ie.push(f(X,ce));return[ie,J]}function S(X,ce){var J,ue,Pe,ye;let ie=U();if(ie.Source=="("){let Ae=N(),Ne=f(X,ce),Qe=d("Symbol",")"),ze;return ze=T({Type:"ParenExpr",Expression:Ne,Token_OpenParen:Ae,Token_CloseParen:Qe,GetFirstToken:()=>ze.Token_OpenParen,GetLastToken:()=>ze.Token_CloseParen}),ze}else if(ie.Type=="Ident"){let Ae;return Ae=T({Type:"VariableExpr",Token:N(),GetFirstToken:()=>Ae.Token,GetLastToken:()=>Ae.Token}),X[Ae.Token.Source]!=null&&((ue=(J=X[Ae.Token.Source])==null?void 0:J.Tokens)==null?void 0:ue.push)!=null?(X[Ae.Token.Source].Tokens.push(Ae.Token),X[Ae.Token.Source].UseCountIncrease()):ce[Ae.Token.Source]!=null&&((ye=(Pe=ce[Ae.Token.Source])==null?void 0:Pe.Tokens)==null?void 0:ye.push)!=null&&(ce[Ae.Token.Source].Tokens.push(Ae.Token),ce[Ae.Token.Source].UseCountIncrease()),Ae}else throw e(p()),`${H(ie)}: Unexpected symbol. ${ie.Type} ${ie.Source}`}function C(X,ce){let ie=d("Symbol","{"),J=[],ue=[];for(;U().Source!="}";){if(U().Source=="["){let Ae=N(),Ne=f(X,ce),Qe=d("Symbol","]"),ze=d("Symbol","="),qe=f(X,ce);Ne.Token&&Ne.Token.Source,J.push({EntryType:"Index",Index:Ne,Value:qe,Token_OpenBracket:Ae,Token_CloseBracket:Qe,Token_Equals:ze})}else if(U().Type=="Ident"&&U(1).Source=="="){let Ae=N(),Ne=N(),Qe=f(X,ce);J.push({EntryType:"Field",Field:Ae,Value:Qe,Token_Equals:Ne})}else{let Ae=f(X,ce);J.push({EntryType:"Value",Value:Ae})}if(U().Source==","||U().Source==";")ue.push(N());else break}let Pe=d("Symbol","}"),ye;return ye=T({Type:"TableLiteral",EntryList:J,Token_SeperatorList:ue,Token_OpenBrace:ie,Token_CloseBrace:Pe,GetFirstToken:()=>ye.Token_OpenBrace,GetLastToken:()=>ye.Token_CloseBrace}),ye}function K(X,ce){let ie=[],J=[];if(U().Type=="Ident"){let ue=N();if(ce&&U().Source=="<"&&U(2).Source==">"){let Pe=U(1).Source;ue.Attribute={LeadingWhite:U().LeadingWhite,Source:`<${Pe}>`},N(),N(),N()}ie.push(ue)}else if(U().Source=="..."&&X)return[ie,J,N()];for(;U().Source==",";){if(J.push(N()),U().Source=="..."&&X)return[ie,J,N()];{let ue=d("Ident");if(ce&&U().Source=="<"&&U(2).Source==">"){let Pe=U(1).Source;ue.Attribute={LeadingWhite:U().LeadingWhite,Source:`<${Pe}>`},N(),N(),N()}ie.push(ue)}}return[ie,J]}function z(X,ce,ie){let J=c(ce,ie),ue=U();if(ue.Type=="Keyword"&&ue.Source==X)return N(),[J,ue];throw e(ue.Type,ue.Source),`${H(ue)}: ${X} expected.`}function q(X,ce,ie,J){let ue=N(),Pe,ye;if(!X){Pe=[],ye=[];let Ct=d("Ident");for(Pe.push(Ct);U().Source==".";)ye.push(N()),Pe.push(d("Ident"));U().Source==":"&&(ye.push(N()),Pe.push(d("Ident")))}let Ae=d("Symbol","("),[Ne,Qe,ze]=K(!0),qe=d("Symbol",")"),[Qt,Os]=z("end",ce,ie),Ve;return Ve=T({Type:X==!0?"FunctionLiteral":"FunctionStat",NameChain:Pe,ArgList:Ne,Body:Qt,Token_Function:ue,Token_NameChainSeperator:ye,Token_OpenParen:Ae,Token_Varg:ze,Token_ArgCommaList:Qe,Token_CloseParen:qe,Token_End:Os,GetFirstToken:()=>Ve.Token_Function,GetLastToken:()=>Ve.Token_End}),Ve}function de(X,ce){let ie=U();if(ie.Source=="("){let J=N(),ue=[],Pe=[];for(;U().Source!=")"&&(ue.push(f(X,ce)),U().Source==",");)Pe.push(N());let ye=d("Symbol",")"),Ae;return Ae=T({CallType:"ArgCall",ArgList:ue,Token_CommaList:Pe,Token_OpenParen:J,Token_CloseParen:ye,GetFirstToken:()=>Ae.Token_OpenParen,GetLastToken:()=>Ae.Token_CloseParen}),Ae}else if(ie.Source=="{"){let J;return J=T({CallType:"TableCall",TableExpr:f(X,ce),GetFirstToken:()=>J.TableExpr.GetFirstToken(),GetLastToken:()=>J.TableExpr.GetLastToken()}),J}else if(ie.Type=="String"){let J;return J=T({CallType:"StringCall",Token:N(),GetFirstToken:()=>J.Token,GetLastToken:()=>J.Token}),J}else throw"Function arguments expected."}function pe(X,ce){let ie=S(X,ce);for(s(ie,"nil prefixexpr");;){let J=U();if(J.Source=="."){let ue=N(),Pe=d("Ident"),ye;ye=T({Type:"FieldExpr",Base:ie,Field:Pe,Token_Dot:ue,GetFirstToken:()=>ye.Base.GetFirstToken(),GetLastToken:()=>ye.Field}),ie=ye}else if(J.Source==":"){let ue=N(),Pe=d("Ident"),ye=de(X,ce),Ae;Ae=T({Type:"MethodExpr",Base:ie,Method:Pe,FunctionArguments:ye,Token_Colon:ue,GetFirstToken:()=>Ae.Base.GetFirstToken(),GetLastToken:()=>Ae.FunctionArguments.GetLastToken()}),ie=Ae}else if(J.Source=="["){let ue=N(),Pe=f(X,ce),ye=d("Symbol","]"),Ae;Ae=T({Type:"IndexExpr",Base:ie,Index:Pe,Token_OpenBracket:ue,Token_CloseBracket:ye,GetFirstToken:()=>Ae.Base.GetFirstToken(),GetLastToken:()=>Ae.Token_CloseBracket}),ie=Ae}else if(J.Source=="{"||J.Source=="("||J.Type=="String"){let ue;ue=T({Type:"CallExpr",Base:ie,FunctionArguments:de(X,ce),GetFirstToken:()=>ue.Base.GetFirstToken(),GetLastToken:()=>ue.FunctionArguments.GetLastToken()}),ie=ue}else if(B.includes(J.Source)){let ue=N(),Pe=f(X,ce),ye;ye=T({Type:"CompoundStat",Base:ie,Token_Compound:ue,Rhs:Pe,Lhs:ie,GetFirstToken:()=>ye.Base.GetFirstToken(),GetLastToken:()=>ye.Rhs.GetLastToken()}),ie=ye}else return ie}}function ae(X,ce){let ie=U();if(ie.Type=="Number"){let J;return J=T({Type:"NumberLiteral",Token:N(),GetFirstToken:()=>J.Token,GetLastToken:()=>J.Token}),J}else if(ie.Type=="String"){let J;return J=T({Type:"StringLiteral",Token:N(),GetFirstToken:()=>J.Token,GetLastToken:()=>J.Token}),J}else if(ie.Type=="Hash"){let J;return J=T({Type:"HashLiteral",Token:N(),GetFirstToken:()=>J.Token,GetLastToken:()=>J.Token}),J}else if(ie.Source=="nil"){let J;return J=T({Type:"NilLiteral",Token:N(),GetFirstToken:()=>J.Token,GetLastToken:()=>J.Token}),J}else if(ie.Source=="true"||ie.Source=="false"){let J;return J=T({Type:"BooleanLiteral",Token:N(),GetFirstToken:()=>J.Token,GetLastToken:()=>J.Token}),J}else if(ie.Source=="..."){let J;return J=T({Type:"VargLiteral",Token:N(),GetFirstToken:()=>J.Token,GetLastToken:()=>J.Token}),J}else return ie.Source=="{"?C(X,ce):ie.Source=="function"?q(!0,X,ce):pe(X,ce)}function xe(X,ce,ie){let J;if(R()){let ue=N(),Pe=xe(L,ce,ie),ye;ye=T({Type:"UnopExpr",Token_Op:ue,Rhs:Pe,GetFirstToken:()=>ye.Token_Op,GetLastToken:()=>ye.Rhs.GetLastToken()}),J=ye}else J=ae(ce,ie),s(J,"nil sipleexpr");for(;M()&&oe[U().Source]!=null&&oe[U().Source][0]>X;){let ue=N(),Pe=xe(oe[ue.Source][1],ce,ie);s(Pe,"RhsNeeded");let ye;ye=T({Type:"BinopExpr",Lhs:J,Rhs:Pe,Token_Op:ue,GetFirstToken:()=>ye.Lhs.GetFirstToken(),GetLastToken:()=>ye.Rhs.GetLastToken()}),J=ye}return J}f=(X,ce)=>xe(0,X,ce);function te(X,ce){let ie=pe(X,ce);if(ie.Type=="MethodExpr"||ie.Type=="CallExpr"){let J;return J=T({Type:"CallExprStat",Expression:ie,GetFirstToken:()=>J.Expression.GetFirstToken(),GetLastToken:()=>J.Expression.GetLastToken()}),J}else{if(ie.Type=="CompoundStat")return ie;{let J=[ie],ue=[];for(;U().Source==",";){ue.push(N());let Qe=pe(X,ce);if(Qe.Type=="MethodExpr"||Qe.Type=="CallExpr")throw"Bad left hand side of asignment";J.push(Qe)}let Pe=d("Symbol","="),ye=[f(X,ce)],Ae=[];for(;U().Source==",";)Ae.push(N()),ye.push(f(X,ce));let Ne;return Ne=T({Type:"AssignmentStat",Rhs:ye,Lhs:J,Token_Equals:Pe,Token_LhsSeperatorList:ue,Token_RhsSeperatorList:Ae,GetFirstToken:()=>Ne.Lhs[0].GetFirstToken(),GetLastToken:()=>Ne.Rhs[Ne.Rhs.length-1].GetLastToken()}),Ne}}}function he(X,ce){let ie=N(),J=f(X,ce),ue=d("Keyword","then"),Pe=c(X,ce),ye=[];for(;U().Source=="elseif"||U().Source=="else";){let Qe=N(),ze,qe;Qe.Source=="elseif"&&(ze=f(X,ce),qe=d("Keyword","then"));let Qt=c(X,ce);if(ye.push({Condition:ze,Body:Qt,ClauseType:Qe.Source,Token:Qe,Token_Then:qe}),Qe.Source=="else")break}let Ae=d("Keyword","end"),Ne;return Ne=T({Type:"IfStat",Condition:J,Body:Pe,ElseClauseList:ye,Token_If:ie,Token_Then:ue,Token_End:Ae,GetFirstToken:()=>Ne.Token_If,GetLastToken:()=>Ne.Token_End}),Ne}function Se(X,ce){let ie=N(),[J,ue]=z("end",X,ce),Pe;return Pe=T({Type:"DoStat",Body:J,Token_Do:ie,Token_End:ue,GetFirstToken:()=>Pe.Token_Do,GetLastToken:()=>Pe.Token_End}),Pe}function Le(X,ce){let ie=N(),J=f(X,ce),ue=d("Keyword","do"),[Pe,ye]=z("end",X,ce),Ae;return Ae=T({Type:"WhileStat",Condition:J,Body:Pe,Token_While:ie,Token_Do:ue,Token_End:ye,GetFirstToken:()=>Ae.Token_While,GetLastToken:()=>Ae.Token_End}),Ae}function Me(X,ce){let ie=N(),[J,ue]=K();if(U().Source=="="){let Pe=N(),[ye,Ae]=y(X,ce);if(ye.length<2||ye.length>3)throw"Expected 2 or 3 values for range bounds";let Ne=d("Keyword","do"),[Qe,ze]=z("end",X,ce),qe;return qe=T({Type:"NumericForStat",VarList:J,RangeList:ye,Body:Qe,Token_For:ie,Token_VarCommaList:ue,Token_Equals:Pe,Token_RangeCommaList:Ae,Token_Do:Ne,Token_End:ze,GetFirstToken:()=>qe.Token_For,GetLastToken:()=>qe.Token_End}),qe}else if(U().Source=="in"){let Pe=N(),[ye,Ae]=y(X,ce),Ne=d("Keyword","do"),[Qe,ze]=z("end",X,ce),qe;return qe=T({Type:"GenericForStat",VarList:J,GeneratorList:ye,Body:Qe,Token_For:ie,Token_VarCommaList:ue,Token_In:Pe,Token_GeneratorCommaList:Ae,Token_Do:Ne,Token_End:ze,GetFirstToken:()=>qe.Token_For,GetLastToken:()=>qe.Token_End}),qe}}function We(X,ce){let ie=N(),[J,ue]=z("until",X),Pe=f(X,ce),ye;return ye=T({Type:"RepeatStat",Body:J,Condition:Pe,Token_Repeat:ie,Token_Until:ue,GetFirstToken:()=>ye.Token_Repeat,GetLastToken:()=>ye.Condition.GetLastToken()}),ye}function Nt(X,ce){let ie=N();if(U().Source=="function"){let J=q(!1,X,ce);if(J.NameChain.length>1)throw H(J.Token_NameChainSeperator[0])+": `(` expected.";let ue;return ue=T({Type:"LocalFunctionStat",FunctionStat:J,Token_Local:ie,GetFirstToken:()=>ue.Token_Local,GetLastToken:()=>ue.FunctionStat.GetLastToken()}),ue}else if(U().Type=="Ident"){let[J,ue]=K(!1,!0),Pe=[],ye=[],Ae;if(U().Source=="="){Ae=N();let[Qe,ze]=y(X,ce);Pe=Qe,ye=ze}let Ne;return Ne=T({Type:"LocalVarStat",VarList:J,ExprList:Pe,Token_Local:ie,Token_Equals:Ae,Token_VarCommaList:ue,Token_ExprCommaList:ye,GetFirstToken:()=>Ne.Token_Local,GetLastToken:function(){return Ne.ExprList.length>0?Ne.ExprList[Ne.ExprList.length-1].GetLastToken():Ne.VarList[Ne.VarList.length-1]}}),Ne}else throw"`function` or ident expected"}function ht(X,ce){let ie=N(),J,ue;j()||U().Source==";"?(J=[],ue=[]):[J,ue]=y(X,ce);let Pe;return Pe={Type:"ReturnStat",ExprList:J,Token_Return:ie,Token_CommaList:ue,GetFirstToken:()=>Pe.Token_Return,GetLastToken:function(){return Pe.ExprList.length>0?Pe.ExprList[Pe.ExprList.length-1].GetLastToken():Pe.Token_Return}},Pe}function $t(X,ce){let ie=N(),J;return J={Type:"BreakStat",Token_Break:ie,GetFirstToken:()=>J.Token_Break,GetLastToken:()=>J.Token_Break},J}function rt(X,ce){let ie=N(),J;return J={Type:"ContinueStat",Token_Continue:ie,GetFirstToken:()=>J.Token_Continue,GetLastToken:()=>J.Token_Continue},J}function Ye(X,ce){let ie=U();return ie.Source=="if"?[!1,he(X,ce)]:ie.Source=="while"?[!1,Le(X,ce)]:ie.Source=="do"?[!1,Se(X,ce)]:ie.Source=="for"?[!1,Me(X,ce)]:ie.Source=="repeat"?[!1,We(X,ce)]:ie.Source=="function"?[!1,q(!1,X,ce)]:ie.Source=="local"?[!1,Nt(X,ce)]:ie.Source=="return"?[!0,ht(X,ce)]:ie.Source=="break"?[!0,$t()]:ie.Source=="continue"?[!0,rt()]:[!1,te(X,ce)]}return c=function(X,ce){let ie=[],J=[],ue={},Pe={};if(ce!=null)for(let[ze,qe]of Object.entries(ce))Pe[ze]=qe;if(X!=null)for(let[ze,qe]of Object.entries(X))Pe[ze]=qe;let ye,Ae=0;for(;!j();){ye&&ye==U()&&e(`INFINITE LOOP POSSIBLE ON STATEMENT ${ye.Source} :`,ye),ye=U();let[ze,qe]=Ye(ue,Pe);if(qe)switch(ie.push(qe),qe.Type){case"LocalVarStat":qe.VarList.forEach(Ve=>{Ve.UseCount=0,Ve.Number=Ae++,ue[Ve.Source]=Ve;let Ct=[];function es(){Ve.UseCount++,Ct.forEach(pt=>{pt.UseCount=Ve.UseCount})}Ve.Tokens={},Ve.Tokens.push=pt=>{pt.UseCountIncrease=es,pt.UseCount=Ve.UseCount,pt.Tokens=Ve.Tokens,Ct.push(pt)},Ve.Tokens.get=()=>Ct,Ve.UseCountIncrease=es});break;case"LocalFunctionStat":let Os=qe.FunctionStat.NameChain;if(Os.length===1){let es=function(){Ve.UseCount++,Ct.forEach(pt=>{pt.UseCount=Ve.UseCount})};var Qe=es;let Ve=Os[0];Ve.UseCount=0,Ve.Number=Ae++,ue[Ve.Source]=Ve;let Ct=[];Ve.Tokens={},Ve.Tokens.push=pt=>{pt.UseCountIncrease=es,pt.UseCount=Ve.UseCount,pt.Tokens=Ve.Tokens,Ct.push(pt)},Ve.Tokens.get=()=>Ct,Ve.UseCountIncrease=es}break}let Qt=U();Qt.Type=="Symbol"&&Qt.Source==";"&&(J[ie.length-1]=N())}let Ne;return Ne={Type:"StatList",StatementList:ie,SemicolonList:J,GetFirstToken:function(){var ze;if(Ne.StatementList.length!=0)return(ze=Ne.StatementList[0])==null?void 0:ze.GetFirstToken()},GetLastToken:function(){if(Ne.StatementList.length!=0)return Ne.SemicolonList[Ne.StatementList.length-1]?Ne.SemicolonList[Ne.StatementList.length-1]:Ne.StatementList[Ne.StatementList.length-1].GetLastToken()}},Ne},c([],[])}function fe(re,W){let _={BinopExpr:!0,UnopExpr:!0,NumberLiteral:!0,StringLiteral:!0,NilLiteral:!0,BooleanLiteral:!0,VargLiteral:!0,HashLiteral:!0,FieldExpr:!0,IndexExpr:!0,MethodExpr:!0,CallExpr:!0,FunctionLiteral:!0,VariableExpr:!0,ParenExpr:!0,TableLiteral:!0},N={StatList:!0,BreakStat:!0,ContinueStat:!0,ReturnStat:!0,LocalVarStat:!0,LocalFunctionStat:!0,FunctionStat:!0,RepeatStat:!0,GenericForStat:!0,NumericForStat:!0,WhileStat:!0,DoStat:!0,IfStat:!0,CallExprStat:!0,AssignmentStat:!0,CompoundStat:!0};for(var[U,H]of Object.entries(W))if(!N[U]&&!_[U])throw`Invalid visitor target: \`${U}\``;function p(d){if(d!=null){let T=W[d.Type];if(typeof T=="function")return T(d);if(T&&T.Pre)return T.Pre(d)}}function j(d){let T=W[d.Type];if(T&&typeof T=="object"&&T.Post)return T.Post(d)}let R,M;R=function(d){if(!p(d)){if(d.Type=="BinopExpr")R(d.Lhs),R(d.Rhs);else if(d.Type=="UnopExpr")R(d.Rhs);else if(!(d.Type=="NumberLiteral"||d.Type=="StringLiteral"||d.Type=="NilLiteral"||d.Type=="BooleanLiteral"||d.Type=="VargLiteral"||d.Type=="HashLiteral")){if(d.Type=="FieldExpr")R(d.Base);else if(d.Type=="IndexExpr")R(d.Base),R(d.Index);else if(d.Type=="MethodExpr"||d.Type=="CallExpr")R(d.Base),d.FunctionArguments.CallType=="ArgCall"?d.FunctionArguments.ArgList.forEach((T,c)=>{R(T)}):d.FunctionArguments.CallType=="TableCall"&&R(d.FunctionArguments.TableExpr);else if(d.Type=="FunctionLiteral")M(d.Body);else if(d.Type!="VariableExpr")if(d.Type=="ParenExpr")R(d.Expression);else if(d.Type=="TableLiteral")d.EntryList.forEach((T,c)=>{if(T.EntryType=="Field")R(T.Value);else if(T.EntryType=="Index")R(T.Index),R(T.Value);else if(T.EntryType=="Value")R(T.Value);else throw"unreachable"});else if(d.Type=="CompoundStat")R(d.Lhs),R(d.Rhs);else throw`unreachable, type: ${d.Type}: ${d}`}j(d)}},M=function(d){if(!p(d)){if(d.Type=="StatList")d.StatementList.forEach((T,c)=>{if(T!=null){if(T===null||T.Type===null)return;T.Remove=()=>{d.StatementList[c]=null},M(T)}});else if(d.Type!="BreakStat"){if(d.Type!="ContinueStat")if(d.Type=="ReturnStat")d.ExprList.forEach((T,c)=>{R(T)});else if(d.Type=="LocalVarStat")d.Token_Equals&&d.ExprList.forEach((T,c)=>{R(T)});else if(d.Type=="LocalFunctionStat")M(d.FunctionStat.Body);else if(d.Type=="FunctionStat")M(d.Body);else if(d.Type=="RepeatStat")M(d.Body),R(d.Condition);else if(d.Type=="GenericForStat")d.GeneratorList.forEach((T,c)=>{R(T)}),M(d.Body);else if(d.Type=="NumericForStat")d.RangeList.forEach((T,c)=>{R(T)}),M(d.Body);else if(d.Type=="WhileStat")R(d.Condition),M(d.Body);else if(d.Type=="DoStat")M(d.Body);else if(d.Type=="IfStat")R(d.Condition),M(d.Body),d.ElseClauseList.forEach(T=>{T.Condition!=null&&R(T.Condition),M(T.Body)});else if(d.Type=="CallExprStat")R(d.Expression);else if(d.Type=="CompoundStat")R(d.Lhs),R(d.Rhs);else if(d.Type=="AssignmentStat")d.Lhs.forEach(T=>{R(T)}),d.Rhs.forEach(T=>{R(T)});else throw"unreachable"}j(d)}},N[re.Type]?M(re):R(re)}function me(re){let W=[],_,N=0;function U(){return N++,N}function H(){_={ParentScope:_,ChildScopeList:[],VariableList:[],BeginLocation:U(),Depth:null,GetVar:null},_.ParentScope?(_.Depth=_.ParentScope.Depth+1,_.ParentScope.ChildScopeList.push(_)):_.Depth=1;let f=_;_.GetVar=function(y){for(const S of f.VariableList)if(S.Name==y)return S;if(f.ParentScope)return f.ParentScope.GetVar(y);for(const S of W)if(S.Name==y)return S}}function p(){let f=_;return f.EndLocation=U(),f.VariableList.forEach(y=>{y.ScopeEndLocation=f.EndLocation}),_=f.ParentScope,f}H();function j(f,y,S){s(S,"MIssing localInfo"),s(f,"Missing local var name");let C={Type:"Local",Name:f,RenameList:[y],AssignedTo:!1,Info:S,Scope:_,BeginLocation:U(),EndLocation:U(),ReferenceLocationList:[U()]};return C.Rename=function(K){C.Name=K,C.RenameList.forEach(z=>{z(K)})},_.VariableList.push(C),C}function R(f){for(const S of W)if(S.Name==f)return S;let y={Type:"Global",Name:f,RenameList:[],AssignedTo:!1,Scope:null,BeginLocation:U(),EndLocation:U(),ReferenceLocationList:[]};return y.Rename=function(S){y.Name=S,y.RenameList.forEach(C=>{C(S)})},W.push(y),y}function M(f,y){s(f,"Missing var name");let S=R(f);return S.RenameList.push(y),S}function d(f,y){let S;for(S=f.VariableList.length-1;S>=0;S--)if(f.VariableList[S].Name==y)return f.VariableList[S];if(f.ParentScope){let C=d(f.ParentScope,y);if(C)return C}}function T(f,y){s(f,"Missing var name");let S=d(_,f);S?S.RenameList.push(y):S=M(f,y);let C=U();return S.EndLocation=C,S.ReferenceLocationList.push(S.EndLocation),S}let c={};return c.FunctionLiteral={Pre:function(f){H(),f.ArgList.forEach((y,S)=>{let C=j(y.Source,function(K,z){z||(y.Source=K)},{Type:"Argument",Index:S});y.var=C})},Post:function(f){p()}},c.VariableExpr=function(f){f.Variable=T(f.Token.Source,function(y){f.Token.Source=y})},c.StatList={Pre:function(f){H()},Post:function(f){f.SkipPop||p()}},c.LocalVarStat={Post:function(f){f.VarList.forEach((y,S)=>{j(y.Source,function(C){f.VarList[S].Source=C},{Type:"Local"})})}},c.LocalFunctionStat={Pre:function(f){j(f.FunctionStat.NameChain[0].Source,function(y){f.FunctionStat.NameChain[0].Source=y},{Type:"LocalFunction"}),H(),f.FunctionStat.ArgList.forEach((y,S)=>{j(y.Source,function(C){y.Source=C},{Type:"Argument",Index:S})})},Post:function(){p()}},c.FunctionStat={Pre:function(f){let y=f.NameChain,S;y.length==1?d(_,y[0].Source)?S=T(y[0].Source,function(C){y[0].Source=C}):S=M(y[0].Source,function(C){y[0].Source=C}):S=T(y[0].Source,function(C){y[0].Source=C}),S.AssignedTo=!0,H(),f.ArgList.forEach((C,K)=>{j(C.Source,function(z){C.Source=z},{Type:"Argument",Index:K})})},Post:function(){p()}},c.GenericForStat={Pre:function(f){return f.GeneratorList.forEach(y=>{fe(y,c)}),H(),f.VarList.forEach((y,S)=>{j(y.Source,function(C){y.Source=C},{Type:"ForRange",Index:S})}),fe(f.Body,c),p(),!0}},c.NumericForStat={Pre:function(f){return f.RangeList.forEach(y=>{fe(y,c)}),H(),f.VarList.forEach((y,S)=>{j(y.Source,function(C){y.Source=C},{Type:"ForRange",Index:S})}),fe(f.Body,c),p(),!0}},c.RepeatStat={Pre:function(f){f.Body.SkipPop=!0},Post:function(f){p()}},c.AssignmentStat={Post:function(f){f.Lhs.forEach(y=>{y.Variable!=null&&(y.Variable.AssignedTo=!0)})}},fe(re,c),[W,p()]}function b(re){let W,_,N="",U=p=>typeof(p==null?void 0:p.LeadingWhite)!="string"?" ":p.LeadingWhite;function H(p){if(p.LeadingWhite==null||p.Source==null)throw`Bad token: tk=${p} | lwhite=${p.LeadingWhite} | source=${p.Source}`;N=`${N}${p.LeadingWhite}${p.Source}`}return _=function(p){if(p.Type=="BinopExpr")_(p.Lhs),H(p.Token_Op),_(p.Rhs);else if(p.Type=="UnopExpr")H(p.Token_Op),_(p.Rhs);else if(p.Type=="NumberLiteral"||p.Type=="StringLiteral"||p.Type=="NilLiteral"||p.Type=="BooleanLiteral"||p.Type=="VargLiteral"||p.Type=="HashLiteral")H(p.Token);else if(p.Type=="FieldExpr")_(p.Base),H(p.Token_Dot),H(p.Field);else if(p.Type=="IndexExpr")_(p.Base),H(p.Token_OpenBracket),_(p.Index),H(p.Token_CloseBracket);else if(p.Type=="MethodExpr"||p.Type=="CallExpr")_(p.Base),p.Type=="MethodExpr"&&(H(p.Token_Colon),H(p.Method)),p.FunctionArguments.CallType=="StringCall"?H(p.FunctionArguments.Token):p.FunctionArguments.CallType=="ArgCall"?(H(p.FunctionArguments.Token_OpenParen),p.FunctionArguments.ArgList.forEach((j,R)=>{_(j);let M=p.FunctionArguments.Token_CommaList[R];M!=null&&H(M)}),H(p.FunctionArguments.Token_CloseParen)):p.FunctionArguments.CallType=="TableCall"&&_(p.FunctionArguments.TableExpr);else if(p.Type=="FunctionLiteral")H(p.Token_Function),H(p.Token_OpenParen),p.ArgList.forEach((j,R)=>{H(j);let M=p.Token_ArgCommaList[R];M!=null&&H(M)}),p.Token_Varg!=null&&H(p.Token_Varg),H(p.Token_CloseParen),W(p.Body),H(p.Token_End);else if(p.Type=="VariableExpr")H(p.Token);else if(p.Type=="ParenExpr")H(p.Token_OpenParen),_(p.Expression),H(p.Token_CloseParen);else if(p.Type=="TableLiteral")H(p.Token_OpenBrace),p.EntryList.forEach((j,R)=>{if(j.EntryType=="Field")H(j.Field),H(j.Token_Equals),_(j.Value);else if(j.EntryType=="Index")H(j.Token_OpenBracket),_(j.Index),H(j.Token_CloseBracket),H(j.Token_Equals),_(j.Value);else if(j.EntryType=="Value")_(j.Value);else throw"unreachable";let M=p.Token_SeperatorList[R];M!=null&&H(M)}),H(p.Token_CloseBrace);else if(p.Type=="CompoundStat")W(p);else throw`unreachable, type: ${p.Type}: ${p}`},W=function(p){if(p==null)throw`STAT IS NIL! ${p}`;if(!(p.Type==="StatList"&&p.StatementList.length===0)){if(p.WrapInDo){let j=U(p.GetFirstToken());p.GetFirstToken().LeadingWhite="",N+=`${j}do `}p.Type=="StatList"?p.StatementList.forEach((j,R)=>{j===null||j.Type===null||(j.Remove=()=>{p.StatementList[R]=null},W(j),p.SemicolonList[R]&&H(p.SemicolonList[R]))}):p.Type=="BreakStat"?H(p.Token_Break):p.Type=="ContinueStat"?H(p.Token_Continue):p.Type=="ReturnStat"?(H(p.Token_Return),p.ExprList.forEach((j,R)=>{_(j),p.Token_CommaList[R]&&H(p.Token_CommaList[R])})):p.Type=="LocalVarStat"?(H(p.Token_Local),p.VarList.forEach((j,R)=>{H(j),j.Attribute!=null&&H(j.Attribute);let M=p.Token_VarCommaList[R];M!=null&&H(M)}),p.Token_Equals!=null&&(H(p.Token_Equals),p.ExprList.forEach((j,R)=>{_(j);let M=p.Token_ExprCommaList[R];M!=null&&H(M)}))):p.Type=="LocalFunctionStat"?(H(p.Token_Local),H(p.FunctionStat.Token_Function),H(p.FunctionStat.NameChain[0]),H(p.FunctionStat.Token_OpenParen),p.FunctionStat.ArgList.forEach((j,R)=>{H(j);let M=p.FunctionStat.Token_ArgCommaList[R];M!=null&&H(M)}),p.FunctionStat.Token_Varg&&H(p.FunctionStat.Token_Varg),H(p.FunctionStat.Token_CloseParen),W(p.FunctionStat.Body),H(p.FunctionStat.Token_End)):p.Type=="FunctionStat"?(H(p.Token_Function),p.NameChain.forEach((j,R)=>{H(j);let M=p.Token_NameChainSeperator[R];M!=null&&H(M)}),H(p.Token_OpenParen),p.ArgList.forEach((j,R)=>{H(j);let M=p.Token_ArgCommaList[R];M!=null&&H(M)}),p.Token_Varg&&H(p.Token_Varg),H(p.Token_CloseParen),W(p.Body),H(p.Token_End)):p.Type=="RepeatStat"?(H(p.Token_Repeat),W(p.Body),H(p.Token_Until),_(p.Condition)):p.Type=="GenericForStat"?(H(p.Token_For),p.VarList.forEach((j,R)=>{H(j);let M=p.Token_VarCommaList[R];M!=null&&H(M)}),H(p.Token_In),p.GeneratorList.forEach((j,R)=>{_(j);let M=p.Token_GeneratorCommaList[R];M!=null&&H(M)}),H(p.Token_Do),W(p.Body),H(p.Token_End)):p.Type=="NumericForStat"?(H(p.Token_For),p.VarList.forEach((j,R)=>{H(j);let M=p.Token_VarCommaList[R];M!=null&&H(M)}),H(p.Token_Equals),p.RangeList.forEach((j,R)=>{_(j);let M=p.Token_RangeCommaList[R];M!=null&&H(M)}),H(p.Token_Do),W(p.Body),H(p.Token_End)):p.Type=="WhileStat"?(H(p.Token_While),_(p.Condition),H(p.Token_Do),W(p.Body),H(p.Token_End)):p.Type=="DoStat"?(H(p.Token_Do),W(p.Body),H(p.Token_End)):p.Type=="IfStat"?(H(p.Token_If),_(p.Condition),H(p.Token_Then),W(p.Body),p.ElseClauseList.forEach(j=>{H(j.Token),j.Condition!=null&&(_(j.Condition),H(j.Token_Then)),W(j.Body)}),H(p.Token_End)):p.Type=="CallExprStat"?_(p.Expression):p.Type=="CompoundStat"?(_(p.Lhs),H(p.Token_Compound),_(p.Rhs),p.Type="CompoundStat"):p.Type=="AssignmentStat"?(p.Lhs.forEach((j,R)=>{_(j);let M=p.Token_LhsSeperatorList[R];M!=null&&H(M)}),H(p.Token_Equals),p.Rhs.forEach((j,R)=>{_(j);let M=p.Token_RhsSeperatorList[R];M!=null&&H(M)})):s(!1,"unreachable"),p.WrapInDo&&(N+=" end ")}},W(re),N}function k(re){let W,_,N=0;function U(c){if(c===void 0)return;let f=` -${" ".repeat(N)}`;if(c.LeadingWhite==""||c.LeadingWhite.substr(-f.length,f.length)!=f){let y="",S;for(S=c.LeadingWhite.length;S>=0;S--){let C=c.LeadingWhite.substr(S,1);if(!(C==""||C.match(/\s/g))){y=c.LeadingWhite.substr(0,S+1);break}}c.LeadingWhite=`${y}${f}`}}function H(){N++}function p(){N--,s(N>=0,"Undented too far")}function j(c){return c.LeadingWhite.length>0?c.LeadingWhite.substr(0,1):c.Source.toString().substr(0,1)}function R(c){c.LeadingWhite=c.LeadingWhite.trim()}function M(c){R(c),n.includes(j(c))||(c.LeadingWhite=" "+c.LeadingWhite)}function d(c){M(c.GetFirstToken())}function T(c,f,y){H(),W(f),p(),U(y)}_=function(c){if(c.Type=="BinopExpr")_(c.Lhs),_(c.Rhs),d(c.Rhs),M(c.Token_Op);else if(c.Type=="UnopExpr")R(c.Token_Op),_(c.Rhs),c.Token_Op.Source[0]&&M(c.Rhs.GetFirstToken());else if(c.Type=="NumberLiteral"||c.Type=="StringLiteral"||c.Type=="NilLiteral"||c.Type=="BooleanLiteral"||c.Type=="VargLiteral"||c.Type=="HashLiteral")R(c.Token),c.Type=="HashLiteral"&&(c.Token.Source='"'+t(`${c.Token.Source.substring(1,c.Token.Source.length-1)}`)+'"',c.Type="StringLiteral",c.Token.Type="String");else if(c.Type=="FieldExpr")_(c.Base);else if(c.Type=="IndexExpr")_(c.Base),_(c.Index);else if(c.Type=="MethodExpr"||c.Type=="CallExpr")_(c.Base),R(c.FunctionArguments.GetFirstToken()),R(c.FunctionArguments.GetLastToken()),c.Type=="MethodExpr",c.FunctionArguments.CallType=="StringCall"||(c.FunctionArguments.CallType=="ArgCall"?c.FunctionArguments.ArgList.forEach((f,y)=>{_(f),y>0&&d(f);let S=c.FunctionArguments.Token_CommaList[y];S!=null&&R(S)}):c.FunctionArguments.CallType=="TableCall"&&_(c.FunctionArguments.TableExpr));else if(c.Type=="FunctionLiteral")c.ArgList.forEach((f,y)=>{y>0&&M(f),c.Token_ArgCommaList[y]}),c.ArgList.length>0&&c.Token_Varg!=null&&M(c.Token_Varg),T(c.Token_CloseParen,c.Body,c.Token_End);else if(c.Type!="VariableExpr")if(c.Type=="ParenExpr")R(c.Token_OpenParen),R(c.Token_CloseParen),_(c.Expression);else if(c.Type=="TableLiteral"){if(c.EntryList.length!=0){H();let f=100;c.EntryList.forEach((y,S)=>{y.EntryType=="Field"?(c.EntryList.length>f?ne(y.Value):U(y.Field),M(y.Token_Equals),_(y.Value),d(y.Value)):y.EntryType=="Index"?(c.EntryList.length>f?R(y.Token_OpenBracket):U(y.Token_OpenBracket),_(y.Index),M(y.Token_Equals),_(y.Value),d(y.Value)):y.EntryType=="Value"?(_(y.Value),c.EntryList.length>f?ne(y.Value):U(y.Value.GetFirstToken())):s(!1,"unreachable");let C=c.Token_SeperatorList[S];C!=null&&(c.EntryList.length>f?C.LeadingWhite="":R(C))}),p(),c.EntryList.length>f?c.Token_CloseBrace.LeadingWhite="":U(c.Token_CloseBrace)}}else if(c.Type=="CompoundStat")W(c);else throw e(c),`unreachable, type: ${c.Type}:`+c},W=function(c){if(c.Type=="StatList")c.StatementList.forEach((f,y)=>{f===null||f.Type===null||f.Type==="StatList"&&f.StatementList.length===0||(f.Remove=()=>{f.StatementList[y]=null},W(f),U(f.GetFirstToken()))});else if(c.Type!="BreakStat"){if(c.Type!="ContinueStat")if(c.Type=="ReturnStat")c.ExprList.forEach((f,y)=>{_(f),d(f),c.Token_CommaList[y]});else if(c.Type=="LocalVarStat"){if(c.VarList.forEach((f,y)=>{M(f),f.Attribute&&(f.Attribute.LeadingWhite=" "),c.Token_VarCommaList[y]}),c.Token_Equals){R(c.Token_Equals),M(c.Token_Equals);let f=[],y=[];c.ExprList.forEach((S,C)=>{S!=null&&(C{S!=null&&(_(S),d(S),c.Token_ExprCommaList[C]!=null&&c.ExprList.length-1==C&&(c.Token_ExprCommaList[C]=null))})}}else if(c.Type=="LocalFunctionStat")M(c.FunctionStat.Token_Function),M(c.FunctionStat.NameChain[0]),c.FunctionStat.ArgList.forEach((f,y)=>{y>0?M(f):R(f);let S=c.FunctionStat.Token_ArgCommaList[y];S&&R(S)}),c.FunctionStat.ArgList.length>0&&c.FunctionStat.Token_Varg?(R(c.FunctionStat.Token_Varg),M(c.FunctionStat.Token_Varg)):c.FunctionStat.Token_Varg&&R(c.FunctionStat.Token_Varg),R(c.FunctionStat.Token_OpenParen),R(c.FunctionStat.Token_CloseParen),T(c.FunctionStat.Token_CloseParen,c.FunctionStat.Body,c.FunctionStat.Token_End);else if(c.Type=="FunctionStat")c.NameChain.forEach((f,y)=>{y==0&&M(f),c.Token_NameChainSeperator[y]}),c.ArgList.forEach((f,y)=>{y>0&&M(f),c.Token_ArgCommaList[y]}),c.ArgList.length>0&&c.Token_Varg&&M(c.Token_Varg),T(c.Token_CloseParen,c.Body,c.Token_End);else if(c.Type=="RepeatStat")T(c.Token_Repeat,c.Body,c.Token_Until),_(c.Condition),d(c.Condition);else if(c.Type=="GenericForStat")c.VarList.forEach((f,y)=>{M(f),c.Token_VarCommaList[y]}),M(c.Token_In),c.GeneratorList.forEach((f,y)=>{_(f),d(f),c.Token_GeneratorCommaList[y]}),M(c.Token_Do),T(c.Token_Do,c.Body,c.Token_End);else if(c.Type=="NumericForStat")c.VarList.forEach((f,y)=>{M(f),c.Token_VarCommaList[y]}),M(c.Token_Equals),c.RangeList.forEach((f,y)=>{_(f),d(f),c.Token_RangeCommaList[y]}),M(c.Token_Do),T(c.Token_Do,c.Body,c.Token_End);else if(c.Type=="WhileStat")_(c.Condition),d(c.Condition),M(c.Token_Do),T(c.Token_Do,c.Body,c.Token_End);else if(c.Type=="DoStat")T(c.Token_Do,c.Body,c.Token_End);else if(c.Type=="IfStat"){_(c.Condition),d(c.Condition),M(c.Token_Then);let f=c.Token_Then,y=c.Body;c.ElseClauseList.forEach(S=>{T(f,y,S.Token),f=S.Token,S.Condition!=null&&(_(S.Condition),d(S.Condition),M(S.Token_Then),f=S.Token_Then),y=S.Body}),T(f,y,c.Token_End)}else c.Type=="CallExprStat"?_(c.Expression):c.Type=="CompoundStat"?(_(c.Lhs),_(c.Rhs),d(c.Lhs),d(c.Rhs),M(c.Token_Compound)):c.Type=="AssignmentStat"?(c.Lhs.forEach((f,y)=>{_(f),y>0&&d(f),c.Token_LhsSeperatorList[y]}),M(c.Token_Equals),c.Rhs.forEach((f,y)=>{_(f),d(f),c.Token_RhsSeperatorList[y]})):s(!1,"Unreachable")}},W(re)}function ne(re){let W,_;function N(p){p&&(p.LeadingWhite="")}function U(p,j,R=!1){N(j);let M=(typeof p.Source=="string"?p.Source:p.Source.toString()).substr(p.Source.length-1,1),d=(typeof j.Source=="string"?j.Source:j.Source.toString()).substr(0,1);M=="-"&&d=="-"||h.includes(M)&&h.includes(d)||R&&M==")"&&d=="("?j.LeadingWhite=R?";":" ":j.LeadingWhite=""}function H(p,j,R){W(j),N(R);let M=j.GetFirstToken(),d=j.GetLastToken();M!=null?(U(p,M),U(d,R)):U(p,R)}_=function(p){if(p.Type==="BinopExpr")_(p.Lhs),_(p.Rhs),p.Lhs.Type=="NumberLiteral"&&p.Token_Op.Source==".."?p.Token_Op.LeadingWhite=" ":(N(p.Token_Op),U(p.Lhs.GetLastToken(),p.Token_Op)),U(p.Token_Op,p.Rhs.GetFirstToken());else if(p.Type==="UnopExpr")N(p.Token_Op),_(p.Rhs),U(p.Token_Op,p.Rhs.GetFirstToken());else if(p.Type==="NumberLiteral"||p.Type==="StringLiteral"||p.Type==="NilLiteral"||p.Type==="BooleanLiteral"||p.Type==="VargLiteral"||p.Type==="HashLiteral")N(p.Token);else if(p.Type=="FieldExpr")_(p.Base),N(p.Token_Dot),N(p.Field);else if(p.Type=="IndexExpr")_(p.Base),N(p.Token_OpenBracket),_(p.Index),N(p.Token_CloseBracket);else if(p.Type=="MethodExpr"||p.Type=="CallExpr")_(p.Base),p.Type=="MethodExpr"&&(N(p.Token_Colon),N(p.Method)),p.FunctionArguments.CallType=="StringCall"?N(p.FunctionArguments.Token):p.FunctionArguments.CallType=="ArgCall"?(N(p.FunctionArguments.Token_OpenParen),p.FunctionArguments.ArgList.forEach((j,R)=>{_(j);let M=p.FunctionArguments.Token_CommaList[R];M!=null&&N(M)}),N(p.FunctionArguments.Token_CloseParen)):p.FunctionArguments.CallType=="TableCall"&&_(p.FunctionArguments.TableExpr);else if(p.Type=="FunctionLiteral")N(p.Token_Function),N(p.Token_OpenParen),p.ArgList.forEach((j,R)=>{N(j);let M=p.Token_ArgCommaList[R];M!=null&&N(M)}),p.Token_Varg!=null&&N(p.Token_Varg),N(p.Token_CloseParen),H(p.Token_CloseParen,p.Body,p.Token_End);else if(p.Type=="VariableExpr")N(p.Token);else if(p.Type=="ParenExpr")N(p.Token_OpenParen),_(p.Expression),N(p.Token_CloseParen);else if(p.Type=="TableLiteral")N(p.Token_OpenBrace),p.EntryList.forEach((j,R)=>{j.EntryType=="Field"?(N(j.Field),N(j.Token_Equals),_(j.Value)):j.EntryType=="Index"?(N(j.Token_OpenBracket),_(j.Index),N(j.Token_CloseBracket),N(j.Token_Equals),_(j.Value)):j.EntryType=="Value"?_(j.Value):s(!1,"unreachable");let M=p.Token_SeperatorList[R];M!=null&&N(M)}),p.Token_SeperatorList[p.EntryList.length-1]=null,N(p.Token_CloseBrace);else throw`unreachable, type: ${p.Type}:${p} ${console.trace()}`},W=function(p){if(p.Type=="StatList"){let j;for(j=0;j<=p.StatementList.length;j++){let R=p.StatementList[j];if(R==null)continue;W(R),N(R.GetFirstToken());let M=p.StatementList[j-1];if(M!=null){let d={")":["(","["],"]":["(","["]};if(p.SemicolonList[j-1]){let T=M.GetLastToken().Source,c=R.GetFirstToken().Source;(d[T]===null||d[T]===void 0||!d[T].includes(c))&&(p.SemicolonList[j-1]=null)}p.SemicolonList[j-1]||U(M.GetLastToken(),R.GetFirstToken(),!0)}}p.SemicolonList[p.StatementList.length-1]=null,p.StatementList.length>0&&N(p.StatementList[0].GetFirstToken())}else if(p.Type=="BreakStat")N(p.Token_Break);else if(p.Type=="ContinueStat")N(p.Token_Continue);else if(p.Type=="ReturnStat")N(p.Token_Return),p.ExprList.forEach((j,R)=>{_(j),p.Token_CommaList[R]!=null&&N(p.Token_CommaList[R])}),p.ExprList.length>0&&U(p.Token_Return,p.ExprList[0].GetFirstToken());else if(p.Type=="LocalVarStat"){N(p.Token_Local);let j=!1;p.VarList.forEach((R,M)=>{M==0?U(p.Token_Local,R):N(R),R.Attribute&&(N(R.Attribute),M+1==p.VarList.length&&(j=!0));let d=p.Token_VarCommaList[M];d!=null&&N(d)}),p.Token_Equals!=null&&(j||N(p.Token_Equals),p.ExprList.forEach((R,M)=>{_(R);let d=p.Token_ExprCommaList[M];d!=null&&N(d)}))}else if(p.Type=="LocalFunctionStat")N(p.Token_Local),U(p.Token_Local,p.FunctionStat.Token_Function),U(p.FunctionStat.Token_Function,p.FunctionStat.NameChain[0]),U(p.FunctionStat.NameChain[0],p.FunctionStat.Token_OpenParen),p.FunctionStat.ArgList.forEach((j,R)=>{N(j);let M=p.FunctionStat.Token_ArgCommaList[R];M!=null&&N(M)}),p.FunctionStat.Token_Varg&&N(p.FunctionStat.Token_Varg),N(p.FunctionStat.Token_CloseParen),H(p.FunctionStat.Token_CloseParen,p.FunctionStat.Body,p.FunctionStat.Token_End);else if(p.Type=="FunctionStat")N(p.Token_Function),p.NameChain.forEach((j,R)=>{R==0?U(p.Token_Function,j):N(j);let M=p.Token_NameChainSeperator[R];M!=null&&N(M)}),N(p.Token_OpenParen),p.ArgList.forEach((j,R)=>{N(j);let M=p.Token_ArgCommaList[R];M!=null&&N(M)}),p.Token_Varg&&N(p.Token_Varg),N(p.Token_CloseParen),H(p.Token_CloseParen,p.Body,p.Token_End);else if(p.Type=="RepeatStat")N(p.Token_Repeat),H(p.Token_Repeat,p.Body,p.Token_Until),_(p.Condition),U(p.Token_Until,p.Condition.GetFirstToken());else if(p.Type=="GenericForStat")N(p.Token_For),p.VarList.forEach((j,R)=>{R==0?U(p.Token_For,j):N(j);let M=p.Token_VarCommaList[R];M!=null&&N(M)}),U(p.VarList[p.VarList.length-1],p.Token_In),p.GeneratorList.forEach((j,R)=>{_(j),R==0&&U(p.Token_In,j.GetFirstToken());let M=p.Token_GeneratorCommaList[R];M!=null&&N(M)}),U(p.GeneratorList[p.GeneratorList.length-1].GetLastToken(),p.Token_Do),H(p.Token_Do,p.Body,p.Token_End);else if(p.Type=="NumericForStat")N(p.Token_For),p.VarList.forEach((j,R)=>{R==0?U(p.Token_For,j):N(j);let M=p.Token_VarCommaList[R];M!=null&&N(M)}),U(p.VarList[p.VarList.length-1],p.Token_Equals),p.RangeList.forEach((j,R)=>{_(j),R==0&&U(p.Token_Equals,j.GetFirstToken());let M=p.Token_RangeCommaList[R];M!=null&&N(M)}),U(p.RangeList[p.RangeList.length-1].GetLastToken(),p.Token_Do),H(p.Token_Do,p.Body,p.Token_End);else if(p.Type=="WhileStat")N(p.Token_While),_(p.Condition),N(p.Token_Do),U(p.Token_While,p.Condition.GetFirstToken()),U(p.Condition.GetLastToken(),p.Token_Do),H(p.Token_Do,p.Body,p.Token_End);else if(p.Type=="DoStat")N(p.Token_Do),N(p.Token_End),H(p.Token_Do,p.Body,p.Token_End);else if(p.Type=="IfStat"){N(p.Token_If),_(p.Condition),U(p.Token_If,p.Condition.GetFirstToken()),U(p.Condition.GetLastToken(),p.Token_Then);let j=p.Token_Then,R=p.Body;p.ElseClauseList.forEach((M,d)=>{H(j,R,M.Token),j=M.Token,M.Condition!=null&&(_(M.Condition),U(M.Token,M.Condition.GetFirstToken()),U(M.Condition.GetLastToken(),M.Token_Then),j=M.Token_Then),W(M.Body),R=M.Body}),H(j,R,p.Token_End)}else if(p.Type=="CallExprStat")_(p.Expression);else if(p.Type=="CompoundStat")_(p.Lhs),N(p.Token_Compound),_(p.Rhs),U(p.Lhs.GetLastToken(),p.Token_Compound),U(p.Token_Compound,p.Rhs.GetFirstToken());else if(p.Type=="AssignmentStat")p.Lhs.forEach((j,R)=>{_(j);let M=p.Token_LhsSeperatorList[R];M!=null&&N(M)}),N(p.Token_Equals),p.Rhs.forEach((j,R)=>{_(j);let M=p.Token_RhsSeperatorList[R];M!=null&&N(M)});else return _(p)},W(re)}function se(re){let W,_,N={NumberLiteral:!0,BooleanLiteral:!0,StringLiteral:!0,HashLiteral:!0,NilLiteral:!0,TableLiteral:!0,ParenExpr:!0,BinopExpr:!0};function U(c,f,y=null){let S;return S={Type:c,Token:{Type:y==null?"Number":y,LeadingWhite:"",Source:f},GetFirstToken:()=>S.Token,GetLastToken:()=>S.Token},S}function H(c,f,y){let S;return S={Type:"BinopExpr",Token_Op:{Type:"Symbol",LeadingWhite:"",Source:c},Lhs:f,Rhs:y,GetFirstToken:()=>S.Lhs.GetFirstToken(),GetLastToken:()=>S.Rhs.GetLastToken()},S}function p(c,f){let y;return y={Type:"UnopExpr",Token_Op:{Type:"Symbol",LeadingWhite:"",Source:c},Rhs:f,GetFirstToken:()=>y.Token_Op,GetLastToken:()=>y.Rhs.GetLastToken()},y}function j(c,f){if(f!=null)for(var[y,S]of Object.entries(f))c[y]=S}function R(c){if(c==null||c.substr==null)return;let f=c.substr(0,1),y;if((f=='"'||f=="'")&&(y=c.substr(1,c.length-2)),f=="["){let K=0,z=1;for(;c.substr(z,1)=="=";)K++,z++;y=c.substr(2+K,c.length-4-K-2)}if(y==null)return"";let S="",C;for(C=0;C<=y.length;C++){let K=y.substr(C,1);K=="'"||K=='"'?S+=`\\${K}`:S+=K}return S}function M(c){if(typeof c=="object"&&c.Type=="ParenExpr")return j(c,c.Expression)}function d(c,f,y){let S=f,C=y;if(f&&f.Type=="ParenExpr"&&(S=f.Expression),y&&y.Type=="ParenExpr"&&(C=y.Expression),S==null||C==null||S.Type==null||C.Type==null||S.Type=="VariableExpr"||S.Type=="CallExpr"||S.Type=="BinopExpr"||C.Type=="CallExpr"||C.Type=="BinopExpr"||C.Type=="VariableExpr")return;let K=S.Token||S.Expression!=null&&S.Expression.Token||null,z=C.Token||C.Expression!=null&&C.Expression.Token||null,q=K!=null?K.Source:null,de=z!=null?z.Source:null,pe,ae;if(S.Type=="BooleanLiteral"&&(pe=q=="true"),C.Type=="BooleanLiteral"&&(ae=de=="true"),!(S.Type=="NumberLiteral"&&(pe=r(q),pe==null))&&!(C.Type=="NumberLiteral"&&(ae=r(de),ae==null))&&((S.Type=="StringLiteral"||S.Type=="HashLiteral")&&(pe=q.toString()),(C.Type=="StringLiteral"||C.Type=="HashLiteral")&&(ae=de.toString()),pe!=null&&ae!=null)){if(c=="==")return pe==ae;if(c=="~=")return pe!=ae;if(c=="and")return pe&&ae;if(c=="or")return pe||ae;if(c==".."&&S.Type=="StringLiteral"&&C.Type=="StringLiteral")return`"${R(q)+R(de)}"`;if(S.Type=="StringLiteral"&&(pe=r(R(pe))),C.Type=="StringLiteral"&&(ae=r(R(ae))),pe==null||ae==null)return;let xe;if(c=="+"&&(xe=pe+ae),c=="-"&&(xe=pe-ae),c=="*"&&(xe=pe*ae),c=="/"&&(xe=pe/ae),c=="^"&&(xe=pe**ae),c=="%"&&(xe=pe%ae),c==">"&&(xe=pe>ae),c=="<"&&(xe=pe="&&(xe=pe>=ae),c=="<="&&(xe=pe<=ae),xe==!1||xe==!0||isFinite(xe)&&xe>-(10**6)&&xe<10**6)return xe}}function T(c,f){let y=f.Token||f.Expression||f.EntryList||f;if(y==null||y.Source==null&&f.Type!="TableLiteral"||f.Type=="VariableExpr"||f.Type=="CallExpr"||f.Type=="BinopExpr")return;let S=y.Source,C;if(f.Type=="TableLiteral"&&y!=null){let K=[],z=0,q=!1,de=!1,pe=0;if(y.forEach((ae,xe)=>{if(q)K.push(ae);else if(ae.EntryType=="Value"||ae.EntryType=="Index")if((ae.Index==null||ae.Index.Type=="NumberLiteral")&&ae.Value){if((ae.Index!=null&&ae.Index.Token!=null&&ae.Index.Token.Source!==null?ae.Index.Token.Source:pe+1).toString()!==(++pe).toString())return q=!0,de=!0,K.push(ae);ae.Value.Type!="CallExpr"?z++:(q=!0,K.push(ae))}else K.push(ae)}),de)return;if(c=="#")return f.EntryList=K,f.EntryList.length<=0?U("NumberLiteral",z!==null?z:f.EntryList.length):z<=0?p("#",f):H("+",U("NumberLiteral",z),p("#",f))}if(f.Type=="BooleanLiteral"&&(C=S=="true"),!(f.Type=="NumberLiteral"&&(C=r(S),C===null))){if(f.Type=="StringLiteral"&&(C=S.substr(1,S.length-2)),c=="not"&&f.Type!==null)return f.Type=="NilLiteral"||f.Type=="BooleanLiteral"&&C===!1;if(C!=null){if(c=="#")return C.length;if(c=="-")return-C}}}_=function(c){if(c.Type=="BinopExpr"){if(_(c.Lhs),_(c.Rhs),c.Lhs!=null&&c.Rhs!=null){let f=c.Token_Op;if(f!=null&&f.Source!=null){let y=d(f.Source,c.Lhs,c.Rhs);if(y!=null){if(typeof y=="boolean"){let S=U("BooleanLiteral",y.toString(),"Keyword");j(c,S);return}else if(typeof y=="number"){if(isFinite(y)==!0){let S=U("NumberLiteral",y.toString(),"Number");j(c,S);return}}else if(typeof y=="string"){let S=U("StringLiteral",y,"String");j(c,S);return}else if(typeof y=="object"){j(c,y);return}return}}if(c.Lhs.Type=="ParenExpr"){let S=c.Lhs.Expression;S.Type=="NumberLiteral"||S.Type=="StringLiteral"||S.Type=="NilLiteral"||S.Type=="BooleanLiteral"||S.Type=="HashLiteral"}if(c.Rhs.Type=="ParenExpr"){let S=c.Rhs.Expression;S.Type=="NumberLiteral"||S.Type=="StringLiteral"||S.Type=="NilLiteral"||S.Type=="BooleanLiteral"||S.Type=="HashLiteral"}}}else if(c.Type=="UnopExpr"){if(_(c.Rhs),c.Rhs!=null&&N[c.Rhs.Type]==!0){let f=c.Token_Op;if(f!=null&&f.Source!=null){let y=c.Rhs.Expression!=null?c.Rhs.Expression:c.Rhs,S=T(f.Source,y);if(S!=null){if(typeof S=="boolean"){let C=U("BooleanLiteral",S.toString(),"Keyword");j(c,C);return}else if(typeof S=="number"){if(isFinite(S)==!0){let C=U("NumberLiteral",S,"Number");j(c,C);return}}else if(typeof S=="string"){let C=U("StringLiteral",S,"String");j(c,C);return}else if(typeof S=="object"){j(c,S);return}return}}}}else if(c.Type=="NumberLiteral"||c.Type=="StringLiteral"||c.Type=="NilLiteral"||c.Type=="BooleanLiteral"||c.Type=="VargLiteral"||c.Type=="HashLiteral"){let f=c.Token;if(f!=null){if(f.Type=="Number"){let y=f.Source.toString().split("e");if(y.length===2){let S=r(y[0]),C=r(y[1]);isFinite(S)&&isFinite(C)&&S**C<999999999&&!f.Source.includes("+")&&!!f.Source.includes(".")&&!f.Source.includes("-")&&(f.Source=(S**C).toString())}}f.Type=="String"&&(f.Source=f.Source.replace(/\\\d+/gi,y=>{let S=r(y.substr(1,y.length-1));return S&&isFinite(S)&&(S>=97&&S<=122||S>=65&&S<=90||S>=33&&S<=47||S>=58&&S<=64||S>=91&&S<=96||S>=123&&S<=126)&&S!==34&&S!==39&&S!==92?String.fromCharCode(S):y}))}}else if(c.Type=="FieldExpr")_(c.Base);else if(c.Type=="IndexExpr")_(c.Base),_(c.Index);else if(c.Type=="MethodExpr"||c.Type=="CallExpr"){if(_(c.Base),c.FunctionArguments.CallType=="ArgCall"?c.FunctionArguments.ArgList.forEach((f,y)=>{_(f)}):c.FunctionArguments.CallType=="TableCall"&&_(c.FunctionArguments.TableExpr),c.Base.Type==="ParenExpr"&&c.Base.Expression.Type==="FunctionLiteral"&&c.FunctionArguments.CallType==="ArgCall"){let f=c.Base.Expression;c.FunctionArguments.ArgList.forEach((y,S)=>{let C=c.FunctionArguments.ArgList[S];if(C!==void 0&&(C.Type=="NumberLiteral"||C.Type=="StringLiteral"||C.Type=="NilLiteral"||C.Type=="BooleanLiteral"||C.Type=="HashLiteral")){let K=f.ArgList[S];K&&K.var.RenameList.forEach(z=>{z(C.Token.Source,!0)})}})}}else if(c.Type=="FunctionLiteral")W(c.Body);else if(c.Type!="VariableExpr")if(c.Type=="ParenExpr"){let f=c.Expression;f!=null&&f.Type=="ParenExpr"&&(c.Expression=f.Expression),_(c.Expression),(c.Type=="NumberLiteral"||c.Type=="StringLiteral"||c.Type=="NilLiteral"||c.Type=="BooleanLiteral"||c.Type=="VargLiteral"||c.Type=="HashLiteral")&&M(c)}else c.Type=="TableLiteral"&&c.EntryList.forEach((f,y)=>{f.EntryType=="Field"?_(f.Value):f.EntryType=="Index"?(_(f.Index),_(f.Value)):f.EntryType=="Value"?_(f.Value):s(!1,"unreachable")})},W=function(c){if(c.Type=="StatList")c.StatementList.forEach((f,y)=>{f===null||f.Type===null||(f.Remove=()=>{c.StatementList[y]=null},W(f))});else if(c.Type!="BreakStat"){if(c.Type!="ContinueStat")if(c.Type=="ReturnStat")c.ExprList.forEach((f,y)=>{_(f)});else if(c.Type=="LocalVarStat")c.Token_Equals!=null&&c.ExprList.forEach((f,y)=>{_(f)});else if(c.Type=="LocalFunctionStat")W(c.FunctionStat.Body),c.FunctionStat.NameChain.length===1&&c.FunctionStat.NameChain[0].UseCount;else if(c.Type=="FunctionStat")W(c.Body);else if(c.Type=="RepeatStat")W(c.Body),_(c.Condition),c.Body.Type=="StatList"&&c.Body.StatementList.length;else if(c.Type=="GenericForStat")c.GeneratorList.forEach((f,y)=>{_(f)}),W(c.Body);else if(c.Type=="NumericForStat"){c.RangeList.forEach((ae,xe)=>{_(ae)}),W(c.Body);let f=c.RangeList[0],y=c.RangeList[1],S=c.RangeList[2];if(f==null||y==null)return c.Remove();if(M(f),M(y),M(S),f.Type!="NumberLiteral"||y.Type!="NumberLiteral"||S!=null&&S.Type!="NumberLiteral"||S==null)return;let C=r(f.Token.Source),K=r(y.Token.Source),z=S!=null&&r(S.Token.Source)||1,q=z>0&&C<=K||z<0&&C>=K,de=(K-C+z)/z;if(!(q&&de>=0)||c.Body.Type=="StatList"&&c.Body.StatementList.length===0)return c.Remove()}else if(c.Type=="WhileStat"){_(c.Condition),W(c.Body);let f=c.Condition;switch(f.Type){case"ParenExpr":f=f.Expression;case"BooleanLiteral":if(f==null||f.Token==null||f.Token.Source!=="false")break;case"NilLiteral":c.Remove();break}}else if(c.Type=="DoStat"){if(W(c.Body),c.Body===null||c.Body.Type=="StatList"&&c.Body.StatementList.length===0)return c.Remove();if(c.Body.StatementList.length===1){let f=c.Body.StatementList[0];f.Type!=="ContinueStat"&&f.Type!=="BreakStat"&&f.Type!=="ReturnStat"&&j(c,f)}}else if(c.Type=="IfStat"){_(c.Condition),W(c.Body),c.ElseClauseList.forEach((y,S)=>{y.Condition!=null&&_(y.Condition),W(y.Body)});let f=c.Condition;switch(f.Type){case"ParenExpr":f=f.Expression;case"BooleanLiteral":if(c.ElseClauseList.length>=1||f==null||f.Token==null||f.Token.Source!=="false")break;case"NilLiteral":c.Remove();break}}else c.Type=="CallExprStat"?_(c.Expression):c.Type=="CompoundStat"?(_(c.Lhs),_(c.Rhs)):c.Type=="AssignmentStat"&&(c.Lhs.forEach((f,y)=>{_(f)}),c.Rhs.forEach((f,y)=>{_(f)}))}},W(re)}let D=[],O;for(O="a".charCodeAt();O<="z".charCodeAt();O++)D.push(String.fromCharCode(O));for(O="A".charCodeAt();O<="Z".charCodeAt();O++)D.push(String.fromCharCode(O));for(O="0".charCodeAt();O<="9".charCodeAt();O++)D.push(String.fromCharCode(O));D.push("_");let E=[];for(O="a".charCodeAt();O<="z".charCodeAt();O++)E.push(String.fromCharCode(O));for(O="A".charCodeAt();O<="Z".charCodeAt();O++)E.push(String.fromCharCode(O));function F(re){let W="",_=re%E.length;for(re=(re-_)/E.length,W=`${W}${E[_]}`;re>0;){let N=re%D.length;re=(re-N)/D.length,W=`${W}${D[N]}`}return W}function le(re,W,_){let N=[];for(var[U,H]of Object.entries($))N[U]=!0;let p=[];re.forEach(T=>{T.AssignedTo&&_?p.push(T):N[T.Name]=!0});function j(T){T.VariableList.forEach(c=>{p.push(c)}),T.ChildScopeList.forEach(c=>{j(c)})}j(W),p.forEach(T=>{T.UsedNameArray=[]}),p.sort((T,c)=>T-c);let R=0,M=[];function d(T){let c=M[T];if(c==null){for(c=F(R),R++;N[c];)c=F(R),R++;M[T]=c}return c}p.forEach((T,c)=>{T.Renamed=!0;let f=0;for(;T.UsedNameArray[f];)f++;T.Rename(d(f)),T.Scope?p.forEach(y=>{y.Renamed||(!y.Scope||y.Scope.DepthS>=T.BeginLocation&&S<=T.ScopeEndLocation?(y.UsedNameArray[f]=!0,!0):!1):y.Scope.Depth>T.Scope.Depth?T.ReferenceLocationList.some(S=>S>=y.BeginLocation&&S<=y.ScopeEndLocation?(y.UsedNameArray[f]=!0,!0):!1):T.BeginLocationy.BeginLocation&&(y.UsedNameArray[f]=!0))}):p.forEach(y=>{if(!y.Renamed)if(y.Type=="Global")y.UsedNameArray[f]=!0;else if(y.Type=="Local")T.ReferenceLocationList.some(S=>S>=y.BeginLocation&&S<=y.ScopeEndLocation?(y.UsedNameArray[f]=!0,!0):!1);else throw"Unreachable"})})}function be(re,W,_){let N=[];re.forEach(R=>{(!R.AssignedTo||!_)&&(N[R.Name]=!0)});let U=1,H=1;function p(R,M){R.Name=M,R.RenameList.forEach(d=>{d(M)})}if(_){let R={};re.forEach(M=>{M.AssignedTo&&!M.ChangedName&&(R[M.Name]=R[M.Name]||`G_${H}_`,M.ChangedName=!0,p(M,R[M.Name]),H++)})}function j(R){R.VariableList.forEach(M=>{let d=`L_${U}_`;M.Info.Type=="Argument"?d=`${d}arg${M.Info.Index}`:M.Info.Type=="LocalFunction"?d=`${d}func`:M.Info.Type=="ForRange"&&(d=`${d}forvar${M.Info.Index}`),p(M,d),U++}),R.ChildScopeList.forEach(M=>{j(M)})}j(W)}let ke=`--[[ - Code generated using github.com/Herrtt/luamin.js - An open source Lua beautifier and minifier. ---]] - -`,Ee={};Ee.Minify=function(re,W){let _=g(re),[N,U]=me(_);W.RenameVariables==!0&&le(N,U,W.RenameGlobals),W.SolveMath==!0&&se(_),ne(_);let H=b(_);return H=`${ke} - -${H}`,H},Ee.Beautify=function(re,W){let _=g(re),[N,U]=me(_);W.RenameVariables&&be(N,U,W.RenameGlobals),W.SolveMath==!0&&se(_),k(_);let H=b(_);return H=`${ke} - -${H}`,H};try{i!=null&&i.exports!=null&&(i.exports.Beautify=Ee.Beautify,i.exports.Minify=Ee.Minify)}catch{}})(sc);const na=sc.exports;na.Beautify;na.Minify;na.Uglify;const Ps="_M",Je="__tmp",go="esPairs",To="caseExp",xn={debug:!0,tagArrayExpression:!0,importStatementHoisting:!0,transform$SymbolToDollar:!0,transformToString:!0,transformString:!0,transformJSONStringify:!0,transformJSONParse:!0,transformParseFloat:!0,transformParseInt:!0,transformNumber:!0,transformIsArray:!0,transformConsoleLog:!0,moduleExportsToReturn:!0,index0To1:!0,tryTranslateClass:!0,disableUpdateExpressionCallback:!0,renameCatchErrorIfNeeded:!0,disableClassCall:!0};function Sn(){console.log.apply(this,arguments)}function Pn(i){return Df(i,{plugins:["typescript"],sourceType:"module"})}const Ld={and:"_and",break:"_break",do:"_do",else:"_else",elseif:"_elseif",end:"_end",false:"_false",for:"_for",function:"_function",if:"_if",in:"_in",local:"_local",nil:"_nil",not:"_not",or:"_or",repeat:"_repeat",return:"_return",then:"_then",true:"_true",until:"_until",while:"_while"},Ot=i=>Object.prototype.hasOwnProperty.call(Ld,i),zr={"!":"not","&&":"and","||":"or","===":"==","==":"==","!==":"~=","!=":"~="},Jr=i=>i.length>0?"self,":"self",vd=i=>i&&typeof i=="object"&&i.type;function gs(i,t,e){const s=e===void 0?void 0:e-1,r=e>0||e===void 0;if(Array.isArray(i)){if(r)for(const n of i)gs(n,t,s)}else if(vd(i)){const n=t(i);if(n)return n;if(r)for(const a of Object.values(i))gs(a,t,s)}else return}function Id(i,t,e,s){gs(i,r=>{r.type=="Identifier"&&r.name==t&&(r.name=e)},s)}function si(i,t,e){let s;return gs(i,r=>{if(r.type=="Identifier"&&r.name==t)return s=r,!0},e),s}function bo(i){gs(i,t=>{t.type=="ThisExpression"&&(t.type="Identifier",t.name="cls")})}function ic(i,t,e){let s;return gs(i,n=>{if(t(n))return s=n,!0},e),s}function Fi(i){return pi(i,"ContinueStatement")?"::continue::":""}function pi(i,t,e){return ic(i,s=>s.type===t,e)}const Xr=i=>i=="ArrayPattern"||i=="ObjectPattern";function Nd(i){const t=pi(i,"RestElement");return t?`local ${t.argument.name} = {...};`:""}function _d(i){const t=[];let e=[];for(const[n,a]of i.cases.entries())a.test?(e.push(a),a.consequent.length>0&&(t.push(e),e=[])):t.push([a]);e.length>0&&t.push(e);const s=[];for(const n of t)if(n.length===1)s.push(n[0]);else{const a=n[n.length-1];a.testGroup=n.map(o=>o.test),s.push(a)}const r=s.findIndex(n=>!n.test);r!==-1&&r!==s.length-1?i.cases=[...s.slice(0,r),...s.slice(r+1),s[r]]:i.cases=s}function Md(i,t={}){var Fe;t={...xn,...t},t.debug&&Sn((Fe=i==null?void 0:i.program)==null?void 0:Fe.body);const e=[],s=[],r=[];let n="",a="",o=!1,l=!1,h=!1,u=!1;const x=g=>g.filter(fe=>fe.type=="AssignmentPattern").map(fe=>`if ${L(fe.left)} == nil then ${L(fe.left)} = ${L(fe.right)} end`).join(";"),P=g=>{const fe=[];for(const[k,ne]of g.entries())Xr(ne.type)&&(fe.push("local "+L(ne)({type:"Identifier",name:`__tmp${k}`})),g[k]={type:"Identifier",name:`__tmp${k}`});const me=Nd(g),b=x(g);return`${fe.join(";")} - ${b} - ${me}`},I=(g,fe)=>(g=L(g),Ot(g)?`["${g}"]`:fe?`.${g}`:g),A=(g,fe)=>{const me=L(g.key);return g.computed||g.key.type=="StringLiteral"?`[${me}]`:Ot(me)?`["${me}"]`:fe?`.${me}`:me},G=g=>{if(g.specifiers.length===1){const fe=g.specifiers[0],me=`require(${L(g.source)})`;return fe.type=="ImportDefaultSpecifier"?`local ${L(fe.local)} = ${me}.default`:fe.type=="ImportNamespaceSpecifier"?`local ${L(fe.local)} = ${me}`:`local ${L(fe.local)} = ${me}.${L(fe.imported)}`}else{const fe=g.specifiers.map(b=>L(b.local)).join(", "),me=g.specifiers.map(b=>b.type=="ImportDefaultSpecifier"?`${L(b.local)} = _esModule.default`:b.type=="ImportNamespaceSpecifier"?`${L(b.local)} = _esModule`:`${L(b.local)} = _esModule.${L(b.imported)}`);return`local ${fe}; - do - local _esModule = require(${L(g.source)}) - ${me.join(";")} - end`}},B=g=>fe=>{const me=g.elements.map(k=>k.type=="RestElement"?L(k.argument):`${L(k)}`);if(!fe)return me.join(", ");const b=g.elements.map((k,ne)=>{if(k.type=="RestElement"){const se=L(k.argument);return`${se} = {}; - for __i=${me.length}, #${Je} do - ${se}[#${se}+1] = ${Je}[__i] - end`}else return`${L(k)} = ${Je}[${ne+1}]`}).join(";");return`${me.join(", ")};do local ${Je} = ${L(fe)}; ${b} end`},$=g=>fe=>{const me=g.properties.map(k=>k.type=="RestElement"?L(k.argument):`${L(k.value)}`),b=g.properties.map(k=>{if(k.type=="RestElement"){const ne=L(k.argument),se=g.properties.slice(0,-1).map(D=>`k ~= "${L(D.key)}"`).join(" and ");return`${ne} = {}; - for k, v in pairs(${Je}) do - if ${se} then - ${ne}[k] = v - end - end`}else{const ne=L(k.key),se=Ot(ne)?`${Je}["${ne}"]`:`${Je}.${ne}`;return`${L(k.value)} = ${se}`}}).join(";");return`${me.join(", ")};do local ${Je} = ${L(fe)}; ${b} end`},V=g=>{const fe=L(g.callee),me=Z(g.arguments);if(g.callee.type=="MemberExpression"){const b=L(g.callee.object),k=L(g.callee.property);if(g.callee.object.type=="Super")return[`${b}.${k}`,`${Jr(g.arguments)}${me}`];if(k=="call")return[b,me];if(k=="apply"){const[ne,se]=g.arguments;return se?[b,`${L(ne)}, unpack(${L(se)})`]:[b,L(ne)]}else return Ot(k)?[`${b}["${k}"]`,`${b}${g.arguments.length>0?",":""}${me}`]:t.transformConsoleLog&&b=="console"&&k=="log"?["print",me]:t.transformToString&&k=="toString"?["tostring",b]:t.transformIsArray&&b=="Array"&&k=="isArray"?(h=!0,["isarray",me]):t.transformJSONParse&&b=="JSON"&&k=="parse"?(o=!0,["cjson.decode",me]):t.transformJSONStringify&&b=="JSON"&&k=="stringify"?(o=!0,["cjson.encode",me]):g.callee.computed?[`${b}[${k}]`,`${b}${g.arguments.length>0?",":""}${me}`]:[`${b}:${k}`,me]}else return t.transformParseInt&&fe=="parseInt"?["math.floor",me]:t.transformParseFloat&&fe=="parseFloat"?["tonumber",me]:t.transformNumber&&fe=="Number"?["tonumber",me]:t.transformString&&fe=="String"?["tostring",me]:[fe,me]},ee=g=>{const fe=[];let me=g;for(;;){const{type:D,object:O}=me;if(D=="OptionalMemberExpression")fe.push(me);else if(D=="MemberExpression")fe.push(me);else{fe.push(me);break}me=O}let b=!1,k="";const ne=[];for(let D=fe.length-1;D>-1;D--){const O=fe[D];if(k)if(fe[D].computed)k=`${k}[${L(O.property)}]`;else{const E=I(O.property,!0);k=`${k}${E}`}else k=L(O);D==0?ne.push(`else return ${k} end`):fe[D-1].optional&&(b?ne.push(`elseif ${k} == nil then return nil`):(b=!0,ne.push(`if ${k} == nil then return nil`)))}return[`(function() ${ne.join(` -`)} end)()`,k]},Z=(g,fe=",")=>g.map(L).join(fe);function L(g){var fe,me,b,k,ne,se;switch(g.type){case"File":return g.program.body.map(L).join(`; -`);case"VariableDeclaration":{const D=g.noPrefix?"":"local ";return g.declarations.map(L).map(O=>`${D}${O}`).join(`; -`)}case"VariableDeclarator":if(g.init)if(g.init.type=="AssignmentExpression"){const D=[`${L(g.id)} = ${L(g.init.left)}`];let O=g.init;for(;O.type=="AssignmentExpression";){O.right.type=="AssignmentExpression"?D.unshift(`${L(O.left)} = ${L(O.right.left)}`):D.unshift(`${L(O.left)} = ${L(O.right)}`);O=O.right}return D.join(`; -local `)}else return g.id.type=="ArrayPattern"||g.id.type=="ObjectPattern"?L(g.id)(g.init):`${L(g.id)} = ${L(g.init)}`;else return Xr(g.id.type)?`${L(g.id)()}`:`${L(g.id)}`;case"Identifier":{const D=g.name;return D=="undefined"?"nil":D.startsWith("$")&&t.transform$SymbolToDollar?D.replace("$","_DOLLAR_"):D}case"NumericLiteral":return`${g.value}`;case"StringLiteral":return(fe=g.extra)==null?void 0:fe.raw;case"IfStatement":return`if ${L(g.test)} then ${L(g.consequent)} ${g.alternate?` else ${L(g.alternate)}`:""} end`;case"BlockStatement":return`${g.body.map(L).join(";")}`;case"CallExpression":if(g.callee.type=="MemberExpression"&&g.callee.object.type!=="MemberExpression"&&g.callee.object.type!=="Identifier"&&g.callee.object.type!=="Super"){const D=L(g.callee.object);return g.callee.object={type:"Identifier",name:Je},`(function() - local ${Je} = ${D} - return ${L(g)} - end)()`}else{const[D,O]=V(g);return g.callee.type=="ArrowFunctionExpression"||g.callee.type=="FunctionExpression"?`(${D})(${O})`:`${D}(${O})`}case"BinaryExpression":{const D=zr[g.operator]||g.operator,O=L(g.left),E=L(g.right);return g.operator=="instanceof"?`getmetatable(${O}) == ${E}`:g.operator==">>"?(l=!0,`bit.rshift(${O}, ${E})`):g.operator=="<<"?(l=!0,`bit.lshift(${O}, ${E})`):g.operator=="&"?(l=!0,`bit.band(${O}, ${E})`):g.operator=="|"?(l=!0,`bit.bor(${O}, ${E})`):g.operator=="^"?(l=!0,`bit.bxor(${O}, ${E})`):g.operator=="**"?`math.pow(${O}, ${E})`:`${O} ${D} ${L(g.right)}`}case"UnaryExpression":{const D=zr[g.operator]||g.operator,O=L(g.argument);return g.operator=="typeof"?`type(${O})`:g.operator=="delete"?`${O} = nil`:g.operator=="~"?(l=!0,`bit.bnot(${O})`):`${D} ${O}`}case"ThisExpression":return"self";case"BooleanLiteral":return`${g.value}`;case"ObjectExpression":return pi(g.properties,"SpreadElement",1)?`(function() local ${Je} = {}; ${g.properties.map(D=>D.type=="SpreadElement"?`for k, v in pairs(${L(D.argument)}) do ${Je}[k] = v end`:D.type=="ObjectMethod"?(D.asMember=!0,`${Je}${L(D)}`):`${Je}${A(D,!0)} = ${L(D.value)}`).join(";")} return ${Je} end)()`:`{${Z(g.properties)}}`;case"ObjectProperty":return`${A(g)} = ${L(g.value)}`;case"ArrayExpression":{const D=t.tagArrayExpression?"array":"";return pi(g.elements,"SpreadElement",1)?`(function() local ${Je} = ${D}{}; ${g.elements.map(E=>E.type=="SpreadElement"?`for _, v in ipairs(${L(E.argument)}) do ${Je}[#${Je} + 1] = v end`:`${Je}[#${Je} + 1] = ${L(E)}`).join(";")} return ${Je} end)()`:`${D}{${Z(g.elements)}}`}case"ForOfStatement":{const D=Fi(g);if(g.left.noPrefix=!0,((me=g.left.declarations[0])==null?void 0:me.id.type)=="ArrayPattern"){const O=si(g.body,go)?Je:go;return`for _, ${O} in ipairs(${L(g.right)}) do - local ${L(g.left)} = unpack(${O}); - ${L(g.body)} - ${D} end`}else return`for _, ${L(g.left)} in ipairs(${L(g.right)}) do - ${L(g.body)} - ${D} end`}case"ForInStatement":{const D=Fi(g);return g.left.noPrefix=!0,`for ${L(g.left)}, __ in pairs(${L(g.right)}) - do ${L(g.body)} - ${D} end`}case"LogicalExpression":{const D=zr[g.operator]||g.operator,O=L(g.left),E=L(g.right);let F;return D=="??"?F=`(function() - if ${O} == nil then - return ${E} - else - return ${O} - end - end)()`:F=`${O} ${D} ${E}`,(b=g.extra)!=null&&b.parenthesized?`(${F})`:`${F}`}case"ObjectMethod":{const D=A(g,g.asMember),O=P(g.params),E=L(g.body),F=Z(g.params);return` ${D} = function (${F}) ${O} ${E} end`}case"FunctionDeclaration":{const D=L(g.id),O=P(g.params),E=L(g.body),F=Z(g.params),le=g.params.length>0?", "+F:F;return t.tryTranslateClass&&D.match(/^[A-Z]/)&&pi(g.body,"ThisExpression")?`local ${D} = setmetatable({}, { - __call = function(t${le}) - local self = t:new(); - self:constructor(${F}); - return self; - end}) -${D}.__index = ${D} -function ${D}.new(cls) return setmetatable({}, cls) end -function ${D}:constructor(${F}) - ${O} - ${E} -end`:`local function ${D}(${F}) ${O} ${E} end`}case"ReturnStatement":return g.argument?`return ${L(g.argument)}`:"return;";case"ArrayPattern":return B(g);case"ObjectPattern":return $(g);case"ClassDeclaration":{const D=L(g.id),O=g.body.body.filter(Ee=>Ee.type==="ClassMethod"&&Ee.kind!=="constructor");g.superClass&&gs(O,Ee=>{Ee.type==="MemberExpression"&&Ee.object.type=="Super"&&(Ee.object.superClass=g.superClass)});const E=O.map(Ee=>{const re=L(Ee.key),W=P(Ee.params),_=Ot(re)?`${D}["${re}"] = function`:`function ${D}:${re}`,N=Ot(re)?Jr(Ee.params):"";return`${_}(${N}${Z(Ee.params)}) - ${W} - ${L(Ee.body)} - end`}).join(";"),F=g.body.body.filter(Ee=>Ee.type==="ClassProperty"&&Ee.static).map(Ee=>{const re=L(Ee.key);return Ot(re)?`${D}["${re}"] = ${L(Ee.value)}`:`${D}.${re} = ${L(Ee.value)}`}).join(";"),le=g.body.body.filter(Ee=>Ee.type==="ClassProperty"&&!Ee.static).map(Ee=>{const re=L(Ee.key);return Ot(re)?`["${re}"] = ${L(Ee.value)}`:`${re} = ${L(Ee.value)}`}).join(","),be=ic(g.body,Ee=>Ee.kind=="constructor"),ke=g.superClass?`__index = ${L(g.superClass)},`:"";if(be){g.superClass&&gs(be.body,N=>{N.type==="MemberExpression"&&N.object.type=="Super"&&(N.object.superClass=g.superClass),N.type=="CallExpression"&&N.callee.type=="Super"&&(N.callee={type:"MemberExpression",object:{type:"Super",superClass:g.superClass},property:{type:"Identifier",name:"constructor"}})});const Ee=P(be.params),re=L(be.body),W=Z(be.params),_=be.params.length>0?", "+W:W;return` local ${D} = setmetatable({}, { - ${ke} - __call = function(t${_}) - local self = t:new(); - self:constructor(${W}); - return self; - end}) - ${D}.__index = ${D} - ${F} - function ${D}.new(cls) return setmetatable({${le}}, cls) end - function ${D}:constructor(${W}) - ${Ee} - ${re} - end - ${E}`}else return` local ${D} = setmetatable({}, { - ${ke} - __call = function(t) - local self = t:new(); - self:constructor(); - return self; - end}) - ${D}.__index = ${D} - ${F} - function ${D}.new(cls) return setmetatable({${le}}, cls) end - function ${D}:constructor() end - ${E}`}case"ClassBody":return`${g.body.map(L).join(`, -`)}`;case"ClassProperty":return`${I(g.key)} = ${L(g.value)}`;case"ClassMethod":{const D=P(g.params);return g.params.unshift({type:"ThisExpression"}),g.static&&!si(g.body,"cls")&&!si(g.params,"cls")&&(bo(g.body),bo(g.params)),`${I(g.key)} = function(${Z(g.params)}) - ${D} ${L(g.body)} end`}case"OptionalCallExpression":{let D,O,E,F;return g.callee.type=="OptionalMemberExpression"?([E,F]=V(g),[D,O]=ee(g.callee),E=O):([E,F]=V(g),D=L(g.callee),O=D),D[0]=="#"&&(D=D.slice(1)+".length"),`(function() - local ${Je} = ${D} - if ${Je} == nil then - return nil - elseif type(${Je}) ~= 'function' then - error('${O} is not a function') - else - return ${E}(${F}) - end - end)()`}case"MemberExpression":{const D=L(g.object),O=L(g.property);return g.object.type=="Super"?`${D}.${O}`:O=="length"?"#"+D:Ot(O)?`${D}["${O}"]`:g.computed?t.index0To1&&((k=g.property)==null?void 0:k.type)=="NumericLiteral"&&g.property.value===0?`${D}[1]`:`${D}[${O}]`:`${D}.${O}`}case"OptionalMemberExpression":return ee(g)[0];case"ExpressionStatement":return g.expression.ExpressionStatement=!0,`${L(g.expression)}`;case"AssignmentExpression":{if(g.right.type=="FunctionExpression"&&g.left.type=="MemberExpression"&&g.left.object.type=="MemberExpression"&&((ne=g.left.object.property)==null?void 0:ne.name)=="prototype"){const O=P(g.right.params),E=L(g.left.property);if(Ot(E)){const F=`${L(g.left.object.object)}["${E}"]`,le=Jr(g.right.params);return`${F} = function(${le}${Z(g.right.params)}) - ${O} ${L(g.right.body)} end`}else return`function ${`${L(g.left.object.object)}:${E}`}(${Z(g.right.params)}) - ${O} ${L(g.right.body)} end`}const D=L(g.left);if(t.moduleExportsToReturn&&g.left.type=="MemberExpression"&&(D=="module.exports"||D.startsWith("module.exports.")||D.startsWith("module.exports[")))return D=="module.exports"?a=`return ${L(g.right)}`:(u=!0,s.push(`${Ps}${D.slice(14)} = ${L(g.right)}`)),"";if(g.right.type=="AssignmentExpression"){const O=L(g.left);return`${L(g.right)}; - local ${O} = ${L(g.right.left)}`}else{const O=g.operator;let E,F;return Xr(g.left.type)?(E=L(g.left)(),F=`unpack(${L(g.right)})`):(E=L(g.left),F=L(g.right)),O=="+="?`${E} = ${E} + ${F}`:O=="-="?`${E} = ${E} - ${F}`:O=="*="?`${E} = ${E} * ${F}`:O=="/="?`${E} = ${E} / ${F}`:O=="%="?`${E} = ${E} % ${F}`:O=="&&="?`${E} = ${E} and ${F}`:O=="||="?`${E} = ${E} or ${F}`:O=="&="?(l=!0,`${E} = bit.band(${E}, ${F})`):O=="|="?(l=!0,`${E} = bit.bor(${E}, ${F})`):O=="^="?(l=!0,`${E} = bit.bxor(${E}, ${F})`):O=="**="?`${E} = math.pow(${E}, ${F})`:O=="??="?`${E} = (function() - if ${E} == nil then - return ${F} - else - return ${E} - end - end)()`:`${E} ${O} ${F}`}}case"BreakStatement":return"break";case"ContinueStatement":return"goto continue";case"ThrowStatement":return g.argument.type=="NewExpression"?`error(${Z(g.argument.arguments)})`:`error(${L(g.argument)})`;case"NewExpression":return`${L(g.callee)}(${Z(g.arguments)})`;case"FunctionExpression":{const D=P(g.params);return`function(${Z(g.params)}) ${D} ${L(g.body)} end`}case"TryStatement":return t.renameCatchErrorIfNeeded&&g.handler.param&&L(g.handler.param)==="error"&&(si(g.handler,"_err")||Id(g.handler,"error","_err")),`local ok ${g.handler.param?" ,"+L(g.handler.param):""} = - pcall(function() ${L(g.block)} end); - if not ok then ${L(g.handler.body)} end`;case"UpdateExpression":{const D=L(g.argument),O=g.operator=="++"?"+":"-";return t.disableUpdateExpressionCallback&&g.ExpressionStatement?`${D} = ${D} ${O} 1`:`(function () ${D} = ${D} ${O} 1; return ${D} end)()`}case"WhileStatement":{const D=Fi(g);return`while ${L(g.test)} do - ${L(g.body)} - ${D} end`}case"ArrowFunctionExpression":{const D=P(g.params);return`function(${Z(g.params)}) ${D} ${g.body.type=="BlockStatement"?"":"return"} ${L(g.body)} end`}case"RestElement":return"...";case"ConditionalExpression":return`(function() - if ${L(g.test)} then return ${L(g.consequent)}; - else return ${L(g.alternate)}; end end)()`;case"RegExpLiteral":return`[=[${g.pattern}]=]`;case"NullLiteral":return"nil";case"TemplateLiteral":return`string.format([=[${g.quasis.map(L).join("%s")}]=], ${Z(g.expressions)})`;case"TemplateElement":return`${g.value.cooked}`;case"ForStatement":{const D=Fi(g);return g.update.type=="UpdateExpression"&&(g.update.ExpressionStatement=!0),`do - ${g.init?L(g.init):""} - while ${g.test?L(g.test):"1"} do - ${L(g.body)} - ${D} - ${L(g.update)} - end -end`}case"AssignmentPattern":return`${L(g.left)}`;case"SpreadElement":return`unpack(${L(g.argument)})`;case"Super":return g.superClass?L(g.superClass):"super";case"SequenceExpression":return`{${g.expressions.map(L).join(";")}}`;case"SwitchStatement":{_d(g);const D=si(g,To)?Je:To;return`repeat - local ${D} = ${L(g.discriminant)} - ${g.cases.map((O,E)=>{const F=Z(O.consequent,";");if(O.test){const le=O.testGroup?`${O.testGroup.map(be=>`${D} == ${L(be)}`).join(" or ")}`:`${D} == ${L(O.test)}`;return E===0?`if ${le} then ${F}`:`elseif ${le} then ${F}`}else return`else ${F}`}).join(` -`)} - end - until (false)`}case"ExportDefaultDeclaration":return u=!0,s.push(`${Ps}.default = ${L(g.declaration)}`),"";case"ExportNamedDeclaration":if(u=!0,g.declaration)if(g.declaration.type=="VariableDeclaration"){const D=g.declaration.declarations.map(L).map(E=>`local ${E}`).join(`; -`),O=g.declaration.declarations.map(E=>{const F=L(E.id);return`${Ps}.${F} = ${F}`});return s.push(...O),`${D}`}else if(((se=g.declaration)==null?void 0:se.type)=="FunctionDeclaration"){const D=L(g.declaration.id);return s.push(`${Ps}.${D} = ${D}`),`${L(g.declaration)}`}else return"";else if(g.specifiers.length>0){const D=O=>`${Ps}.${L(O.exported)} = ${L(O.local)}`;return s.push(...g.specifiers.map(D)),""}else return"";case"ImportDeclaration":{const D=G(g);return t.importStatementHoisting?(r.push(D),""):D}case"AwaitExpression":return`${L(g.argument)}`;default:return t.debug&&Sn("unknow node",g.type,g),""}}const oe=L(i);return u&&(n=`local ${Ps} = {}`,a=`return ${Ps}`),o&&r.unshift('local cjson = require("cjson")'),h&&r.unshift('local isarray = require("table.isarray")'),l&&r.unshift('local bit = require("bit")'),` - ${r.join(";")} - - ${n} - ${e.join(";")} - ${oe} - ${s.join(";")} - ${a}`}function Od(i,t){let e="";return e=Md(Pn(i),t),t.debug&&Sn(e),wd(e)}var rc={exports:{}};(function(i,t){(function(e,s){s()})(Gt,function(){function e(h,u){return typeof u=="undefined"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(h.type)?new Blob(["\uFEFF",h],{type:h.type}):h}function s(h,u,x){var P=new XMLHttpRequest;P.open("GET",h),P.responseType="blob",P.onload=function(){l(P.response,u,x)},P.onerror=function(){console.error("could not download file")},P.send()}function r(h){var u=new XMLHttpRequest;u.open("HEAD",h,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function n(h){try{h.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),h.dispatchEvent(u)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Gt=="object"&&Gt.global===Gt?Gt:void 0,o=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(h,u,x){var P=a.URL||a.webkitURL,I=document.createElement("a");u=u||h.name||"download",I.download=u,I.rel="noopener",typeof h=="string"?(I.href=h,I.origin===location.origin?n(I):r(I.href)?s(h,u,x):n(I,I.target="_blank")):(I.href=P.createObjectURL(h),setTimeout(function(){P.revokeObjectURL(I.href)},4e4),setTimeout(function(){n(I)},0))}:"msSaveOrOpenBlob"in navigator?function(h,u,x){if(u=u||h.name||"download",typeof h!="string")navigator.msSaveOrOpenBlob(e(h,x),u);else if(r(h))s(h,u,x);else{var P=document.createElement("a");P.href=h,P.target="_blank",setTimeout(function(){n(P)})}}:function(h,u,x,P){if(P=P||open("","_blank"),P&&(P.document.title=P.document.body.innerText="downloading..."),typeof h=="string")return s(h,u,x);var I=h.type==="application/octet-stream",A=/constructor/i.test(a.HTMLElement)||a.safari,G=/CriOS\/[\d]+/.test(navigator.userAgent);if((G||I&&A||o)&&typeof FileReader!="undefined"){var B=new FileReader;B.onloadend=function(){var ee=B.result;ee=G?ee:ee.replace(/^data:[^;]*;/,"data:attachment/file;"),P?P.location.href=ee:location=ee,P=null},B.readAsDataURL(h)}else{var $=a.URL||a.webkitURL,V=$.createObjectURL(h);P?P.location=V:location.href=V,P=null,setTimeout(function(){$.revokeObjectURL(V)},4e4)}});a.saveAs=l.saveAs=l,i.exports=l})})(rc);var Fd=rc.exports;const Dd="@xiangnanscu/js2lua",Bd="0.41.0",Rd="module",$d="Writing LuaJIT with the expressiveness of JavaScript.",jd="src/js2lua.mjs",Ud={js2lua:"bin/js2lua.js"},Vd={type:"git",url:"git+https://github.com/xiangnanscu/js2lua.git"},Hd="Nan Xiang",Gd="MIT",Wd={url:"https://github.com/xiangnanscu/js2lua/issues"},Kd="https://github.xnscu.com/js2lua/",qd={dev:"vite",build:"vite build",preview:"vite preview",commit:"git add . && git commit -am ",push:"yarn commit",postpush:"while true; do git push && { echo 'Git push succeeded'; break; } || echo 'Git push failed, retrying in 1 seconds'; sleep 1; done",pull:"while true; do git pull && { echo 'Git pull succeeded'; break; } || echo 'Git pull failed, retrying in 1 seconds'; sleep 1; done",prerelease:"npm --no-git-tag-version version minor && node ./makeDocs.js",release:"node makeDocs.js && push_option=release npm run push",rc:"yarn release",replace:"find . -type d \\( -name .git -o -name node_modules \\) -prune -o -type f -exec sed -i s/js2lua/field/g {} \\;",test:"node test.mjs"},zd={"@babel/parser":"^7.22.14","lua-fmt":"^2.6.0","lua-format":"^1.5.1","yargs-parser":"^21.1.1"},Jd={"@highlightjs/vue-plugin":"^2.1.0","@prettier/plugin-lua":"^0.0.3","@rushstack/eslint-patch":"^1.3.3","@vitejs/plugin-vue":"^2.3.3",bootstrap:"^5.1.3",eslint:"^8.47.0","eslint-plugin-vue":"^9.17.0","file-saver":"^2.0.5","highlight.js":"^11.5.1",prettier:"^2.8.8",sass:"^1.52.1","source-map-support":"^0.5.21",vite:"^2.9.9","vite-plugin-require-transform":"^1.0.21",vue:"^3.2.25","vue-eslint-parser":"^9.3.1",yargs:"^17.7.2"};var xo={name:Dd,version:Bd,type:Rd,description:$d,main:jd,bin:Ud,repository:Vd,author:Hd,license:Gd,bugs:Wd,homepage:Kd,scripts:qd,dependencies:zd,devDependencies:Jd},Xd=`module.exports.a = {}; -module.exports["b"] = {}; - -const c = 1; -const d = 2; -const e = 3; -`;const Yd={style:{"margin-bottom":"1em","text-align":"center"}},Zd=["title"],Qd={class:"row"},em={class:"col-2"},tm={class:"form-check"},sm=Re("label",{class:"form-check-label",for:"label-all",style:{color:"red"}}," show Js code ",-1),im={class:"form-check"},rm=Re("label",{class:"form-check-label",for:"label-all",style:{color:"red"}}," all ",-1),nm=["id","value"],am=["for"],om={class:"col-3"},lm={key:0,class:"col"},cm={class:"form-check-inline"},um={class:"form-check-label"},hm=["value"],pm={key:0},fm={key:1},dm={class:"col"},mm={class:"table table-bordered"},ym={colspan:"3"},gm=Re("h1",null,"take a look at features:",-1),Tm=["href"],bm={colspan:"3"},xm=["id"],Sm={class:"td-wrap"},Pm=["onUpdate:modelValue"],Em={__name:"App",setup(i){const t=Es(!1),e=Es(!1);function s($,V){try{return Od($,V)}catch(ee){return console.error(ee),`-- ERROR: ${ee.message}`}}function r($,V){try{return Pn($,V)}catch(ee){return console.error(ee),Pn(`throw new Error("ERROR: ${ee.message}")`)}}const n=Es(Xd),a=Object.keys(xn),o=Es(Object.entries(xn).filter(([$,V])=>V).map(([$,V])=>$)),l=Kt(()=>Object.fromEntries(a.map($=>[$,!!o.value.includes($)]))),h={"../test/assignment.mjs":`let u, v; -[u, v] = [1, 2] -const foo = 1 -const object = { o1: 'o1', o2: 'o2' }, array = [1, 2] -// eslint-disable-next-line no-undef -const h1 = h2 = h3 = 'title' -const { a, b: bAlias, ...rest } = { a: 1, b: 2, c: 3, d: 4 } -const [x, y, ...others] = [1, 2, 3, 4] -const e = 1, f = 'a', { o1, o2: o22 } = object, [a1, a2] = array`,"../test/class.mjs":`class BasePosition { - say(word = 'base haha') { - console.log(\`Base say: \${word}\`) - } -} -class Position extends BasePosition { - static insCount = 0 - start = 0 - end = 1; - constructor(name, x = 1, y = 2, ...numbers) { - super() - Position.insCount++ - this.name = name - this.x = x - this.y = y - this.numbers = numbers - } - static echoInsCount() { - console.log(this.insCount) - } - echoPosition() { - console.log(this.name, this.x, this.y) - } - echoNumbersLength() { - console.log('numbers length:', this.name, this.numbers.length) - } - say(word = 'haha') { - super.say(word) - console.log(\`\${this.name} say: \${word}, first number is \${this.numbers[0]}\`) - } -} - -const p1 = new Position('p1', 1, 2, 3, 4) -Position.echoInsCount() -const p2 = new Position('p2', 10, 20, 30, 40) -Position.echoInsCount() -p1.echoPosition() -p2.echoPosition() -p1.say('hello') -p1.say.call(p2) -p1.echoNumbersLength('a', 'b', 'c') -p1.echoNumbersLength.apply(p2, [1, 2])`,"../test/export.mjs":`module.exports.a = {} -module.exports['b'] = {} - -const c = 1 -const d = 2 -const e = 3 - -export default { c } -export { d } -export { e as f } -export const g = 1, h = 2; -export function foo() { }`,"../test/function.mjs":`const foo = { bar() { } } -const bar = 'bar' -// translate foo.bar() => foo:bar() -foo.bar() -foo[bar]() -foo[1]() -foo['bar']() -foo['bar' || 'foo'](); -[].concat([1, 2, 3]); -/a/.exec(); -foo.map(e => { return e.name }) -foo.map(e => e.name) -foo.map(function (e) { return e.name }) -const func1 = (x = 1, y = 2, ...args) => [x, y, ...args] - -function func2(x = [], y = {}, ...args) { - return { x, y, ...args } -} - -// first uppercase is treated as class -function Echo(x = 1, y = 2, ...args) { - this.x = x - this.y = y - this.args = args -} -// xx.prototype.yy => xx:yy -Echo.prototype.echoX = function () { - console.log(this.x) -} -Echo.prototype.echoY = function () { - console.log(this.y) -}`,"../test/if.mjs":`const a = 1 -if (a === 1) { - print(a) -} -if (a) { - print(a) -} -if (!a) { - print(a) -} -if (a === 1) { - print(a) -} else { - print(2) -} - -if (a === 1) { - print(a) -} else if (a == 2) { - print(2) -} else { - print(3) -}`,"../test/import.mjs":`import g from "bar" -import { foo } from "bar" -import { a as b } from "bar" -import * as c from "bar" -import d, { e as eAlias, f } from "bar"`,"../test/index0To1.mjs":`const a = [] -const i = a[0]`,"../test/keywords.mjs":`// lua keywords -const Obj = { and: 'real' } - -Obj.prototype.f1 = function () { } -Obj.prototype.end = function () { } -print(Obj.end) - -const arr = [true, false]`,"../test/loop.mjs":`const arr = []; -for (let i = 0; i <= arr.length; i++) { - print(i); -} -for (i = 0; i < 10; i = i + 2) { - print(1); -} -for (const e of arr) { - print(e); - break; -} -for (const [a, b] of arr) { - if (b === 1) { - continue; - } - print(a); -} - -for (const key in arr) { - print(key); -} - -while (1) { - print("a"); -} -`,"../test/object.mjs":`const foo = 'bar' -const d1 = { - foo: 1, - [foo]: 2, - "k3": 3, - [5]: 5, - // "true":7, - [true]: 6 -} -const d2 = { end: 1, end1: 2 } -const d3 = { end: 1, end1: 2, ...d2, and: 3 } -const a = { ["true"]: 1, [true]: 2 } -const d = { - ...d3, - foo: 1, - end() { }, - end2() { }, -}; - -// local a = { ["true"] = 1, [true] = 2 } -// print(a['true'], a[true])`,"../test/operator.mjs":`const obj = {} -let a = 1 -typeof a -print(a instanceof obj) -const x = a ? 1 : 2 -a = !!a -const k = obj?.b; -const o = a?.[k]?.['c']?.e; -obj.func?.(1, ...[1, 2, 3]); -a.b?.c?.(); -a ?? 'hello'; -obj.n ??= 100; -print(a && x || k) -print(a && (x || k)) -a += 1 -a -= 1 -a *= 1 -a /= 1 -a %= 1 -a &&= k -a ||= k -a >> 2 -2 << a -a & 2 -a &= 2 -a | 2 -a |= 2 -a ^ 2 -a ^= 2 -a ** 2 -a **= 2 -~a`,"../test/optionalNullish.mjs":` -// optional -const a = 1, b = 'foo', obj = {}, args = [] - -// basic -const m = a?.b; - -//chain -const o = a?.[b]['c']?.e; - -// optional call -obj.func?.(1, ...args); - -// chain optional call -a.b?.c.d?.(); - -// nullish -a ?? 'hello'; -const d = {} -d.n ??= 100;`,"../test/others.mjs":`const foo = {} -delete foo.bar -print(foo.length) -const URL_PATTERN = /^https?:\\/\\/.*?\\// - -const constraints = { - 'foo': 'baz', - foo: 'bar', - ...route.opts.constraints, - [httpMethodStrategy.name]: route.method -}`,"../test/spread.mjs":`const a = [1, 2, 3] -const d = { x: 1, y: 2, z: 3 } -const [v1, v2, ...v] = [4, 5, ...a] -const { x: k1, y: k2, ...k } = { ...d, foo: 'bar' }`,"../test/stringTemplate.mjs":"const foo = 5\nconst s = `1.${2}.3.${'4'}.${foo}`","../test/switch.mjs":`const c = 'v2' - -switch (c) { - case 'v1': - print(1) - break; - default: - break; -} - -switch (c) { - case 'v1': - print(1) - break - case 'v2': - case 'v3': - print(2) - break - default: - break; -}`,"../test/throw.mjs":`const test = '' -if (test) { - throw new Error('!') -} -if (test) { - throw new CustomError({ message: "custom error" }) -} -if (test) { - throw '!!' -} -if (test) { - throw { message: 'bare object error' } -}`,"../test/transform.mjs":`const a = { b: '' } -String(1) -a.b.toString() -JSON.stringify({}) -JSON.parse('{}') -Number('2') -parseInt('2') -parseFloat('1') -Array.isArray(1)`,"../test/trycatch.mjs":`try { - const res = parseInt('fooo') - print(res) -} catch (error) { - // rename error to _err to prevent shadow lua's error function name - console.log(error) -} - -try { - const res = parseInt('fooo') - print(res) -} catch (error1) { - console.log(error1) -} -`,"../test/updateExpression.mjs":`// NOTE: both i++ and ++i means ++i to lua, don't use i++ in expression context! -// in statement context, use i = i ? 1 -i++; ---i; -// otherwise use a callback -let a = --i -let b = i++ -if (--i) { - print(i) -} - -`};for(const[$,V]of Object.entries(h))h[$]=Es(V);const u=dr([]);for(const $ in h){const V=h[$],ee=Kt(()=>s(V.value,l.value)),Z=$.match(/\/(\w+)\.mjs$/)[1];u.push({name:Z,jscode:V,luacode:ee})}const x=Kt(()=>s(n.value,l.value)),P=Kt(()=>r(n.value,l.value));function I(){G("luacode")}function A(){Fd.saveAs(new Blob([x.value]),"test11.lua")}function G($){if(window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),document.selection){const V=document.body.createTextRange();V.moveToElementText(document.getElementById($)),V.select().createTextRange(),document.execCommand("copy")}else if(window.getSelection){const V=document.createRange();V.selectNode(document.getElementById($)),window.getSelection().addRange(V),document.execCommand("copy")}}const B=Es(!1);return oi(B,$=>{$?o.value=[...a]:o.value=[]}),($,V)=>{const ee=Eu("highlightjs");return wt(),_t("div",null,[Re("h1",Yd,[Re("a",{href:"https://github.com/xiangnanscu/js2lua",title:ji(xo).version},Js(ji(xo).name),9,Zd),hn(" - Writing LuaJIT with the expressiveness of JavaScript. ")]),Re("div",Qd,[Re("div",em,[Re("div",{class:di({"error-wrapper":$.error})},[Re("div",tm,[Xs(Re("input",{class:"form-check-input",type:"checkbox",id:"label-all","onUpdate:modelValue":V[0]||(V[0]=Z=>e.value=Z)},null,512),[[Vr,e.value]]),sm]),Re("div",im,[Xs(Re("input",{class:"form-check-input",type:"checkbox",id:"label-all","onUpdate:modelValue":V[1]||(V[1]=Z=>B.value=Z)},null,512),[[Vr,B.value]]),rm]),(wt(!0),_t(Pt,null,Dr(ji(a),(Z,L)=>(wt(),_t("div",{key:L,class:di({"form-check":!0})},[Xs(Re("input",{class:"form-check-input",type:"checkbox",id:"label"+L,"onUpdate:modelValue":V[2]||(V[2]=oe=>o.value=oe),value:Z},null,8,nm),[[Vr,o.value]]),Re("label",{class:"form-check-label",for:"label"+L},Js(Z),9,am)]))),128))],2)]),Re("div",om,[Re("button",{onClick:V[3]||(V[3]=Z=>n.value="")},"clear textarea"),Xs(Re("textarea",{rows:"10",style:{height:"500px"},class:"form-control","onUpdate:modelValue":V[4]||(V[4]=Z=>n.value=Z)},null,512),[[qa,n.value]])]),e.value?(wt(),_t("div",lm,[Re("div",cm,[Re("label",um,[Re("input",{onInput:V[5]||(V[5]=Z=>t.value=!t.value),value:t.value,type:"checkbox",class:"form-check-input"},null,40,hm),hn("show js ast")])]),t.value?(wt(),_t("div",pm,[Re("pre",null,Js(P.value),1)])):(wt(),_t("div",fm,[at(ee,{language:"javascript",code:n.value},null,8,["code"])]))])):dh("",!0),Re("div",dm,[Re("button",{onClick:I},"copy lua"),Re("button",{onClick:A},"save as"),at(ee,{id:"luacode",language:"lua",code:x.value},null,8,["code"])])]),Re("table",mm,[Re("thead",null,[Re("tr",null,[Re("th",ym,[gm,(wt(!0),_t(Pt,null,Dr(u,(Z,L)=>(wt(),_t("a",{key:L,class:"link-block",href:`#${Z.name}`},Js(Z.name),9,Tm))),128))])])]),Re("tbody",null,[(wt(!0),_t(Pt,null,Dr(u,(Z,L)=>(wt(),_t(Pt,{key:L},[Re("tr",null,[Re("td",bm,[Re("h3",{id:Z.name},Js(Z.name),9,xm)])]),Re("tr",null,[Re("td",Sm,[Xs(Re("textarea",{class:"td-textarea form-control","onUpdate:modelValue":oe=>Z.jscode=oe},null,8,Pm),[[qa,Z.jscode]])]),Re("td",null,[at(ee,{language:"javascript",code:Z.jscode},null,8,["code"])]),Re("td",null,[at(ee,{language:"lua",code:Z.luacode},null,8,["code"])])])],64))),128))])])])}}};function nc(i){return i instanceof Map?i.clear=i.delete=i.set=function(){throw new Error("map is read-only")}:i instanceof Set&&(i.add=i.clear=i.delete=function(){throw new Error("set is read-only")}),Object.freeze(i),Object.getOwnPropertyNames(i).forEach(t=>{const e=i[t],s=typeof e;(s==="object"||s==="function")&&!Object.isFrozen(e)&&nc(e)}),i}class So{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function ac(i){return i.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function us(i,...t){const e=Object.create(null);for(const s in i)e[s]=i[s];return t.forEach(function(s){for(const r in s)e[r]=s[r]}),e}const Am="",Po=i=>!!i.scope,Cm=(i,{prefix:t})=>{if(i.startsWith("language:"))return i.replace("language:","language-");if(i.includes(".")){const e=i.split(".");return[`${t}${e.shift()}`,...e.map((s,r)=>`${s}${"_".repeat(r+1)}`)].join(" ")}return`${t}${i}`};class wm{constructor(t,e){this.buffer="",this.classPrefix=e.classPrefix,t.walk(this)}addText(t){this.buffer+=ac(t)}openNode(t){if(!Po(t))return;const e=Cm(t.scope,{prefix:this.classPrefix});this.span(e)}closeNode(t){!Po(t)||(this.buffer+=Am)}value(){return this.buffer}span(t){this.buffer+=``}}const Eo=(i={})=>{const t={children:[]};return Object.assign(t,i),t};class aa{constructor(){this.rootNode=Eo(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const e=Eo({scope:t});this.add(e),this.stack.push(e)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,e){return typeof e=="string"?t.addText(e):e.children&&(t.openNode(e),e.children.forEach(s=>this._walk(t,s)),t.closeNode(e)),t}static _collapse(t){typeof t!="string"&&(!t.children||(t.children.every(e=>typeof e=="string")?t.children=[t.children.join("")]:t.children.forEach(e=>{aa._collapse(e)})))}}class km extends aa{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,e){const s=t.root;e&&(s.scope=`language:${e}`),this.add(s)}toHTML(){return new wm(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Si(i){return i?typeof i=="string"?i:i.source:null}function oc(i){return Ms("(?=",i,")")}function Lm(i){return Ms("(?:",i,")*")}function vm(i){return Ms("(?:",i,")?")}function Ms(...i){return i.map(e=>Si(e)).join("")}function Im(i){const t=i[i.length-1];return typeof t=="object"&&t.constructor===Object?(i.splice(i.length-1,1),t):{}}function oa(...i){const t=Im(i);return"("+(t.capture?"":"?:")+i.map(s=>Si(s)).join("|")+")"}function lc(i){return new RegExp(i.toString()+"|").exec("").length-1}function Nm(i,t){const e=i&&i.exec(t);return e&&e.index===0}const _m=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function la(i,{joinWith:t}){let e=0;return i.map(s=>{e+=1;const r=e;let n=Si(s),a="";for(;n.length>0;){const o=_m.exec(n);if(!o){a+=n;break}a+=n.substring(0,o.index),n=n.substring(o.index+o[0].length),o[0][0]==="\\"&&o[1]?a+="\\"+String(Number(o[1])+r):(a+=o[0],o[0]==="("&&e++)}return a}).map(s=>`(${s})`).join(t)}const Mm=/\b\B/,cc="[a-zA-Z]\\w*",ca="[a-zA-Z_]\\w*",uc="\\b\\d+(\\.\\d+)?",hc="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",pc="\\b(0b[01]+)",Om="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Fm=(i={})=>{const t=/^#![ ]*\//;return i.binary&&(i.begin=Ms(t,/.*\b/,i.binary,/\b.*/)),us({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,s)=>{e.index!==0&&s.ignoreMatch()}},i)},Pi={begin:"\\\\[\\s\\S]",relevance:0},Dm={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Pi]},Bm={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Pi]},Rm={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},kr=function(i,t,e={}){const s=us({scope:"comment",begin:i,end:t,contains:[]},e);s.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const r=oa("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return s.contains.push({begin:Ms(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},$m=kr("//","$"),jm=kr("/\\*","\\*/"),Um=kr("#","$"),Vm={scope:"number",begin:uc,relevance:0},Hm={scope:"number",begin:hc,relevance:0},Gm={scope:"number",begin:pc,relevance:0},Wm={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Pi,{begin:/\[/,end:/\]/,relevance:0,contains:[Pi]}]},Km={scope:"title",begin:cc,relevance:0},qm={scope:"title",begin:ca,relevance:0},zm={begin:"\\.\\s*"+ca,relevance:0},Jm=function(i){return Object.assign(i,{"on:begin":(t,e)=>{e.data._beginMatch=t[1]},"on:end":(t,e)=>{e.data._beginMatch!==t[1]&&e.ignoreMatch()}})};var Di=Object.freeze({__proto__:null,APOS_STRING_MODE:Dm,BACKSLASH_ESCAPE:Pi,BINARY_NUMBER_MODE:Gm,BINARY_NUMBER_RE:pc,COMMENT:kr,C_BLOCK_COMMENT_MODE:jm,C_LINE_COMMENT_MODE:$m,C_NUMBER_MODE:Hm,C_NUMBER_RE:hc,END_SAME_AS_BEGIN:Jm,HASH_COMMENT_MODE:Um,IDENT_RE:cc,MATCH_NOTHING_RE:Mm,METHOD_GUARD:zm,NUMBER_MODE:Vm,NUMBER_RE:uc,PHRASAL_WORDS_MODE:Rm,QUOTE_STRING_MODE:Bm,REGEXP_MODE:Wm,RE_STARTERS_RE:Om,SHEBANG:Fm,TITLE_MODE:Km,UNDERSCORE_IDENT_RE:ca,UNDERSCORE_TITLE_MODE:qm});function Xm(i,t){i.input[i.index-1]==="."&&t.ignoreMatch()}function Ym(i,t){i.className!==void 0&&(i.scope=i.className,delete i.className)}function Zm(i,t){!t||!i.beginKeywords||(i.begin="\\b("+i.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",i.__beforeBegin=Xm,i.keywords=i.keywords||i.beginKeywords,delete i.beginKeywords,i.relevance===void 0&&(i.relevance=0))}function Qm(i,t){!Array.isArray(i.illegal)||(i.illegal=oa(...i.illegal))}function ey(i,t){if(!!i.match){if(i.begin||i.end)throw new Error("begin & end are not supported with match");i.begin=i.match,delete i.match}}function ty(i,t){i.relevance===void 0&&(i.relevance=1)}const sy=(i,t)=>{if(!i.beforeMatch)return;if(i.starts)throw new Error("beforeMatch cannot be used with starts");const e=Object.assign({},i);Object.keys(i).forEach(s=>{delete i[s]}),i.keywords=e.keywords,i.begin=Ms(e.beforeMatch,oc(e.begin)),i.starts={relevance:0,contains:[Object.assign(e,{endsParent:!0})]},i.relevance=0,delete e.beforeMatch},iy=["of","and","for","in","not","or","if","then","parent","list","value"],ry="keyword";function fc(i,t,e=ry){const s=Object.create(null);return typeof i=="string"?r(e,i.split(" ")):Array.isArray(i)?r(e,i):Object.keys(i).forEach(function(n){Object.assign(s,fc(i[n],t,n))}),s;function r(n,a){t&&(a=a.map(o=>o.toLowerCase())),a.forEach(function(o){const l=o.split("|");s[l[0]]=[n,ny(l[0],l[1])]})}}function ny(i,t){return t?Number(t):ay(i)?0:1}function ay(i){return iy.includes(i.toLowerCase())}const Ao={},vs=i=>{console.error(i)},Co=(i,...t)=>{console.log(`WARN: ${i}`,...t)},Fs=(i,t)=>{Ao[`${i}/${t}`]||(console.log(`Deprecated as of ${i}. ${t}`),Ao[`${i}/${t}`]=!0)},or=new Error;function dc(i,t,{key:e}){let s=0;const r=i[e],n={},a={};for(let o=1;o<=t.length;o++)a[o+s]=r[o],n[o+s]=!0,s+=lc(t[o-1]);i[e]=a,i[e]._emit=n,i[e]._multi=!0}function oy(i){if(!!Array.isArray(i.begin)){if(i.skip||i.excludeBegin||i.returnBegin)throw vs("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),or;if(typeof i.beginScope!="object"||i.beginScope===null)throw vs("beginScope must be object"),or;dc(i,i.begin,{key:"beginScope"}),i.begin=la(i.begin,{joinWith:""})}}function ly(i){if(!!Array.isArray(i.end)){if(i.skip||i.excludeEnd||i.returnEnd)throw vs("skip, excludeEnd, returnEnd not compatible with endScope: {}"),or;if(typeof i.endScope!="object"||i.endScope===null)throw vs("endScope must be object"),or;dc(i,i.end,{key:"endScope"}),i.end=la(i.end,{joinWith:""})}}function cy(i){i.scope&&typeof i.scope=="object"&&i.scope!==null&&(i.beginScope=i.scope,delete i.scope)}function uy(i){cy(i),typeof i.beginScope=="string"&&(i.beginScope={_wrap:i.beginScope}),typeof i.endScope=="string"&&(i.endScope={_wrap:i.endScope}),oy(i),ly(i)}function hy(i){function t(a,o){return new RegExp(Si(a),"m"+(i.case_insensitive?"i":"")+(i.unicodeRegex?"u":"")+(o?"g":""))}class e{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(o,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,o]),this.matchAt+=lc(o)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const o=this.regexes.map(l=>l[1]);this.matcherRe=t(la(o,{joinWith:"|"}),!0),this.lastIndex=0}exec(o){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(o);if(!l)return null;const h=l.findIndex((x,P)=>P>0&&x!==void 0),u=this.matchIndexes[h];return l.splice(0,h),Object.assign(l,u)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(o){if(this.multiRegexes[o])return this.multiRegexes[o];const l=new e;return this.rules.slice(o).forEach(([h,u])=>l.addRule(h,u)),l.compile(),this.multiRegexes[o]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(o,l){this.rules.push([o,l]),l.type==="begin"&&this.count++}exec(o){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let h=l.exec(o);if(this.resumingScanAtSamePosition()&&!(h&&h.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,h=u.exec(o)}return h&&(this.regexIndex+=h.position+1,this.regexIndex===this.count&&this.considerAll()),h}}function r(a){const o=new s;return a.contains.forEach(l=>o.addRule(l.begin,{rule:l,type:"begin"})),a.terminatorEnd&&o.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&o.addRule(a.illegal,{type:"illegal"}),o}function n(a,o){const l=a;if(a.isCompiled)return l;[Ym,ey,uy,sy].forEach(u=>u(a,o)),i.compilerExtensions.forEach(u=>u(a,o)),a.__beforeBegin=null,[Zm,Qm,ty].forEach(u=>u(a,o)),a.isCompiled=!0;let h=null;return typeof a.keywords=="object"&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),h=a.keywords.$pattern,delete a.keywords.$pattern),h=h||/\w+/,a.keywords&&(a.keywords=fc(a.keywords,i.case_insensitive)),l.keywordPatternRe=t(h,!0),o&&(a.begin||(a.begin=/\B|\b/),l.beginRe=t(l.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(l.endRe=t(l.end)),l.terminatorEnd=Si(l.end)||"",a.endsWithParent&&o.terminatorEnd&&(l.terminatorEnd+=(a.end?"|":"")+o.terminatorEnd)),a.illegal&&(l.illegalRe=t(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(u){return py(u==="self"?a:u)})),a.contains.forEach(function(u){n(u,l)}),a.starts&&n(a.starts,o),l.matcher=r(l),l}if(i.compilerExtensions||(i.compilerExtensions=[]),i.contains&&i.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return i.classNameAliases=us(i.classNameAliases||{}),n(i)}function mc(i){return i?i.endsWithParent||mc(i.starts):!1}function py(i){return i.variants&&!i.cachedVariants&&(i.cachedVariants=i.variants.map(function(t){return us(i,{variants:null},t)})),i.cachedVariants?i.cachedVariants:mc(i)?us(i,{starts:i.starts?us(i.starts):null}):Object.isFrozen(i)?us(i):i}var fy="11.9.0";class dy extends Error{constructor(t,e){super(t),this.name="HTMLInjectionError",this.html=e}}const Yr=ac,wo=us,ko=Symbol("nomatch"),my=7,yc=function(i){const t=Object.create(null),e=Object.create(null),s=[];let r=!0;const n="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let o={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:km};function l(E){return o.noHighlightRe.test(E)}function h(E){let F=E.className+" ";F+=E.parentNode?E.parentNode.className:"";const le=o.languageDetectRe.exec(F);if(le){const be=fe(le[1]);return be||(Co(n.replace("{}",le[1])),Co("Falling back to no-highlight mode for this block.",E)),be?le[1]:"no-highlight"}return F.split(/\s+/).find(be=>l(be)||fe(be))}function u(E,F,le){let be="",ke="";typeof F=="object"?(be=E,le=F.ignoreIllegals,ke=F.language):(Fs("10.7.0","highlight(lang, code, ...args) has been deprecated."),Fs("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),ke=E,be=F),le===void 0&&(le=!0);const Ee={code:be,language:ke};D("before:highlight",Ee);const re=Ee.result?Ee.result:x(Ee.language,Ee.code,le);return re.code=Ee.code,D("after:highlight",re),re}function x(E,F,le,be){const ke=Object.create(null);function Ee(te,he){return te.keywords[he]}function re(){if(!C.keywords){z.addText(q);return}let te=0;C.keywordPatternRe.lastIndex=0;let he=C.keywordPatternRe.exec(q),Se="";for(;he;){Se+=q.substring(te,he.index);const Le=f.case_insensitive?he[0].toLowerCase():he[0],Me=Ee(C,Le);if(Me){const[We,Nt]=Me;if(z.addText(Se),Se="",ke[Le]=(ke[Le]||0)+1,ke[Le]<=my&&(de+=Nt),We.startsWith("_"))Se+=he[0];else{const ht=f.classNameAliases[We]||We;N(he[0],ht)}}else Se+=he[0];te=C.keywordPatternRe.lastIndex,he=C.keywordPatternRe.exec(q)}Se+=q.substring(te),z.addText(Se)}function W(){if(q==="")return;let te=null;if(typeof C.subLanguage=="string"){if(!t[C.subLanguage]){z.addText(q);return}te=x(C.subLanguage,q,!0,K[C.subLanguage]),K[C.subLanguage]=te._top}else te=I(q,C.subLanguage.length?C.subLanguage:null);C.relevance>0&&(de+=te.relevance),z.__addSublanguage(te._emitter,te.language)}function _(){C.subLanguage!=null?W():re(),q=""}function N(te,he){te!==""&&(z.startScope(he),z.addText(te),z.endScope())}function U(te,he){let Se=1;const Le=he.length-1;for(;Se<=Le;){if(!te._emit[Se]){Se++;continue}const Me=f.classNameAliases[te[Se]]||te[Se],We=he[Se];Me?N(We,Me):(q=We,re(),q=""),Se++}}function H(te,he){return te.scope&&typeof te.scope=="string"&&z.openNode(f.classNameAliases[te.scope]||te.scope),te.beginScope&&(te.beginScope._wrap?(N(q,f.classNameAliases[te.beginScope._wrap]||te.beginScope._wrap),q=""):te.beginScope._multi&&(U(te.beginScope,he),q="")),C=Object.create(te,{parent:{value:C}}),C}function p(te,he,Se){let Le=Nm(te.endRe,Se);if(Le){if(te["on:end"]){const Me=new So(te);te["on:end"](he,Me),Me.isMatchIgnored&&(Le=!1)}if(Le){for(;te.endsParent&&te.parent;)te=te.parent;return te}}if(te.endsWithParent)return p(te.parent,he,Se)}function j(te){return C.matcher.regexIndex===0?(q+=te[0],1):(xe=!0,0)}function R(te){const he=te[0],Se=te.rule,Le=new So(Se),Me=[Se.__beforeBegin,Se["on:begin"]];for(const We of Me)if(!!We&&(We(te,Le),Le.isMatchIgnored))return j(he);return Se.skip?q+=he:(Se.excludeBegin&&(q+=he),_(),!Se.returnBegin&&!Se.excludeBegin&&(q=he)),H(Se,te),Se.returnBegin?0:he.length}function M(te){const he=te[0],Se=F.substring(te.index),Le=p(C,te,Se);if(!Le)return ko;const Me=C;C.endScope&&C.endScope._wrap?(_(),N(he,C.endScope._wrap)):C.endScope&&C.endScope._multi?(_(),U(C.endScope,te)):Me.skip?q+=he:(Me.returnEnd||Me.excludeEnd||(q+=he),_(),Me.excludeEnd&&(q=he));do C.scope&&z.closeNode(),!C.skip&&!C.subLanguage&&(de+=C.relevance),C=C.parent;while(C!==Le.parent);return Le.starts&&H(Le.starts,te),Me.returnEnd?0:he.length}function d(){const te=[];for(let he=C;he!==f;he=he.parent)he.scope&&te.unshift(he.scope);te.forEach(he=>z.openNode(he))}let T={};function c(te,he){const Se=he&&he[0];if(q+=te,Se==null)return _(),0;if(T.type==="begin"&&he.type==="end"&&T.index===he.index&&Se===""){if(q+=F.slice(he.index,he.index+1),!r){const Le=new Error(`0 width match regex (${E})`);throw Le.languageName=E,Le.badRule=T.rule,Le}return 1}if(T=he,he.type==="begin")return R(he);if(he.type==="illegal"&&!le){const Le=new Error('Illegal lexeme "'+Se+'" for mode "'+(C.scope||"")+'"');throw Le.mode=C,Le}else if(he.type==="end"){const Le=M(he);if(Le!==ko)return Le}if(he.type==="illegal"&&Se==="")return 1;if(ae>1e5&&ae>he.index*3)throw new Error("potential infinite loop, way more iterations than matches");return q+=Se,Se.length}const f=fe(E);if(!f)throw vs(n.replace("{}",E)),new Error('Unknown language: "'+E+'"');const y=hy(f);let S="",C=be||y;const K={},z=new o.__emitter(o);d();let q="",de=0,pe=0,ae=0,xe=!1;try{if(f.__emitTokens)f.__emitTokens(F,z);else{for(C.matcher.considerAll();;){ae++,xe?xe=!1:C.matcher.considerAll(),C.matcher.lastIndex=pe;const te=C.matcher.exec(F);if(!te)break;const he=F.substring(pe,te.index),Se=c(he,te);pe=te.index+Se}c(F.substring(pe))}return z.finalize(),S=z.toHTML(),{language:E,value:S,relevance:de,illegal:!1,_emitter:z,_top:C}}catch(te){if(te.message&&te.message.includes("Illegal"))return{language:E,value:Yr(F),illegal:!0,relevance:0,_illegalBy:{message:te.message,index:pe,context:F.slice(pe-100,pe+100),mode:te.mode,resultSoFar:S},_emitter:z};if(r)return{language:E,value:Yr(F),illegal:!1,relevance:0,errorRaised:te,_emitter:z,_top:C};throw te}}function P(E){const F={value:Yr(E),illegal:!1,relevance:0,_top:a,_emitter:new o.__emitter(o)};return F._emitter.addText(E),F}function I(E,F){F=F||o.languages||Object.keys(t);const le=P(E),be=F.filter(fe).filter(b).map(_=>x(_,E,!1));be.unshift(le);const ke=be.sort((_,N)=>{if(_.relevance!==N.relevance)return N.relevance-_.relevance;if(_.language&&N.language){if(fe(_.language).supersetOf===N.language)return 1;if(fe(N.language).supersetOf===_.language)return-1}return 0}),[Ee,re]=ke,W=Ee;return W.secondBest=re,W}function A(E,F,le){const be=F&&e[F]||le;E.classList.add("hljs"),E.classList.add(`language-${be}`)}function G(E){let F=null;const le=h(E);if(l(le))return;if(D("before:highlightElement",{el:E,language:le}),E.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",E);return}if(E.children.length>0&&(o.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(E)),o.throwUnescapedHTML))throw new dy("One of your code blocks includes unescaped HTML.",E.innerHTML);F=E;const be=F.textContent,ke=le?u(be,{language:le,ignoreIllegals:!0}):I(be);E.innerHTML=ke.value,E.dataset.highlighted="yes",A(E,le,ke.language),E.result={language:ke.language,re:ke.relevance,relevance:ke.relevance},ke.secondBest&&(E.secondBest={language:ke.secondBest.language,relevance:ke.secondBest.relevance}),D("after:highlightElement",{el:E,result:ke,text:be})}function B(E){o=wo(o,E)}const $=()=>{Z(),Fs("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function V(){Z(),Fs("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let ee=!1;function Z(){if(document.readyState==="loading"){ee=!0;return}document.querySelectorAll(o.cssSelector).forEach(G)}function L(){ee&&Z()}typeof window!="undefined"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",L,!1);function oe(E,F){let le=null;try{le=F(i)}catch(be){if(vs("Language definition for '{}' could not be registered.".replace("{}",E)),r)vs(be);else throw be;le=a}le.name||(le.name=E),t[E]=le,le.rawDefinition=F.bind(null,i),le.aliases&&me(le.aliases,{languageName:E})}function Fe(E){delete t[E];for(const F of Object.keys(e))e[F]===E&&delete e[F]}function g(){return Object.keys(t)}function fe(E){return E=(E||"").toLowerCase(),t[E]||t[e[E]]}function me(E,{languageName:F}){typeof E=="string"&&(E=[E]),E.forEach(le=>{e[le.toLowerCase()]=F})}function b(E){const F=fe(E);return F&&!F.disableAutodetect}function k(E){E["before:highlightBlock"]&&!E["before:highlightElement"]&&(E["before:highlightElement"]=F=>{E["before:highlightBlock"](Object.assign({block:F.el},F))}),E["after:highlightBlock"]&&!E["after:highlightElement"]&&(E["after:highlightElement"]=F=>{E["after:highlightBlock"](Object.assign({block:F.el},F))})}function ne(E){k(E),s.push(E)}function se(E){const F=s.indexOf(E);F!==-1&&s.splice(F,1)}function D(E,F){const le=E;s.forEach(function(be){be[le]&&be[le](F)})}function O(E){return Fs("10.7.0","highlightBlock will be removed entirely in v12.0"),Fs("10.7.0","Please use highlightElement now."),G(E)}Object.assign(i,{highlight:u,highlightAuto:I,highlightAll:Z,highlightElement:G,highlightBlock:O,configure:B,initHighlighting:$,initHighlightingOnLoad:V,registerLanguage:oe,unregisterLanguage:Fe,listLanguages:g,getLanguage:fe,registerAliases:me,autoDetection:b,inherit:wo,addPlugin:ne,removePlugin:se}),i.debugMode=function(){r=!1},i.safeMode=function(){r=!0},i.versionString=fy,i.regex={concat:Ms,lookahead:oc,either:oa,optional:vm,anyNumberOfTimes:Lm};for(const E in Di)typeof Di[E]=="object"&&nc(Di[E]);return Object.assign(i,Di),i},Ks=yc({});Ks.newInstance=()=>yc({});var yy=Ks;Ks.HighlightJS=Ks;Ks.default=Ks;var fi=yy;const Lo="[A-Za-z$_][0-9A-Za-z$_]*",gy=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Ty=["true","false","null","undefined","NaN","Infinity"],gc=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Tc=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],bc=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],by=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],xy=[].concat(bc,gc,Tc);function Sy(i){const t=i.regex,e=(F,{after:le})=>{const be="",end:""},n=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(F,le)=>{const be=F[0].length+F.index,ke=F.input[be];if(ke==="<"||ke===","){le.ignoreMatch();return}ke===">"&&(e(F,{after:be})||le.ignoreMatch());let Ee;const re=F.input.substring(be);if(Ee=re.match(/^\s*=/)){le.ignoreMatch();return}if((Ee=re.match(/^\s+extends\s+/))&&Ee.index===0){le.ignoreMatch();return}}},o={$pattern:Lo,keyword:gy,literal:Ty,built_in:xy,"variable.language":by},l="[0-9](_?[0-9])*",h=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",x={className:"number",variants:[{begin:`(\\b(${u})((${h})|\\.)?|(${h}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},P={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},I={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[i.BACKSLASH_ESCAPE,P],subLanguage:"xml"}},A={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[i.BACKSLASH_ESCAPE,P],subLanguage:"css"}},G={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[i.BACKSLASH_ESCAPE,P],subLanguage:"graphql"}},B={className:"string",begin:"`",end:"`",contains:[i.BACKSLASH_ESCAPE,P]},$=i.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:s+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),V={className:"comment",variants:[$,i.C_BLOCK_COMMENT_MODE,i.C_LINE_COMMENT_MODE]},ee=[i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,I,A,G,B,{match:/\$\d+/},x];P.contains=ee.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(ee)});const Z=[].concat(V,P.contains),L=Z.concat([{begin:/\(/,end:/\)/,keywords:o,contains:["self"].concat(Z)}]),oe={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:L},Fe={variants:[{match:[/class/,/\s+/,s,/\s+/,/extends/,/\s+/,t.concat(s,"(",t.concat(/\./,s),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,s],scope:{1:"keyword",3:"title.class"}}]},g={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...gc,...Tc]}},fe={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},me={variants:[{match:[/function/,/\s+/,s,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[oe],illegal:/%/},b={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function k(F){return t.concat("(?!",F.join("|"),")")}const ne={match:t.concat(/\b/,k([...bc,"super","import"]),s,t.lookahead(/\(/)),className:"title.function",relevance:0},se={begin:t.concat(/\./,t.lookahead(t.concat(s,/(?![0-9A-Za-z$_(])/))),end:s,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},D={match:[/get|set/,/\s+/,s,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},oe]},O="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+i.UNDERSCORE_IDENT_RE+")\\s*=>",E={match:[/const|var|let/,/\s+/,s,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(O)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[oe]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:L,CLASS_REFERENCE:g},illegal:/#(?![$_A-z])/,contains:[i.SHEBANG({label:"shebang",binary:"node",relevance:5}),fe,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,I,A,G,B,V,{match:/\$\d+/},x,g,{className:"attr",begin:s+t.lookahead(":"),relevance:0},E,{begin:"("+i.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[V,i.REGEXP_MODE,{className:"function",begin:O,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:i.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:L}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:n},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},me,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+i.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[oe,i.inherit(i.TITLE_MODE,{begin:s,className:"title.function"})]},{match:/\.\.\./,relevance:0},se,{match:"\\$"+s,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[oe]},ne,b,Fe,D,{match:/\$[(.]/}]}}function Py(i){const t="\\[=*\\[",e="\\]=*\\]",s={begin:t,end:e,contains:["self"]},r=[i.COMMENT("--(?!"+t+")","$"),i.COMMENT("--"+t,e,{contains:[s],relevance:10})];return{name:"Lua",keywords:{$pattern:i.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[i.inherit(i.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},i.C_NUMBER_MODE,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{className:"string",begin:t,end:e,contains:[s],relevance:5}])}}var vo=Nu({props:{code:{type:String,required:!0},language:{type:String,default:""},autodetect:{type:Boolean,default:!0},ignoreIllegals:{type:Boolean,default:!0}},setup:function(i){var t=Es(i.language);oi(function(){return i.language},function(r){t.value=r});var e=Kt(function(){return i.autodetect||!t.value}),s=Kt(function(){return!e.value&&!fi.getLanguage(t.value)});return{className:Kt(function(){return s.value?"":"hljs "+t.value}),highlightedCode:Kt(function(){var r;if(s.value)return console.warn('The language "'+t.value+'" you specified could not be found.'),i.code.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");if(e.value){var n=fi.highlightAuto(i.code);return t.value=(r=n.language)!==null&&r!==void 0?r:"",n.value}return(n=fi.highlight(i.code,{language:t.value,ignoreIllegals:i.ignoreIllegals})).value})}},render:function(){return Ra("pre",{},[Ra("code",{class:this.className,innerHTML:this.highlightedCode})])}}),Ey={install:function(i){i.component("highlightjs",vo)},component:vo};const xc=Xh(Em);fi.registerLanguage("javascript",Sy);fi.registerLanguage("lua",Py);xc.use(Ey);xc.mount("#app"); diff --git a/assets/index.deacdae6.js b/assets/index.deacdae6.js new file mode 100644 index 0000000..b63ebd6 --- /dev/null +++ b/assets/index.deacdae6.js @@ -0,0 +1,535 @@ +const $c=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const n of r)if(n.type==="childList")for(const a of n.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function e(r){const n={};return r.integrity&&(n.integrity=r.integrity),r.referrerpolicy&&(n.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?n.credentials="include":r.crossorigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function s(r){if(r.ep)return;r.ep=!0;const n=e(r);fetch(r.href,n)}};$c();/** +* @vue/shared v3.5.11 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function In(i){const t=Object.create(null);for(const e of i.split(","))t[e]=1;return e=>e in t}const Je={},Vs=[],Mt=()=>{},jc=()=>!1,dr=i=>i.charCodeAt(0)===111&&i.charCodeAt(1)===110&&(i.charCodeAt(2)>122||i.charCodeAt(2)<97),Nn=i=>i.startsWith("onUpdate:"),lt=Object.assign,_n=(i,t)=>{const e=i.indexOf(t);e>-1&&i.splice(e,1)},Uc=Object.prototype.hasOwnProperty,Ge=(i,t)=>Uc.call(i,t),Le=Array.isArray,Hs=i=>Ni(i)==="[object Map]",mr=i=>Ni(i)==="[object Set]",Ea=i=>Ni(i)==="[object Date]",Me=i=>typeof i=="function",rt=i=>typeof i=="string",jt=i=>typeof i=="symbol",Ze=i=>i!==null&&typeof i=="object",$o=i=>(Ze(i)||Me(i))&&Me(i.then)&&Me(i.catch),jo=Object.prototype.toString,Ni=i=>jo.call(i),Vc=i=>Ni(i).slice(8,-1),Uo=i=>Ni(i)==="[object Object]",Mn=i=>rt(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,fi=In(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yr=i=>{const t=Object.create(null);return e=>t[e]||(t[e]=i(e))},Hc=/-(\w)/g,Lt=yr(i=>i.replace(Hc,(t,e)=>e?e.toUpperCase():"")),Gc=/\B([A-Z])/g,Os=yr(i=>i.replace(Gc,"-$1").toLowerCase()),gr=yr(i=>i.charAt(0).toUpperCase()+i.slice(1)),$r=yr(i=>i?`on${gr(i)}`:""),Ts=(i,t)=>!Object.is(i,t),Ki=(i,...t)=>{for(let e=0;e{Object.defineProperty(i,t,{configurable:!0,enumerable:!1,writable:s,value:e})},cn=i=>{const t=parseFloat(i);return isNaN(t)?i:t};let Aa;const On=()=>Aa||(Aa=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Dn(i){if(Le(i)){const t={};for(let e=0;e{if(e){const s=e.split(Kc);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Pi(i){let t="";if(rt(i))t=i;else if(Le(i))for(let e=0;eTr(e,t))}const Wo=i=>!!(i&&i.__v_isRef===!0),$s=i=>rt(i)?i:i==null?"":Le(i)||Ze(i)&&(i.toString===jo||!Me(i.toString))?Wo(i)?$s(i.value):JSON.stringify(i,Ko,2):String(i),Ko=(i,t)=>Wo(t)?Ko(i,t.value):Hs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[s,r],n)=>(e[jr(s,n)+" =>"]=r,e),{})}:mr(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>jr(e))}:jt(t)?jr(t):Ze(t)&&!Le(t)&&!Uo(t)?String(t):t,jr=(i,t="")=>{var e;return jt(i)?`Symbol(${(e=i.description)!=null?e:t})`:i};/** +* @vue/reactivity v3.5.11 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Et;class Zc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Et,!t&&Et&&(this.index=(Et.scopes||(Et.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,e;if(this.scopes)for(t=0,e=this.scopes.length;t0)return;if(di){let t=di;for(di=void 0;t;){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let i;for(;pi;){let t=pi;for(pi=void 0;t;){const e=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){i||(i=s)}t=e}}if(i)throw i}function Xo(i){for(let t=i.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Yo(i){let t,e=i.depsTail,s=e;for(;s;){const r=s.prevDep;s.version===-1?(s===e&&(e=r),Rn(s),eu(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}i.deps=t,i.depsTail=e}function un(i){for(let t=i.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Zo(t.dep.computed)||t.dep.version!==t.version))return!0;return!!i._dirty}function Zo(i){if(i.flags&4&&!(i.flags&16)||(i.flags&=-17,i.globalVersion===Ei))return;i.globalVersion=Ei;const t=i.dep;if(i.flags|=2,t.version>0&&!i.isSSR&&i.deps&&!un(i)){i.flags&=-3;return}const e=Ye,s=Ot;Ye=i,Ot=!0;try{Xo(i);const r=i.fn(i._value);(t.version===0||Ts(r,i._value))&&(i._value=r,t.version++)}catch(r){throw t.version++,r}finally{Ye=e,Ot=s,Yo(i),i.flags&=-3}}function Rn(i,t=!1){const{dep:e,prevSub:s,nextSub:r}=i;if(s&&(s.nextSub=r,i.prevSub=void 0),r&&(r.prevSub=s,i.nextSub=void 0),e.subs===i&&(e.subs=s),!e.subs&&e.computed){e.computed.flags&=-5;for(let n=e.computed.deps;n;n=n.nextDep)Rn(n,!0)}!t&&!--e.sc&&e.map&&e.map.delete(e.key)}function eu(i){const{prevDep:t,nextDep:e}=i;t&&(t.nextDep=e,i.prevDep=void 0),e&&(e.prevDep=t,i.nextDep=void 0)}let Ot=!0;const Qo=[];function xs(){Qo.push(Ot),Ot=!1}function Ss(){const i=Qo.pop();Ot=i===void 0?!0:i}function wa(i){const{cleanup:t}=i;if(i.cleanup=void 0,t){const e=Ye;Ye=void 0;try{t()}finally{Ye=e}}}let Ei=0;class tu{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class $n{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Ye||!Ot||Ye===this.computed)return;let e=this.activeLink;if(e===void 0||e.sub!==Ye)e=this.activeLink=new tu(Ye,this),Ye.deps?(e.prevDep=Ye.depsTail,Ye.depsTail.nextDep=e,Ye.depsTail=e):Ye.deps=Ye.depsTail=e,el(e);else if(e.version===-1&&(e.version=this.version,e.nextDep)){const s=e.nextDep;s.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=s),e.prevDep=Ye.depsTail,e.nextDep=void 0,Ye.depsTail.nextDep=e,Ye.depsTail=e,Ye.deps===e&&(Ye.deps=s)}return e}trigger(t){this.version++,Ei++,this.notify(t)}notify(t){Fn();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Bn()}}}function el(i){if(i.dep.sc++,i.sub.flags&4){const t=i.dep.computed;if(t&&!i.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)el(s)}const e=i.dep.subs;e!==i&&(i.prevSub=e,e&&(e.nextSub=i)),i.dep.subs=i}}const hn=new WeakMap,Is=Symbol(""),fn=Symbol(""),Ai=Symbol("");function pt(i,t,e){if(Ot&&Ye){let s=hn.get(i);s||hn.set(i,s=new Map);let r=s.get(e);r||(s.set(e,r=new $n),r.map=s,r.key=e),r.track()}}function is(i,t,e,s,r,n){const a=hn.get(i);if(!a){Ei++;return}const o=l=>{l&&l.trigger()};if(Fn(),t==="clear")a.forEach(o);else{const l=Le(i),h=l&&Mn(e);if(l&&e==="length"){const u=Number(s);a.forEach((b,P)=>{(P==="length"||P===Ai||!jt(P)&&P>=u)&&o(b)})}else switch(e!==void 0&&o(a.get(e)),h&&o(a.get(Ai)),t){case"add":l?h&&o(a.get("length")):(o(a.get(Is)),Hs(i)&&o(a.get(fn)));break;case"delete":l||(o(a.get(Is)),Hs(i)&&o(a.get(fn)));break;case"set":Hs(i)&&o(a.get(Is));break}}Bn()}function Bs(i){const t=We(i);return t===i?t:(pt(t,"iterate",Ai),vt(i)?t:t.map(ut))}function br(i){return pt(i=We(i),"iterate",Ai),i}const su={__proto__:null,[Symbol.iterator](){return Vr(this,Symbol.iterator,ut)},concat(...i){return Bs(this).concat(...i.map(t=>Le(t)?Bs(t):t))},entries(){return Vr(this,"entries",i=>(i[1]=ut(i[1]),i))},every(i,t){return Gt(this,"every",i,t,void 0,arguments)},filter(i,t){return Gt(this,"filter",i,t,e=>e.map(ut),arguments)},find(i,t){return Gt(this,"find",i,t,ut,arguments)},findIndex(i,t){return Gt(this,"findIndex",i,t,void 0,arguments)},findLast(i,t){return Gt(this,"findLast",i,t,ut,arguments)},findLastIndex(i,t){return Gt(this,"findLastIndex",i,t,void 0,arguments)},forEach(i,t){return Gt(this,"forEach",i,t,void 0,arguments)},includes(...i){return Hr(this,"includes",i)},indexOf(...i){return Hr(this,"indexOf",i)},join(i){return Bs(this).join(i)},lastIndexOf(...i){return Hr(this,"lastIndexOf",i)},map(i,t){return Gt(this,"map",i,t,void 0,arguments)},pop(){return ei(this,"pop")},push(...i){return ei(this,"push",i)},reduce(i,...t){return Ca(this,"reduce",i,t)},reduceRight(i,...t){return Ca(this,"reduceRight",i,t)},shift(){return ei(this,"shift")},some(i,t){return Gt(this,"some",i,t,void 0,arguments)},splice(...i){return ei(this,"splice",i)},toReversed(){return Bs(this).toReversed()},toSorted(i){return Bs(this).toSorted(i)},toSpliced(...i){return Bs(this).toSpliced(...i)},unshift(...i){return ei(this,"unshift",i)},values(){return Vr(this,"values",ut)}};function Vr(i,t,e){const s=br(i),r=s[t]();return s!==i&&!vt(i)&&(r._next=r.next,r.next=()=>{const n=r._next();return n.value&&(n.value=e(n.value)),n}),r}const iu=Array.prototype;function Gt(i,t,e,s,r,n){const a=br(i),o=a!==i&&!vt(i),l=a[t];if(l!==iu[t]){const b=l.apply(i,n);return o?ut(b):b}let h=e;a!==i&&(o?h=function(b,P){return e.call(this,ut(b),P,i)}:e.length>2&&(h=function(b,P){return e.call(this,b,P,i)}));const u=l.call(a,h,s);return o&&r?r(u):u}function Ca(i,t,e,s){const r=br(i);let n=e;return r!==i&&(vt(i)?e.length>3&&(n=function(a,o,l){return e.call(this,a,o,l,i)}):n=function(a,o,l){return e.call(this,a,ut(o),l,i)}),r[t](n,...s)}function Hr(i,t,e){const s=We(i);pt(s,"iterate",Ai);const r=s[t](...e);return(r===-1||r===!1)&&Hn(e[0])?(e[0]=We(e[0]),s[t](...e)):r}function ei(i,t,e=[]){xs(),Fn();const s=We(i)[t].apply(i,e);return Bn(),Ss(),s}const ru=In("__proto__,__v_isRef,__isVue"),tl=new Set(Object.getOwnPropertyNames(Symbol).filter(i=>i!=="arguments"&&i!=="caller").map(i=>Symbol[i]).filter(jt));function nu(i){jt(i)||(i=String(i));const t=We(this);return pt(t,"has",i),t.hasOwnProperty(i)}class sl{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,s){const r=this._isReadonly,n=this._isShallow;if(e==="__v_isReactive")return!r;if(e==="__v_isReadonly")return r;if(e==="__v_isShallow")return n;if(e==="__v_raw")return s===(r?n?Tu:al:n?nl:rl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const a=Le(t);if(!r){let l;if(a&&(l=su[e]))return l;if(e==="hasOwnProperty")return nu}const o=Reflect.get(t,e,ft(t)?t:s);return(jt(e)?tl.has(e):ru(e))||(r||pt(t,"get",e),n)?o:ft(o)?a&&Mn(e)?o:o.value:Ze(o)?r?ol(o):Sr(o):o}}class il extends sl{constructor(t=!1){super(!1,t)}set(t,e,s,r){let n=t[e];if(!this._isShallow){const l=_s(n);if(!vt(s)&&!_s(s)&&(n=We(n),s=We(s)),!Le(t)&&ft(n)&&!ft(s))return l?!1:(n.value=s,!0)}const a=Le(t)&&Mn(e)?Number(e)i,xr=i=>Reflect.getPrototypeOf(i);function Fi(i,t,e=!1,s=!1){i=i.__v_raw;const r=We(i),n=We(t);e||(Ts(t,n)&&pt(r,"get",t),pt(r,"get",n));const{has:a}=xr(r),o=s?jn:e?Gn:ut;if(a.call(r,t))return o(i.get(t));if(a.call(r,n))return o(i.get(n));i!==r&&i.get(t)}function Bi(i,t=!1){const e=this.__v_raw,s=We(e),r=We(i);return t||(Ts(i,r)&&pt(s,"has",i),pt(s,"has",r)),i===r?e.has(i):e.has(i)||e.has(r)}function Ri(i,t=!1){return i=i.__v_raw,!t&&pt(We(i),"iterate",Is),Reflect.get(i,"size",i)}function ka(i,t=!1){!t&&!vt(i)&&!_s(i)&&(i=We(i));const e=We(this);return xr(e).has.call(e,i)||(e.add(i),is(e,"add",i,i)),this}function va(i,t,e=!1){!e&&!vt(t)&&!_s(t)&&(t=We(t));const s=We(this),{has:r,get:n}=xr(s);let a=r.call(s,i);a||(i=We(i),a=r.call(s,i));const o=n.call(s,i);return s.set(i,t),a?Ts(t,o)&&is(s,"set",i,t):is(s,"add",i,t),this}function La(i){const t=We(this),{has:e,get:s}=xr(t);let r=e.call(t,i);r||(i=We(i),r=e.call(t,i)),s&&s.call(t,i);const n=t.delete(i);return r&&is(t,"delete",i,void 0),n}function Ia(){const i=We(this),t=i.size!==0,e=i.clear();return t&&is(i,"clear",void 0,void 0),e}function $i(i,t){return function(s,r){const n=this,a=n.__v_raw,o=We(a),l=t?jn:i?Gn:ut;return!i&&pt(o,"iterate",Is),a.forEach((h,u)=>s.call(r,l(h),l(u),n))}}function ji(i,t,e){return function(...s){const r=this.__v_raw,n=We(r),a=Hs(n),o=i==="entries"||i===Symbol.iterator&&a,l=i==="keys"&&a,h=r[i](...s),u=e?jn:t?Gn:ut;return!t&&pt(n,"iterate",l?fn:Is),{next(){const{value:b,done:P}=h.next();return P?{value:b,done:P}:{value:o?[u(b[0]),u(b[1])]:u(b),done:P}},[Symbol.iterator](){return this}}}}function ls(i){return function(...t){return i==="delete"?!1:i==="clear"?void 0:this}}function uu(){const i={get(n){return Fi(this,n)},get size(){return Ri(this)},has:Bi,add:ka,set:va,delete:La,clear:Ia,forEach:$i(!1,!1)},t={get(n){return Fi(this,n,!1,!0)},get size(){return Ri(this)},has:Bi,add(n){return ka.call(this,n,!0)},set(n,a){return va.call(this,n,a,!0)},delete:La,clear:Ia,forEach:$i(!1,!0)},e={get(n){return Fi(this,n,!0)},get size(){return Ri(this,!0)},has(n){return Bi.call(this,n,!0)},add:ls("add"),set:ls("set"),delete:ls("delete"),clear:ls("clear"),forEach:$i(!0,!1)},s={get(n){return Fi(this,n,!0,!0)},get size(){return Ri(this,!0)},has(n){return Bi.call(this,n,!0)},add:ls("add"),set:ls("set"),delete:ls("delete"),clear:ls("clear"),forEach:$i(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(n=>{i[n]=ji(n,!1,!1),e[n]=ji(n,!0,!1),t[n]=ji(n,!1,!0),s[n]=ji(n,!0,!0)}),[i,e,t,s]}const[hu,fu,pu,du]=uu();function Un(i,t){const e=t?i?du:pu:i?fu:hu;return(s,r,n)=>r==="__v_isReactive"?!i:r==="__v_isReadonly"?i:r==="__v_raw"?s:Reflect.get(Ge(e,r)&&r in s?e:s,r,n)}const mu={get:Un(!1,!1)},yu={get:Un(!1,!0)},gu={get:Un(!0,!1)};const rl=new WeakMap,nl=new WeakMap,al=new WeakMap,Tu=new WeakMap;function bu(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xu(i){return i.__v_skip||!Object.isExtensible(i)?0:bu(Vc(i))}function Sr(i){return _s(i)?i:Vn(i,!1,ou,mu,rl)}function Su(i){return Vn(i,!1,cu,yu,nl)}function ol(i){return Vn(i,!0,lu,gu,al)}function Vn(i,t,e,s,r){if(!Ze(i)||i.__v_raw&&!(t&&i.__v_isReactive))return i;const n=r.get(i);if(n)return n;const a=xu(i);if(a===0)return i;const o=new Proxy(i,a===2?s:e);return r.set(i,o),o}function Gs(i){return _s(i)?Gs(i.__v_raw):!!(i&&i.__v_isReactive)}function _s(i){return!!(i&&i.__v_isReadonly)}function vt(i){return!!(i&&i.__v_isShallow)}function Hn(i){return i?!!i.__v_raw:!1}function We(i){const t=i&&i.__v_raw;return t?We(t):i}function Pu(i){return!Ge(i,"__v_skip")&&Object.isExtensible(i)&&Vo(i,"__v_skip",!0),i}const ut=i=>Ze(i)?Sr(i):i,Gn=i=>Ze(i)?ol(i):i;function ft(i){return i?i.__v_isRef===!0:!1}function ks(i){return Eu(i,!1)}function Eu(i,t){return ft(i)?i:new Au(i,t)}class Au{constructor(t,e){this.dep=new $n,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:We(t),this._value=e?t:ut(t),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(t){const e=this._rawValue,s=this.__v_isShallow||vt(t)||_s(t);t=s?t:We(t),Ts(t,e)&&(this._rawValue=t,this._value=s?t:ut(t),this.dep.trigger())}}function qi(i){return ft(i)?i.value:i}const wu={get:(i,t,e)=>t==="__v_raw"?i:qi(Reflect.get(i,t,e)),set:(i,t,e,s)=>{const r=i[t];return ft(r)&&!ft(e)?(r.value=e,!0):Reflect.set(i,t,e,s)}};function ll(i){return Gs(i)?i:new Proxy(i,wu)}class Cu{constructor(t,e,s){this.fn=t,this.setter=e,this._value=void 0,this.dep=new $n(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ei-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Ye!==this)return Jo(this,!0),!0}get value(){const t=this.dep.track();return Zo(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ku(i,t,e=!1){let s,r;return Me(i)?s=i:(s=i.get,r=i.set),new Cu(s,r,e)}const Ui={},sr=new WeakMap;let vs;function vu(i,t=!1,e=vs){if(e){let s=sr.get(e);s||sr.set(e,s=[]),s.push(i)}}function Lu(i,t,e=Je){const{immediate:s,deep:r,once:n,scheduler:a,augmentJob:o,call:l}=e,h=W=>r?W:vt(W)||r===!1||r===0?Xt(W,1):Xt(W);let u,b,P,L,A=!1,j=!1;if(ft(i)?(b=()=>i.value,A=vt(i)):Gs(i)?(b=()=>h(i),A=!0):Le(i)?(j=!0,A=i.some(W=>Gs(W)||vt(W)),b=()=>i.map(W=>{if(ft(W))return W.value;if(Gs(W))return h(W);if(Me(W))return l?l(W,2):W()})):Me(i)?t?b=l?()=>l(i,2):i:b=()=>{if(P){xs();try{P()}finally{Ss()}}const W=vs;vs=u;try{return l?l(i,3,[L]):i(L)}finally{vs=W}}:b=Mt,t&&r){const W=b,I=r===!0?1/0:r;b=()=>Xt(W(),I)}const V=Qc(),D=()=>{u.stop(),V&&_n(V.effects,u)};if(n&&t){const W=t;t=(...I)=>{W(...I),D()}}let B=j?new Array(i.length).fill(Ui):Ui;const se=W=>{if(!(!(u.flags&1)||!u.dirty&&!W))if(t){const I=u.run();if(r||A||(j?I.some((me,Oe)=>Ts(me,B[Oe])):Ts(I,B))){P&&P();const me=vs;vs=u;try{const Oe=[I,B===Ui?void 0:j&&B[0]===Ui?[]:B,L];l?l(t,3,Oe):t(...Oe),B=I}finally{vs=me}}}else u.run()};return o&&o(se),u=new qo(b),u.scheduler=a?()=>a(se,!1):se,L=W=>vu(W,!1,u),P=u.onStop=()=>{const W=sr.get(u);if(W){if(l)l(W,4);else for(const I of W)I();sr.delete(u)}},t?s?se(!0):B=u.run():a?a(se.bind(null,!0),!0):u.run(),D.pause=u.pause.bind(u),D.resume=u.resume.bind(u),D.stop=D,D}function Xt(i,t=1/0,e){if(t<=0||!Ze(i)||i.__v_skip||(e=e||new Set,e.has(i)))return i;if(e.add(i),t--,ft(i))Xt(i.value,t,e);else if(Le(i))for(let s=0;s{Xt(s,t,e)});else if(Uo(i)){for(const s in i)Xt(i[s],t,e);for(const s of Object.getOwnPropertySymbols(i))Object.prototype.propertyIsEnumerable.call(i,s)&&Xt(i[s],t,e)}return i}/** +* @vue/runtime-core v3.5.11 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function _i(i,t,e,s){try{return s?i(...s):i()}catch(r){Pr(r,t,e)}}function Ut(i,t,e,s){if(Me(i)){const r=_i(i,t,e,s);return r&&$o(r)&&r.catch(n=>{Pr(n,t,e)}),r}if(Le(i)){const r=[];for(let n=0;n>>1,r=bt[s],n=wi(r);n=wi(e)?bt.push(i):bt.splice(_u(t),0,i),i.flags|=1,ul()}}function ul(){ir||(ir=cl.then(fl))}function Mu(i){Le(i)?Ws.push(...i):ps&&i.id===-1?ps.splice(js+1,0,i):i.flags&1||(Ws.push(i),i.flags|=1),ul()}function Na(i,t,e=Rt+1){for(;ewi(e)-wi(s));if(Ws.length=0,ps){ps.push(...t);return}for(ps=t,js=0;jsi.id==null?i.flags&2?-1:1/0:i.id;function fl(i){const t=Mt;try{for(Rt=0;Rt{s._d&&ja(-1);const n=rr(t);let a;try{a=i(...r)}finally{rr(n),s._d&&ja(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function ti(i,t){if(wt===null)return i;const e=kr(wt),s=i.dirs||(i.dirs=[]);for(let r=0;ri.__isTeleport;function Kn(i,t){i.shapeFlag&6&&i.component?(i.transition=t,Kn(i.component.subTree,t)):i.shapeFlag&128?(i.ssContent.transition=t.clone(i.ssContent),i.ssFallback.transition=t.clone(i.ssFallback)):i.transition=t}/*! #__NO_SIDE_EFFECTS__ */function Bu(i,t){return Me(i)?(()=>lt({name:i.name},t,{setup:i}))():i}function dl(i){i.ids=[i.ids[0]+i.ids[2]+++"-",0,0]}function pn(i,t,e,s,r=!1){if(Le(i)){i.forEach((A,j)=>pn(A,t&&(Le(t)?t[j]:t),e,s,r));return}if(mi(s)&&!r)return;const n=s.shapeFlag&4?kr(s.component):s.el,a=r?null:n,{i:o,r:l}=i,h=t&&t.r,u=o.refs===Je?o.refs={}:o.refs,b=o.setupState,P=We(b),L=b===Je?()=>!1:A=>Ge(P,A);if(h!=null&&h!==l&&(rt(h)?(u[h]=null,L(h)&&(b[h]=null)):ft(h)&&(h.value=null)),Me(l))_i(l,o,12,[a,u]);else{const A=rt(l),j=ft(l);if(A||j){const V=()=>{if(i.f){const D=A?L(l)?b[l]:u[l]:l.value;r?Le(D)&&_n(D,n):Le(D)?D.includes(n)||D.push(n):A?(u[l]=[n],L(l)&&(b[l]=u[l])):(l.value=[n],i.k&&(u[i.k]=l.value))}else A?(u[l]=a,L(l)&&(b[l]=a)):j&&(l.value=a,i.k&&(u[i.k]=a))};a?(V.id=-1,Pt(V,e)):V()}}}const mi=i=>!!i.type.__asyncLoader,ml=i=>i.type.__isKeepAlive;function Ru(i,t){yl(i,"a",t)}function $u(i,t){yl(i,"da",t)}function yl(i,t,e=ht){const s=i.__wdc||(i.__wdc=()=>{let r=e;for(;r;){if(r.isDeactivated)return;r=r.parent}return i()});if(Er(t,s,e),e){let r=e.parent;for(;r&&r.parent;)ml(r.parent.vnode)&&ju(s,t,e,r),r=r.parent}}function ju(i,t,e,s){const r=Er(t,i,s,!0);gl(()=>{_n(s[t],r)},e)}function Er(i,t,e=ht,s=!1){if(e){const r=e[i]||(e[i]=[]),n=t.__weh||(t.__weh=(...a)=>{xs();const o=Mi(e),l=Ut(t,e,i,a);return o(),Ss(),l});return s?r.unshift(n):r.push(n),n}}const ns=i=>(t,e=ht)=>{(!Cr||i==="sp")&&Er(i,(...s)=>t(...s),e)},Uu=ns("bm"),Vu=ns("m"),Hu=ns("bu"),Gu=ns("u"),Wu=ns("bum"),gl=ns("um"),Ku=ns("sp"),qu=ns("rtg"),zu=ns("rtc");function Ju(i,t=ht){Er("ec",i,t)}const Tl="components";function Xu(i,t){return Zu(Tl,i,!0,t)||i}const Yu=Symbol.for("v-ndc");function Zu(i,t,e=!0,s=!1){const r=wt||ht;if(r){const n=r.type;if(i===Tl){const o=Vh(n,!1);if(o&&(o===t||o===Lt(t)||o===gr(Lt(t))))return n}const a=_a(r[i]||n[i],t)||_a(r.appContext[i],t);return!a&&s?n:a}}function _a(i,t){return i&&(i[t]||i[Lt(t)]||i[gr(Lt(t))])}function Gr(i,t,e,s){let r;const n=e&&e[s],a=Le(i);if(a||rt(i)){const o=a&&Gs(i);let l=!1;o&&(l=!vt(i),i=br(i)),r=new Array(i.length);for(let h=0,u=i.length;ht(o,l,void 0,n&&n[l]));else{const o=Object.keys(i);r=new Array(o.length);for(let l=0,h=o.length;li?Rl(i)?kr(i):dn(i.parent):null,yi=lt(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>dn(i.parent),$root:i=>dn(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>qn(i),$forceUpdate:i=>i.f||(i.f=()=>{Wn(i.update)}),$nextTick:i=>i.n||(i.n=Nu.bind(i.proxy)),$watch:i=>Sh.bind(i)}),Wr=(i,t)=>i!==Je&&!i.__isScriptSetup&&Ge(i,t),Qu={get({_:i},t){if(t==="__v_skip")return!0;const{ctx:e,setupState:s,data:r,props:n,accessCache:a,type:o,appContext:l}=i;let h;if(t[0]!=="$"){const L=a[t];if(L!==void 0)switch(L){case 1:return s[t];case 2:return r[t];case 4:return e[t];case 3:return n[t]}else{if(Wr(s,t))return a[t]=1,s[t];if(r!==Je&&Ge(r,t))return a[t]=2,r[t];if((h=i.propsOptions[0])&&Ge(h,t))return a[t]=3,n[t];if(e!==Je&&Ge(e,t))return a[t]=4,e[t];mn&&(a[t]=0)}}const u=yi[t];let b,P;if(u)return t==="$attrs"&&pt(i.attrs,"get",""),u(i);if((b=o.__cssModules)&&(b=b[t]))return b;if(e!==Je&&Ge(e,t))return a[t]=4,e[t];if(P=l.config.globalProperties,Ge(P,t))return P[t]},set({_:i},t,e){const{data:s,setupState:r,ctx:n}=i;return Wr(r,t)?(r[t]=e,!0):s!==Je&&Ge(s,t)?(s[t]=e,!0):Ge(i.props,t)||t[0]==="$"&&t.slice(1)in i?!1:(n[t]=e,!0)},has({_:{data:i,setupState:t,accessCache:e,ctx:s,appContext:r,propsOptions:n}},a){let o;return!!e[a]||i!==Je&&Ge(i,a)||Wr(t,a)||(o=n[0])&&Ge(o,a)||Ge(s,a)||Ge(yi,a)||Ge(r.config.globalProperties,a)},defineProperty(i,t,e){return e.get!=null?i._.accessCache[t]=0:Ge(e,"value")&&this.set(i,t,e.value,null),Reflect.defineProperty(i,t,e)}};function Ma(i){return Le(i)?i.reduce((t,e)=>(t[e]=null,t),{}):i}let mn=!0;function eh(i){const t=qn(i),e=i.proxy,s=i.ctx;mn=!1,t.beforeCreate&&Oa(t.beforeCreate,i,"bc");const{data:r,computed:n,methods:a,watch:o,provide:l,inject:h,created:u,beforeMount:b,mounted:P,beforeUpdate:L,updated:A,activated:j,deactivated:V,beforeDestroy:D,beforeUnmount:B,destroyed:se,unmounted:W,render:I,renderTracked:me,renderTriggered:Oe,errorCaptured:g,serverPrefetch:he,expose:fe,inheritAttrs:S,components:N,directives:oe,filters:ie}=t;if(h&&th(h,s,null),a)for(const E in a){const k=a[E];Me(k)&&(s[E]=k.bind(e))}if(r){const E=r.call(e,e);Ze(E)&&(i.data=Sr(E))}if(mn=!0,n)for(const E in n){const k=n[E],z=Me(k)?k.bind(e,e):Me(k.get)?k.get.bind(e,e):Mt,be=!Me(k)&&Me(k.set)?k.set.bind(e):Mt,we=Qt({get:z,set:be});Object.defineProperty(s,E,{enumerable:!0,configurable:!0,get:()=>we.value,set:De=>we.value=De})}if(o)for(const E in o)bl(o[E],s,e,E);if(l){const E=Me(l)?l.call(e):l;Reflect.ownKeys(E).forEach(k=>{oh(k,E[k])})}u&&Oa(u,i,"c");function C(E,k){Le(k)?k.forEach(z=>E(z.bind(e))):k&&E(k.bind(e))}if(C(Uu,b),C(Vu,P),C(Hu,L),C(Gu,A),C(Ru,j),C($u,V),C(Ju,g),C(zu,me),C(qu,Oe),C(Wu,B),C(gl,W),C(Ku,he),Le(fe))if(fe.length){const E=i.exposed||(i.exposed={});fe.forEach(k=>{Object.defineProperty(E,k,{get:()=>e[k],set:z=>e[k]=z})})}else i.exposed||(i.exposed={});I&&i.render===Mt&&(i.render=I),S!=null&&(i.inheritAttrs=S),N&&(i.components=N),oe&&(i.directives=oe),he&&dl(i)}function th(i,t,e=Mt){Le(i)&&(i=yn(i));for(const s in i){const r=i[s];let n;Ze(r)?"default"in r?n=zi(r.from||s,r.default,!0):n=zi(r.from||s):n=zi(r),ft(n)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>n.value,set:a=>n.value=a}):t[s]=n}}function Oa(i,t,e){Ut(Le(i)?i.map(s=>s.bind(t.proxy)):i.bind(t.proxy),t,e)}function bl(i,t,e,s){let r=s.includes(".")?Ml(e,s):()=>e[s];if(rt(i)){const n=t[i];Me(n)&&gi(r,n)}else if(Me(i))gi(r,i.bind(e));else if(Ze(i))if(Le(i))i.forEach(n=>bl(n,t,e,s));else{const n=Me(i.handler)?i.handler.bind(e):t[i.handler];Me(n)&&gi(r,n,i)}}function qn(i){const t=i.type,{mixins:e,extends:s}=t,{mixins:r,optionsCache:n,config:{optionMergeStrategies:a}}=i.appContext,o=n.get(t);let l;return o?l=o:!r.length&&!e&&!s?l=t:(l={},r.length&&r.forEach(h=>nr(l,h,a,!0)),nr(l,t,a)),Ze(t)&&n.set(t,l),l}function nr(i,t,e,s=!1){const{mixins:r,extends:n}=t;n&&nr(i,n,e,!0),r&&r.forEach(a=>nr(i,a,e,!0));for(const a in t)if(!(s&&a==="expose")){const o=sh[a]||e&&e[a];i[a]=o?o(i[a],t[a]):t[a]}return i}const sh={data:Da,props:Fa,emits:Fa,methods:li,computed:li,beforeCreate:Tt,created:Tt,beforeMount:Tt,mounted:Tt,beforeUpdate:Tt,updated:Tt,beforeDestroy:Tt,beforeUnmount:Tt,destroyed:Tt,unmounted:Tt,activated:Tt,deactivated:Tt,errorCaptured:Tt,serverPrefetch:Tt,components:li,directives:li,watch:rh,provide:Da,inject:ih};function Da(i,t){return t?i?function(){return lt(Me(i)?i.call(this,this):i,Me(t)?t.call(this,this):t)}:t:i}function ih(i,t){return li(yn(i),yn(t))}function yn(i){if(Le(i)){const t={};for(let e=0;e1)return e&&Me(t)?t.call(s&&s.proxy):t}}const Sl={},Pl=()=>Object.create(Sl),El=i=>Object.getPrototypeOf(i)===Sl;function lh(i,t,e,s=!1){const r={},n=Pl();i.propsDefaults=Object.create(null),Al(i,t,r,n);for(const a in i.propsOptions[0])a in r||(r[a]=void 0);e?i.props=s?r:Su(r):i.type.props?i.props=r:i.props=n,i.attrs=n}function ch(i,t,e,s){const{props:r,attrs:n,vnode:{patchFlag:a}}=i,o=We(r),[l]=i.propsOptions;let h=!1;if((s||a>0)&&!(a&16)){if(a&8){const u=i.vnode.dynamicProps;for(let b=0;b{l=!0;const[P,L]=wl(b,t,!0);lt(a,P),L&&o.push(...L)};!e&&t.mixins.length&&t.mixins.forEach(u),i.extends&&u(i.extends),i.mixins&&i.mixins.forEach(u)}if(!n&&!l)return Ze(i)&&s.set(i,Vs),Vs;if(Le(n))for(let u=0;ui[0]==="_"||i==="$stable",zn=i=>Le(i)?i.map($t):[$t(i)],hh=(i,t,e)=>{if(t._n)return t;const s=Ou((...r)=>zn(t(...r)),e);return s._c=!1,s},kl=(i,t,e)=>{const s=i._ctx;for(const r in i){if(Cl(r))continue;const n=i[r];if(Me(n))t[r]=hh(r,n,s);else if(n!=null){const a=zn(n);t[r]=()=>a}}},vl=(i,t)=>{const e=zn(t);i.slots.default=()=>e},Ll=(i,t,e)=>{for(const s in t)(e||s!=="_")&&(i[s]=t[s])},fh=(i,t,e)=>{const s=i.slots=Pl();if(i.vnode.shapeFlag&32){const r=t._;r?(Ll(s,t,e),e&&Vo(s,"_",r,!0)):kl(t,s)}else t&&vl(i,t)},ph=(i,t,e)=>{const{vnode:s,slots:r}=i;let n=!0,a=Je;if(s.shapeFlag&32){const o=t._;o?e&&o===1?n=!1:Ll(r,t,e):(n=!t.$stable,kl(t,r)),a=t}else t&&(vl(i,t),a={default:1});if(n)for(const o in r)!Cl(o)&&a[o]==null&&delete r[o]};function dh(){typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__!="boolean"&&(On().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1)}const Pt=vh;function mh(i){return yh(i)}function yh(i,t){dh();const e=On();e.__VUE__=!0;const{insert:s,remove:r,patchProp:n,createElement:a,createText:o,createComment:l,setText:h,setElementText:u,parentNode:b,nextSibling:P,setScopeId:L=Mt,insertStaticContent:A}=i,j=(d,T,c,p=null,y=null,x=null,w=void 0,X=null,K=!!T.dynamicChildren)=>{if(d===T)return;d&&!si(d,T)&&(p=$(d),De(d,y,x,!0),d=null),T.patchFlag===-2&&(K=!1,T.dynamicChildren=null);const{type:J,ref:Se,shapeFlag:re}=T;switch(J){case wr:V(d,T,c,p);break;case Ms:D(d,T,c,p);break;case zr:d==null&&B(T,c,p,w);break;case At:N(d,T,c,p,y,x,w,X,K);break;default:re&1?I(d,T,c,p,y,x,w,X,K):re&6?oe(d,T,c,p,y,x,w,X,K):(re&64||re&128)&&J.process(d,T,c,p,y,x,w,X,K,U)}Se!=null&&y&&pn(Se,d&&d.ref,x,T||d,!T)},V=(d,T,c,p)=>{if(d==null)s(T.el=o(T.children),c,p);else{const y=T.el=d.el;T.children!==d.children&&h(y,T.children)}},D=(d,T,c,p)=>{d==null?s(T.el=l(T.children||""),c,p):T.el=d.el},B=(d,T,c,p)=>{[d.el,d.anchor]=A(d.children,T,c,p,d.el,d.anchor)},se=({el:d,anchor:T},c,p)=>{let y;for(;d&&d!==T;)y=P(d),s(d,c,p),d=y;s(T,c,p)},W=({el:d,anchor:T})=>{let c;for(;d&&d!==T;)c=P(d),r(d),d=c;r(T)},I=(d,T,c,p,y,x,w,X,K)=>{T.type==="svg"?w="svg":T.type==="math"&&(w="mathml"),d==null?me(T,c,p,y,x,w,X,K):he(d,T,y,x,w,X,K)},me=(d,T,c,p,y,x,w,X)=>{let K,J;const{props:Se,shapeFlag:re,transition:ae,dirs:xe}=d;if(K=d.el=a(d.type,x,Se&&Se.is,Se),re&8?u(K,d.children):re&16&&g(d.children,K,null,p,y,Kr(d,x),w,X),xe&&Es(d,null,p,"created"),Oe(K,d,d.scopeId,w,p),Se){for(const ue in Se)ue!=="value"&&!fi(ue)&&n(K,ue,null,Se[ue],x,p);"value"in Se&&n(K,"value",null,Se.value,x),(J=Se.onVnodeBeforeMount)&&Ft(J,p,d)}xe&&Es(d,null,p,"beforeMount");const te=gh(y,ae);te&&ae.beforeEnter(K),s(K,T,c),((J=Se&&Se.onVnodeMounted)||te||xe)&&Pt(()=>{J&&Ft(J,p,d),te&&ae.enter(K),xe&&Es(d,null,p,"mounted")},y)},Oe=(d,T,c,p,y)=>{if(c&&L(d,c),p)for(let x=0;x{for(let J=K;J{const X=T.el=d.el;let{patchFlag:K,dynamicChildren:J,dirs:Se}=T;K|=d.patchFlag&16;const re=d.props||Je,ae=T.props||Je;let xe;if(c&&As(c,!1),(xe=ae.onVnodeBeforeUpdate)&&Ft(xe,c,T,d),Se&&Es(T,d,c,"beforeUpdate"),c&&As(c,!0),(re.innerHTML&&ae.innerHTML==null||re.textContent&&ae.textContent==null)&&u(X,""),J?fe(d.dynamicChildren,J,X,c,p,Kr(T,y),x):w||k(d,T,X,null,c,p,Kr(T,y),x,!1),K>0){if(K&16)S(X,re,ae,c,y);else if(K&2&&re.class!==ae.class&&n(X,"class",null,ae.class,y),K&4&&n(X,"style",re.style,ae.style,y),K&8){const te=T.dynamicProps;for(let ue=0;ue{xe&&Ft(xe,c,T,d),Se&&Es(T,d,c,"updated")},p)},fe=(d,T,c,p,y,x,w)=>{for(let X=0;X{if(T!==c){if(T!==Je)for(const x in T)!fi(x)&&!(x in c)&&n(d,x,T[x],null,y,p);for(const x in c){if(fi(x))continue;const w=c[x],X=T[x];w!==X&&x!=="value"&&n(d,x,X,w,y,p)}"value"in c&&n(d,"value",T.value,c.value,y)}},N=(d,T,c,p,y,x,w,X,K)=>{const J=T.el=d?d.el:o(""),Se=T.anchor=d?d.anchor:o("");let{patchFlag:re,dynamicChildren:ae,slotScopeIds:xe}=T;xe&&(X=X?X.concat(xe):xe),d==null?(s(J,c,p),s(Se,c,p),g(T.children||[],c,Se,y,x,w,X,K)):re>0&&re&64&&ae&&d.dynamicChildren?(fe(d.dynamicChildren,ae,c,y,x,w,X),(T.key!=null||y&&T===y.subTree)&&Il(d,T,!0)):k(d,T,c,Se,y,x,w,X,K)},oe=(d,T,c,p,y,x,w,X,K)=>{T.slotScopeIds=X,d==null?T.shapeFlag&512?y.ctx.activate(T,c,p,w,K):ie(T,c,p,y,x,w,K):Te(d,T,K)},ie=(d,T,c,p,y,x,w)=>{const X=d.component=Bh(d,p,y);if(ml(d)&&(X.ctx.renderer=U),Rh(X,!1,w),X.asyncDep){if(y&&y.registerDep(X,C,w),!d.el){const K=X.subTree=ot(Ms);D(null,K,T,c)}}else C(X,d,T,c,y,x,w)},Te=(d,T,c)=>{const p=T.component=d.component;if(Ch(d,T,c))if(p.asyncDep&&!p.asyncResolved){E(p,T,c);return}else p.next=T,p.update();else T.el=d.el,p.vnode=T},C=(d,T,c,p,y,x,w)=>{const X=()=>{if(d.isMounted){let{next:re,bu:ae,u:xe,parent:te,vnode:ue}=d;{const it=Nl(d);if(it){re&&(re.el=ue.el,E(d,re,w)),it.asyncDep.then(()=>{d.isUnmounted||X()});return}}let ye=re,ve;As(d,!1),re?(re.el=ue.el,E(d,re,w)):re=ue,ae&&Ki(ae),(ve=re.props&&re.props.onVnodeBeforeUpdate)&&Ft(ve,te,re,ue),As(d,!0);const Ie=qr(d),je=d.subTree;d.subTree=Ie,j(je,Ie,b(je.el),$(je),d,y,x),re.el=Ie.el,ye===null&&kh(d,Ie.el),xe&&Pt(xe,y),(ve=re.props&&re.props.onVnodeUpdated)&&Pt(()=>Ft(ve,te,re,ue),y)}else{let re;const{el:ae,props:xe}=T,{bm:te,m:ue,parent:ye,root:ve,type:Ie}=d,je=mi(T);if(As(d,!1),te&&Ki(te),!je&&(re=xe&&xe.onVnodeBeforeMount)&&Ft(re,ye,T),As(d,!0),ae&&O){const it=()=>{d.subTree=qr(d),O(ae,d.subTree,d,y,null)};je&&Ie.__asyncHydrate?Ie.__asyncHydrate(ae,d,it):it()}else{ve.ce&&ve.ce._injectChildStyle(Ie);const it=d.subTree=qr(d);j(null,it,c,p,d,y,x),T.el=it.el}if(ue&&Pt(ue,y),!je&&(re=xe&&xe.onVnodeMounted)){const it=T;Pt(()=>Ft(re,ye,it),y)}(T.shapeFlag&256||ye&&mi(ye.vnode)&&ye.vnode.shapeFlag&256)&&d.a&&Pt(d.a,y),d.isMounted=!0,T=c=p=null}};d.scope.on();const K=d.effect=new qo(X);d.scope.off();const J=d.update=K.run.bind(K),Se=d.job=K.runIfDirty.bind(K);Se.i=d,Se.id=d.uid,K.scheduler=()=>Wn(Se),As(d,!0),J()},E=(d,T,c)=>{T.component=d;const p=d.vnode.props;d.vnode=T,d.next=null,ch(d,T.props,p,c),ph(d,T.children,c),xs(),Na(d),Ss()},k=(d,T,c,p,y,x,w,X,K=!1)=>{const J=d&&d.children,Se=d?d.shapeFlag:0,re=T.children,{patchFlag:ae,shapeFlag:xe}=T;if(ae>0){if(ae&128){be(J,re,c,p,y,x,w,X,K);return}else if(ae&256){z(J,re,c,p,y,x,w,X,K);return}}xe&8?(Se&16&&F(J,y,x),re!==J&&u(c,re)):Se&16?xe&16?be(J,re,c,p,y,x,w,X,K):F(J,y,x,!0):(Se&8&&u(c,""),xe&16&&g(re,c,p,y,x,w,X,K))},z=(d,T,c,p,y,x,w,X,K)=>{d=d||Vs,T=T||Vs;const J=d.length,Se=T.length,re=Math.min(J,Se);let ae;for(ae=0;aeSe?F(d,y,x,!0,!1,re):g(T,c,p,y,x,w,X,K,re)},be=(d,T,c,p,y,x,w,X,K)=>{let J=0;const Se=T.length;let re=d.length-1,ae=Se-1;for(;J<=re&&J<=ae;){const xe=d[J],te=T[J]=K?ds(T[J]):$t(T[J]);if(si(xe,te))j(xe,te,c,null,y,x,w,X,K);else break;J++}for(;J<=re&&J<=ae;){const xe=d[re],te=T[ae]=K?ds(T[ae]):$t(T[ae]);if(si(xe,te))j(xe,te,c,null,y,x,w,X,K);else break;re--,ae--}if(J>re){if(J<=ae){const xe=ae+1,te=xeae)for(;J<=re;)De(d[J],y,x,!0),J++;else{const xe=J,te=J,ue=new Map;for(J=te;J<=ae;J++){const nt=T[J]=K?ds(T[J]):$t(T[J]);nt.key!=null&&ue.set(nt.key,J)}let ye,ve=0;const Ie=ae-te+1;let je=!1,it=0;const dt=new Array(Ie);for(J=0;J=Ie){De(nt,y,x,!0);continue}let Qe;if(nt.key!=null)Qe=ue.get(nt.key);else for(ye=te;ye<=ae;ye++)if(dt[ye-te]===0&&si(nt,T[ye])){Qe=ye;break}Qe===void 0?De(nt,y,x,!0):(dt[Qe-te]=J+1,Qe>=it?it=Qe:je=!0,j(nt,T[Qe],c,null,y,x,w,X,K),ve++)}const Ht=je?Th(dt):Vs;for(ye=Ht.length-1,J=Ie-1;J>=0;J--){const nt=te+J,Qe=T[nt],Y=nt+1{const{el:x,type:w,transition:X,children:K,shapeFlag:J}=d;if(J&6){we(d.component.subTree,T,c,p);return}if(J&128){d.suspense.move(T,c,p);return}if(J&64){w.move(d,T,c,U);return}if(w===At){s(x,T,c);for(let re=0;reX.enter(x),y);else{const{leave:re,delayLeave:ae,afterLeave:xe}=X,te=()=>s(x,T,c),ue=()=>{re(x,()=>{te(),xe&&xe()})};ae?ae(x,te,ue):ue()}else s(x,T,c)},De=(d,T,c,p=!1,y=!1)=>{const{type:x,props:w,ref:X,children:K,dynamicChildren:J,shapeFlag:Se,patchFlag:re,dirs:ae,cacheIndex:xe}=d;if(re===-2&&(y=!1),X!=null&&pn(X,null,c,d,!0),xe!=null&&(T.renderCache[xe]=void 0),Se&256){T.ctx.deactivate(d);return}const te=Se&1&&ae,ue=!mi(d);let ye;if(ue&&(ye=w&&w.onVnodeBeforeUnmount)&&Ft(ye,T,d),Se&6)M(d.component,c,p);else{if(Se&128){d.suspense.unmount(c,p);return}te&&Es(d,null,T,"beforeUnmount"),Se&64?d.type.remove(d,T,c,U,p):J&&!J.hasOnce&&(x!==At||re>0&&re&64)?F(J,T,c,!1,!0):(x===At&&re&384||!y&&Se&16)&&F(K,T,c),p&&ee(d)}(ue&&(ye=w&&w.onVnodeUnmounted)||te)&&Pt(()=>{ye&&Ft(ye,T,d),te&&Es(d,null,T,"unmounted")},c)},ee=d=>{const{type:T,el:c,anchor:p,transition:y}=d;if(T===At){G(c,p);return}if(T===zr){W(d);return}const x=()=>{r(c),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(d.shapeFlag&1&&y&&!y.persisted){const{leave:w,delayLeave:X}=y,K=()=>w(c,x);X?X(d.el,x,K):K()}else x()},G=(d,T)=>{let c;for(;d!==T;)c=P(d),r(d),d=c;r(T)},M=(d,T,c)=>{const{bum:p,scope:y,job:x,subTree:w,um:X,m:K,a:J}=d;Ra(K),Ra(J),p&&Ki(p),y.stop(),x&&(x.flags|=8,De(w,d,T,c)),X&&Pt(X,T),Pt(()=>{d.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},F=(d,T,c,p=!1,y=!1,x=0)=>{for(let w=x;w{if(d.shapeFlag&6)return $(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const T=P(d.anchor||d.el),c=T&&T[Du];return c?P(c):T};let H=!1;const f=(d,T,c)=>{d==null?T._vnode&&De(T._vnode,null,null,!0):j(T._vnode||null,d,T,null,null,null,c),T._vnode=d,H||(H=!0,Na(),hl(),H=!1)},U={p:j,um:De,m:we,r:ee,mt:ie,mc:g,pc:k,pbc:fe,n:$,o:i};let R,O;return t&&([R,O]=t(U)),{render:f,hydrate:R,createApp:ah(f,R)}}function Kr({type:i,props:t},e){return e==="svg"&&i==="foreignObject"||e==="mathml"&&i==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:e}function As({effect:i,job:t},e){e?(i.flags|=32,t.flags|=4):(i.flags&=-33,t.flags&=-5)}function gh(i,t){return(!i||i&&!i.pendingBranch)&&t&&!t.persisted}function Il(i,t,e=!1){const s=i.children,r=t.children;if(Le(s)&&Le(r))for(let n=0;n>1,i[e[o]]0&&(t[s]=e[n-1]),e[n]=s)}}for(n=e.length,a=e[n-1];n-- >0;)e[n]=a,a=t[a];return e}function Nl(i){const t=i.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Nl(t)}function Ra(i){if(i)for(let t=0;tzi(bh);function gi(i,t,e){return _l(i,t,e)}function _l(i,t,e=Je){const{immediate:s,deep:r,flush:n,once:a}=e,o=lt({},e);let l;if(Cr)if(n==="sync"){const P=xh();l=P.__watcherHandles||(P.__watcherHandles=[])}else if(!t||s)o.once=!0;else{const P=()=>{};return P.stop=Mt,P.resume=Mt,P.pause=Mt,P}const h=ht;o.call=(P,L,A)=>Ut(P,h,L,A);let u=!1;n==="post"?o.scheduler=P=>{Pt(P,h&&h.suspense)}:n!=="sync"&&(u=!0,o.scheduler=(P,L)=>{L?P():Wn(P)}),o.augmentJob=P=>{t&&(P.flags|=4),u&&(P.flags|=2,h&&(P.id=h.uid,P.i=h))};const b=Lu(i,t,o);return l&&l.push(b),b}function Sh(i,t,e){const s=this.proxy,r=rt(i)?i.includes(".")?Ml(s,i):()=>s[i]:i.bind(s,s);let n;Me(t)?n=t:(n=t.handler,e=t);const a=Mi(this),o=_l(r,n.bind(s),e);return a(),o}function Ml(i,t){const e=t.split(".");return()=>{let s=i;for(let r=0;rt==="modelValue"||t==="model-value"?i.modelModifiers:i[`${t}Modifiers`]||i[`${Lt(t)}Modifiers`]||i[`${Os(t)}Modifiers`];function Eh(i,t,...e){if(i.isUnmounted)return;const s=i.vnode.props||Je;let r=e;const n=t.startsWith("update:"),a=n&&Ph(s,t.slice(7));a&&(a.trim&&(r=e.map(u=>rt(u)?u.trim():u)),a.number&&(r=e.map(cn)));let o,l=s[o=$r(t)]||s[o=$r(Lt(t))];!l&&n&&(l=s[o=$r(Os(t))]),l&&Ut(l,i,6,r);const h=s[o+"Once"];if(h){if(!i.emitted)i.emitted={};else if(i.emitted[o])return;i.emitted[o]=!0,Ut(h,i,6,r)}}function Ol(i,t,e=!1){const s=t.emitsCache,r=s.get(i);if(r!==void 0)return r;const n=i.emits;let a={},o=!1;if(!Me(i)){const l=h=>{const u=Ol(h,t,!0);u&&(o=!0,lt(a,u))};!e&&t.mixins.length&&t.mixins.forEach(l),i.extends&&l(i.extends),i.mixins&&i.mixins.forEach(l)}return!n&&!o?(Ze(i)&&s.set(i,null),null):(Le(n)?n.forEach(l=>a[l]=null):lt(a,n),Ze(i)&&s.set(i,a),a)}function Ar(i,t){return!i||!dr(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ge(i,t[0].toLowerCase()+t.slice(1))||Ge(i,Os(t))||Ge(i,t))}function qr(i){const{type:t,vnode:e,proxy:s,withProxy:r,propsOptions:[n],slots:a,attrs:o,emit:l,render:h,renderCache:u,props:b,data:P,setupState:L,ctx:A,inheritAttrs:j}=i,V=rr(i);let D,B;try{if(e.shapeFlag&4){const W=r||s,I=W;D=$t(h.call(I,W,u,b,L,P,A)),B=o}else{const W=t;D=$t(W.length>1?W(b,{attrs:o,slots:a,emit:l}):W(b,null)),B=t.props?o:Ah(o)}}catch(W){Ti.length=0,Pr(W,i,1),D=ot(Ms)}let se=D;if(B&&j!==!1){const W=Object.keys(B),{shapeFlag:I}=se;W.length&&I&7&&(n&&W.some(Nn)&&(B=wh(B,n)),se=Xs(se,B,!1,!0))}return e.dirs&&(se=Xs(se,null,!1,!0),se.dirs=se.dirs?se.dirs.concat(e.dirs):e.dirs),e.transition&&Kn(se,e.transition),D=se,rr(V),D}const Ah=i=>{let t;for(const e in i)(e==="class"||e==="style"||dr(e))&&((t||(t={}))[e]=i[e]);return t},wh=(i,t)=>{const e={};for(const s in i)(!Nn(s)||!(s.slice(9)in t))&&(e[s]=i[s]);return e};function Ch(i,t,e){const{props:s,children:r,component:n}=i,{props:a,children:o,patchFlag:l}=t,h=n.emitsOptions;if(t.dirs||t.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return s?$a(s,a,h):!!a;if(l&8){const u=t.dynamicProps;for(let b=0;bi.__isSuspense;function vh(i,t){t&&t.pendingBranch?Le(i)?t.effects.push(...i):t.effects.push(i):Mu(i)}const At=Symbol.for("v-fgt"),wr=Symbol.for("v-txt"),Ms=Symbol.for("v-cmt"),zr=Symbol.for("v-stc"),Ti=[];let Ct=null;function Nt(i=!1){Ti.push(Ct=i?null:[])}function Lh(){Ti.pop(),Ct=Ti[Ti.length-1]||null}let Ci=1;function ja(i){Ci+=i,i<0&&Ct&&(Ct.hasOnce=!0)}function Fl(i){return i.dynamicChildren=Ci>0?Ct||Vs:null,Lh(),Ci>0&&Ct&&Ct.push(i),i}function Dt(i,t,e,s,r,n){return Fl(Re(i,t,e,s,r,n,!0))}function Ih(i,t,e,s,r){return Fl(ot(i,t,e,s,r,!0))}function ar(i){return i?i.__v_isVNode===!0:!1}function si(i,t){return i.type===t.type&&i.key===t.key}const Bl=({key:i})=>i!=null?i:null,Ji=({ref:i,ref_key:t,ref_for:e})=>(typeof i=="number"&&(i=""+i),i!=null?rt(i)||ft(i)||Me(i)?{i:wt,r:i,k:t,f:!!e}:i:null);function Re(i,t=null,e=null,s=0,r=null,n=i===At?0:1,a=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:i,props:t,key:t&&Bl(t),ref:t&&Ji(t),scopeId:pl,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:wt};return o?(Jn(l,e),n&128&&i.normalize(l)):e&&(l.shapeFlag|=rt(e)?8:16),Ci>0&&!a&&Ct&&(l.patchFlag>0||n&6)&&l.patchFlag!==32&&Ct.push(l),l}const ot=Nh;function Nh(i,t=null,e=null,s=0,r=null,n=!1){if((!i||i===Yu)&&(i=Ms),ar(i)){const o=Xs(i,t,!0);return e&&Jn(o,e),Ci>0&&!n&&Ct&&(o.shapeFlag&6?Ct[Ct.indexOf(i)]=o:Ct.push(o)),o.patchFlag=-2,o}if(Hh(i)&&(i=i.__vccOpts),t){t=_h(t);let{class:o,style:l}=t;o&&!rt(o)&&(t.class=Pi(o)),Ze(l)&&(Hn(l)&&!Le(l)&&(l=lt({},l)),t.style=Dn(l))}const a=rt(i)?1:Dl(i)?128:Fu(i)?64:Ze(i)?4:Me(i)?2:0;return Re(i,t,e,s,r,a,n,!0)}function _h(i){return i?Hn(i)||El(i)?lt({},i):i:null}function Xs(i,t,e=!1,s=!1){const{props:r,ref:n,patchFlag:a,children:o,transition:l}=i,h=t?Oh(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:i.type,props:h,key:h&&Bl(h),ref:t&&t.ref?e&&n?Le(n)?n.concat(Ji(t)):[n,Ji(t)]:Ji(t):n,scopeId:i.scopeId,slotScopeIds:i.slotScopeIds,children:o,target:i.target,targetStart:i.targetStart,targetAnchor:i.targetAnchor,staticCount:i.staticCount,shapeFlag:i.shapeFlag,patchFlag:t&&i.type!==At?a===-1?16:a|16:a,dynamicProps:i.dynamicProps,dynamicChildren:i.dynamicChildren,appContext:i.appContext,dirs:i.dirs,transition:l,component:i.component,suspense:i.suspense,ssContent:i.ssContent&&Xs(i.ssContent),ssFallback:i.ssFallback&&Xs(i.ssFallback),el:i.el,anchor:i.anchor,ctx:i.ctx,ce:i.ce};return l&&s&&Kn(u,l.clone(u)),u}function Tn(i=" ",t=0){return ot(wr,null,i,t)}function Mh(i="",t=!1){return t?(Nt(),Ih(Ms,null,i)):ot(Ms,null,i)}function $t(i){return i==null||typeof i=="boolean"?ot(Ms):Le(i)?ot(At,null,i.slice()):ar(i)?ds(i):ot(wr,null,String(i))}function ds(i){return i.el===null&&i.patchFlag!==-1||i.memo?i:Xs(i)}function Jn(i,t){let e=0;const{shapeFlag:s}=i;if(t==null)t=null;else if(Le(t))e=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Jn(i,r()),r._c&&(r._d=!0));return}else{e=32;const r=t._;!r&&!El(t)?t._ctx=wt:r===3&&wt&&(wt.slots._===1?t._=1:(t._=2,i.patchFlag|=1024))}else Me(t)?(t={default:t,_ctx:wt},e=32):(t=String(t),s&64?(e=16,t=[Tn(t)]):e=8);i.children=t,i.shapeFlag|=e}function Oh(...i){const t={};for(let e=0;e{let r;return(r=i[e])||(r=i[e]=[]),r.push(s),n=>{r.length>1?r.forEach(a=>a(n)):r[0](n)}};or=t("__VUE_INSTANCE_SETTERS__",e=>ht=e),bn=t("__VUE_SSR_SETTERS__",e=>Cr=e)}const Mi=i=>{const t=ht;return or(i),i.scope.on(),()=>{i.scope.off(),or(t)}},Ua=()=>{ht&&ht.scope.off(),or(null)};function Rl(i){return i.vnode.shapeFlag&4}let Cr=!1;function Rh(i,t=!1,e=!1){t&&bn(t);const{props:s,children:r}=i.vnode,n=Rl(i);lh(i,s,n,t),fh(i,r,e);const a=n?$h(i,t):void 0;return t&&bn(!1),a}function $h(i,t){const e=i.type;i.accessCache=Object.create(null),i.proxy=new Proxy(i.ctx,Qu);const{setup:s}=e;if(s){const r=i.setupContext=s.length>1?Uh(i):null,n=Mi(i);xs();const a=_i(s,i,0,[i.props,r]);if(Ss(),n(),$o(a)){if(mi(i)||dl(i),a.then(Ua,Ua),t)return a.then(o=>{Va(i,o,t)}).catch(o=>{Pr(o,i,0)});i.asyncDep=a}else Va(i,a,t)}else $l(i,t)}function Va(i,t,e){Me(t)?i.type.__ssrInlineRender?i.ssrRender=t:i.render=t:Ze(t)&&(i.setupState=ll(t)),$l(i,e)}let Ha;function $l(i,t,e){const s=i.type;if(!i.render){if(!t&&Ha&&!s.render){const r=s.template||qn(i).template;if(r){const{isCustomElement:n,compilerOptions:a}=i.appContext.config,{delimiters:o,compilerOptions:l}=s,h=lt(lt({isCustomElement:n,delimiters:o},a),l);s.render=Ha(r,h)}}i.render=s.render||Mt}{const r=Mi(i);xs();try{eh(i)}finally{Ss(),r()}}}const jh={get(i,t){return pt(i,"get",""),i[t]}};function Uh(i){const t=e=>{i.exposed=e||{}};return{attrs:new Proxy(i.attrs,jh),slots:i.slots,emit:i.emit,expose:t}}function kr(i){return i.exposed?i.exposeProxy||(i.exposeProxy=new Proxy(ll(Pu(i.exposed)),{get(t,e){if(e in t)return t[e];if(e in yi)return yi[e](i)},has(t,e){return e in t||e in yi}})):i.proxy}function Vh(i,t=!0){return Me(i)?i.displayName||i.name:i.name||t&&i.__name}function Hh(i){return Me(i)&&"__vccOpts"in i}const Qt=(i,t)=>ku(i,t,Cr);function Ga(i,t,e){const s=arguments.length;return s===2?Ze(t)&&!Le(t)?ar(t)?ot(i,null,[t]):ot(i,t):ot(i,null,t):(s>3?e=Array.prototype.slice.call(arguments,2):s===3&&ar(e)&&(e=[e]),ot(i,t,e))}const Gh="3.5.11";/** +* @vue/runtime-dom v3.5.11 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let xn;const Wa=typeof window!="undefined"&&window.trustedTypes;if(Wa)try{xn=Wa.createPolicy("vue",{createHTML:i=>i})}catch{}const jl=xn?i=>xn.createHTML(i):i=>i,Wh="http://www.w3.org/2000/svg",Kh="http://www.w3.org/1998/Math/MathML",zt=typeof document!="undefined"?document:null,Ka=zt&&zt.createElement("template"),qh={insert:(i,t,e)=>{t.insertBefore(i,e||null)},remove:i=>{const t=i.parentNode;t&&t.removeChild(i)},createElement:(i,t,e,s)=>{const r=t==="svg"?zt.createElementNS(Wh,i):t==="mathml"?zt.createElementNS(Kh,i):e?zt.createElement(i,{is:e}):zt.createElement(i);return i==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:i=>zt.createTextNode(i),createComment:i=>zt.createComment(i),setText:(i,t)=>{i.nodeValue=t},setElementText:(i,t)=>{i.textContent=t},parentNode:i=>i.parentNode,nextSibling:i=>i.nextSibling,querySelector:i=>zt.querySelector(i),setScopeId(i,t){i.setAttribute(t,"")},insertStaticContent(i,t,e,s,r,n){const a=e?e.previousSibling:t.lastChild;if(r&&(r===n||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),e),!(r===n||!(r=r.nextSibling)););else{Ka.innerHTML=jl(s==="svg"?`${i}`:s==="mathml"?`${i}`:i);const o=Ka.content;if(s==="svg"||s==="mathml"){const l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}t.insertBefore(o,e)}return[a?a.nextSibling:t.firstChild,e?e.previousSibling:t.lastChild]}},zh=Symbol("_vtc");function Jh(i,t,e){const s=i[zh];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?i.removeAttribute("class"):e?i.setAttribute("class",t):i.className=t}const qa=Symbol("_vod"),Xh=Symbol("_vsh"),Yh=Symbol(""),Zh=/(^|;)\s*display\s*:/;function Qh(i,t,e){const s=i.style,r=rt(e);let n=!1;if(e&&!r){if(t)if(rt(t))for(const a of t.split(";")){const o=a.slice(0,a.indexOf(":")).trim();e[o]==null&&Xi(s,o,"")}else for(const a in t)e[a]==null&&Xi(s,a,"");for(const a in e)a==="display"&&(n=!0),Xi(s,a,e[a])}else if(r){if(t!==e){const a=s[Yh];a&&(e+=";"+a),s.cssText=e,n=Zh.test(e)}}else t&&i.removeAttribute("style");qa in i&&(i[qa]=n?s.display:"",i[Xh]&&(s.display="none"))}const za=/\s*!important$/;function Xi(i,t,e){if(Le(e))e.forEach(s=>Xi(i,t,s));else if(e==null&&(e=""),t.startsWith("--"))i.setProperty(t,e);else{const s=ef(i,t);za.test(e)?i.setProperty(Os(s),e.replace(za,""),"important"):i[s]=e}}const Ja=["Webkit","Moz","ms"],Jr={};function ef(i,t){const e=Jr[t];if(e)return e;let s=Lt(t);if(s!=="filter"&&s in i)return Jr[t]=s;s=gr(s);for(let r=0;rXr||(nf.then(()=>Xr=0),Xr=Date.now());function of(i,t){const e=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=e.attached)return;Ut(lf(s,e.value),t,5,[s])};return e.value=i,e.attached=af(),e}function lf(i,t){if(Le(t)){const e=i.stopImmediatePropagation;return i.stopImmediatePropagation=()=>{e.call(i),i._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const to=i=>i.charCodeAt(0)===111&&i.charCodeAt(1)===110&&i.charCodeAt(2)>96&&i.charCodeAt(2)<123,cf=(i,t,e,s,r,n)=>{const a=r==="svg";t==="class"?Jh(i,s,a):t==="style"?Qh(i,e,s):dr(t)?Nn(t)||sf(i,t,e,s,n):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):uf(i,t,s,a))?(Za(i,t,s),!i.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ya(i,t,s,a,n,t!=="value")):i._isVueCE&&(/[A-Z]/.test(t)||!rt(s))?Za(i,Lt(t),s):(t==="true-value"?i._trueValue=s:t==="false-value"&&(i._falseValue=s),Ya(i,t,s,a))};function uf(i,t,e,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in i&&to(t)&&Me(e));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&i.tagName==="INPUT"||t==="type"&&i.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=i.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return to(t)&&rt(e)?!1:t in i}const lr=i=>{const t=i.props["onUpdate:modelValue"]||!1;return Le(t)?e=>Ki(t,e):t};function hf(i){i.target.composing=!0}function so(i){const t=i.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const qs=Symbol("_assign"),io={created(i,{modifiers:{lazy:t,trim:e,number:s}},r){i[qs]=lr(r);const n=s||r.props&&r.props.type==="number";Ls(i,t?"change":"input",a=>{if(a.target.composing)return;let o=i.value;e&&(o=o.trim()),n&&(o=cn(o)),i[qs](o)}),e&&Ls(i,"change",()=>{i.value=i.value.trim()}),t||(Ls(i,"compositionstart",hf),Ls(i,"compositionend",so),Ls(i,"change",so))},mounted(i,{value:t}){i.value=t==null?"":t},beforeUpdate(i,{value:t,oldValue:e,modifiers:{lazy:s,trim:r,number:n}},a){if(i[qs]=lr(a),i.composing)return;const o=(n||i.type==="number")&&!/^0\d/.test(i.value)?cn(i.value):i.value,l=t==null?"":t;o!==l&&(document.activeElement===i&&i.type!=="range"&&(s&&t===e||r&&i.value.trim()===l)||(i.value=l))}},Yr={deep:!0,created(i,t,e){i[qs]=lr(e),Ls(i,"change",()=>{const s=i._modelValue,r=ff(i),n=i.checked,a=i[qs];if(Le(s)){const o=Go(s,r),l=o!==-1;if(n&&!l)a(s.concat(r));else if(!n&&l){const h=[...s];h.splice(o,1),a(h)}}else if(mr(s)){const o=new Set(s);n?o.add(r):o.delete(r),a(o)}else a(Ul(i,n))})},mounted:ro,beforeUpdate(i,t,e){i[qs]=lr(e),ro(i,t,e)}};function ro(i,{value:t},e){i._modelValue=t;let s;Le(t)?s=Go(t,e.props.value)>-1:mr(t)?s=t.has(e.props.value):s=Tr(t,Ul(i,!0)),i.checked!==s&&(i.checked=s)}function ff(i){return"_value"in i?i._value:i.value}function Ul(i,t){const e=t?"_trueValue":"_falseValue";return e in i?i[e]:t}const pf=lt({patchProp:cf},qh);let no;function df(){return no||(no=mh(pf))}const mf=(...i)=>{const t=df().createApp(...i),{mount:e}=t;return t.mount=s=>{const r=gf(s);if(!r)return;const n=t._component;!Me(n)&&!n.render&&!n.template&&(n.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const a=e(r,!1,yf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function yf(i){if(i instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&i instanceof MathMLElement)return"mathml"}function gf(i){return rt(i)?document.querySelector(i):i}var Yt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},vr={};Object.defineProperty(vr,"__esModule",{value:!0});function Tf(i,t){if(i==null)return{};var e={};for(var s in i)if({}.hasOwnProperty.call(i,s)){if(t.includes(s))continue;e[s]=i[s]}return e}class ys{constructor(t,e,s){this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=e,this.index=s}}class cr{constructor(t,e){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=e}}function xt(i,t){const{line:e,column:s,index:r}=i;return new ys(e,s+t,r+t)}const ao="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var bf={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:ao},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:ao}};const oo={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},Yi=i=>i.type==="UpdateExpression"?oo.UpdateExpression[`${i.prefix}`]:oo[i.type];var xf={AccessorIsGenerator:({kind:i})=>`A ${i}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:i})=>`Missing initializer in ${i} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:i})=>`\`${i}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:i})=>`'import.${i}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:i,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`. +- Did you mean \`export { '${i}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:i})=>`'${i==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:i})=>`Unsyntactic ${i==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:i})=>`A string literal cannot be used as an imported binding. +- Did you mean \`import { "${i}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:i})=>`\`import()\` requires exactly ${i===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:i})=>`Expected number in radix ${i}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:i})=>`Escape sequence in keyword ${i}.`,InvalidIdentifier:({identifierName:i})=>`Invalid identifier ${i}.`,InvalidLhs:({ancestor:i})=>`Invalid left-hand side in ${Yi(i)}.`,InvalidLhsBinding:({ancestor:i})=>`Binding invalid left-hand side in ${Yi(i)}.`,InvalidLhsOptionalChaining:({ancestor:i})=>`Invalid optional chaining in the left-hand side of ${Yi(i)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:i})=>`Unexpected character '${i}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:i})=>`Private name #${i} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:i})=>`Label '${i}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:i})=>`This experimental syntax requires enabling the parser plugin: ${i.map(t=>JSON.stringify(t)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:i})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${i.map(t=>JSON.stringify(t)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:i})=>`Duplicate key "${i}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:i})=>`An export name cannot include a lone surrogate, found '\\u${i.toString(16)}'.`,ModuleExportUndefined:({localName:i})=>`Export '${i}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:i})=>`Private names are only allowed in property accesses (\`obj.#${i}\`) or in \`in\` expressions (\`#${i} in obj\`).`,PrivateNameRedeclaration:({identifierName:i})=>`Duplicate private name #${i}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:i})=>`Unexpected keyword '${i}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:i})=>`Unexpected reserved word '${i}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:i,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${i?`, expected "${i}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:i,onlyValidPropertyName:t})=>`The only valid meta property for ${i} is ${i}.${t}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:i})=>`Identifier '${i}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},Sf={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:i})=>`Assigning to '${i}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:i})=>`Binding '${i}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."};const Pf=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var Ef={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:i})=>`Invalid topic token ${i}. In order to use ${i} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${i}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:i})=>`Hack-style pipe body cannot be an unparenthesized ${Yi({type:i})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'};const Af=["message"];function lo(i,t,e){Object.defineProperty(i,t,{enumerable:!1,configurable:!0,value:e})}function wf({toMessage:i,code:t,reasonCode:e,syntaxPlugin:s}){const r=e==="MissingPlugin"||e==="MissingOneOfPlugins";{const n={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};n[e]&&(e=n[e])}return function n(a,o){const l=new SyntaxError;return l.code=t,l.reasonCode=e,l.loc=a,l.pos=a.index,l.syntaxPlugin=s,r&&(l.missingPlugin=o.missingPlugin),lo(l,"clone",function(u={}){var b;const{line:P,column:L,index:A}=(b=u.loc)!=null?b:a;return n(new ys(P,L,A),Object.assign({},o,u.details))}),lo(l,"details",o),Object.defineProperty(l,"message",{configurable:!0,get(){const h=`${i(o)} (${a.line}:${a.column})`;return this.message=h,h},set(h){Object.defineProperty(this,"message",{value:h,writable:!0})}}),l}}function es(i,t){if(Array.isArray(i))return s=>es(s,i[0]);const e={};for(const s of Object.keys(i)){const r=i[s],n=typeof r=="string"?{message:()=>r}:typeof r=="function"?{message:r}:r,{message:a}=n,o=Tf(n,Af),l=typeof a=="string"?()=>a:a;e[s]=wf(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:s,toMessage:l},t?{syntaxPlugin:t}:{},o))}return e}const v=Object.assign({},es(bf),es(xf),es(Sf),es`pipelineOperator`(Ef)),{defineProperty:Cf}=Object,co=(i,t)=>{i&&Cf(i,t,{enumerable:!1,value:i[t]})};function ii(i){return co(i.loc.start,"index"),co(i.loc.end,"index"),i}var kf=i=>class extends i{parse(){const e=ii(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(ii)),e}parseRegExpLiteral({pattern:e,flags:s}){let r=null;try{r=new RegExp(e,s)}catch{}const n=this.estreeParseLiteral(r);return n.regex={pattern:e,flags:s},n}parseBigIntLiteral(e){let s;try{s=BigInt(e)}catch{s=null}const r=this.estreeParseLiteral(s);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){const r=this.estreeParseLiteral(null);return r.decimal=String(r.value||e),r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const s=e.value;delete e.value,s.type="Literal",s.raw=s.extra.raw,s.value=s.extra.expressionValue;const r=e;return r.type="ExpressionStatement",r.expression=s,r.directive=s.extra.rawValue,delete s.extra,r}initFunction(e,s){super.initFunction(e,s),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var s;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&!((s=e.expression.extra)!=null&&s.parenthesized)}parseBlockBody(e,s,r,n,a){super.parseBlockBody(e,s,r,n,a);const o=e.directives.map(l=>this.directiveToStmt(l));e.body=o.concat(e.body),delete e.directives}pushClassMethod(e,s,r,n,a,o){this.parseMethod(s,r,n,a,o,"ClassMethod",!0),s.typeParameters&&(s.value.typeParameters=s.typeParameters,delete s.typeParameters),e.body.push(s)}parsePrivateName(){const e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){const s=super.getPrivateNameSV(e);return e=e,delete e.id,e.name=s,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?e.type==="PrivateIdentifier":super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,s){const r=super.parseLiteral(e,s);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,s,r=!1){super.parseFunctionBody(e,s,r),e.expression=e.body.type!=="BlockStatement"}parseMethod(e,s,r,n,a,o,l=!1){let h=this.startNode();return h.kind=e.kind,h=super.parseMethod(h,s,r,n,a,o,l),h.type="FunctionExpression",delete h.kind,e.value=h,o==="ClassPrivateMethod"&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}nameIsConstructor(e){return e.type==="Literal"?e.value==="constructor":super.nameIsConstructor(e)}parseClassProperty(...e){const s=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")&&(s.type="PropertyDefinition"),s}parseClassPrivateProperty(...e){const s=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")&&(s.type="PropertyDefinition",s.computed=!1),s}parseObjectMethod(e,s,r,n,a){const o=super.parseObjectMethod(e,s,r,n,a);return o&&(o.type="Property",o.kind==="method"&&(o.kind="init"),o.shorthand=!1),o}parseObjectProperty(e,s,r,n){const a=super.parseObjectProperty(e,s,r,n);return a&&(a.kind="init",a.type="Property"),a}isValidLVal(e,s,r){return e==="Property"?"value":super.isValidLVal(e,s,r)}isAssignable(e,s){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,s):super.isAssignable(e,s)}toAssignable(e,s=!1){if(e!=null&&this.isObjectProperty(e)){const{key:r,value:n}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(n,s)}else super.toAssignable(e,s)}toAssignableObjectExpressionProp(e,s,r){e.type==="Property"&&(e.kind==="get"||e.kind==="set")?this.raise(v.PatternHasAccessor,e.key):e.type==="Property"&&e.method?this.raise(v.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,s,r)}finishCallExpression(e,s){const r=super.finishCallExpression(e,s);if(r.callee.type==="Import"){if(r.type="ImportExpression",r.source=r.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var n,a;r.options=(n=r.arguments[1])!=null?n:null,r.attributes=(a=r.arguments[1])!=null?a:null}delete r.arguments,delete r.callee}return r}toReferencedArguments(e){e.type!=="ImportExpression"&&super.toReferencedArguments(e)}parseExport(e,s){const r=this.state.lastTokStartLoc,n=super.parseExport(e,s);switch(n.type){case"ExportAllDeclaration":n.exported=null;break;case"ExportNamedDeclaration":n.specifiers.length===1&&n.specifiers[0].type==="ExportNamespaceSpecifier"&&(n.type="ExportAllDeclaration",n.exported=n.specifiers[0].exported,delete n.specifiers);case"ExportDefaultDeclaration":{var a;const{declaration:o}=n;(o==null?void 0:o.type)==="ClassDeclaration"&&((a=o.decorators)==null?void 0:a.length)>0&&o.start===n.start&&this.resetStartLocation(n,r)}break}return n}parseSubscript(e,s,r,n){const a=super.parseSubscript(e,s,r,n);if(n.optionalChainMember){if((a.type==="OptionalMemberExpression"||a.type==="OptionalCallExpression")&&(a.type=a.type.substring(8)),n.stop){const o=this.startNodeAtNode(a);return o.expression=a,this.finishNode(o,"ChainExpression")}}else(a.type==="MemberExpression"||a.type==="CallExpression")&&(a.optional=!1);return a}isOptionalMemberExpression(e){return e.type==="ChainExpression"?e.expression.type==="MemberExpression":super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return e.type==="ChainExpression"&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.type==="Property"&&(e.method||e.kind==="get"||e.kind==="set")}finishNodeAt(e,s,r){return ii(super.finishNodeAt(e,s,r))}resetStartLocation(e,s){super.resetStartLocation(e,s),ii(e)}resetEndLocation(e,s=this.state.lastTokEndLoc){super.resetEndLocation(e,s),ii(e)}};class ci{constructor(t,e){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!e}}const Ke={brace:new ci("{"),j_oTag:new ci("...",!0)};Ke.template=new ci("`",!0);const Be=!0,ge=!0,Zr=!0,ri=!0,cs=!0,vf=!0;class Vl{constructor(t,e={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.rightAssociative=!!e.rightAssociative,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop!=null?e.binop:null,this.updateContext=null}}const Xn=new Map;function $e(i,t={}){t.keyword=i;const e=Ce(i,t);return Xn.set(i,e),e}function gt(i,t){return Ce(i,{beforeExpr:Be,binop:t})}let bi=-1;const Jt=[],Yn=[],Zn=[],Qn=[],ea=[],ta=[];function Ce(i,t={}){var e,s,r,n;return++bi,Yn.push(i),Zn.push((e=t.binop)!=null?e:-1),Qn.push((s=t.beforeExpr)!=null?s:!1),ea.push((r=t.startsExpr)!=null?r:!1),ta.push((n=t.prefix)!=null?n:!1),Jt.push(new Vl(i,t)),bi}function Fe(i,t={}){var e,s,r,n;return++bi,Xn.set(i,bi),Yn.push(i),Zn.push((e=t.binop)!=null?e:-1),Qn.push((s=t.beforeExpr)!=null?s:!1),ea.push((r=t.startsExpr)!=null?r:!1),ta.push((n=t.prefix)!=null?n:!1),Jt.push(new Vl("name",t)),bi}const Lf={bracketL:Ce("[",{beforeExpr:Be,startsExpr:ge}),bracketHashL:Ce("#[",{beforeExpr:Be,startsExpr:ge}),bracketBarL:Ce("[|",{beforeExpr:Be,startsExpr:ge}),bracketR:Ce("]"),bracketBarR:Ce("|]"),braceL:Ce("{",{beforeExpr:Be,startsExpr:ge}),braceBarL:Ce("{|",{beforeExpr:Be,startsExpr:ge}),braceHashL:Ce("#{",{beforeExpr:Be,startsExpr:ge}),braceR:Ce("}"),braceBarR:Ce("|}"),parenL:Ce("(",{beforeExpr:Be,startsExpr:ge}),parenR:Ce(")"),comma:Ce(",",{beforeExpr:Be}),semi:Ce(";",{beforeExpr:Be}),colon:Ce(":",{beforeExpr:Be}),doubleColon:Ce("::",{beforeExpr:Be}),dot:Ce("."),question:Ce("?",{beforeExpr:Be}),questionDot:Ce("?."),arrow:Ce("=>",{beforeExpr:Be}),template:Ce("template"),ellipsis:Ce("...",{beforeExpr:Be}),backQuote:Ce("`",{startsExpr:ge}),dollarBraceL:Ce("${",{beforeExpr:Be,startsExpr:ge}),templateTail:Ce("...`",{startsExpr:ge}),templateNonTail:Ce("...${",{beforeExpr:Be,startsExpr:ge}),at:Ce("@"),hash:Ce("#",{startsExpr:ge}),interpreterDirective:Ce("#!..."),eq:Ce("=",{beforeExpr:Be,isAssign:ri}),assign:Ce("_=",{beforeExpr:Be,isAssign:ri}),slashAssign:Ce("_=",{beforeExpr:Be,isAssign:ri}),xorAssign:Ce("_=",{beforeExpr:Be,isAssign:ri}),moduloAssign:Ce("_=",{beforeExpr:Be,isAssign:ri}),incDec:Ce("++/--",{prefix:cs,postfix:vf,startsExpr:ge}),bang:Ce("!",{beforeExpr:Be,prefix:cs,startsExpr:ge}),tilde:Ce("~",{beforeExpr:Be,prefix:cs,startsExpr:ge}),doubleCaret:Ce("^^",{startsExpr:ge}),doubleAt:Ce("@@",{startsExpr:ge}),pipeline:gt("|>",0),nullishCoalescing:gt("??",1),logicalOR:gt("||",1),logicalAND:gt("&&",2),bitwiseOR:gt("|",3),bitwiseXOR:gt("^",4),bitwiseAND:gt("&",5),equality:gt("==/!=/===/!==",6),lt:gt("/<=/>=",7),gt:gt("/<=/>=",7),relational:gt("/<=/>=",7),bitShift:gt("<>/>>>",8),bitShiftL:gt("<>/>>>",8),bitShiftR:gt("<>/>>>",8),plusMin:Ce("+/-",{beforeExpr:Be,binop:9,prefix:cs,startsExpr:ge}),modulo:Ce("%",{binop:10,startsExpr:ge}),star:Ce("*",{binop:10}),slash:gt("/",10),exponent:Ce("**",{beforeExpr:Be,binop:11,rightAssociative:!0}),_in:$e("in",{beforeExpr:Be,binop:7}),_instanceof:$e("instanceof",{beforeExpr:Be,binop:7}),_break:$e("break"),_case:$e("case",{beforeExpr:Be}),_catch:$e("catch"),_continue:$e("continue"),_debugger:$e("debugger"),_default:$e("default",{beforeExpr:Be}),_else:$e("else",{beforeExpr:Be}),_finally:$e("finally"),_function:$e("function",{startsExpr:ge}),_if:$e("if"),_return:$e("return",{beforeExpr:Be}),_switch:$e("switch"),_throw:$e("throw",{beforeExpr:Be,prefix:cs,startsExpr:ge}),_try:$e("try"),_var:$e("var"),_const:$e("const"),_with:$e("with"),_new:$e("new",{beforeExpr:Be,startsExpr:ge}),_this:$e("this",{startsExpr:ge}),_super:$e("super",{startsExpr:ge}),_class:$e("class",{startsExpr:ge}),_extends:$e("extends",{beforeExpr:Be}),_export:$e("export"),_import:$e("import",{startsExpr:ge}),_null:$e("null",{startsExpr:ge}),_true:$e("true",{startsExpr:ge}),_false:$e("false",{startsExpr:ge}),_typeof:$e("typeof",{beforeExpr:Be,prefix:cs,startsExpr:ge}),_void:$e("void",{beforeExpr:Be,prefix:cs,startsExpr:ge}),_delete:$e("delete",{beforeExpr:Be,prefix:cs,startsExpr:ge}),_do:$e("do",{isLoop:Zr,beforeExpr:Be}),_for:$e("for",{isLoop:Zr}),_while:$e("while",{isLoop:Zr}),_as:Fe("as",{startsExpr:ge}),_assert:Fe("assert",{startsExpr:ge}),_async:Fe("async",{startsExpr:ge}),_await:Fe("await",{startsExpr:ge}),_defer:Fe("defer",{startsExpr:ge}),_from:Fe("from",{startsExpr:ge}),_get:Fe("get",{startsExpr:ge}),_let:Fe("let",{startsExpr:ge}),_meta:Fe("meta",{startsExpr:ge}),_of:Fe("of",{startsExpr:ge}),_sent:Fe("sent",{startsExpr:ge}),_set:Fe("set",{startsExpr:ge}),_source:Fe("source",{startsExpr:ge}),_static:Fe("static",{startsExpr:ge}),_using:Fe("using",{startsExpr:ge}),_yield:Fe("yield",{startsExpr:ge}),_asserts:Fe("asserts",{startsExpr:ge}),_checks:Fe("checks",{startsExpr:ge}),_exports:Fe("exports",{startsExpr:ge}),_global:Fe("global",{startsExpr:ge}),_implements:Fe("implements",{startsExpr:ge}),_intrinsic:Fe("intrinsic",{startsExpr:ge}),_infer:Fe("infer",{startsExpr:ge}),_is:Fe("is",{startsExpr:ge}),_mixins:Fe("mixins",{startsExpr:ge}),_proto:Fe("proto",{startsExpr:ge}),_require:Fe("require",{startsExpr:ge}),_satisfies:Fe("satisfies",{startsExpr:ge}),_keyof:Fe("keyof",{startsExpr:ge}),_readonly:Fe("readonly",{startsExpr:ge}),_unique:Fe("unique",{startsExpr:ge}),_abstract:Fe("abstract",{startsExpr:ge}),_declare:Fe("declare",{startsExpr:ge}),_enum:Fe("enum",{startsExpr:ge}),_module:Fe("module",{startsExpr:ge}),_namespace:Fe("namespace",{startsExpr:ge}),_interface:Fe("interface",{startsExpr:ge}),_type:Fe("type",{startsExpr:ge}),_opaque:Fe("opaque",{startsExpr:ge}),name:Ce("name",{startsExpr:ge}),string:Ce("string",{startsExpr:ge}),num:Ce("num",{startsExpr:ge}),bigint:Ce("bigint",{startsExpr:ge}),decimal:Ce("decimal",{startsExpr:ge}),regexp:Ce("regexp",{startsExpr:ge}),privateName:Ce("#name",{startsExpr:ge}),eof:Ce("eof"),jsxName:Ce("jsxName"),jsxText:Ce("jsxText",{beforeExpr:!0}),jsxTagStart:Ce("jsxTagStart",{startsExpr:!0}),jsxTagEnd:Ce("jsxTagEnd"),placeholder:Ce("%%",{startsExpr:!0})};function He(i){return i>=93&&i<=132}function If(i){return i<=92}function _t(i){return i>=58&&i<=132}function Hl(i){return i>=58&&i<=136}function Nf(i){return Qn[i]}function Sn(i){return ea[i]}function _f(i){return i>=29&&i<=33}function uo(i){return i>=129&&i<=131}function Mf(i){return i>=90&&i<=92}function sa(i){return i>=58&&i<=92}function Of(i){return i>=39&&i<=59}function Df(i){return i===34}function Ff(i){return ta[i]}function Bf(i){return i>=121&&i<=123}function Rf(i){return i>=124&&i<=130}function gs(i){return Yn[i]}function Zi(i){return Zn[i]}function $f(i){return i===57}function ur(i){return i>=24&&i<=25}function qt(i){return Jt[i]}Jt[8].updateContext=i=>{i.pop()},Jt[5].updateContext=Jt[7].updateContext=Jt[23].updateContext=i=>{i.push(Ke.brace)},Jt[22].updateContext=i=>{i[i.length-1]===Ke.template?i.pop():i.push(Ke.template)},Jt[142].updateContext=i=>{i.push(Ke.j_expr,Ke.j_oTag)};let ia="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Gl="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";const jf=new RegExp("["+ia+"]"),Uf=new RegExp("["+ia+Gl+"]");ia=Gl=null;const Wl=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Vf=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function Pn(i,t){let e=65536;for(let s=0,r=t.length;si)return!1;if(e+=t[s+1],e>=i)return!0}return!1}function Zt(i){return i<65?i===36:i<=90?!0:i<97?i===95:i<=122?!0:i<=65535?i>=170&&jf.test(String.fromCharCode(i)):Pn(i,Wl)}function zs(i){return i<48?i===36:i<58?!0:i<65?!1:i<=90?!0:i<97?i===95:i<=122?!0:i<=65535?i>=170&&Uf.test(String.fromCharCode(i)):Pn(i,Wl)||Pn(i,Vf)}const ra={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Hf=new Set(ra.keyword),Gf=new Set(ra.strict),Wf=new Set(ra.strictBind);function Kl(i,t){return t&&i==="await"||i==="enum"}function ql(i,t){return Kl(i,t)||Gf.has(i)}function zl(i){return Wf.has(i)}function Jl(i,t){return ql(i,t)||zl(i)}function Kf(i){return Hf.has(i)}function qf(i,t,e){return i===64&&t===64&&Zt(e)}const zf=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function Jf(i){return zf.has(i)}class na{constructor(t){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=t}}class aa{constructor(t,e){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=t,this.inModule=e}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){const t=this.currentThisScopeFlags();return(t&64)>0&&(t&2)===0}get inStaticBlock(){for(let t=this.scopeStack.length-1;;t--){const{flags:e}=this.scopeStack[t];if(e&128)return!0;if(e&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new na(t)}enter(t){this.scopeStack.push(this.createScope(t))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(t){return!!(t.flags&130||!this.parser.inModule&&t.flags&1)}declareName(t,e,s){let r=this.currentScope();if(e&8||e&16){this.checkRedeclarationInScope(r,t,e,s);let n=r.names.get(t)||0;e&16?n=n|4:(r.firstLexicalName||(r.firstLexicalName=t),n=n|2),r.names.set(t,n),e&8&&this.maybeExportDefined(r,t)}else if(e&4)for(let n=this.scopeStack.length-1;n>=0&&(r=this.scopeStack[n],this.checkRedeclarationInScope(r,t,e,s),r.names.set(t,(r.names.get(t)||0)|1),this.maybeExportDefined(r,t),!(r.flags&387));--n);this.parser.inModule&&r.flags&1&&this.undefinedExports.delete(t)}maybeExportDefined(t,e){this.parser.inModule&&t.flags&1&&this.undefinedExports.delete(e)}checkRedeclarationInScope(t,e,s,r){this.isRedeclaredInScope(t,e,s)&&this.parser.raise(v.VarRedeclaration,r,{identifierName:e})}isRedeclaredInScope(t,e,s){if(!(s&1))return!1;if(s&8)return t.names.has(e);const r=t.names.get(e);return s&16?(r&2)>0||!this.treatFunctionsAsVarInScope(t)&&(r&1)>0:(r&2)>0&&!(t.flags&8&&t.firstLexicalName===e)||!this.treatFunctionsAsVarInScope(t)&&(r&4)>0}checkLocalExport(t){const{name:e}=t;this.scopeStack[0].names.has(e)||this.undefinedExports.set(e,t.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let t=this.scopeStack.length-1;;t--){const{flags:e}=this.scopeStack[t];if(e&387)return e}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){const{flags:e}=this.scopeStack[t];if(e&451&&!(e&4))return e}}}class Xf extends na{constructor(...t){super(...t),this.declareFunctions=new Set}}class Yf extends aa{createScope(t){return new Xf(t)}declareName(t,e,s){const r=this.currentScope();if(e&2048){this.checkRedeclarationInScope(r,t,e,s),this.maybeExportDefined(r,t),r.declareFunctions.add(t);return}super.declareName(t,e,s)}isRedeclaredInScope(t,e,s){if(super.isRedeclaredInScope(t,e,s))return!0;if(s&2048&&!t.declareFunctions.has(e)){const r=t.names.get(e);return(r&4)>0||(r&2)>0}return!1}checkLocalExport(t){this.scopeStack[0].declareFunctions.has(t.name)||super.checkLocalExport(t)}}class Zf{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(t){if(typeof t=="string")return this.plugins.has(t);{const[e,s]=t;if(!this.hasPlugin(e))return!1;const r=this.plugins.get(e);for(const n of Object.keys(s))if((r==null?void 0:r[n])!==s[n])return!1;return!0}}getPluginOption(t,e){var s;return(s=this.plugins.get(t))==null?void 0:s[e]}}function Xl(i,t){i.trailingComments===void 0?i.trailingComments=t:i.trailingComments.unshift(...t)}function Qf(i,t){i.leadingComments===void 0?i.leadingComments=t:i.leadingComments.unshift(...t)}function ki(i,t){i.innerComments===void 0?i.innerComments=t:i.innerComments.unshift(...t)}function ni(i,t,e){let s=null,r=t.length;for(;s===null&&r>0;)s=t[--r];s===null||s.start>e.start?ki(i,e.comments):Xl(s,e.comments)}class ep extends Zf{addComment(t){this.filename&&(t.loc.filename=this.filename);const{commentsLen:e}=this.state;this.comments.length!==e&&(this.comments.length=e),this.comments.push(t),this.state.commentsLen++}processComment(t){const{commentStack:e}=this.state,s=e.length;if(s===0)return;let r=s-1;const n=e[r];n.start===t.end&&(n.leadingNode=t,r--);const{start:a}=t;for(;r>=0;r--){const o=e[r],l=o.end;if(l>a)o.containingNode=t,this.finalizeComment(o),e.splice(r,1);else{l===a&&(o.trailingNode=t);break}}}finalizeComment(t){const{comments:e}=t;if(t.leadingNode!==null||t.trailingNode!==null)t.leadingNode!==null&&Xl(t.leadingNode,e),t.trailingNode!==null&&Qf(t.trailingNode,e);else{const{containingNode:s,start:r}=t;if(this.input.charCodeAt(r-1)===44)switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":ni(s,s.properties,t);break;case"CallExpression":case"OptionalCallExpression":ni(s,s.arguments,t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":ni(s,s.params,t);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":ni(s,s.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":ni(s,s.specifiers,t);break;default:ki(s,e)}else ki(s,e)}}finalizeRemainingComments(){const{commentStack:t}=this.state;for(let e=t.length-1;e>=0;e--)this.finalizeComment(t[e]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(t){const{commentStack:e}=this.state,{length:s}=e;if(s===0)return;const r=e[s-1];r.leadingNode===t&&(r.leadingNode=null)}resetPreviousIdentifierLeadingComments(t){const{commentStack:e}=this.state,{length:s}=e;s!==0&&(e[s-1].trailingNode===t?e[s-1].trailingNode=null:s>=2&&e[s-2].trailingNode===t&&(e[s-2].trailingNode=null))}takeSurroundingComments(t,e,s){const{commentStack:r}=this.state,n=r.length;if(n===0)return;let a=n-1;for(;a>=0;a--){const o=r[a],l=o.end;if(o.start===s)o.leadingNode=t;else if(l===e)o.trailingNode=t;else if(l0}set strict(t){t?this.flags|=1:this.flags&=-2}init({strictMode:t,sourceType:e,startLine:s,startColumn:r}){this.strict=t===!1?!1:t===!0?!0:e==="module",this.curLine=s,this.lineStart=-r,this.startLoc=this.endLoc=new ys(s,r,0)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(t){t?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(t){t?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(t){t?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(t){t?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(t){t?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(t){t?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(t){t?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(t){t?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(t){t?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(t){t?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(t){t?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(t){t?this.flags|=4096:this.flags&=-4097}curPosition(){return new ys(this.curLine,this.pos-this.lineStart,this.pos)}clone(){const t=new oa;return t.flags=this.flags,t.curLine=this.curLine,t.lineStart=this.lineStart,t.startLoc=this.startLoc,t.endLoc=this.endLoc,t.errors=this.errors.slice(),t.potentialArrowAt=this.potentialArrowAt,t.noArrowAt=this.noArrowAt.slice(),t.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),t.topicContext=this.topicContext,t.labels=this.labels.slice(),t.commentsLen=this.commentsLen,t.commentStack=this.commentStack.slice(),t.pos=this.pos,t.type=this.type,t.value=this.value,t.start=this.start,t.end=this.end,t.lastTokEndLoc=this.lastTokEndLoc,t.lastTokStartLoc=this.lastTokStartLoc,t.context=this.context.slice(),t.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,t.strictErrors=this.strictErrors,t.tokensLength=this.tokensLength,t}}var ip=function(t){return t>=48&&t<=57};const fo={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Hi={bin:i=>i===48||i===49,oct:i=>i>=48&&i<=55,dec:i=>i>=48&&i<=57,hex:i=>i>=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102};function po(i,t,e,s,r,n){const a=e,o=s,l=r;let h="",u=null,b=e;const{length:P}=t;for(;;){if(e>=P){n.unterminated(a,o,l),h+=t.slice(b,e);break}const L=t.charCodeAt(e);if(rp(i,L,t,e)){h+=t.slice(b,e);break}if(L===92){h+=t.slice(b,e);const A=np(t,e,s,r,i==="template",n);A.ch===null&&!u?u={pos:e,lineStart:s,curLine:r}:h+=A.ch,{pos:e,lineStart:s,curLine:r}=A,b=e}else L===8232||L===8233?(++e,++r,s=e):L===10||L===13?i==="template"?(h+=t.slice(b,e)+` +`,++e,L===13&&t.charCodeAt(e)===10&&++e,++r,b=s=e):n.unterminated(a,o,l):++e}return{pos:e,str:h,firstInvalidLoc:u,lineStart:s,curLine:r,containsInvalid:!!u}}function rp(i,t,e,s){return i==="template"?t===96||t===36&&e.charCodeAt(s+1)===123:t===(i==="double"?34:39)}function np(i,t,e,s,r,n){const a=!r;t++;const o=h=>({pos:t,ch:h,lineStart:e,curLine:s}),l=i.charCodeAt(t++);switch(l){case 110:return o(` +`);case 114:return o("\r");case 120:{let h;return{code:h,pos:t}=En(i,t,e,s,2,!1,a,n),o(h===null?null:String.fromCharCode(h))}case 117:{let h;return{code:h,pos:t}=Zl(i,t,e,s,a,n),o(h===null?null:String.fromCodePoint(h))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:i.charCodeAt(t)===10&&++t;case 10:e=t,++s;case 8232:case 8233:return o("");case 56:case 57:if(r)return o(null);n.strictNumericEscape(t-1,e,s);default:if(l>=48&&l<=55){const h=t-1;let b=/^[0-7]+/.exec(i.slice(h,t+2))[0],P=parseInt(b,8);P>255&&(b=b.slice(0,-1),P=parseInt(b,8)),t+=b.length-1;const L=i.charCodeAt(t);if(b!=="0"||L===56||L===57){if(r)return o(null);n.strictNumericEscape(h,e,s)}return o(String.fromCharCode(P))}return o(String.fromCharCode(l))}}function En(i,t,e,s,r,n,a,o){const l=t;let h;return{n:h,pos:t}=Yl(i,t,e,s,16,r,n,!1,o,!a),h===null&&(a?o.invalidEscapeSequence(l,e,s):t=l-1),{code:h,pos:t}}function Yl(i,t,e,s,r,n,a,o,l,h){const u=t,b=r===16?fo.hex:fo.decBinOct,P=r===16?Hi.hex:r===10?Hi.dec:r===8?Hi.oct:Hi.bin;let L=!1,A=0;for(let j=0,V=n==null?1/0:n;j=97?B=D-97+10:D>=65?B=D-65+10:ip(D)?B=D-48:B=1/0,B>=r){if(B<=9&&h)return{n:null,pos:t};if(B<=9&&l.invalidDigit(t,e,s,r))B=0;else if(a)B=0,L=!0;else break}++t,A=A*r+B}return t===u||n!=null&&t-u!==n||L?{n:null,pos:t}:{n:A,pos:t}}function Zl(i,t,e,s,r,n){const a=i.charCodeAt(t);let o;if(a===123){if(++t,{code:o,pos:t}=En(i,t,e,s,i.indexOf("}",t)-t,!0,r,n),++t,o!==null&&o>1114111)if(r)n.invalidCodePoint(t,e,s);else return{code:null,pos:t}}else({code:o,pos:t}=En(i,t,e,s,4,!1,r,n));return{code:o,pos:t}}function ai(i,t,e){return new ys(e,i-t,i)}const ap=new Set([103,109,115,105,121,117,100,118]);class hs{constructor(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,this.loc=new cr(t.startLoc,t.endLoc)}}class op extends ep{constructor(t,e){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(s,r,n,a)=>this.options.errorRecovery?(this.raise(v.InvalidDigit,ai(s,r,n),{radix:a}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(v.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(v.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(v.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(v.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(s,r,n)=>{this.recordStrictModeErrors(v.StrictNumericEscape,ai(s,r,n))},unterminated:(s,r,n)=>{throw this.raise(v.UnterminatedString,ai(s-1,r,n))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(v.StrictNumericEscape),unterminated:(s,r,n)=>{throw this.raise(v.UnterminatedTemplate,ai(s,r,n))}}),this.state=new oa,this.state.init(t),this.input=e,this.length=e.length,this.comments=[],this.isLookahead=!1}pushToken(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new hs(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(t){return this.match(t)?(this.next(),!0):!1}match(t){return this.state.type===t}createLookaheadState(t){return{pos:t.pos,value:null,type:t.type,start:t.start,end:t.end,context:[this.curContext()],inType:t.inType,startLoc:t.startLoc,lastTokEndLoc:t.lastTokEndLoc,curLine:t.curLine,lineStart:t.lineStart,curPosition:t.curPosition}}lookahead(){const t=this.state;this.state=this.createLookaheadState(t),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const e=this.state;return this.state=t,e}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(t){return Qr.lastIndex=t,Qr.test(this.input)?Qr.lastIndex:t}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return en.lastIndex=t,en.test(this.input)?en.lastIndex:t}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(t){let e=this.input.charCodeAt(t);if((e&64512)===55296&&++tthis.raise(e,s)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(139);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(t){let e;this.isLookahead||(e=this.state.curPosition());const s=this.state.pos,r=this.input.indexOf(t,s+2);if(r===-1)throw this.raise(v.UnterminatedComment,this.state.curPosition());for(this.state.pos=r+t.length,Vi.lastIndex=s+2;Vi.test(this.input)&&Vi.lastIndex<=r;)++this.state.curLine,this.state.lineStart=Vi.lastIndex;if(this.isLookahead)return;const n={type:"CommentBlock",value:this.input.slice(s+2,r),start:s,end:r+t.length,loc:new cr(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}skipLineComment(t){const e=this.state.pos;let s;this.isLookahead||(s=this.state.curPosition());let r=this.input.charCodeAt(this.state.pos+=t);if(this.state.post)){const n=this.skipLineComment(3);n!==void 0&&(this.addComment(n),this.options.attachComment&&e.push(n))}else break e}else if(s===60&&!this.inModule&&this.options.annexB){const r=this.state.pos;if(this.input.charCodeAt(r+1)===33&&this.input.charCodeAt(r+2)===45&&this.input.charCodeAt(r+3)===45){const n=this.skipLineComment(4);n!==void 0&&(this.addComment(n),this.options.attachComment&&e.push(n))}else break e}else break e}}if(e.length>0){const s=this.state.pos,r={start:t,end:s,comments:e,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(t,e){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const s=this.state.type;this.state.type=t,this.state.value=e,this.isLookahead||this.updateContext(s)}replaceToken(t){this.state.type=t,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;const t=this.state.pos+1,e=this.codePointAtPos(t);if(e>=48&&e<=57)throw this.raise(v.UnexpectedDigitAfterHash,this.state.curPosition());if(e===123||e===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(e===123?v.RecordExpressionHashIncorrectStartSyntaxType:v.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,e===123?this.finishToken(7):this.finishToken(1)}else Zt(e)?(++this.state.pos,this.finishToken(138,this.readWord1(e))):e===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const t=this.input.charCodeAt(this.state.pos+1);if(t>=48&&t<=57){this.readNumber(!0);return}t===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let t=this.input.charCodeAt(this.state.pos+1);if(t!==33)return!1;const e=this.state.pos;for(this.state.pos+=1;!Js(t)&&++this.state.pos=48&&e<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(t){switch(t){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(v.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(v.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(t);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(t);return;case 124:case 38:this.readToken_pipe_amp(t);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(t);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(t);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(Zt(t)){this.readWord(t);return}}throw this.raise(v.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(t)})}finishOp(t,e){const s=this.input.slice(this.state.pos,this.state.pos+e);this.state.pos+=e,this.finishToken(t,s)}readRegexp(){const t=this.state.startLoc,e=this.state.start+1;let s,r,{pos:n}=this.state;for(;;++n){if(n>=this.length)throw this.raise(v.UnterminatedRegExp,xt(t,1));const h=this.input.charCodeAt(n);if(Js(h))throw this.raise(v.UnterminatedRegExp,xt(t,1));if(s)s=!1;else{if(h===91)r=!0;else if(h===93&&r)r=!1;else if(h===47&&!r)break;s=h===92}}const a=this.input.slice(e,n);++n;let o="";const l=()=>xt(t,n+2-e);for(;n=2&&this.input.charCodeAt(e)===48;if(l){const L=this.input.slice(e,this.state.pos);if(this.recordStrictModeErrors(v.StrictOctalLiteral,s),!this.state.strict){const A=L.indexOf("_");A>0&&this.raise(v.ZeroDigitNumericSeparator,xt(s,A))}o=l&&!/[89]/.test(L)}let h=this.input.charCodeAt(this.state.pos);if(h===46&&!o&&(++this.state.pos,this.readInt(10),r=!0,h=this.input.charCodeAt(this.state.pos)),(h===69||h===101)&&!o&&(h=this.input.charCodeAt(++this.state.pos),(h===43||h===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(v.InvalidOrMissingExponent,s),r=!0,a=!0,h=this.input.charCodeAt(this.state.pos)),h===110&&((r||l)&&this.raise(v.InvalidBigIntLiteral,s),++this.state.pos,n=!0),h===109){this.expectPlugin("decimal",this.state.curPosition()),(a||l)&&this.raise(v.InvalidDecimal,s),++this.state.pos;var u=!0}if(Zt(this.codePointAtPos(this.state.pos)))throw this.raise(v.NumberIdentifier,this.state.curPosition());const b=this.input.slice(e,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(135,b);return}if(u){this.finishToken(136,b);return}const P=o?parseInt(b,8):parseFloat(b);this.finishToken(134,P)}readCodePoint(t){const{code:e,pos:s}=Zl(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,this.errorHandlers_readCodePoint);return this.state.pos=s,e}readString(t){const{str:e,pos:s,curLine:r,lineStart:n}=po(t===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=s+1,this.state.lineStart=n,this.state.curLine=r,this.finishToken(133,e)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const t=this.input[this.state.pos],{str:e,firstInvalidLoc:s,pos:r,curLine:n,lineStart:a}=po("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=r+1,this.state.lineStart=a,this.state.curLine=n,s&&(this.state.firstInvalidTemplateEscapePos=new ys(s.curLine,s.pos-s.lineStart,s.pos)),this.input.codePointAt(r)===96?this.finishToken(24,s?null:t+e+"`"):(this.state.pos++,this.finishToken(25,s?null:t+e+"${"))}recordStrictModeErrors(t,e){const s=e.index;this.state.strict&&!this.state.strictErrors.has(s)?this.raise(t,e):this.state.strictErrors.set(s,[t,e])}readWord1(t){this.state.containsEsc=!1;let e="";const s=this.state.pos;let r=this.state.pos;for(t!==void 0&&(this.state.pos+=t<=65535?1:2);this.state.pos=0;o--){const l=a[o];if(l.loc.index===n)return a[o]=t(r,s);if(l.loc.indexthis.hasPlugin(e)))throw this.raise(v.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:t})}errorBuilder(t){return(e,s,r)=>{this.raise(t,ai(e,s,r))}}}class lp{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class cp{constructor(t){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=t}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new lp)}exit(){const t=this.stack.pop(),e=this.current();for(const[s,r]of Array.from(t.undefinedPrivateNames))e?e.undefinedPrivateNames.has(s)||e.undefinedPrivateNames.set(s,r):this.parser.raise(v.InvalidPrivateFieldResolution,r,{identifierName:s})}declarePrivateName(t,e,s){const{privateNames:r,loneAccessors:n,undefinedPrivateNames:a}=this.current();let o=r.has(t);if(e&3){const l=o&&n.get(t);if(l){const h=l&4,u=e&4,b=l&3,P=e&3;o=b===P||h!==u,o||n.delete(t)}else o||n.set(t,e)}o&&this.parser.raise(v.PrivateNameRedeclaration,s,{identifierName:t}),r.add(t),a.delete(t)}usePrivateName(t,e){let s;for(s of this.stack)if(s.privateNames.has(t))return;s?s.undefinedPrivateNames.set(t,e):this.parser.raise(v.InvalidPrivateFieldResolution,e,{identifierName:t})}}class Lr{constructor(t=0){this.type=t}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class Ql extends Lr{constructor(t){super(t),this.declarationErrors=new Map}recordDeclarationError(t,e){const s=e.index;this.declarationErrors.set(s,[t,e])}clearDeclarationError(t){this.declarationErrors.delete(t)}iterateErrors(t){this.declarationErrors.forEach(t)}}class up{constructor(t){this.parser=void 0,this.stack=[new Lr],this.parser=t}enter(t){this.stack.push(t)}exit(){this.stack.pop()}recordParameterInitializerError(t,e){const s=e.loc.start,{stack:r}=this;let n=r.length-1,a=r[n];for(;!a.isCertainlyParameterDeclaration();){if(a.canBeArrowParameterDeclaration())a.recordDeclarationError(t,s);else return;a=r[--n]}this.parser.raise(t,s)}recordArrowParameterBindingError(t,e){const{stack:s}=this,r=s[s.length-1],n=e.loc.start;if(r.isCertainlyParameterDeclaration())this.parser.raise(t,n);else if(r.canBeArrowParameterDeclaration())r.recordDeclarationError(t,n);else return}recordAsyncArrowParametersError(t){const{stack:e}=this;let s=e.length-1,r=e[s];for(;r.canBeArrowParameterDeclaration();)r.type===2&&r.recordDeclarationError(v.AwaitBindingIdentifier,t),r=e[--s]}validateAsPattern(){const{stack:t}=this,e=t[t.length-1];!e.canBeArrowParameterDeclaration()||e.iterateErrors(([s,r])=>{this.parser.raise(s,r);let n=t.length-2,a=t[n];for(;a.canBeArrowParameterDeclaration();)a.clearDeclarationError(r.index),a=t[--n]})}}function hp(){return new Lr(3)}function fp(){return new Ql(1)}function pp(){return new Ql(2)}function ec(){return new Lr}class dp{constructor(){this.stacks=[]}enter(t){this.stacks.push(t)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}}function Qi(i,t){return(i?2:0)|(t?1:0)}class mp extends op{addExtra(t,e,s,r=!0){if(!t)return;let{extra:n}=t;n==null&&(n={},t.extra=n),r?n[e]=s:Object.defineProperty(n,e,{enumerable:r,value:s})}isContextual(t){return this.state.type===t&&!this.state.containsEsc}isUnparsedContextual(t,e){const s=t+e.length;if(this.input.slice(t,s)===e){const r=this.input.charCodeAt(s);return!(zs(r)||(r&64512)===55296)}return!1}isLookaheadContextual(t){const e=this.nextTokenStart();return this.isUnparsedContextual(e,t)}eatContextual(t){return this.isContextual(t)?(this.next(),!0):!1}expectContextual(t,e){if(!this.eatContextual(t)){if(e!=null)throw this.raise(e,this.state.startLoc);this.unexpected(null,t)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return ho(this.input,this.state.lastTokEndLoc.index,this.state.start)}hasFollowingLineBreak(){return ho(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(t=!0){(t?this.isLineTerminator():this.eat(13))||this.raise(v.MissingSemicolon,this.state.lastTokEndLoc)}expect(t,e){this.eat(t)||this.unexpected(e,t)}tryParse(t,e=this.state.clone()){const s={node:null};try{const r=t((n=null)=>{throw s.node=n,s});if(this.state.errors.length>e.errors.length){const n=this.state;return this.state=e,this.state.tokensLength=n.tokensLength,{node:r,error:n.errors[e.errors.length],thrown:!1,aborted:!1,failState:n}}return{node:r,error:null,thrown:!1,aborted:!1,failState:null}}catch(r){const n=this.state;if(this.state=e,r instanceof SyntaxError)return{node:null,error:r,thrown:!0,aborted:!1,failState:n};if(r===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:n};throw r}}checkExpressionErrors(t,e){if(!t)return!1;const{shorthandAssignLoc:s,doubleProtoLoc:r,privateKeyLoc:n,optionalParametersLoc:a}=t,o=!!s||!!r||!!a||!!n;if(!e)return o;s!=null&&this.raise(v.InvalidCoverInitializedName,s),r!=null&&this.raise(v.DuplicateProto,r),n!=null&&this.raise(v.UnexpectedPrivateField,n),a!=null&&this.unexpected(a)}isLiteralPropertyName(){return Hl(this.state.type)}isPrivateName(t){return t.type==="PrivateName"}getPrivateNameSV(t){return t.id.name}hasPropertyAsPrivateName(t){return(t.type==="MemberExpression"||t.type==="OptionalMemberExpression")&&this.isPrivateName(t.property)}isObjectProperty(t){return t.type==="ObjectProperty"}isObjectMethod(t){return t.type==="ObjectMethod"}initializeScopes(t=this.options.sourceType==="module"){const e=this.state.labels;this.state.labels=[];const s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const r=this.inModule;this.inModule=t;const n=this.scope,a=this.getScopeHandler();this.scope=new a(this,t);const o=this.prodParam;this.prodParam=new dp;const l=this.classScope;this.classScope=new cp(this);const h=this.expressionScope;return this.expressionScope=new up(this),()=>{this.state.labels=e,this.exportedIdentifiers=s,this.inModule=r,this.scope=n,this.prodParam=o,this.classScope=l,this.expressionScope=h}}enterInitialScopes(){let t=0;this.inModule&&(t|=2),this.scope.enter(1),this.prodParam.enter(t)}checkDestructuringPrivate(t){const{privateKeyLoc:e}=t;e!==null&&this.expectPlugin("destructuringPrivate",e)}}class er{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class hr{constructor(t,e,s){this.type="",this.start=e,this.end=0,this.loc=new cr(s),t!=null&&t.options.ranges&&(this.range=[e,0]),t!=null&&t.filename&&(this.loc.filename=t.filename)}}const la=hr.prototype;la.__clone=function(){const i=new hr(void 0,this.start,this.loc.start),t=Object.keys(this);for(let e=0,s=t.length;e`Cannot overwrite reserved type ${i}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:i,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${i} = true,\` or \`${i} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:i,enumName:t})=>`Enum member names need to be unique, but the name \`${i}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:i})=>`Enum \`${i}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:i,enumName:t})=>`Enum type \`${i}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:i})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${i}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:i,memberName:t,explicitType:e})=>`Enum \`${i}\` has type \`${e}\`, so the initializer of \`${t}\` needs to be a ${e} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:i,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${i}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:i,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${i}\`.`,EnumInvalidMemberName:({enumName:i,memberName:t,suggestion:e})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${e}\`, in enum \`${i}\`.`,EnumNumberMemberNotInitialized:({enumName:i,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${i}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:i})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${i}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:i})=>`Unexpected reserved type ${i}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:i,suggestion:t})=>`\`declare export ${i}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function xp(i){return i.type==="DeclareExportAllDeclaration"||i.type==="DeclareExportDeclaration"&&(!i.declaration||i.declaration.type!=="TypeAlias"&&i.declaration.type!=="InterfaceDeclaration")}function mo(i){return i.importKind==="type"||i.importKind==="typeof"}const Sp={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function Pp(i,t){const e=[],s=[];for(let r=0;rclass extends i{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return Yf}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(e,s){e!==133&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,s)}addComment(e){if(this.flowPragma===void 0){const s=Ep.exec(e.value);if(s)if(s[1]==="flow")this.flowPragma="flow";else if(s[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(e)}flowParseTypeInitialiser(e){const s=this.state.inType;this.state.inType=!0,this.expect(e||14);const r=this.flowParseType();return this.state.inType=s,r}flowParsePredicate(){const e=this.startNode(),s=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>s.index+1&&this.raise(ke.UnexpectedSpaceBetweenModuloChecks,s),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=!0,this.expect(14);let s=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(s=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[s,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const s=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);const a=this.flowParseFunctionTypeParams();return r.params=a.params,r.rest=a.rest,r.this=a._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),s.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(s),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,s){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(e):(s&&this.raise(ke.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,s);this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(133)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();const s=e.body=this.startNode(),r=s.body=[];for(this.expect(5);!this.match(8);){let o=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(ke.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(o)):(this.expectContextual(125,ke.UnsupportedStatementInDeclareModule),o=this.flowParseDeclare(o,!0)),r.push(o)}this.scope.exit(),this.expect(8),this.finishNode(s,"BlockStatement");let n=null,a=!1;return r.forEach(o=>{xp(o)?(n==="CommonJS"&&this.raise(ke.AmbiguousDeclareModuleKind,o),n="ES"):o.type==="DeclareModuleExports"&&(a&&this.raise(ke.DuplicateDeclareModuleExports,o),n==="ES"&&this.raise(ke.AmbiguousDeclareModuleKind,o),n="CommonJS",a=!0)}),e.kind=n||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,s){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!s){const r=this.state.value;throw this.raise(ke.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:r,suggestion:Sp[r]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return e=this.parseExport(e,null),e.type==="ExportNamedDeclaration"&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();const s=this.flowParseTypeAlias(e);return s.type="DeclareTypeAlias",s}flowParseDeclareOpaqueType(e){this.next();const s=this.flowParseOpaqueType(e,!0);return s.type="DeclareOpaqueType",s}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,s){if(e.id=this.flowParseRestrictedIdentifier(!s,!0),this.scope.declareName(e.id.name,s?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!s&&this.eat(12));if(s){if(e.implements=[],e.mixins=[],this.eatContextual(117))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:s,allowExact:!1,allowSpread:!1,allowProto:s,allowInexact:!1})}flowParseInterfaceExtends(){const e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){e==="_"&&this.raise(ke.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,s,r){!bp.has(e)||this.raise(r?ke.AssignReservedType:ke.UnexpectedReservedType,s,{reservedType:e})}flowParseRestrictedIdentifier(e,s){return this.checkReservedType(this.state.value,this.state.startLoc,s),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,s){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,s||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){const s=this.state.startLoc,r=this.startNode(),n=this.flowParseVariance(),a=this.flowParseTypeAnnotatableIdentifier();return r.name=a.name,r.variance=n,r.bound=a.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(ke.MissingTypeParamDefault,s),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,s=this.startNode();s.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let r=!1;do{const n=this.flowParseTypeParameter(r);s.params.push(n),n.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(s,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode(),s=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);const r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(48),this.state.inType=s,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode(),s=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=s,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,s,r){return e.static=s,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,s){return e.static=s,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,s){const r=this.startNode();return e.static=s,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:s,allowSpread:r,allowProto:n,allowInexact:a}){const o=this.state.inType;this.state.inType=!0;const l=this.startNode();l.callProperties=[],l.properties=[],l.indexers=[],l.internalSlots=[];let h,u,b=!1;for(s&&this.match(6)?(this.expect(6),h=9,u=!0):(this.expect(5),h=8,u=!1),l.exact=u;!this.match(h);){let L=!1,A=null,j=null;const V=this.startNode();if(n&&this.isContextual(118)){const B=this.lookahead();B.type!==14&&B.type!==17&&(this.next(),A=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){const B=this.lookahead();B.type!==14&&B.type!==17&&(this.next(),L=!0)}const D=this.flowParseVariance();if(this.eat(0))A!=null&&this.unexpected(A),this.eat(0)?(D&&this.unexpected(D.loc.start),l.internalSlots.push(this.flowParseObjectTypeInternalSlot(V,L))):l.indexers.push(this.flowParseObjectTypeIndexer(V,L,D));else if(this.match(10)||this.match(47))A!=null&&this.unexpected(A),D&&this.unexpected(D.loc.start),l.callProperties.push(this.flowParseObjectTypeCallProperty(V,L));else{let B="init";if(this.isContextual(99)||this.isContextual(104)){const W=this.lookahead();Hl(W.type)&&(B=this.state.value,this.next())}const se=this.flowParseObjectTypeProperty(V,L,A,D,B,r,a!=null?a:!u);se===null?(b=!0,j=this.state.lastTokStartLoc):l.properties.push(se)}this.flowObjectTypeSemicolon(),j&&!this.match(8)&&!this.match(9)&&this.raise(ke.UnexpectedExplicitInexactInObject,j)}this.expect(h),r&&(l.inexact=b);const P=this.finishNode(l,"ObjectTypeAnnotation");return this.state.inType=o,P}flowParseObjectTypeProperty(e,s,r,n,a,o,l){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(o?l||this.raise(ke.InexactInsideExact,this.state.lastTokStartLoc):this.raise(ke.InexactInsideNonObject,this.state.lastTokStartLoc),n&&this.raise(ke.InexactVariance,n),null):(o||this.raise(ke.UnexpectedSpreadType,this.state.lastTokStartLoc),r!=null&&this.unexpected(r),n&&this.raise(ke.SpreadVariance,n),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=s,e.proto=r!=null,e.kind=a;let h=!1;return this.match(47)||this.match(10)?(e.method=!0,r!=null&&this.unexpected(r),n&&this.unexpected(n.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(a==="get"||a==="set")&&this.flowCheckGetterSetterParams(e),!o&&e.key.name==="constructor"&&e.value.this&&this.raise(ke.ThisParamBannedInConstructor,e.value.this)):(a!=="init"&&this.unexpected(),e.method=!1,this.eat(17)&&(h=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=h,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const s=e.kind==="get"?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.kind==="get"?ke.GetterMayNotHaveThisParam:ke.SetterMayNotHaveThisParam,e.value.this),r!==s&&this.raise(e.kind==="get"?v.BadGetterArity:v.BadSetterArity,e),e.kind==="set"&&e.value.rest&&this.raise(v.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,s){var r;(r=e)!=null||(e=this.state.startLoc);let n=s||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const a=this.startNodeAt(e);a.qualification=n,a.id=this.flowParseRestrictedIdentifier(!0),n=this.finishNode(a,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,s){const r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,s),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();for(e.types=[],this.expect(0);this.state.possuper.parseFunctionBody(e,!0,r));return}super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,s,r=!1){if(this.match(14)){const n=this.startNode();[n.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=n.typeAnnotation?this.finishNode(n,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,s,r)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){const r=this.lookahead();if(_t(r.type)){const n=this.startNode();return this.next(),this.flowParseInterface(n)}}else if(this.plugins.get("flow").enums&&this.isContextual(126)){const r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}const s=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(s)&&(this.flowPragma=null),s}parseExpressionStatement(e,s,r){if(s.type==="Identifier"){if(s.name==="declare"){if(this.match(80)||He(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(He(this.state.type)){if(s.name==="interface")return this.flowParseInterface(e);if(s.name==="type")return this.flowParseTypeAlias(e);if(s.name==="opaque")return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,s,r)}shouldParseExportDeclaration(){const{type:e}=this.state;return uo(e)||this.plugins.get("flow").enums&&e===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return uo(e)||this.plugins.get("flow").enums&&e===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.plugins.get("flow").enums&&this.isContextual(126)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,s,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const P=this.lookaheadCharCode();if(P===44||P===61||P===58||P===41)return this.setOptionalParametersError(r),e}this.expect(17);const n=this.state.clone(),a=this.state.noArrowAt,o=this.startNodeAt(s);let{consequent:l,failed:h}=this.tryParseConditionalConsequent(),[u,b]=this.getArrowLikeExpressions(l);if(h||b.length>0){const P=[...a];if(b.length>0){this.state=n,this.state.noArrowAt=P;for(let L=0;L1&&this.raise(ke.AmbiguousConditionalArrow,n.startLoc),h&&u.length===1&&(this.state=n,P.push(u[0].start),this.state.noArrowAt=P,{consequent:l,failed:h}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(l,!0),this.state.noArrowAt=a,this.expect(14),o.test=e,o.consequent=l,o.alternate=this.forwardNoArrowParamsConversionAt(o,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn(),s=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:s}}getArrowLikeExpressions(e,s){const r=[e],n=[];for(;r.length!==0;){const a=r.pop();a.type==="ArrowFunctionExpression"&&a.body.type!=="BlockStatement"?(a.typeParameters||!a.returnType?this.finishArrowValidation(a):n.push(a),r.push(a.body)):a.type==="ConditionalExpression"&&(r.push(a.consequent),r.push(a.alternate))}return s?(n.forEach(a=>this.finishArrowValidation(a)),[n,[]]):Pp(n,a=>a.params.every(o=>this.isAssignable(o,!0)))}finishArrowValidation(e){var s;this.toAssignableList(e.params,(s=e.extra)==null?void 0:s.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,s){let r;return this.state.noArrowParamsConversionAt.includes(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),r=s(),this.state.noArrowParamsConversionAt.pop()):r=s(),r}parseParenItem(e,s){const r=super.parseParenItem(e,s);if(this.eat(17)&&(r.optional=!0,this.resetEndLocation(e)),this.match(14)){const n=this.startNodeAt(s);return n.expression=r,n.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(n,"TypeCastExpression")}return r}assertModuleNodeAllowed(e){e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind="type";const s=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(s)}else if(this.isContextual(131)){e.exportKind="type";const s=this.startNode();return this.next(),this.flowParseOpaqueType(s,!1)}else if(this.isContextual(129)){e.exportKind="type";const s=this.startNode();return this.next(),this.flowParseInterface(s)}else if(this.plugins.get("flow").enums&&this.isContextual(126)){e.exportKind="value";const s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(130)&&this.lookahead().type===55?(e.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){const{startLoc:s}=this.state,r=super.maybeParseExportNamespaceSpecifier(e);return r&&e.exportKind==="type"&&this.unexpected(s),r}parseClassId(e,s,r){super.parseClassId(e,s,r),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,s,r){const{startLoc:n}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,s))return;s.declare=!0}super.parseClassMember(e,s,r),s.declare&&(s.type!=="ClassProperty"&&s.type!=="ClassPrivateProperty"&&s.type!=="PropertyDefinition"?this.raise(ke.DeclareClassElement,n):s.value&&this.raise(ke.DeclareClassFieldInitializer,s.value))}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1(),s="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(v.InvalidIdentifier,this.state.curPosition(),{identifierName:s}),this.finishToken(132,s)}getTokenFromCode(e){const s=this.input.charCodeAt(this.state.pos+1);e===123&&s===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?s===46?this.finishOp(18,2):this.finishOp(17,1):qf(e,s,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,s){return e.type==="TypeCastExpression"?this.isAssignable(e.expression,s):super.isAssignable(e,s)}toAssignable(e,s=!1){!s&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,s)}toAssignableList(e,s,r){for(let n=0;n1||!s)&&this.raise(ke.TypeCastInPattern,a.typeAnnotation)}return e}parseArrayLike(e,s,r,n){const a=super.parseArrayLike(e,s,r,n);return s&&!this.state.maybeInArrowParameters&&this.toReferencedList(a.elements),a}isValidLVal(e,s,r){return e==="TypeCastExpression"||super.isValidLVal(e,s,r)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,s,r,n,a,o){if(s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,s,r,n,a,o),s.params&&a){const l=s.params;l.length>0&&this.isThisParam(l[0])&&this.raise(ke.ThisParamBannedInConstructor,s)}else if(s.type==="MethodDefinition"&&a&&s.value.params){const l=s.value.params;l.length>0&&this.isThisParam(l[0])&&this.raise(ke.ThisParamBannedInConstructor,s)}}pushClassPrivateMethod(e,s,r,n){s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,s,r,n)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();const s=e.implements=[];do{const r=this.startNode();r.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?r.typeParameters=this.flowParseTypeParameterInstantiation():r.typeParameters=null,s.push(this.finishNode(r,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const s=this.getObjectOrClassMethodParams(e);if(s.length>0){const r=s[0];this.isThisParam(r)&&e.kind==="get"?this.raise(ke.GetterMayNotHaveThisParam,r):this.isThisParam(r)&&this.raise(ke.SetterMayNotHaveThisParam,r)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,s,r,n,a,o,l){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let h;this.match(47)&&!o&&(h=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const u=super.parseObjPropValue(e,s,r,n,a,o,l);return h&&((u.value||u).typeParameters=h),u}parseFunctionParamType(e){return this.eat(17)&&(e.type!=="Identifier"&&this.raise(ke.PatternIsOptional,e),this.isThisParam(e)&&this.raise(ke.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(ke.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(ke.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,s){const r=super.parseMaybeDefault(e,s);return r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.startsuper.parseMaybeAssign(e,s),n),!a.error)return a.node;const{context:h}=this.state,u=h[h.length-1];(u===Ke.j_oTag||u===Ke.j_expr)&&h.pop()}if((r=a)!=null&&r.error||this.match(47)){var o,l;n=n||this.state.clone();let h;const u=this.tryParse(P=>{var L;h=this.flowParseTypeParameterDeclaration();const A=this.forwardNoArrowParamsConversionAt(h,()=>{const V=super.parseMaybeAssign(e,s);return this.resetStartLocationFromNode(V,h),V});(L=A.extra)!=null&&L.parenthesized&&P();const j=this.maybeUnwrapTypeCastExpression(A);return j.type!=="ArrowFunctionExpression"&&P(),j.typeParameters=h,this.resetStartLocationFromNode(j,h),A},n);let b=null;if(u.node&&this.maybeUnwrapTypeCastExpression(u.node).type==="ArrowFunctionExpression"){if(!u.error&&!u.aborted)return u.node.async&&this.raise(ke.UnexpectedTypeParameterBeforeAsyncArrowFunction,h),u.node;b=u.node}if((o=a)!=null&&o.node)return this.state=a.failState,a.node;if(b)return this.state=u.failState,b;throw(l=a)!=null&&l.thrown?a.error:u.thrown?u.error:this.raise(ke.UnexpectedTokenAfterTypeParameter,h)}return super.parseMaybeAssign(e,s)}parseArrow(e){if(this.match(14)){const s=this.tryParse(()=>{const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const n=this.startNode();return[n.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=r,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),n});if(s.thrown)return null;s.error&&(this.state=s.failState),e.returnType=s.node.typeAnnotation?this.finishNode(s.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,s){this.state.noArrowParamsConversionAt.includes(e.start)?e.params=s:super.setArrowFunctionParameters(e,s)}checkParams(e,s,r,n=!0){if(!(r&&this.state.noArrowParamsConversionAt.includes(e.start))){for(let a=0;a0&&this.raise(ke.ThisParamMustBeFirst,e.params[a]);super.checkParams(e,s,r,n)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&!this.state.noArrowAt.includes(this.state.start))}parseSubscripts(e,s,r){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.includes(s.index)){this.next();const n=this.startNodeAt(s);n.callee=e,n.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){const n=this.state.clone(),a=this.tryParse(l=>this.parseAsyncArrowWithTypeParameters(s)||l(),n);if(!a.error&&!a.aborted)return a.node;const o=this.tryParse(()=>super.parseSubscripts(e,s,r),n);if(o.node&&!o.error)return o.node;if(a.node)return this.state=a.failState,a.node;if(o.node)return this.state=o.failState,o.node;throw a.error||o.error}return super.parseSubscripts(e,s,r)}parseSubscript(e,s,r,n){if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,r)return n.stop=!0,e;this.next();const a=this.startNodeAt(s);return a.callee=e,a.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),a.arguments=this.parseCallExpressionArguments(11,!1),a.optional=!0,this.finishCallExpression(a,!0)}else if(!r&&this.shouldParseTypes()&&this.match(47)){const a=this.startNodeAt(s);a.callee=e;const o=this.tryParse(()=>(a.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),a.arguments=super.parseCallExpressionArguments(11,!1),n.optionalChainMember&&(a.optional=!1),this.finishCallExpression(a,n.optionalChainMember)));if(o.node)return o.error&&(this.state=o.failState),o.node}return super.parseSubscript(e,s,r,n)}parseNewCallee(e){super.parseNewCallee(e);let s=null;this.shouldParseTypes()&&this.match(47)&&(s=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=s}parseAsyncArrowWithTypeParameters(e){const s=this.startNodeAt(e);if(this.parseFunctionParams(s,!1),!!this.parseArrow(s))return super.parseArrowExpression(s,void 0,!0)}readToken_mult_modulo(e){const s=this.input.charCodeAt(this.state.pos+1);if(e===42&&s===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const s=this.input.charCodeAt(this.state.pos+1);if(e===124&&s===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,s){const r=super.parseTopLevel(e,s);return this.state.hasFlowComment&&this.raise(ke.UnterminatedFlowComment,this.state.curPosition()),r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(ke.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){const{pos:e}=this.state;let s=2;for(;[32,9].includes(this.input.charCodeAt(e+s));)s++;const r=this.input.charCodeAt(s+e),n=this.input.charCodeAt(s+e+1);return r===58&&n===58?s+2:this.input.slice(s+e,s+e+12)==="flow-include"?s+12:r===58&&n!==58?s:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(v.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:s,memberName:r}){this.raise(ke.EnumBooleanMemberNotInitialized,e,{memberName:r,enumName:s})}flowEnumErrorInvalidMemberInitializer(e,s){return this.raise(s.explicitType?s.explicitType==="symbol"?ke.EnumInvalidMemberInitializerSymbolType:ke.EnumInvalidMemberInitializerPrimaryType:ke.EnumInvalidMemberInitializerUnknownType,e,s)}flowEnumErrorNumberMemberNotInitialized(e,s){this.raise(ke.EnumNumberMemberNotInitialized,e,s)}flowEnumErrorStringMemberInconsistentlyInitialized(e,s){this.raise(ke.EnumStringMemberInconsistentlyInitialized,e,s)}flowEnumMemberInit(){const e=this.state.startLoc,s=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{const r=this.parseNumericLiteral(this.state.value);return s()?{type:"number",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 133:{const r=this.parseStringLiteral(this.state.value);return s()?{type:"string",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 85:case 86:{const r=this.parseBooleanLiteral(this.match(85));return s()?{type:"boolean",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){const e=this.state.startLoc,s=this.parseIdentifier(!0),r=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:s,init:r}}flowEnumCheckExplicitTypeMismatch(e,s,r){const{explicitType:n}=s;n!==null&&n!==r&&this.flowEnumErrorInvalidMemberInitializer(e,s)}flowEnumMembers({enumName:e,explicitType:s}){const r=new Set,n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let a=!1;for(;!this.match(8);){if(this.eat(21)){a=!0;break}const o=this.startNode(),{id:l,init:h}=this.flowEnumMemberRaw(),u=l.name;if(u==="")continue;/^[a-z]/.test(u)&&this.raise(ke.EnumInvalidMemberName,l,{memberName:u,suggestion:u[0].toUpperCase()+u.slice(1),enumName:e}),r.has(u)&&this.raise(ke.EnumDuplicateMemberName,l,{memberName:u,enumName:e}),r.add(u);const b={enumName:e,explicitType:s,memberName:u};switch(o.id=l,h.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(h.loc,b,"boolean"),o.init=h.value,n.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(h.loc,b,"number"),o.init=h.value,n.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(h.loc,b,"string"),o.init=h.value,n.stringMembers.push(this.finishNode(o,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(h.loc,b);case"none":switch(s){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(h.loc,b);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(h.loc,b);break;default:n.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:n,hasUnknownMembers:a}}flowEnumStringMembers(e,s,{enumName:r}){if(e.length===0)return s;if(s.length===0)return e;if(s.length>e.length){for(const n of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(n,{enumName:r});return s}else{for(const n of s)this.flowEnumErrorStringMemberInconsistentlyInitialized(n,{enumName:r});return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!He(this.state.type))throw this.raise(ke.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});const{value:s}=this.state;return this.next(),s!=="boolean"&&s!=="number"&&s!=="string"&&s!=="symbol"&&this.raise(ke.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:s}),s}flowEnumBody(e,s){const r=s.name,n=s.loc.start,a=this.flowEnumParseExplicitType({enumName:r});this.expect(5);const{members:o,hasUnknownMembers:l}=this.flowEnumMembers({enumName:r,explicitType:a});switch(e.hasUnknownMembers=l,a){case"boolean":return e.explicitType=!0,e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=o.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const h=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const u=o.booleanMembers.length,b=o.numberMembers.length,P=o.stringMembers.length,L=o.defaultedMembers.length;if(!u&&!b&&!P&&!L)return h();if(!u&&!b)return e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!b&&!P&&u>=L){for(const A of o.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(A.loc.start,{enumName:r,memberName:A.id.name});return e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}else if(!u&&!P&&b>=L){for(const A of o.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(A.loc.start,{enumName:r,memberName:A.id.name});return e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}else return this.raise(ke.EnumInconsistentMemberValues,n,{enumName:r}),h()}}}flowParseEnumDeclaration(e){const s=this.parseIdentifier();return e.id=s,e.body=this.flowEnumBody(this.startNode(),s),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const s=this.input.charCodeAt(e+1);return s!==60&&s!==61}return!1}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}};const wp={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},ws=es`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:i})=>`Expected corresponding JSX closing tag for <${i}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:i,HTMLEntity:t})=>`Unexpected token \`${i}\`. Did you mean \`${t}\` or \`{'${i}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"});function us(i){return i?i.type==="JSXOpeningFragment"||i.type==="JSXClosingFragment":!1}function Us(i){if(i.type==="JSXIdentifier")return i.name;if(i.type==="JSXNamespacedName")return i.namespace.name+":"+i.name.name;if(i.type==="JSXMemberExpression")return Us(i.object)+"."+Us(i.property);throw new Error("Node had unexpected type: "+i.type)}var Cp=i=>class extends i{jsxReadToken(){let e="",s=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(ws.UnterminatedJsxContent,this.state.startLoc);const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){r===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(r);return}e+=this.input.slice(s,this.state.pos),this.finishToken(141,e);return;case 38:e+=this.input.slice(s,this.state.pos),e+=this.jsxReadEntity(),s=this.state.pos;break;case 62:case 125:default:Js(r)?(e+=this.input.slice(s,this.state.pos),e+=this.jsxReadNewLine(!0),s=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){const s=this.input.charCodeAt(this.state.pos);let r;return++this.state.pos,s===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,r=e?` +`:`\r +`):r=String.fromCharCode(s),++this.state.curLine,this.state.lineStart=this.state.pos,r}jsxReadString(e){let s="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(v.UnterminatedString,this.state.startLoc);const n=this.input.charCodeAt(this.state.pos);if(n===e)break;n===38?(s+=this.input.slice(r,this.state.pos),s+=this.jsxReadEntity(),r=this.state.pos):Js(n)?(s+=this.input.slice(r,this.state.pos),s+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}s+=this.input.slice(r,this.state.pos++),this.finishToken(133,s)}jsxReadEntity(){const e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let s=10;this.codePointAtPos(this.state.pos)===120&&(s=16,++this.state.pos);const r=this.readInt(s,void 0,!1,"bail");if(r!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(r)}else{let s=0,r=!1;for(;s++<10&&this.state.pos1){for(let r=0;r0){if(s&256){const n=!!(s&512),a=(r&4)>0;return n!==a}return!0}return s&128&&(r&8)>0?t.names.get(e)&2?!!(s&1):!1:s&2&&(r&1)>0?!0:super.isRedeclaredInScope(t,e,s)}checkLocalExport(t){const{name:e}=t;if(this.hasImport(e))return;const s=this.scopeStack.length;for(let r=s-1;r>=0;r--){const a=this.scopeStack[r].tsNames.get(e);if((a&1)>0||(a&16)>0)return}super.checkLocalExport(t)}}const tc=i=>i.type==="ParenthesizedExpression"?tc(i.expression):i;class Lp extends Tp{toAssignable(t,e=!1){var s,r;let n;switch((t.type==="ParenthesizedExpression"||(s=t.extra)!=null&&s.parenthesized)&&(n=tc(t),e?n.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(v.InvalidParenthesizedAssignment,t):n.type!=="MemberExpression"&&!this.isOptionalMemberExpression(n)&&this.raise(v.InvalidParenthesizedAssignment,t):this.raise(v.InvalidParenthesizedAssignment,t)),t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern";for(let o=0,l=t.properties.length,h=l-1;or.type!=="ObjectMethod"&&(n===s||r.type!=="SpreadElement")&&this.isAssignable(r))}case"ObjectProperty":return this.isAssignable(t.value);case"SpreadElement":return this.isAssignable(t.argument);case"ArrayExpression":return t.elements.every(s=>s===null||this.isAssignable(s));case"AssignmentExpression":return t.operator==="=";case"ParenthesizedExpression":return this.isAssignable(t.expression);case"MemberExpression":case"OptionalMemberExpression":return!e;default:return!1}}toReferencedList(t,e){return t}toReferencedListDeep(t,e){this.toReferencedList(t,e);for(const s of t)(s==null?void 0:s.type)==="ArrayExpression"&&this.toReferencedListDeep(s.elements)}parseSpread(t){const e=this.startNode();return this.next(),e.argument=this.parseMaybeAssignAllowIn(t,void 0),this.finishNode(e,"SpreadElement")}parseRestBinding(){const t=this.startNode();return this.next(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const t=this.startNode();return this.next(),t.elements=this.parseBindingList(3,93,1),this.finishNode(t,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(t,e,s){const r=s&1,n=[];let a=!0;for(;!this.eat(t);)if(a?a=!1:this.expect(12),r&&this.match(12))n.push(null);else{if(this.eat(t))break;if(this.match(21)){let o=this.parseRestBinding();if((this.hasPlugin("flow")||s&2)&&(o=this.parseFunctionParamType(o)),n.push(o),!this.checkCommaAfterRest(e)){this.expect(t);break}}else{const o=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(v.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)o.push(this.parseDecorator());n.push(this.parseAssignableListItem(s,o))}}return n}parseBindingRestProperty(t){return this.next(),t.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(t,"RestElement")}parseBindingProperty(){const{type:t,startLoc:e}=this.state;if(t===21)return this.parseBindingRestProperty(this.startNode());const s=this.startNode();return t===138?(this.expectPlugin("destructuringPrivate",e),this.classScope.usePrivateName(this.state.value,e),s.key=this.parsePrivateName()):this.parsePropertyName(s),s.method=!1,this.parseObjPropValue(s,e,!1,!1,!0,!1)}parseAssignableListItem(t,e){const s=this.parseMaybeDefault();(this.hasPlugin("flow")||t&2)&&this.parseFunctionParamType(s);const r=this.parseMaybeDefault(s.loc.start,s);return e.length&&(s.decorators=e),r}parseFunctionParamType(t){return t}parseMaybeDefault(t,e){var s,r;if((s=t)!=null||(t=this.state.startLoc),e=(r=e)!=null?r:this.parseBindingAtom(),!this.eat(29))return e;const n=this.startNodeAt(t);return n.left=e,n.right=this.parseMaybeAssignAllowIn(),this.finishNode(n,"AssignmentPattern")}isValidLVal(t,e,s){switch(t){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(t){return t.type==="OptionalMemberExpression"}checkLVal(t,e,s=64,r=!1,n=!1,a=!1){var o;const l=t.type;if(this.isObjectMethod(t))return;const h=this.isOptionalMemberExpression(t);if(h||l==="MemberExpression"){h&&(this.expectPlugin("optionalChainingAssign",t.loc.start),e.type!=="AssignmentExpression"&&this.raise(v.InvalidLhsOptionalChaining,t,{ancestor:e})),s!==64&&this.raise(v.InvalidPropertyBindingPattern,t);return}if(l==="Identifier"){this.checkIdentifier(t,s,n);const{name:j}=t;r&&(r.has(j)?this.raise(v.ParamDupe,t):r.add(j));return}const u=this.isValidLVal(l,!(a||(o=t.extra)!=null&&o.parenthesized)&&e.type==="AssignmentExpression",s);if(u===!0)return;if(u===!1){const j=s===64?v.InvalidLhs:v.InvalidLhsBinding;this.raise(j,t,{ancestor:e});return}let b,P;typeof u=="string"?(b=u,P=l==="ParenthesizedExpression"):[b,P]=u;const L=l==="ArrayPattern"||l==="ObjectPattern"?{type:l}:e,A=t[b];if(Array.isArray(A))for(const j of A)j&&this.checkLVal(j,L,s,r,n,P);else A&&this.checkLVal(A,L,s,r,n,P)}checkIdentifier(t,e,s=!1){this.state.strict&&(s?Jl(t.name,this.inModule):zl(t.name))&&(e===64?this.raise(v.StrictEvalArguments,t,{referenceName:t.name}):this.raise(v.StrictEvalArgumentsBinding,t,{bindingName:t.name})),e&8192&&t.name==="let"&&this.raise(v.LetInLexicalBinding,t),e&64||this.declareNameFromIdentifier(t,e)}declareNameFromIdentifier(t,e){this.scope.declareName(t.name,e,t.loc.start)}checkToRestConversion(t,e){switch(t.type){case"ParenthesizedExpression":this.checkToRestConversion(t.expression,e);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(e)break;default:this.raise(v.InvalidRestAssignmentPattern,t)}}checkCommaAfterRest(t){return this.match(12)?(this.raise(this.lookaheadCharCode()===t?v.RestTrailingComma:v.ElementAfterRest,this.state.startLoc),!0):!1}}function Ip(i){if(i==null)throw new Error(`Unexpected ${i} value.`);return i}function yo(i){if(!i)throw new Error("Assert fail")}const Ae=es`typescript`({AbstractMethodHasImplementation:({methodName:i})=>`Method '${i}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:i})=>`Property '${i}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:i})=>`'declare' is not allowed in ${i}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:i})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:i})=>`Duplicate modifier: '${i}'.`,EmptyHeritageClauseType:({token:i})=>`'${i}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:i})=>`'${i[0]}' modifier cannot be used with '${i[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:i})=>`Index signatures cannot have an accessibility modifier ('${i}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:i})=>`'${i}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:i})=>`'${i}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:i})=>`'${i}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:i})=>`'${i[0]}' modifier must precede '${i[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:i})=>`Private elements cannot have an accessibility modifier ('${i}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:i})=>`Single type parameter ${i} should have a trailing comma. Example usage: <${i},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:i})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${i}.`});function Np(i){switch(i){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function go(i){return i==="private"||i==="public"||i==="protected"}function _p(i){return i==="in"||i==="out"}var Mp=i=>class extends i{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Ae.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Ae.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Ae.InvalidModifierOnTypeParameter})}getScopeHandler(){return vp}tsIsIdentifier(){return He(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),this.hasPrecedingLineBreak()?!1:this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(e,s){if(!He(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;const r=this.state.value;if(e.includes(r)){if(s&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:s,stopOnStartOfClassStaticBlock:r,errorTemplate:n=Ae.InvalidModifierOnTypeMember},a){const o=(h,u,b,P)=>{u===b&&a[P]&&this.raise(Ae.InvalidModifiersOrder,h,{orderedModifiers:[b,P]})},l=(h,u,b,P)=>{(a[b]&&u===P||a[P]&&u===b)&&this.raise(Ae.IncompatibleModifiers,h,{modifiers:[b,P]})};for(;;){const{startLoc:h}=this.state,u=this.tsParseModifier(e.concat(s!=null?s:[]),r);if(!u)break;go(u)?a.accessibility?this.raise(Ae.DuplicateAccessibilityModifier,h,{modifier:u}):(o(h,u,u,"override"),o(h,u,u,"static"),o(h,u,u,"readonly"),a.accessibility=u):_p(u)?(a[u]&&this.raise(Ae.DuplicateModifier,h,{modifier:u}),a[u]=!0,o(h,u,"in","out")):(hasOwnProperty.call(a,u)?this.raise(Ae.DuplicateModifier,h,{modifier:u}):(o(h,u,"static","readonly"),o(h,u,"static","override"),o(h,u,"override","readonly"),o(h,u,"abstract","override"),l(h,u,"declare","override"),l(h,u,"static","abstract")),a[u]=!0),s!=null&&s.includes(u)&&this.raise(n,h,{modifier:u})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,s){const r=[];for(;!this.tsIsListTerminator(e);)r.push(s());return r}tsParseDelimitedList(e,s,r){return Ip(this.tsParseDelimitedListWorker(e,s,!0,r))}tsParseDelimitedListWorker(e,s,r,n){const a=[];let o=-1;for(;!this.tsIsListTerminator(e);){o=-1;const l=s();if(l==null)return;if(a.push(l),this.eat(12)){o=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(e))break;r&&this.expect(12);return}return n&&(n.value=o),a}tsParseBracketedList(e,s,r,n,a){n||(r?this.expect(0):this.expect(47));const o=this.tsParseDelimitedList(e,s,a);return r?this.expect(3):this.expect(48),o}tsParseImportType(){const e=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(Ae.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(e.options=null),this.eat(12)&&(this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes"),this.match(11)||(e.options=super.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e=!0){let s=this.parseIdentifier(e);for(;this.eat(16);){const r=this.startNodeAtNode(s);r.left=s,r.right=this.parseIdentifier(e),s=this.finishNode(r,"TSQualifiedName")}return s}tsParseTypeReference(){const e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const s=this.startNodeAtNode(e);return s.parameterName=e,s.typeAnnotation=this.tsParseTypeAnnotation(!1),s.asserts=!1,this.finishNode(s,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){const s=this.startNode();return e(s),s.name=this.tsParseTypeParameterName(),s.constraint=this.tsEatThenParseType(81),s.default=this.tsEatThenParseType(29),this.finishNode(s,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){const s=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();const r={value:-1};return s.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),s.params.length===0&&this.raise(Ae.EmptyTypeParameters,s),r.value!==-1&&this.addExtra(s,"trailingComma",r.value),this.finishNode(s,"TSTypeParameterDeclaration")}tsFillSignature(e,s){const r=e===19,n="parameters",a="typeAnnotation";s.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),s[n]=this.tsParseBindingListForSignature(),r?s[a]=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(s[a]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){const e=super.parseBindingList(11,41,2);for(const s of e){const{type:r}=s;(r==="AssignmentPattern"||r==="TSParameterProperty")&&this.raise(Ae.UnsupportedSignatureParameterKind,s,{type:r})}return e}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,s){return this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon(),this.finishNode(s,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),He(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);const s=this.parseIdentifier();s.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(s),this.expect(3),e.parameters=[s];const r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,s){this.eat(17)&&(e.optional=!0);const r=e;if(this.match(10)||this.match(47)){s&&this.raise(Ae.ReadonlyForMethodSignature,e);const n=r;n.kind&&this.match(47)&&this.raise(Ae.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon();const a="parameters",o="typeAnnotation";if(n.kind==="get")n[a].length>0&&(this.raise(v.BadGetterArity,this.state.curPosition()),this.isThisParam(n[a][0])&&this.raise(Ae.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(n.kind==="set"){if(n[a].length!==1)this.raise(v.BadSetterArity,this.state.curPosition());else{const l=n[a][0];this.isThisParam(l)&&this.raise(Ae.AccessorCannotDeclareThisParameter,this.state.curPosition()),l.type==="Identifier"&&l.optional&&this.raise(Ae.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),l.type==="RestElement"&&this.raise(Ae.SetAccessorCannotHaveRestParameter,this.state.curPosition())}n[o]&&this.raise(Ae.SetAccessorCannotHaveReturnType,n[o])}else n.kind="method";return this.finishNode(n,"TSMethodSignature")}else{const n=r;s&&(n.readonly=!0);const a=this.tsTryParseTypeAnnotation();return a&&(n.typeAnnotation=a),this.tsParseTypeMemberSemicolon(),this.finishNode(n,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){const r=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(r,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);const s=this.tsTryParseIndexSignature(e);return s||(super.parsePropertyName(e),!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedType(){const e=this.startNode();this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0);{const s=this.startNode();s.name=this.tsParseTypeParameterName(),s.constraint=this.tsExpectThenParseType(58),e.typeParameter=this.finishNode(s,"TSTypeParameter")}return e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let s=!1;return e.elementTypes.forEach(r=>{const{type:n}=r;s&&n!=="TSRestType"&&n!=="TSOptionalType"&&!(n==="TSNamedTupleMember"&&r.optional)&&this.raise(Ae.OptionalTypeBeforeRequired,r),s||(s=n==="TSNamedTupleMember"&&r.optional||n==="TSOptionalType")}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{startLoc:e}=this.state,s=this.eat(21);let r,n,a,o;const h=_t(this.state.type)?this.lookaheadCharCode():null;if(h===58)r=!0,a=!1,n=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(h===63){a=!0;const u=this.state.startLoc,b=this.state.value,P=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(r=!0,n=this.createIdentifier(this.startNodeAt(u),b),this.expect(17),this.expect(14),o=this.tsParseType()):(r=!1,o=P,this.expect(17))}else o=this.tsParseType(),a=this.eat(17),r=this.eat(14);if(r){let u;n?(u=this.startNodeAtNode(n),u.optional=a,u.label=n,u.elementType=o,this.eat(17)&&(u.optional=!0,this.raise(Ae.TupleOptionalAfterType,this.state.lastTokStartLoc))):(u=this.startNodeAtNode(o),u.optional=a,this.raise(Ae.InvalidTupleMemberLabel,o),u.label=o,u.elementType=this.tsParseType()),o=this.finishNode(u,"TSNamedTupleMember")}else if(a){const u=this.startNodeAtNode(o);u.typeAnnotation=o,o=this.finishNode(u,"TSOptionalType")}if(s){const u=this.startNodeAt(e);u.typeAnnotation=o,o=this.finishNode(u,"TSRestType")}return o}tsParseParenthesizedType(){const e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,s){const r=this.startNode();return e==="TSConstructorType"&&(r.abstract=!!s,s&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,r)),this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const e=this.startNode(),s=this.lookahead();return s.type!==134&&s.type!==135&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(He(e)||e===88||e===84){const s=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":Np(this.state.value);if(s!==void 0&&this.lookaheadCharCode()!==46){const r=this.startNode();return this.next(),this.finishNode(r,s)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const s=this.startNodeAtNode(e);s.elementType=e,this.expect(3),e=this.finishNode(s,"TSArrayType")}else{const s=this.startNodeAtNode(e);s.objectType=e,s.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(s,"TSIndexedAccessType")}return e}tsParseTypeOperator(){const e=this.startNode(),s=this.state.value;return this.next(),e.operator=s,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),s==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Ae.UnexpectedReadonly,e)}}tsParseInferType(){const e=this.startNode();this.expectContextual(115);const s=this.startNode();return s.name=this.tsParseTypeParameterName(),s.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(s,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return Bf(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,s,r){const n=this.startNode(),a=this.eat(r),o=[];do o.push(s());while(this.eat(r));return o.length===1&&!a?o[0]:(n.types=o,this.finishNode(n,e))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(He(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:e}=this.state,s=e.length;try{return this.parseObjectLike(8,!0),e.length===s}catch{return!1}}if(this.match(0)){this.next();const{errors:e}=this.state,s=e.length;try{return super.parseBindingList(3,93,1),e.length===s}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const s=this.startNode();this.expect(e);const r=this.startNode(),n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(78)){let l=this.tsParseThisTypeOrThisTypePredicate();return l.type==="TSThisType"?(r.parameterName=l,r.asserts=!0,r.typeAnnotation=null,l=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(l,r),l.asserts=!0),s.typeAnnotation=l,this.finishNode(s,"TSTypeAnnotation")}const a=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!a)return n?(r.parameterName=this.parseIdentifier(),r.asserts=n,r.typeAnnotation=null,s.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,s);const o=this.tsParseTypeAnnotation(!1);return r.parameterName=a,r.typeAnnotation=o,r.asserts=n,s.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;const e=this.state.containsEsc;return this.next(),!He(this.state.type)&&!this.match(78)?!1:(e&&this.raise(v.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(e=!0,s=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),s.typeAnnotation=this.tsParseType()}),this.finishNode(s,"TSTypeAnnotation")}tsParseType(){yo(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;const s=this.startNodeAtNode(e);return s.checkType=e,s.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),s.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),s.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(s,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Ae.ReservedTypeAssertion,this.state.startLoc);const e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const s=this.state.startLoc,r=this.tsParseDelimitedList("HeritageClauseElement",()=>{const n=this.startNode();return n.expression=this.tsParseEntityName(),this.match(47)&&(n.typeParameters=this.tsParseTypeArguments()),this.finishNode(n,"TSExpressionWithTypeArguments")});return r.length||this.raise(Ae.EmptyHeritageClauseType,s,{token:e}),r}tsParseInterfaceDeclaration(e,s={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),s.declare&&(e.declare=!0),He(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(Ae.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));const r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){const s=this.startNode();return this.next(),this.finishNode(s,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const s=this.state.context;this.state.context=[s[0]];try{return e()}finally{this.state.context=s}}tsInType(e){const s=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=s}}tsInDisallowConditionalTypesContext(e){const s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsInAllowConditionalTypesContext(e){const s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){const e=this.startNode();return e.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,s={}){return s.const&&(e.const=!0),s.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,s=!1){if(e.id=this.parseIdentifier(),s||this.checkIdentifier(e.id,1024),this.eat(16)){const r=this.startNode();this.tsParseModuleOrNamespaceDeclaration(r,!0),e.body=r}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.global=!0,e.id=this.parseIdentifier()):this.match(133)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,s,r){e.isExport=r||!1,e.id=s||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);const n=this.tsParseModuleReference();return e.importKind==="type"&&n.type!=="TSExternalModuleReference"&&this.raise(Ae.ImportAliasHasImportType,n),e.moduleReference=n,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const s=this.state.clone(),r=e();return this.state=s,r}tsTryParseAndCatch(e){const s=this.tryParse(r=>e()||r());if(!(s.aborted||!s.node))return s.error&&(this.state=s.failState),s.node}tsTryParse(e){const s=this.state.clone(),r=e();if(r!==void 0&&r!==!1)return r;this.state=s}tsTryParseDeclare(e){if(this.isLineTerminator())return;let s=this.state.type,r;return this.isContextual(100)&&(s=74,r="let"),this.tsInAmbientContext(()=>{switch(s){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(e.declare=!0,this.parseVarStatement(e,r||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));case 129:{const n=this.tsParseInterfaceDeclaration(e,{declare:!0});if(n)return n}default:if(He(s))return this.tsParseDeclaration(e,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,s,r){switch(s.name){case"declare":{const n=this.tsTryParseDeclare(e);return n&&(n.declare=!0),n}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const n=e;return n.global=!0,n.id=s,n.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(n,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,s.name,!1,r)}}tsParseDeclaration(e,s,r,n){switch(s){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||He(this.state.type)))return this.tsParseAbstractDeclaration(e,n);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(e);if(He(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&He(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&He(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;const s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const r=this.tsTryParseAndCatch(()=>{const n=this.startNodeAt(e);return n.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(n),n.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),n});if(this.state.maybeInArrowParameters=s,!!r)return super.parseArrowExpression(r,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),e.params.length===0?this.raise(Ae.EmptyTypeArguments,e):!this.state.inType&&this.curContext()===Ke.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return Rf(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(e,s){const r=this.state.startLoc,n={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},n);const a=n.accessibility,o=n.override,l=n.readonly;!(e&4)&&(a||l||o)&&this.raise(Ae.UnexpectedParameterModifier,r);const h=this.parseMaybeDefault();e&2&&this.parseFunctionParamType(h);const u=this.parseMaybeDefault(h.loc.start,h);if(a||l||o){const b=this.startNodeAt(r);return s.length&&(b.decorators=s),a&&(b.accessibility=a),l&&(b.readonly=l),o&&(b.override=o),u.type!=="Identifier"&&u.type!=="AssignmentPattern"&&this.raise(Ae.UnsupportedParameterPropertyKind,b),b.parameter=u,this.finishNode(b,"TSParameterProperty")}return s.length&&(h.decorators=s),u}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(const s of e.params)s.type!=="Identifier"&&s.optional&&!this.state.isAmbientContext&&this.raise(Ae.PatternIsOptional,s)}setArrowFunctionParameters(e,s,r){super.setArrowFunctionParameters(e,s,r),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,s,r=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const n=s==="FunctionDeclaration"?"TSDeclareFunction":s==="ClassMethod"||s==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return n&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,n):n==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Ae.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,n,r):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,s,r))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(s=>{(s==null?void 0:s.type)==="TSTypeCastExpression"&&this.raise(Ae.UnexpectedTypeAnnotation,s.typeAnnotation)})}toReferencedList(e,s){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,s,r,n){const a=super.parseArrayLike(e,s,r,n);return a.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(a.elements),a}parseSubscript(e,s,r,n){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const o=this.startNodeAt(s);return o.expression=e,this.finishNode(o,"TSNonNullExpression")}let a=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(r)return n.stop=!0,e;n.optionalChainMember=a=!0,this.next()}if(this.match(47)||this.match(51)){let o;const l=this.tsTryParseAndCatch(()=>{if(!r&&this.atPossibleAsyncArrow(e)){const P=this.tsTryParseGenericAsyncArrowFunction(s);if(P)return P}const h=this.tsParseTypeArgumentsInExpression();if(!h)return;if(a&&!this.match(10)){o=this.state.curPosition();return}if(ur(this.state.type)){const P=super.parseTaggedTemplateExpression(e,s,n);return P.typeParameters=h,P}if(!r&&this.eat(10)){const P=this.startNodeAt(s);return P.callee=e,P.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(P.arguments),P.typeParameters=h,n.optionalChainMember&&(P.optional=a),this.finishCallExpression(P,n.optionalChainMember)}const u=this.state.type;if(u===48||u===52||u!==10&&Sn(u)&&!this.hasPrecedingLineBreak())return;const b=this.startNodeAt(s);return b.expression=e,b.typeParameters=h,this.finishNode(b,"TSInstantiationExpression")});if(o&&this.unexpected(o,10),l)return l.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(Ae.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),l}return super.parseSubscript(e,s,r,n)}parseNewCallee(e){var s;super.parseNewCallee(e);const{callee:r}=e;r.type==="TSInstantiationExpression"&&!((s=r.extra)!=null&&s.parenthesized)&&(e.typeParameters=r.typeParameters,e.callee=r.expression)}parseExprOp(e,s,r){let n;if(Zi(58)>r&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(n=this.isContextual(120)))){const a=this.startNodeAt(s);return a.expression=e,a.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(n&&this.raise(v.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(a,n?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(a,s,r)}return super.parseExprOp(e,s,r)}checkReservedWord(e,s,r,n){this.state.isAmbientContext||super.checkReservedWord(e,s,r,n)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(Ae.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){const s=this.lookaheadCharCode();return e?s===123||s===42:s!==61}return!e&&this.isContextual(87)}applyImportPhase(e,s,r,n){super.applyImportPhase(e,s,r,n),s?e.exportKind=r==="type"?"type":"value":e.importKind=r==="type"||r==="typeof"?r:"value"}parseImport(e){if(this.match(133))return e.importKind="value",super.parseImport(e);let s;if(He(this.state.type)&&this.lookaheadCharCode()===61)return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){const r=this.parseMaybeImportPhase(e,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(e,r);s=super.parseImportSpecifiersAndAfter(e,r)}else s=super.parseImport(e);return s.importKind==="type"&&s.specifiers.length>1&&s.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Ae.TypeImportCannotSpecifyDefaultAndNamed,s),s}parseExport(e,s){if(this.match(83)){this.next();const r=e;let n=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?n=this.parseMaybeImportPhase(r,!1):r.importKind="value",this.tsParseImportEqualsDeclaration(r,n,!0)}else if(this.eat(29)){const r=e;return r.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(r,"TSExportAssignment")}else if(this.eatContextual(93)){const r=e;return this.expectContextual(128),r.id=this.parseIdentifier(),this.semicolon(),this.finishNode(r,"TSNamespaceExportDeclaration")}else return super.parseExport(e,s)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,s,r=!1){const{isAmbientContext:n}=this.state,a=super.parseVarStatement(e,s,r||n);if(!n)return a;for(const{id:o,init:l}of a.declarations)!l||(s!=="const"||!!o.typeAnnotation?this.raise(Ae.InitializerNotAllowedInAmbientContext,l):Dp(l,this.hasPlugin("estree"))||this.raise(Ae.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,l));return a}parseStatementContent(e,s){if(this.match(75)&&this.isLookaheadContextual("enum")){const r=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(r,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){const r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return super.parseStatementContent(e,s)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,s){return s.some(r=>go(r)?e.accessibility===r:!!e[r])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(e,s,r){const n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:n,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Ae.InvalidModifierOnTypeParameterPositions},s);const a=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(s,n)&&this.raise(Ae.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,s)):this.parseClassMemberWithIsStatic(e,s,r,!!s.static)};s.declare?this.tsInAmbientContext(a):a()}parseClassMemberWithIsStatic(e,s,r,n){const a=this.tsTryParseIndexSignature(s);if(a){e.body.push(a),s.abstract&&this.raise(Ae.IndexSignatureHasAbstract,s),s.accessibility&&this.raise(Ae.IndexSignatureHasAccessibility,s,{modifier:s.accessibility}),s.declare&&this.raise(Ae.IndexSignatureHasDeclare,s),s.override&&this.raise(Ae.IndexSignatureHasOverride,s);return}!this.state.inAbstractClass&&s.abstract&&this.raise(Ae.NonAbstractClassHasAbstractMethod,s),s.override&&(r.hadSuperClass||this.raise(Ae.OverrideNotInSubClass,s)),super.parseClassMemberWithIsStatic(e,s,r,n)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(Ae.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(Ae.ClassMethodHasDeclare,e)}parseExpressionStatement(e,s,r){return(s.type==="Identifier"?this.tsParseExpressionStatement(e,s,r):void 0)||super.parseExpressionStatement(e,s,r)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,s,r){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,s,r);const n=this.tryParse(()=>super.parseConditional(e,s));return n.node?(n.error&&(this.state=n.failState),n.node):(n.error&&super.setOptionalParametersError(r,n.error),e)}parseParenItem(e,s){const r=super.parseParenItem(e,s);if(this.eat(17)&&(r.optional=!0,this.resetEndLocation(e)),this.match(14)){const n=this.startNodeAt(s);return n.expression=e,n.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));const s=this.state.startLoc,r=this.eatContextual(125);if(r&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(Ae.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const a=He(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return a?((a.type==="TSInterfaceDeclaration"||a.type==="TSTypeAliasDeclaration"||r)&&(e.exportKind="type"),r&&(this.resetStartLocation(a,s),a.declare=!0),a):null}parseClassId(e,s,r,n){if((!s||r)&&this.isContextual(113))return;super.parseClassId(e,s,r,e.declare?1024:8331);const a=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);a&&(e.typeParameters=a)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));const s=this.tsTryParseTypeAnnotation();s&&(e.typeAnnotation=s)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(Ae.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){const{key:s}=e;this.raise(Ae.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:s.type==="Identifier"&&!e.computed?s.name:`[${this.input.slice(s.start,s.end)}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(Ae.PrivateElementHasAbstract,e),e.accessibility&&this.raise(Ae.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(Ae.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,s,r,n,a,o){const l=this.tsTryParseTypeParameters(this.tsParseConstModifier);l&&a&&this.raise(Ae.ConstructorHasTypeParameters,l);const{declare:h=!1,kind:u}=s;h&&(u==="get"||u==="set")&&this.raise(Ae.DeclareAccessor,s,{kind:u}),l&&(s.typeParameters=l),super.pushClassMethod(e,s,r,n,a,o)}pushClassPrivateMethod(e,s,r,n){const a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&(s.typeParameters=a),super.pushClassPrivateMethod(e,s,r,n)}declareClassPrivateMethodInScope(e,s){e.type!=="TSDeclareMethod"&&(e.type==="MethodDefinition"&&!hasOwnProperty.call(e.value,"body")||super.declareClassPrivateMethodInScope(e,s))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,s,r,n,a,o,l){const h=this.tsTryParseTypeParameters(this.tsParseConstModifier);return h&&(e.typeParameters=h),super.parseObjPropValue(e,s,r,n,a,o,l)}parseFunctionParams(e,s){const r=this.tsTryParseTypeParameters(this.tsParseConstModifier);r&&(e.typeParameters=r),super.parseFunctionParams(e,s)}parseVarId(e,s){super.parseVarId(e,s),e.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);const r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,s){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,s)}parseMaybeAssign(e,s){var r,n,a,o,l;let h,u,b;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(h=this.state.clone(),u=this.tryParse(()=>super.parseMaybeAssign(e,s),h),!u.error)return u.node;const{context:A}=this.state,j=A[A.length-1];(j===Ke.j_oTag||j===Ke.j_expr)&&A.pop()}if(!((r=u)!=null&&r.error)&&!this.match(47))return super.parseMaybeAssign(e,s);(!h||h===this.state)&&(h=this.state.clone());let P;const L=this.tryParse(A=>{var j,V;P=this.tsParseTypeParameters(this.tsParseConstModifier);const D=super.parseMaybeAssign(e,s);return(D.type!=="ArrowFunctionExpression"||(j=D.extra)!=null&&j.parenthesized)&&A(),((V=P)==null?void 0:V.params.length)!==0&&this.resetStartLocationFromNode(D,P),D.typeParameters=P,D},h);if(!L.error&&!L.aborted)return P&&this.reportReservedArrowTypeParam(P),L.node;if(!u&&(yo(!this.hasPlugin("jsx")),b=this.tryParse(()=>super.parseMaybeAssign(e,s),h),!b.error))return b.node;if((n=u)!=null&&n.node)return this.state=u.failState,u.node;if(L.node)return this.state=L.failState,P&&this.reportReservedArrowTypeParam(P),L.node;if((a=b)!=null&&a.node)return this.state=b.failState,b.node;throw((o=u)==null?void 0:o.error)||L.error||((l=b)==null?void 0:l.error)}reportReservedArrowTypeParam(e){var s;e.params.length===1&&!e.params[0].constraint&&!((s=e.extra)!=null&&s.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Ae.ReservedArrowTypeParam,e)}parseMaybeUnary(e,s){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,s)}parseArrow(e){if(this.match(14)){const s=this.tryParse(r=>{const n=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&r(),n});if(s.aborted)return;s.thrown||(s.error&&(this.state=s.failState),e.returnType=s.node)}return super.parseArrow(e)}parseFunctionParamType(e){this.eat(17)&&(e.optional=!0);const s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),this.resetEndLocation(e),e}isAssignable(e,s){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,s);case"TSParameterProperty":return!0;default:return super.isAssignable(e,s)}}toAssignable(e,s=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,s);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":s?this.expressionScope.recordArrowParameterBindingError(Ae.UnexpectedTypeCastInParameter,e):this.raise(Ae.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,s);break;case"AssignmentExpression":!s&&e.left.type==="TSTypeCastExpression"&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,s)}}toAssignableParenthesizedExpression(e,s){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,s);break;default:super.toAssignable(e,s)}}checkToRestConversion(e,s){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,s)}}isValidLVal(e,s,r){switch(e){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":case"TSInstantiationExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(r!==64||!s)&&["expression",!0];default:return super.isValidLVal(e,s,r)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){const s=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=s,r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,s){const r=super.parseMaybeDefault(e,s);return r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.startthis.isAssignable(s,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){const s=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());s&&(e.typeParameters=s)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const s=super.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e)[0];return n&&this.isThisParam(n)?s+1:s}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s,this.resetEndLocation(e)),e}tsInAmbientContext(e){const{isAmbientContext:s,strict:r}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return e()}finally{this.state.isAmbientContext=s,this.state.strict=r}}parseClass(e,s,r){const n=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,s,r)}finally{this.state.inAbstractClass=n}}tsParseAbstractDeclaration(e,s){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(s,this.parseClass(e,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(Ae.NonClassMethodPropertyHasAbstractModifer,e),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,s,r,n,a,o,l){const h=super.parseMethod(e,s,r,n,a,o,l);if(h.abstract&&(this.hasPlugin("estree")?!!h.value.body:!!h.body)){const{key:b}=h;this.raise(Ae.AbstractMethodHasImplementation,h,{methodName:b.type==="Identifier"&&!h.computed?b.name:`[${this.input.slice(b.start,b.end)}]`})}return h}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,s,r,n){return!s&&n?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,s,r,n))}parseImportSpecifier(e,s,r,n,a){return!s&&n?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,s,r,n,r?4098:4096))}parseTypeOnlyImportExportSpecifier(e,s,r){const n=s?"imported":"local",a=s?"local":"exported";let o=e[n],l,h=!1,u=!0;const b=o.loc.start;if(this.isContextual(93)){const L=this.parseIdentifier();if(this.isContextual(93)){const A=this.parseIdentifier();_t(this.state.type)?(h=!0,o=L,l=s?this.parseIdentifier():this.parseModuleExportName(),u=!1):(l=A,u=!1)}else _t(this.state.type)?(u=!1,l=s?this.parseIdentifier():this.parseModuleExportName()):(h=!0,o=L)}else _t(this.state.type)&&(h=!0,s?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());h&&r&&this.raise(s?Ae.TypeModifierIsUsedInTypeImports:Ae.TypeModifierIsUsedInTypeExports,b),e[n]=o,e[a]=l;const P=s?"importKind":"exportKind";e[P]=h?"type":"value",u&&this.eatContextual(93)&&(e[a]=s?this.parseIdentifier():this.parseModuleExportName()),e[a]||(e[a]=rs(e[n])),s&&this.checkIdentifier(e[a],h?4098:4096)}};function Op(i){if(i.type!=="MemberExpression")return!1;const{computed:t,property:e}=i;return t&&e.type!=="StringLiteral"&&(e.type!=="TemplateLiteral"||e.expressions.length>0)?!1:ic(i.object)}function Dp(i,t){var e;const{type:s}=i;if((e=i.extra)!=null&&e.parenthesized)return!1;if(t){if(s==="Literal"){const{value:r}=i;if(typeof r=="string"||typeof r=="boolean")return!0}}else if(s==="StringLiteral"||s==="BooleanLiteral")return!0;return!!(sc(i,t)||Fp(i,t)||s==="TemplateLiteral"&&i.expressions.length===0||Op(i))}function sc(i,t){return t?i.type==="Literal"&&(typeof i.value=="number"||"bigint"in i):i.type==="NumericLiteral"||i.type==="BigIntLiteral"}function Fp(i,t){if(i.type==="UnaryExpression"){const{operator:e,argument:s}=i;if(e==="-"&&sc(s,t))return!0}return!1}function ic(i){return i.type==="Identifier"?!0:i.type!=="MemberExpression"||i.computed?!1:ic(i.object)}const To=es`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});var Bp=i=>class extends i{parsePlaceholder(e){if(this.match(144)){const s=this.startNode();return this.next(),this.assertNoSpace(),s.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(s,e)}}finishPlaceholder(e,s){let r=e;return(!r.expectedNode||!r.type)&&(r=this.finishNode(r,"Placeholder")),r.expectedNode=s,r}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,s,r,n){e!==void 0&&super.checkReservedWord(e,s,r,n)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,s,r){return e==="Placeholder"||super.isValidLVal(e,s,r)}toAssignable(e,s){e&&e.type==="Placeholder"&&e.expectedNode==="Expression"?e.expectedNode="Pattern":super.toAssignable(e,s)}chStartsBindingIdentifier(e,s){return!!(super.chStartsBindingIdentifier(e,s)||this.lookahead().type===144)}verifyBreakContinue(e,s){e.label&&e.label.type==="Placeholder"||super.verifyBreakContinue(e,s)}parseExpressionStatement(e,s){var r;if(s.type!=="Placeholder"||(r=s.extra)!=null&&r.parenthesized)return super.parseExpressionStatement(e,s);if(this.match(14)){const a=e;return a.label=this.finishPlaceholder(s,"Identifier"),this.next(),a.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(a,"LabeledStatement")}this.semicolon();const n=e;return n.name=s.name,this.finishPlaceholder(n,"Statement")}parseBlock(e,s,r){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,s,r)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,s,r){const n=s?"ClassDeclaration":"ClassExpression";this.next();const a=this.state.strict,o=this.parsePlaceholder("Identifier");if(o)if(this.match(81)||this.match(144)||this.match(5))e.id=o;else{if(r||!s)return e.id=null,e.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(e,n);throw this.raise(To.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(e,s,r);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,a),this.finishNode(e,n)}parseExport(e,s){const r=this.parsePlaceholder("Identifier");if(!r)return super.parseExport(e,s);const n=e;if(!this.isContextual(98)&&!this.match(12))return n.specifiers=[],n.source=null,n.declaration=this.finishPlaceholder(r,"Declaration"),this.finishNode(n,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const a=this.startNode();return a.exported=r,n.specifiers=[this.finishNode(a,"ExportDefaultSpecifier")],super.parseExport(n,s)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(gs(144),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,s){var r;return(r=e.specifiers)!=null&&r.length?!0:super.maybeParseExportDefaultSpecifier(e,s)}checkExport(e){const{specifiers:s}=e;s!=null&&s.length&&(e.specifiers=s.filter(r=>r.exported.type==="Placeholder")),super.checkExport(e),e.specifiers=s}parseImport(e){const s=this.parsePlaceholder("Identifier");if(!s)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(s,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");const r=this.startNodeAtNode(s);return r.local=s,e.specifiers.push(this.finishNode(r,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(To.UnexpectedSpace,this.state.lastTokEndLoc)}},Rp=i=>class extends i{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc,s=this.startNode();if(this.next(),He(this.state.type)){const r=this.parseIdentifierName(),n=this.createIdentifier(s,r);if(n.type="V8IntrinsicIdentifier",this.match(10))return n}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};const bo=["minimal","fsharp","hack","smart"],xo=["^^","@@","^","%","#"];function $p(i){if(i.has("decorators")){if(i.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const e=i.get("decorators").decoratorsBeforeExport;if(e!=null&&typeof e!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const s=i.get("decorators").allowCallParenthesized;if(s!=null&&typeof s!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(i.has("flow")&&i.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(i.has("placeholders")&&i.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(i.has("pipelineOperator")){var t;const e=i.get("pipelineOperator").proposal;if(!bo.includes(e)){const r=bo.map(n=>`"${n}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${r}.`)}const s=((t=i.get("recordAndTuple"))==null?void 0:t.syntaxType)==="hash";if(e==="hack"){if(i.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(i.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const r=i.get("pipelineOperator").topicToken;if(!xo.includes(r)){const n=xo.map(a=>`"${a}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${n}.`)}if(r==="#"&&s)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",i.get("recordAndTuple")])}\`.`)}else if(e==="smart"&&s)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",i.get("recordAndTuple")])}\`.`)}if(i.has("moduleAttributes")){if(i.has("importAttributes")||i.has("importAssertions"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(i.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(i.has("importAssertions")&&i.has("importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(i.has("recordAndTuple")){const e=i.get("recordAndTuple").syntaxType;if(e!=null){const s=["hash","bar"];if(!s.includes(e))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+s.map(r=>`'${r}'`).join(", "))}}if(i.has("asyncDoExpressions")&&!i.has("doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}if(i.has("optionalChainingAssign")&&i.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}const rc={estree:kf,jsx:Cp,flow:Ap,typescript:Mp,v8intrinsic:Rp,placeholders:Bp},jp=Object.keys(rc),tn={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function Up(i){if(i==null)return Object.assign({},tn);if(i.annexB!=null&&i.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");const t={};for(const s of Object.keys(tn)){var e;t[s]=(e=i[s])!=null?e:tn[s]}return t}class Vp extends Lp{checkProto(t,e,s,r){if(t.type==="SpreadElement"||this.isObjectMethod(t)||t.computed||t.shorthand)return;const n=t.key;if((n.type==="Identifier"?n.name:n.value)==="__proto__"){if(e){this.raise(v.RecordNoProto,n);return}s.used&&(r?r.doubleProtoLoc===null&&(r.doubleProtoLoc=n.loc.start):this.raise(v.DuplicateProto,n)),s.used=!0}}shouldExitDescending(t,e){return t.type==="ArrowFunctionExpression"&&t.start===e}getExpression(){this.enterInitialScopes(),this.nextToken();const t=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),t.comments=this.comments,t.errors=this.state.errors,this.options.tokens&&(t.tokens=this.tokens),t}parseExpression(t,e){return t?this.disallowInAnd(()=>this.parseExpressionBase(e)):this.allowInAnd(()=>this.parseExpressionBase(e))}parseExpressionBase(t){const e=this.state.startLoc,s=this.parseMaybeAssign(t);if(this.match(12)){const r=this.startNodeAt(e);for(r.expressions=[s];this.eat(12);)r.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(r.expressions),this.finishNode(r,"SequenceExpression")}return s}parseMaybeAssignDisallowIn(t,e){return this.disallowInAnd(()=>this.parseMaybeAssign(t,e))}parseMaybeAssignAllowIn(t,e){return this.allowInAnd(()=>this.parseMaybeAssign(t,e))}setOptionalParametersError(t,e){var s;t.optionalParametersLoc=(s=e==null?void 0:e.loc)!=null?s:this.state.startLoc}parseMaybeAssign(t,e){const s=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let o=this.parseYield();return e&&(o=e.call(this,o,s)),o}let r;t?r=!1:(t=new er,r=!0);const{type:n}=this.state;(n===10||He(n))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(t);if(e&&(a=e.call(this,a,s)),_f(this.state.type)){const o=this.startNodeAt(s),l=this.state.value;if(o.operator=l,this.match(29)){this.toAssignable(a,!0),o.left=a;const h=s.index;t.doubleProtoLoc!=null&&t.doubleProtoLoc.index>=h&&(t.doubleProtoLoc=null),t.shorthandAssignLoc!=null&&t.shorthandAssignLoc.index>=h&&(t.shorthandAssignLoc=null),t.privateKeyLoc!=null&&t.privateKeyLoc.index>=h&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null)}else o.left=a;return this.next(),o.right=this.parseMaybeAssign(),this.checkLVal(a,this.finishNode(o,"AssignmentExpression")),o}else r&&this.checkExpressionErrors(t,!0);return a}parseMaybeConditional(t){const e=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprOps(t);return this.shouldExitDescending(r,s)?r:this.parseConditional(r,e,t)}parseConditional(t,e,s){if(this.eat(17)){const r=this.startNodeAt(e);return r.test=t,r.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),r.alternate=this.parseMaybeAssign(),this.finishNode(r,"ConditionalExpression")}return t}parseMaybeUnaryOrPrivate(t){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(t)}parseExprOps(t){const e=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(r,s)?r:this.parseExprOp(r,e,-1)}parseExprOp(t,e,s){if(this.isPrivateName(t)){const n=this.getPrivateNameSV(t);(s>=Zi(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(v.PrivateInExpectedIn,t,{identifierName:n}),this.classScope.usePrivateName(n,t.loc.start)}const r=this.state.type;if(Of(r)&&(this.prodParam.hasIn||!this.match(58))){let n=Zi(r);if(n>s){if(r===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return t;this.checkPipelineAtInfixOperator(t,e)}const a=this.startNodeAt(e);a.left=t,a.operator=this.state.value;const o=r===41||r===42,l=r===40;if(l&&(n=Zi(42)),this.next(),r===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(v.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);a.right=this.parseExprOpRightExpr(r,n);const h=this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression"),u=this.state.type;if(l&&(u===41||u===42)||o&&u===40)throw this.raise(v.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(h,e,s)}}return t}parseExprOpRightExpr(t,e){const s=this.state.startLoc;switch(t){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(v.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t,e),s)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(e))}default:return this.parseExprOpBaseRightExpr(t,e)}}parseExprOpBaseRightExpr(t,e){const s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,$f(t)?e-1:e)}parseHackPipeBody(){var t;const{startLoc:e}=this.state,s=this.parseMaybeAssign();return Pf.has(s.type)&&!((t=s.extra)!=null&&t.parenthesized)&&this.raise(v.PipeUnparenthesizedBody,e,{type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(v.PipeTopicUnused,e),s}checkExponentialAfterUnary(t){this.match(57)&&this.raise(v.UnexpectedTokenUnaryExponentiation,t.argument)}parseMaybeUnary(t,e){const s=this.state.startLoc,r=this.isContextual(96);if(r&&this.recordAwaitIfAllowed()){this.next();const l=this.parseAwait(s);return e||this.checkExponentialAfterUnary(l),l}const n=this.match(34),a=this.startNode();if(Ff(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const l=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),this.state.strict&&l){const h=a.argument;h.type==="Identifier"?this.raise(v.StrictDelete,a):this.hasPropertyAsPrivateName(h)&&this.raise(v.DeletePrivateField,a)}if(!n)return e||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}const o=this.parseUpdate(a,n,t);if(r){const{type:l}=this.state;if((this.hasPlugin("v8intrinsic")?Sn(l):Sn(l)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(v.AwaitNotInAsyncContext,s),this.parseAwait(s)}return o}parseUpdate(t,e,s){if(e){const a=t;return this.checkLVal(a.argument,this.finishNode(a,"UpdateExpression")),t}const r=this.state.startLoc;let n=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return n;for(;Df(this.state.type)&&!this.canInsertSemicolon();){const a=this.startNodeAt(r);a.operator=this.state.value,a.prefix=!1,a.argument=n,this.next(),this.checkLVal(n,n=this.finishNode(a,"UpdateExpression"))}return n}parseExprSubscripts(t){const e=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprAtom(t);return this.shouldExitDescending(r,s)?r:this.parseSubscripts(r,e)}parseSubscripts(t,e,s){const r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do t=this.parseSubscript(t,e,s,r),r.maybeAsyncArrow=!1;while(!r.stop);return t}parseSubscript(t,e,s,r){const{type:n}=this.state;if(!s&&n===15)return this.parseBind(t,e,s,r);if(ur(n))return this.parseTaggedTemplateExpression(t,e,r);let a=!1;if(n===18){if(s&&(this.raise(v.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return r.stop=!0,t;r.optionalChainMember=a=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,e,r,a);{const o=this.eat(0);return o||a||this.eat(16)?this.parseMember(t,e,r,o,a):(r.stop=!0,t)}}parseMember(t,e,s,r,n){const a=this.startNodeAt(e);return a.object=t,a.computed=r,r?(a.property=this.parseExpression(),this.expect(3)):this.match(138)?(t.type==="Super"&&this.raise(v.SuperPrivateField,e),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),s.optionalChainMember?(a.optional=n,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(t,e,s,r){const n=this.startNodeAt(e);return n.object=t,this.next(),n.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),e,s)}parseCoverCallAndAsyncArrowHead(t,e,s,r){const n=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=!0,this.next();const o=this.startNodeAt(e);o.callee=t;const{maybeAsyncArrow:l,optionalChainMember:h}=s;l&&(this.expressionScope.enter(pp()),a=new er),h&&(o.optional=r),r?o.arguments=this.parseCallExpressionArguments(11):o.arguments=this.parseCallExpressionArguments(11,t.type==="Import",t.type!=="Super",o,a);let u=this.finishCallExpression(o,h);return l&&this.shouldParseAsyncArrow()&&!r?(s.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),u=this.parseAsyncArrowFromCallExpression(this.startNodeAt(e),u)):(l&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(u)),this.state.maybeInArrowParameters=n,u}toReferencedArguments(t,e){this.toReferencedListDeep(t.arguments,e)}parseTaggedTemplateExpression(t,e,s){const r=this.startNodeAt(e);return r.tag=t,r.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(v.OptionalChainingNoTemplate,e),this.finishNode(r,"TaggedTemplateExpression")}atPossibleAsyncArrow(t){return t.type==="Identifier"&&t.name==="async"&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&t.start===this.state.potentialArrowAt}finishCallExpression(t,e){if(t.callee.type==="Import")if(t.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")),t.arguments.length===0||t.arguments.length>2)this.raise(v.ImportCallArity,t,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const s of t.arguments)s.type==="SpreadElement"&&this.raise(v.ImportCallSpreadArgument,s);return this.finishNode(t,e?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(t,e,s,r,n){const a=[];let o=!0;const l=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){e&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(v.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),r&&this.addTrailingCommaExtraToNode(r),this.next();break}a.push(this.parseExprListItem(!1,n,s))}return this.state.inFSharpPipelineDirectBody=l,a}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(t,e){var s;return this.resetPreviousNodeTrailingComments(e),this.expect(19),this.parseArrowExpression(t,e.arguments,!0,(s=e.extra)==null?void 0:s.trailingCommaLoc),e.innerComments&&ki(t,e.innerComments),e.callee.trailingComments&&ki(t,e.callee.trailingComments),t}parseNoCallExpr(){const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,!0)}parseExprAtom(t){let e,s=null;const{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return e=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(e):this.match(10)?this.options.createImportExpressions?this.parseImportCall(e):this.finishNode(e,"Import"):(this.raise(v.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(e,"Import"));case 78:return e=this.startNode(),this.next(),this.finishNode(e,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 133:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{const n=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(n)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,t);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,t);case 68:return this.parseFunctionOrFunctionSent();case 26:s=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(s,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{e=this.startNode(),this.next(),e.object=null;const n=e.callee=this.parseNoCallExpr();if(n.type==="MemberExpression")return this.finishNode(e,"BindExpression");throw this.raise(v.UnsupportedBind,n)}case 138:return this.raise(v.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{const n=this.getPluginOption("pipelineOperator","proposal");if(n)return this.parseTopicReference(n);this.unexpected();break}case 47:{const n=this.input.codePointAt(this.nextTokenStart());Zt(n)||n===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(r===136)return this.parseDecimalLiteral(this.state.value);if(He(r)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();const n=this.state.potentialArrowAt===this.state.start,a=this.state.containsEsc,o=this.parseIdentifier();if(!a&&o.name==="async"&&!this.canInsertSemicolon()){const{type:l}=this.state;if(l===68)return this.resetPreviousNodeTrailingComments(o),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(o));if(He(l))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(o)):o;if(l===90)return this.resetPreviousNodeTrailingComments(o),this.parseDo(this.startNodeAtNode(o),!0)}return n&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(o),[o],!1)):o}else this.unexpected()}}parseTopicReferenceThenEqualsSign(t,e){const s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.state.type=t,this.state.value=e,this.state.pos--,this.state.end--,this.state.endLoc=xt(this.state.endLoc,-1),this.parseTopicReference(s);this.unexpected()}parseTopicReference(t){const e=this.startNode(),s=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(e,s,t,r)}finishTopicReference(t,e,s,r){if(this.testTopicReferenceConfiguration(s,e,r)){const n=s==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(s==="smart"?v.PrimaryTopicNotAllowed:v.PipeTopicUnbound,e),this.registerTopicReference(),this.finishNode(t,n)}else throw this.raise(v.PipeTopicUnconfiguredToken,e,{token:gs(r)})}testTopicReferenceConfiguration(t,e,s){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:gs(s)}]);case"smart":return s===27;default:throw this.raise(v.PipeTopicRequiresHackPipes,e)}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(Qi(!0,this.prodParam.hasYield));const e=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(v.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(t,e,!0)}parseDo(t,e){this.expectPlugin("doExpressions"),e&&this.expectPlugin("asyncDoExpressions"),t.async=e,this.next();const s=this.state.labels;return this.state.labels=[],e?(this.prodParam.enter(2),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=s,this.finishNode(t,"DoExpression")}parseSuper(){const t=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(v.SuperNotAllowed,t):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(v.UnexpectedSuper,t),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(v.UnsupportedSuper,t),this.finishNode(t,"Super")}parsePrivateName(){const t=this.startNode(),e=this.startNodeAt(xt(this.state.startLoc,1)),s=this.state.value;return this.next(),t.id=this.createIdentifier(e,s),this.finishNode(t,"PrivateName")}parseFunctionOrFunctionSent(){const t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const e=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(t,e,"sent")}return this.parseFunction(t)}parseMetaProperty(t,e,s){t.meta=e;const r=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==s||r)&&this.raise(v.UnsupportedMetaProperty,t.property,{target:e.name,onlyValidPropertyName:s}),this.finishNode(t,"MetaProperty")}parseImportMetaProperty(t){const e=this.createIdentifier(this.startNodeAtNode(t),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(v.ImportMetaOutsideModule,e),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const s=this.isContextual(105);if(s||this.unexpected(),this.expectPlugin(s?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(v.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),t.phase=s?"source":"defer",this.parseImportCall(t)}return this.parseMetaProperty(t,e,"meta")}parseLiteralAtNode(t,e,s){return this.addExtra(s,"rawValue",t),this.addExtra(s,"raw",this.input.slice(s.start,this.state.end)),s.value=t,this.next(),this.finishNode(s,e)}parseLiteral(t,e){const s=this.startNode();return this.parseLiteralAtNode(t,e,s)}parseStringLiteral(t){return this.parseLiteral(t,"StringLiteral")}parseNumericLiteral(t){return this.parseLiteral(t,"NumericLiteral")}parseBigIntLiteral(t){return this.parseLiteral(t,"BigIntLiteral")}parseDecimalLiteral(t){return this.parseLiteral(t,"DecimalLiteral")}parseRegExpLiteral(t){const e=this.startNode();return this.addExtra(e,"raw",this.input.slice(e.start,this.state.end)),e.pattern=t.pattern,e.flags=t.flags,this.next(),this.finishNode(e,"RegExpLiteral")}parseBooleanLiteral(t){const e=this.startNode();return e.value=t,this.next(),this.finishNode(e,"BooleanLiteral")}parseNullLiteral(){const t=this.startNode();return this.next(),this.finishNode(t,"NullLiteral")}parseParenAndDistinguishExpression(t){const e=this.state.startLoc;let s;this.next(),this.expressionScope.enter(fp());const r=this.state.maybeInArrowParameters,n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const a=this.state.startLoc,o=[],l=new er;let h=!0,u,b;for(;!this.match(11);){if(h)h=!1;else if(this.expect(12,l.optionalParametersLoc===null?null:l.optionalParametersLoc),this.match(11)){b=this.state.startLoc;break}if(this.match(21)){const A=this.state.startLoc;if(u=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),A)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowIn(l,this.parseParenItem))}const P=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=n;let L=this.startNodeAt(e);return t&&this.shouldParseArrow(o)&&(L=this.parseArrow(L))?(this.checkDestructuringPrivate(l),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(L,o,!1),L):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),b&&this.unexpected(b),u&&this.unexpected(u),this.checkExpressionErrors(l,!0),this.toReferencedListDeep(o,!0),o.length>1?(s=this.startNodeAt(a),s.expressions=o,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,P)):s=o[0],this.wrapParenthesis(e,s))}wrapParenthesis(t,e){if(!this.options.createParenthesizedExpressions)return this.addExtra(e,"parenthesized",!0),this.addExtra(e,"parenStart",t.index),this.takeSurroundingComments(e,t.index,this.state.lastTokEndLoc.index),e;const s=this.startNodeAt(t);return s.expression=e,this.finishNode(s,"ParenthesizedExpression")}shouldParseArrow(t){return!this.canInsertSemicolon()}parseArrow(t){if(this.eat(19))return t}parseParenItem(t,e){return t}parseNewOrNewTarget(){const t=this.startNode();if(this.next(),this.match(16)){const e=this.createIdentifier(this.startNodeAtNode(t),"new");this.next();const s=this.parseMetaProperty(t,e,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(v.UnexpectedNewTarget,s),s}return this.parseNew(t)}parseNew(t){if(this.parseNewCallee(t),this.eat(10)){const e=this.parseExprList(11);this.toReferencedList(e),t.arguments=e}else t.arguments=[];return this.finishNode(t,"NewExpression")}parseNewCallee(t){const e=this.match(83),s=this.parseNoCallExpr();t.callee=s,e&&(s.type==="Import"||s.type==="ImportExpression")&&this.raise(v.ImportCallNotNewExpression,s)}parseTemplateElement(t){const{start:e,startLoc:s,end:r,value:n}=this.state,a=e+1,o=this.startNodeAt(xt(s,1));n===null&&(t||this.raise(v.InvalidEscapeSequenceTemplate,xt(this.state.firstInvalidTemplateEscapePos,1)));const l=this.match(24),h=l?-1:-2,u=r+h;o.value={raw:this.input.slice(a,u).replace(/\r\n?/g,` +`),cooked:n===null?null:n.slice(1,h)},o.tail=l,this.next();const b=this.finishNode(o,"TemplateElement");return this.resetEndLocation(b,xt(this.state.lastTokEndLoc,h)),b}parseTemplate(t){const e=this.startNode();let s=this.parseTemplateElement(t);const r=[s],n=[];for(;!s.tail;)n.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),r.push(s=this.parseTemplateElement(t));return e.expressions=n,e.quasis=r,this.finishNode(e,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(t,e,s,r){s&&this.expectPlugin("recordAndTuple");const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const a=Object.create(null);let o=!0;const l=this.startNode();for(l.properties=[],this.next();!this.match(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){this.addTrailingCommaExtraToNode(l);break}let u;e?u=this.parseBindingProperty():(u=this.parsePropertyDefinition(r),this.checkProto(u,s,a,r)),s&&!this.isObjectProperty(u)&&u.type!=="SpreadElement"&&this.raise(v.InvalidRecordProperty,u),u.shorthand&&this.addExtra(u,"shorthand",!0),l.properties.push(u)}this.next(),this.state.inFSharpPipelineDirectBody=n;let h="ObjectExpression";return e?h="ObjectPattern":s&&(h="RecordExpression"),this.finishNode(l,h)}addTrailingCommaExtraToNode(t){this.addExtra(t,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(t,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(t){return!t.computed&&t.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(t){let e=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(v.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());const s=this.startNode();let r=!1,n=!1,a;if(this.match(21))return e.length&&this.unexpected(),this.parseSpread();e.length&&(s.decorators=e,e=[]),s.method=!1,t&&(a=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(s);const l=this.state.containsEsc;if(this.parsePropertyName(s,t),!o&&!l&&this.maybeAsyncOrAccessorProp(s)){const{key:h}=s,u=h.name;u==="async"&&!this.hasPrecedingLineBreak()&&(r=!0,this.resetPreviousNodeTrailingComments(h),o=this.eat(55),this.parsePropertyName(s)),(u==="get"||u==="set")&&(n=!0,this.resetPreviousNodeTrailingComments(h),s.kind=u,this.match(55)&&(o=!0,this.raise(v.AccessorIsGenerator,this.state.curPosition(),{kind:u}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,a,o,r,!1,n,t)}getGetterSetterExpectedParamCount(t){return t.kind==="get"?0:1}getObjectOrClassMethodParams(t){return t.params}checkGetterSetterParams(t){var e;const s=this.getGetterSetterExpectedParamCount(t),r=this.getObjectOrClassMethodParams(t);r.length!==s&&this.raise(t.kind==="get"?v.BadGetterArity:v.BadSetterArity,t),t.kind==="set"&&((e=r[r.length-1])==null?void 0:e.type)==="RestElement"&&this.raise(v.BadSetterRestParameter,t)}parseObjectMethod(t,e,s,r,n){if(n){const a=this.parseMethod(t,e,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(a),a}if(s||e||this.match(10))return r&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,e,s,!1,!1,"ObjectMethod")}parseObjectProperty(t,e,s,r){if(t.shorthand=!1,this.eat(14))return t.value=s?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(r),this.finishNode(t,"ObjectProperty");if(!t.computed&&t.key.type==="Identifier"){if(this.checkReservedWord(t.key.name,t.key.loc.start,!0,!1),s)t.value=this.parseMaybeDefault(e,rs(t.key));else if(this.match(29)){const n=this.state.startLoc;r!=null?r.shorthandAssignLoc===null&&(r.shorthandAssignLoc=n):this.raise(v.InvalidCoverInitializedName,n),t.value=this.parseMaybeDefault(e,rs(t.key))}else t.value=rs(t.key);return t.shorthand=!0,this.finishNode(t,"ObjectProperty")}}parseObjPropValue(t,e,s,r,n,a,o){const l=this.parseObjectMethod(t,s,r,n,a)||this.parseObjectProperty(t,e,n,o);return l||this.unexpected(),l}parsePropertyName(t,e){if(this.eat(0))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:s,value:r}=this.state;let n;if(_t(s))n=this.parseIdentifier(!0);else switch(s){case 134:n=this.parseNumericLiteral(r);break;case 133:n=this.parseStringLiteral(r);break;case 135:n=this.parseBigIntLiteral(r);break;case 138:{const a=this.state.startLoc;e!=null?e.privateKeyLoc===null&&(e.privateKeyLoc=a):this.raise(v.UnexpectedPrivateField,a),n=this.parsePrivateName();break}default:if(s===136){n=this.parseDecimalLiteral(r);break}this.unexpected()}t.key=n,s!==138&&(t.computed=!1)}}initFunction(t,e){t.id=null,t.generator=!1,t.async=e}parseMethod(t,e,s,r,n,a,o=!1){this.initFunction(t,s),t.generator=e,this.scope.enter(18|(o?64:0)|(n?32:0)),this.prodParam.enter(Qi(s,t.generator)),this.parseFunctionParams(t,r);const l=this.parseFunctionBodyAndFinish(t,a,!0);return this.prodParam.exit(),this.scope.exit(),l}parseArrayLike(t,e,s,r){s&&this.expectPlugin("recordAndTuple");const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const a=this.startNode();return this.next(),a.elements=this.parseExprList(t,!s,r,a),this.state.inFSharpPipelineDirectBody=n,this.finishNode(a,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(t,e,s,r){this.scope.enter(6);let n=Qi(s,!1);!this.match(5)&&this.prodParam.hasIn&&(n|=8),this.prodParam.enter(n),this.initFunction(t,s);const a=this.state.maybeInArrowParameters;return e&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,e,r)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(t,"ArrowFunctionExpression")}setArrowFunctionParameters(t,e,s){this.toAssignableList(e,s,!1),t.params=e}parseFunctionBodyAndFinish(t,e,s=!1){return this.parseFunctionBody(t,!1,s),this.finishNode(t,e)}parseFunctionBody(t,e,s=!1){const r=e&&!this.match(5);if(this.expressionScope.enter(ec()),r)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,e,!1);else{const n=this.state.strict,a=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),t.body=this.parseBlock(!0,!1,o=>{const l=!this.isSimpleParamList(t.params);o&&l&&this.raise(v.IllegalLanguageModeDirective,(t.kind==="method"||t.kind==="constructor")&&!!t.key?t.key.loc.end:t);const h=!n&&this.state.strict;this.checkParams(t,!this.state.strict&&!e&&!s&&!l,e,h),this.state.strict&&t.id&&this.checkIdentifier(t.id,65,h)}),this.prodParam.exit(),this.state.labels=a}this.expressionScope.exit()}isSimpleParameter(t){return t.type==="Identifier"}isSimpleParamList(t){for(let e=0,s=t.length;e10||!Jf(t))return;if(s&&Kf(t)){this.raise(v.UnexpectedKeyword,e,{keyword:t});return}if((this.state.strict?r?Jl:ql:Kl)(t,this.inModule)){this.raise(v.UnexpectedReservedWord,e,{reservedWord:t});return}else if(t==="yield"){if(this.prodParam.hasYield){this.raise(v.YieldBindingIdentifier,e);return}}else if(t==="await"){if(this.prodParam.hasAwait){this.raise(v.AwaitBindingIdentifier,e);return}if(this.scope.inStaticBlock){this.raise(v.AwaitBindingIdentifierInStaticBlock,e);return}this.expressionScope.recordAsyncArrowParametersError(e)}else if(t==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(v.ArgumentsInClass,e);return}}recordAwaitIfAllowed(){const t=this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction;return t&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),t}parseAwait(t){const e=this.startNodeAt(t);return this.expressionScope.recordParameterInitializerError(v.AwaitExpressionFormalParameter,e),this.eat(55)&&this.raise(v.ObsoleteAwaitStar,e),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(e.argument=this.parseMaybeUnary(null,!0)),this.finishNode(e,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:t}=this.state;return t===53||t===10||t===0||ur(t)||t===102&&!this.state.containsEsc||t===137||t===56||this.hasPlugin("v8intrinsic")&&t===54}parseYield(){const t=this.startNode();this.expressionScope.recordParameterInitializerError(v.YieldInParameter,t),this.next();let e=!1,s=null;if(!this.hasPrecedingLineBreak())switch(e=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!e)break;default:s=this.parseMaybeAssign()}return t.delegate=e,t.argument=s,this.finishNode(t,"YieldExpression")}parseImportCall(t){return this.next(),t.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(t.options=null),this.eat(12)&&(this.hasPlugin("moduleAttributes")||this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes"),this.match(11)||(t.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(t,"ImportExpression")}checkPipelineAtInfixOperator(t,e){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&t.type==="SequenceExpression"&&this.raise(v.PipelineHeadSequenceExpression,e)}parseSmartPipelineBodyInStyle(t,e){if(this.isSimpleReference(t)){const s=this.startNodeAt(e);return s.callee=t,this.finishNode(s,"PipelineBareFunction")}else{const s=this.startNodeAt(e);return this.checkSmartPipeTopicBodyEarlyErrors(e),s.expression=t,this.finishNode(s,"PipelineTopicExpression")}}isSimpleReference(t){switch(t.type){case"MemberExpression":return!t.computed&&this.isSimpleReference(t.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(t){if(this.match(19))throw this.raise(v.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(v.PipelineTopicUnused,t)}withTopicBindingContext(t){const e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}withSmartMixTopicForbiddingContext(t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){const e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}else return t()}withSoloAwaitPermittingContext(t){const e=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=e}}allowInAnd(t){const e=this.prodParam.currentFlags();if(8&~e){this.prodParam.enter(e|8);try{return t()}finally{this.prodParam.exit()}}return t()}disallowInAnd(t){const e=this.prodParam.currentFlags();if(8&e){this.prodParam.enter(e&-9);try{return t()}finally{this.prodParam.exit()}}return t()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(t){const e=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),e,t);return this.state.inFSharpPipelineDirectBody=s,r}parseModuleExpression(){this.expectPlugin("moduleBlocks");const t=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const e=this.startNodeAt(this.state.endLoc);this.next();const s=this.initializeScopes(!0);this.enterInitialScopes();try{t.body=this.parseProgram(e,8,"module")}finally{s()}return this.finishNode(t,"ModuleExpression")}parsePropertyNamePrefixOperator(t){}}const sn={kind:1},Hp={kind:2},Gp=/[\uD800-\uDFFF]/u,rn=/in(?:stanceof)?/y;function Wp(i,t){for(let e=0;e0)for(const[n,a]of Array.from(this.scope.undefinedExports))this.raise(v.ModuleExportUndefined,a,{localName:n});this.addExtra(t,"topLevelAwait",this.state.hasTopLevelAwait)}let r;return e===139?r=this.finishNode(t,"Program"):r=this.finishNodeAt(t,"Program",xt(this.state.startLoc,-1)),r}stmtToDirective(t){const e=t;e.type="Directive",e.value=e.expression,delete e.expression;const s=e.value,r=s.value,n=this.input.slice(s.start,s.end),a=s.value=n.slice(1,-1);return this.addExtra(s,"raw",n),this.addExtra(s,"rawValue",a),this.addExtra(s,"expressionValue",r),s.type="DirectiveLiteral",e}parseInterpreterDirective(){if(!this.match(28))return null;const t=this.startNode();return t.value=this.state.value,this.next(),this.finishNode(t,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(t,e){if(Zt(t)){if(rn.lastIndex=e,rn.test(this.input)){const s=this.codePointAtPos(rn.lastIndex);if(!zs(s)&&s!==92)return!1}return!0}else return t===92}chStartsBindingPattern(t){return t===91||t===123}hasFollowingBindingAtom(){const t=this.nextTokenStart(),e=this.codePointAtPos(t);return this.chStartsBindingPattern(e)||this.chStartsBindingIdentifier(e,t)}hasInLineFollowingBindingIdentifierOrBrace(){const t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);return e===123||this.chStartsBindingIdentifier(e,t)}startsUsingForOf(){const{type:t,containsEsc:e}=this.lookahead();if(t===102&&!e)return!1;if(He(t)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let t=this.nextTokenInLineStart();if(this.isUnparsedContextual(t,"using")){t=this.nextTokenInLineStartSince(t+5);const e=this.codePointAtPos(t);if(this.chStartsBindingIdentifier(e,t))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(t=!1){let e=0;return this.options.annexB&&!this.state.strict&&(e|=4,t&&(e|=8)),this.parseStatementLike(e)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(t){let e=null;return this.match(26)&&(e=this.parseDecorators(!0)),this.parseStatementContent(t,e)}parseStatementContent(t,e){const s=this.state.type,r=this.startNode(),n=!!(t&2),a=!!(t&4),o=t&1;switch(s){case 60:return this.parseBreakContinueStatement(r,!0);case 63:return this.parseBreakContinueStatement(r,!1);case 64:return this.parseDebuggerStatement(r);case 90:return this.parseDoWhileStatement(r);case 91:return this.parseForStatement(r);case 68:if(this.lookaheadCharCode()===46)break;return a||this.raise(this.state.strict?v.StrictFunction:this.options.annexB?v.SloppyFunctionAnnexB:v.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(r,!1,!n&&a);case 80:return n||this.unexpected(),this.parseClass(this.maybeTakeDecorators(e,r),!0);case 69:return this.parseIfStatement(r);case 70:return this.parseReturnStatement(r);case 71:return this.parseSwitchStatement(r);case 72:return this.parseThrowStatement(r);case 73:return this.parseTryStatement(r);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.recordAwaitIfAllowed()?n||this.raise(v.UnexpectedLexicalDeclaration,r):this.raise(v.AwaitUsingNotInAsyncContext,r),this.next(),this.parseVarStatement(r,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(v.UnexpectedUsingDeclaration,this.state.startLoc):n||this.raise(v.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(r,"using");case 100:{if(this.state.containsEsc)break;const u=this.nextTokenStart(),b=this.codePointAtPos(u);if(b!==91&&(!n&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(b,u)&&b!==123))break}case 75:n||this.raise(v.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const u=this.state.value;return this.parseVarStatement(r,u)}case 92:return this.parseWhileStatement(r);case 76:return this.parseWithStatement(r);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(r);case 83:{const u=this.lookaheadCharCode();if(u===40||u===46)break}case 82:{!this.options.allowImportExportEverywhere&&!o&&this.raise(v.UnexpectedImportExport,this.state.startLoc),this.next();let u;return s===83?(u=this.parseImport(r),u.type==="ImportDeclaration"&&(!u.importKind||u.importKind==="value")&&(this.sawUnambiguousESM=!0)):(u=this.parseExport(r,e),(u.type==="ExportNamedDeclaration"&&(!u.exportKind||u.exportKind==="value")||u.type==="ExportAllDeclaration"&&(!u.exportKind||u.exportKind==="value")||u.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(u),u}default:if(this.isAsyncFunction())return n||this.raise(v.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(r,!0,!n&&a)}const l=this.state.value,h=this.parseExpression();return He(s)&&h.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(r,l,h,t):this.parseExpressionStatement(r,h,e)}assertModuleNodeAllowed(t){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(v.ImportOutsideModule,t)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(t,e,s){return t&&(e.decorators&&e.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(v.DecoratorsBeforeAfterExport,e.decorators[0]),e.decorators.unshift(...t)):e.decorators=t,this.resetStartLocationFromNode(e,t[0]),s&&this.resetStartLocationFromNode(s,e)),e}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(t){const e=[];do e.push(this.parseDecorator());while(this.match(26));if(this.match(82))t||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(v.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(v.UnexpectedLeadingDecorator,this.state.startLoc);return e}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const t=this.startNode();if(this.next(),this.hasPlugin("decorators")){const e=this.state.startLoc;let s;if(this.match(10)){const r=this.state.startLoc;this.next(),s=this.parseExpression(),this.expect(11),s=this.wrapParenthesis(r,s);const n=this.state.startLoc;t.expression=this.parseMaybeDecoratorArguments(s),this.getPluginOption("decorators","allowCallParenthesized")===!1&&t.expression!==s&&this.raise(v.DecoratorArgumentsOutsideParentheses,n)}else{for(s=this.parseIdentifier(!1);this.eat(16);){const r=this.startNodeAt(e);r.object=s,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),r.property=this.parsePrivateName()):r.property=this.parseIdentifier(!0),r.computed=!1,s=this.finishNode(r,"MemberExpression")}t.expression=this.parseMaybeDecoratorArguments(s)}}else t.expression=this.parseExprSubscripts();return this.finishNode(t,"Decorator")}parseMaybeDecoratorArguments(t){if(this.eat(10)){const e=this.startNodeAtNode(t);return e.callee=t,e.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(e.arguments),this.finishNode(e,"CallExpression")}return t}parseBreakContinueStatement(t,e){return this.next(),this.isLineTerminator()?t.label=null:(t.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(t,e),this.finishNode(t,e?"BreakStatement":"ContinueStatement")}verifyBreakContinue(t,e){let s;for(s=0;sthis.parseStatement()),this.state.labels.pop(),this.expect(92),t.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(t,"DoWhileStatement")}parseForStatement(t){this.next(),this.state.labels.push(sn);let e=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(e=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return e!==null&&this.unexpected(e),this.parseFor(t,null);const s=this.isContextual(100);{const l=this.isContextual(96)&&this.startsAwaitUsing(),h=l||this.isContextual(107)&&this.startsUsingForOf(),u=s&&this.hasFollowingBindingAtom()||h;if(this.match(74)||this.match(75)||u){const b=this.startNode();let P;l?(P="await using",this.recordAwaitIfAllowed()||this.raise(v.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):P=this.state.value,this.next(),this.parseVar(b,!0,P);const L=this.finishNode(b,"VariableDeclaration"),A=this.match(58);return A&&h&&this.raise(v.ForInUsing,L),(A||this.isContextual(102))&&L.declarations.length===1?this.parseForIn(t,L,e):(e!==null&&this.unexpected(e),this.parseFor(t,L))}}const r=this.isContextual(95),n=new er,a=this.parseExpression(!0,n),o=this.isContextual(102);if(o&&(s&&this.raise(v.ForOfLet,a),e===null&&r&&a.type==="Identifier"&&this.raise(v.ForOfAsync,a)),o||this.match(58)){this.checkDestructuringPrivate(n),this.toAssignable(a,!0);const l=o?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{type:l}),this.parseForIn(t,a,e)}else this.checkExpressionErrors(n,!0);return e!==null&&this.unexpected(e),this.parseFor(t,a)}parseFunctionStatement(t,e,s){return this.next(),this.parseFunction(t,1|(s?2:0)|(e?8:0))}parseIfStatement(t){return this.next(),t.test=this.parseHeaderExpression(),t.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),t.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(t,"IfStatement")}parseReturnStatement(t){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(v.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")}parseSwitchStatement(t){this.next(),t.discriminant=this.parseHeaderExpression();const e=t.cases=[];this.expect(5),this.state.labels.push(Hp),this.scope.enter(0);let s;for(let r;!this.match(8);)if(this.match(61)||this.match(65)){const n=this.match(61);s&&this.finishNode(s,"SwitchCase"),e.push(s=this.startNode()),s.consequent=[],this.next(),n?s.test=this.parseExpression():(r&&this.raise(v.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),r=!0,s.test=null),this.expect(14)}else s?s.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),s&&this.finishNode(s,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(t,"SwitchStatement")}parseThrowStatement(t){return this.next(),this.hasPrecedingLineBreak()&&this.raise(v.NewlineAfterThrow,this.state.lastTokEndLoc),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")}parseCatchClauseParam(){const t=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&t.type==="Identifier"?8:0),this.checkLVal(t,{type:"CatchClause"},9),t}parseTryStatement(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(62)){const e=this.startNode();this.next(),this.match(10)?(this.expect(10),e.param=this.parseCatchClauseParam(),this.expect(11)):(e.param=null,this.scope.enter(0)),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(67)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(v.NoCatchOrFinally,t),this.finishNode(t,"TryStatement")}parseVarStatement(t,e,s=!1){return this.next(),this.parseVar(t,!1,e,s),this.semicolon(),this.finishNode(t,"VariableDeclaration")}parseWhileStatement(t){return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push(sn),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}parseWithStatement(t){return this.state.strict&&this.raise(v.StrictWith,this.state.startLoc),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(t,"WithStatement")}parseEmptyStatement(t){return this.next(),this.finishNode(t,"EmptyStatement")}parseLabeledStatement(t,e,s,r){for(const a of this.state.labels)a.name===e&&this.raise(v.LabelRedeclaration,s,{labelName:e});const n=Mf(this.state.type)?1:this.match(71)?2:null;for(let a=this.state.labels.length-1;a>=0;a--){const o=this.state.labels[a];if(o.statementStart===t.start)o.statementStart=this.state.start,o.kind=n;else break}return this.state.labels.push({name:e,kind:n,statementStart:this.state.start}),t.body=r&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),t.label=s,this.finishNode(t,"LabeledStatement")}parseExpressionStatement(t,e,s){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")}parseBlock(t=!1,e=!0,s){const r=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),e&&this.scope.enter(0),this.parseBlockBody(r,t,!1,8,s),e&&this.scope.exit(),this.finishNode(r,"BlockStatement")}isValidDirective(t){return t.type==="ExpressionStatement"&&t.expression.type==="StringLiteral"&&!t.expression.extra.parenthesized}parseBlockBody(t,e,s,r,n){const a=t.body=[],o=t.directives=[];this.parseBlockOrModuleBlockBody(a,e?o:void 0,s,r,n)}parseBlockOrModuleBlockBody(t,e,s,r,n){const a=this.state.strict;let o=!1,l=!1;for(;!this.match(r);){const h=s?this.parseModuleItem():this.parseStatementListItem();if(e&&!l){if(this.isValidDirective(h)){const u=this.stmtToDirective(h);e.push(u),!o&&u.value.value==="use strict"&&(o=!0,this.setStrict(!0));continue}l=!0,this.state.strictErrors.clear()}t.push(h)}n==null||n.call(this,o),a||this.setStrict(!1),this.next()}parseFor(t,e){return t.init=e,this.semicolon(!1),t.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),t.update=this.match(11)?null:this.parseExpression(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,"ForStatement")}parseForIn(t,e,s){const r=this.match(58);return this.next(),r?s!==null&&this.unexpected(s):t.await=s!==null,e.type==="VariableDeclaration"&&e.declarations[0].init!=null&&(!r||!this.options.annexB||this.state.strict||e.kind!=="var"||e.declarations[0].id.type!=="Identifier")&&this.raise(v.ForInOfLoopInitializer,e,{type:r?"ForInStatement":"ForOfStatement"}),e.type==="AssignmentPattern"&&this.raise(v.InvalidLhs,e,{ancestor:{type:"ForStatement"}}),t.left=e,t.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,r?"ForInStatement":"ForOfStatement")}parseVar(t,e,s,r=!1){const n=t.declarations=[];for(t.kind=s;;){const a=this.startNode();if(this.parseVarId(a,s),a.init=this.eat(29)?e?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,a.init===null&&!r&&(a.id.type!=="Identifier"&&!(e&&(this.match(58)||this.isContextual(102)))?this.raise(v.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(s==="const"||s==="using"||s==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(v.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:s})),n.push(this.finishNode(a,"VariableDeclarator")),!this.eat(12))break}return t}parseVarId(t,e){const s=this.parseBindingAtom();(e==="using"||e==="await using")&&(s.type==="ArrayPattern"||s.type==="ObjectPattern")&&this.raise(v.UsingDeclarationHasBindingPattern,s.loc.start),this.checkLVal(s,{type:"VariableDeclarator"},e==="var"?5:8201),t.id=s}parseAsyncFunctionExpression(t){return this.parseFunction(t,8)}parseFunction(t,e=0){const s=e&2,r=!!(e&1),n=r&&!(e&4),a=!!(e&8);this.initFunction(t,a),this.match(55)&&(s&&this.raise(v.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),t.generator=!0),r&&(t.id=this.parseFunctionId(n));const o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Qi(a,t.generator)),r||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(t,r?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),r&&!s&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=o,t}parseFunctionId(t){return t||He(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,e){this.expect(10),this.expressionScope.enter(hp()),t.params=this.parseBindingList(11,41,2|(e?4:0)),this.expressionScope.exit()}registerFunctionStatementId(t){!t.id||this.scope.declareName(t.id.name,!this.options.annexB||this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?5:8201:17,t.id.loc.start)}parseClass(t,e,s){this.next();const r=this.state.strict;return this.state.strict=!0,this.parseClassId(t,e,s),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,r),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(t){return t.type==="Identifier"&&t.name==="constructor"||t.type==="StringLiteral"&&t.value==="constructor"}isNonstaticConstructor(t){return!t.computed&&!t.static&&this.nameIsConstructor(t.key)}parseClassBody(t,e){this.classScope.enter();const s={hadConstructor:!1,hadSuperClass:t};let r=[];const n=this.startNode();if(n.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(r.length>0)throw this.raise(v.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){r.push(this.parseDecorator());continue}const a=this.startNode();r.length&&(a.decorators=r,this.resetStartLocationFromNode(a,r[0]),r=[]),this.parseClassMember(n,a,s),a.kind==="constructor"&&a.decorators&&a.decorators.length>0&&this.raise(v.DecoratorConstructor,a)}}),this.state.strict=e,this.next(),r.length)throw this.raise(v.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(n,"ClassBody")}parseClassMemberFromModifier(t,e){const s=this.parseIdentifier(!0);if(this.isClassMethod()){const r=e;return r.kind="method",r.computed=!1,r.key=s,r.static=!1,this.pushClassMethod(t,r,!1,!1,!1,!1),!0}else if(this.isClassProperty()){const r=e;return r.computed=!1,r.key=s,r.static=!1,t.body.push(this.parseClassProperty(r)),!0}return this.resetPreviousNodeTrailingComments(s),!1}parseClassMember(t,e,s){const r=this.isContextual(106);if(r){if(this.parseClassMemberFromModifier(t,e))return;if(this.eat(5)){this.parseClassStaticBlock(t,e);return}}this.parseClassMemberWithIsStatic(t,e,s,r)}parseClassMemberWithIsStatic(t,e,s,r){const n=e,a=e,o=e,l=e,h=e,u=n,b=n;if(e.static=r,this.parsePropertyNamePrefixOperator(e),this.eat(55)){u.kind="method";const D=this.match(138);if(this.parseClassElementName(u),D){this.pushClassPrivateMethod(t,a,!0,!1);return}this.isNonstaticConstructor(n)&&this.raise(v.ConstructorIsGenerator,n.key),this.pushClassMethod(t,n,!0,!1,!1,!1);return}const P=!this.state.containsEsc&&He(this.state.type),L=this.parseClassElementName(e),A=P?L.name:null,j=this.isPrivateName(L),V=this.state.startLoc;if(this.parsePostMemberNameModifiers(b),this.isClassMethod()){if(u.kind="method",j){this.pushClassPrivateMethod(t,a,!1,!1);return}const D=this.isNonstaticConstructor(n);let B=!1;D&&(n.kind="constructor",s.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(v.DuplicateConstructor,L),D&&this.hasPlugin("typescript")&&e.override&&this.raise(v.OverrideOnConstructor,L),s.hadConstructor=!0,B=s.hadSuperClass),this.pushClassMethod(t,n,!1,!1,D,B)}else if(this.isClassProperty())j?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o);else if(A==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(L);const D=this.eat(55);b.optional&&this.unexpected(V),u.kind="method";const B=this.match(138);this.parseClassElementName(u),this.parsePostMemberNameModifiers(b),B?this.pushClassPrivateMethod(t,a,D,!0):(this.isNonstaticConstructor(n)&&this.raise(v.ConstructorIsAsync,n.key),this.pushClassMethod(t,n,D,!0,!1,!1))}else if((A==="get"||A==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(L),u.kind=A;const D=this.match(138);this.parseClassElementName(n),D?this.pushClassPrivateMethod(t,a,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(v.ConstructorIsAccessor,n.key),this.pushClassMethod(t,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}else if(A==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(L);const D=this.match(138);this.parseClassElementName(o),this.pushClassAccessorProperty(t,h,D)}else this.isLineTerminator()?j?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o):this.unexpected()}parseClassElementName(t){const{type:e,value:s}=this.state;if((e===132||e===133)&&t.static&&s==="prototype"&&this.raise(v.StaticPrototype,this.state.startLoc),e===138){s==="constructor"&&this.raise(v.ConstructorClassPrivateField,this.state.startLoc);const r=this.parsePrivateName();return t.key=r,r}return this.parsePropertyName(t),t.key}parseClassStaticBlock(t,e){var s;this.scope.enter(208);const r=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const n=e.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,t.body.push(this.finishNode(e,"StaticBlock")),(s=e.decorators)!=null&&s.length&&this.raise(v.DecoratorStaticBlock,e)}pushClassProperty(t,e){!e.computed&&this.nameIsConstructor(e.key)&&this.raise(v.ConstructorClassField,e.key),t.body.push(this.parseClassProperty(e))}pushClassPrivateProperty(t,e){const s=this.parseClassPrivateProperty(e);t.body.push(s),this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.start)}pushClassAccessorProperty(t,e,s){!s&&!e.computed&&this.nameIsConstructor(e.key)&&this.raise(v.ConstructorClassField,e.key);const r=this.parseClassAccessorProperty(e);t.body.push(r),s&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassMethod(t,e,s,r,n,a){t.body.push(this.parseMethod(e,s,r,n,a,"ClassMethod",!0))}pushClassPrivateMethod(t,e,s,r){const n=this.parseMethod(e,s,r,!1,!1,"ClassPrivateMethod",!0);t.body.push(n);const a=n.kind==="get"?n.static?6:2:n.kind==="set"?n.static?5:1:0;this.declareClassPrivateMethodInScope(n,a)}declareClassPrivateMethodInScope(t,e){this.classScope.declarePrivateName(this.getPrivateNameSV(t.key),e,t.key.loc.start)}parsePostMemberNameModifiers(t){}parseClassPrivateProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassPrivateProperty")}parseClassProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassProperty")}parseClassAccessorProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassAccessorProperty")}parseInitializer(t){this.scope.enter(80),this.expressionScope.enter(ec()),this.prodParam.enter(0),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(t,e,s,r=8331){if(He(this.state.type))t.id=this.parseIdentifier(),e&&this.declareNameFromIdentifier(t.id,r);else if(s||!e)t.id=null;else throw this.raise(v.MissingClassName,this.state.startLoc)}parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(t,e){const s=this.parseMaybeImportPhase(t,!0),r=this.maybeParseExportDefaultSpecifier(t,s),n=!r||this.eat(12),a=n&&this.eatExportStar(t),o=a&&this.maybeParseExportNamespaceSpecifier(t),l=n&&(!o||this.eat(12)),h=r||a;if(a&&!o){if(r&&this.unexpected(),e)throw this.raise(v.UnsupportedDecoratorExport,t);return this.parseExportFrom(t,!0),this.finishNode(t,"ExportAllDeclaration")}const u=this.maybeParseExportNamedSpecifiers(t);r&&n&&!a&&!u&&this.unexpected(null,5),o&&l&&this.unexpected(null,98);let b;if(h||u){if(b=!1,e)throw this.raise(v.UnsupportedDecoratorExport,t);this.parseExportFrom(t,h)}else b=this.maybeParseExportDeclaration(t);if(h||u||b){var P;const L=t;if(this.checkExport(L,!0,!1,!!L.source),((P=L.declaration)==null?void 0:P.type)==="ClassDeclaration")this.maybeTakeDecorators(e,L.declaration,L);else if(e)throw this.raise(v.UnsupportedDecoratorExport,t);return this.finishNode(L,"ExportNamedDeclaration")}if(this.eat(65)){const L=t,A=this.parseExportDefaultExpression();if(L.declaration=A,A.type==="ClassDeclaration")this.maybeTakeDecorators(e,A,L);else if(e)throw this.raise(v.UnsupportedDecoratorExport,t);return this.checkExport(L,!0,!0),this.finishNode(L,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(t){return this.eat(55)}maybeParseExportDefaultSpecifier(t,e){if(e||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",e==null?void 0:e.loc.start);const s=e||this.parseIdentifier(!0),r=this.startNodeAtNode(s);return r.exported=s,t.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(t){if(this.isContextual(93)){var e,s;(s=(e=t).specifiers)!=null||(e.specifiers=[]);const r=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),r.exported=this.parseModuleExportName(),t.specifiers.push(this.finishNode(r,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(t){if(this.match(5)){const e=t;e.specifiers||(e.specifiers=[]);const s=e.exportKind==="type";return e.specifiers.push(...this.parseExportSpecifiers(s)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(t){return this.shouldParseExportDeclaration()?(t.specifiers=[],t.source=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),t.declaration=this.parseExportDeclaration(t),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;const t=this.nextTokenInLineStart();return this.isUnparsedContextual(t,"function")}parseExportDefaultExpression(){const t=this.startNode();if(this.match(68))return this.next(),this.parseFunction(t,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(t,13);if(this.match(80))return this.parseClass(t,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(v.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(v.UnsupportedDefaultExport,this.state.startLoc);const e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}parseExportDeclaration(t){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:t}=this.state;if(He(t)){if(t===95&&!this.state.containsEsc||t===100)return!1;if((t===130||t===129)&&!this.state.containsEsc){const{type:r}=this.lookahead();if(He(r)&&r!==98||r===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const e=this.nextTokenStart(),s=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||He(this.state.type)&&s)return!0;if(this.match(65)&&s){const r=this.input.charCodeAt(this.nextTokenStartSince(e+4));return r===34||r===39}return!1}parseExportFrom(t,e){this.eatContextual(98)?(t.source=this.parseImportSource(),this.checkExport(t),this.maybeParseImportAttributes(t),this.checkJSONModuleImport(t)):e&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:t}=this.state;return t===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(v.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)?(this.raise(v.UsingDeclarationExport,this.state.startLoc),!0):this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(v.UsingDeclarationExport,this.state.startLoc),!0):t===74||t===75||t===68||t===80||this.isLet()||this.isAsyncFunction()}checkExport(t,e,s,r){if(e){var n;if(s){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var a;const o=t.declaration;o.type==="Identifier"&&o.name==="from"&&o.end-o.start===4&&!((a=o.extra)!=null&&a.parenthesized)&&this.raise(v.ExportDefaultFromAsIdentifier,o)}}else if((n=t.specifiers)!=null&&n.length)for(const o of t.specifiers){const{exported:l}=o,h=l.type==="Identifier"?l.name:l.value;if(this.checkDuplicateExports(o,h),!r&&o.local){const{local:u}=o;u.type!=="Identifier"?this.raise(v.ExportBindingIsString,o,{localName:u.value,exportName:h}):(this.checkReservedWord(u.name,u.loc.start,!0,!1),this.scope.checkLocalExport(u))}}else if(t.declaration){const o=t.declaration;if(o.type==="FunctionDeclaration"||o.type==="ClassDeclaration"){const{id:l}=o;if(!l)throw new Error("Assertion failure");this.checkDuplicateExports(t,l.name)}else if(o.type==="VariableDeclaration")for(const l of o.declarations)this.checkDeclaration(l.id)}}}checkDeclaration(t){if(t.type==="Identifier")this.checkDuplicateExports(t,t.name);else if(t.type==="ObjectPattern")for(const e of t.properties)this.checkDeclaration(e);else if(t.type==="ArrayPattern")for(const e of t.elements)e&&this.checkDeclaration(e);else t.type==="ObjectProperty"?this.checkDeclaration(t.value):t.type==="RestElement"?this.checkDeclaration(t.argument):t.type==="AssignmentPattern"&&this.checkDeclaration(t.left)}checkDuplicateExports(t,e){this.exportedIdentifiers.has(e)&&(e==="default"?this.raise(v.DuplicateDefaultExport,t):this.raise(v.DuplicateExport,t,{exportName:e})),this.exportedIdentifiers.add(e)}parseExportSpecifiers(t){const e=[];let s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else if(this.expect(12),this.eat(8))break;const r=this.isContextual(130),n=this.match(133),a=this.startNode();a.local=this.parseModuleExportName(),e.push(this.parseExportSpecifier(a,n,t,r))}return e}parseExportSpecifier(t,e,s,r){return this.eatContextual(93)?t.exported=this.parseModuleExportName():e?t.exported=gp(t.local):t.exported||(t.exported=rs(t.local)),this.finishNode(t,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){const t=this.parseStringLiteral(this.state.value),e=Gp.exec(t.value);return e&&this.raise(v.ModuleExportNameHasLoneSurrogate,t,{surrogateCharCode:e[0].charCodeAt(0)}),t}return this.parseIdentifier(!0)}isJSONModuleImport(t){return t.assertions!=null?t.assertions.some(({key:e,value:s})=>s.value==="json"&&(e.type==="Identifier"?e.name==="type":e.value==="type")):!1}checkImportReflection(t){const{specifiers:e}=t,s=e.length===1?e[0].type:null;if(t.phase==="source")s!=="ImportDefaultSpecifier"&&this.raise(v.SourcePhaseImportRequiresDefault,e[0].loc.start);else if(t.phase==="defer")s!=="ImportNamespaceSpecifier"&&this.raise(v.DeferImportRequiresNamespace,e[0].loc.start);else if(t.module){var r;s!=="ImportDefaultSpecifier"&&this.raise(v.ImportReflectionNotBinding,e[0].loc.start),((r=t.assertions)==null?void 0:r.length)>0&&this.raise(v.ImportReflectionHasAssertion,e[0].loc.start)}}checkJSONModuleImport(t){if(this.isJSONModuleImport(t)&&t.type!=="ExportAllDeclaration"){const{specifiers:e}=t;if(e!=null){const s=e.find(r=>{let n;if(r.type==="ExportSpecifier"?n=r.local:r.type==="ImportSpecifier"&&(n=r.imported),n!==void 0)return n.type==="Identifier"?n.name!=="default":n.value!=="default"});s!==void 0&&this.raise(v.ImportJSONBindingNotDefault,s.loc.start)}}}isPotentialImportPhase(t){return t?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(t,e,s,r){e||(s==="module"?(this.expectPlugin("importReflection",r),t.module=!0):this.hasPlugin("importReflection")&&(t.module=!1),s==="source"?(this.expectPlugin("sourcePhaseImports",r),t.phase="source"):s==="defer"?(this.expectPlugin("deferredImportEvaluation",r),t.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(t.phase=null))}parseMaybeImportPhase(t,e){if(!this.isPotentialImportPhase(e))return this.applyImportPhase(t,e,null),null;const s=this.parseIdentifier(!0),{type:r}=this.state;return(_t(r)?r!==98||this.lookaheadCharCode()===102:r!==12)?(this.resetPreviousIdentifierLeadingComments(s),this.applyImportPhase(t,e,s.name,s.loc.start),null):(this.applyImportPhase(t,e,null),s)}isPrecedingIdImportPhase(t){const{type:e}=this.state;return He(e)?e!==98||this.lookaheadCharCode()===102:e!==12}parseImport(t){return this.match(133)?this.parseImportSourceAndAttributes(t):this.parseImportSpecifiersAndAfter(t,this.parseMaybeImportPhase(t,!1))}parseImportSpecifiersAndAfter(t,e){t.specifiers=[];const r=!this.maybeParseDefaultImportSpecifier(t,e)||this.eat(12),n=r&&this.maybeParseStarImportSpecifier(t);return r&&!n&&this.parseNamedImportSpecifiers(t),this.expectContextual(98),this.parseImportSourceAndAttributes(t)}parseImportSourceAndAttributes(t){var e;return(e=t.specifiers)!=null||(t.specifiers=[]),t.source=this.parseImportSource(),this.maybeParseImportAttributes(t),this.checkImportReflection(t),this.checkJSONModuleImport(t),this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(t,e,s){e.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(e,s))}finishImportSpecifier(t,e,s=8201){return this.checkLVal(t.local,{type:e},s),this.finishNode(t,e)}parseImportAttributes(){this.expect(5);const t=[],e=new Set;do{if(this.match(8))break;const s=this.startNode(),r=this.state.value;if(e.has(r)&&this.raise(v.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:r}),e.add(r),this.match(133)?s.key=this.parseStringLiteral(r):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(v.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return this.expect(8),t}parseModuleAttributes(){const t=[],e=new Set;do{const s=this.startNode();if(s.key=this.parseIdentifier(!0),s.key.name!=="type"&&this.raise(v.ModuleAttributeDifferentFromType,s.key),e.has(s.key.name)&&this.raise(v.ModuleAttributesWithDuplicateKeys,s.key,{key:s.key.name}),e.add(s.key.name),this.expect(14),!this.match(133))throw this.raise(v.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return t}maybeParseImportAttributes(t){let e;var s=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?e=this.parseModuleAttributes():(this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes"),e=this.parseImportAttributes()),s=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(v.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(t,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),e=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))e=[];else if(this.hasPlugin("moduleAttributes"))e=[];else return;!s&&this.hasPlugin("importAssertions")?t.assertions=e:t.attributes=e}maybeParseDefaultImportSpecifier(t,e){if(e){const s=this.startNodeAtNode(e);return s.local=e,t.specifiers.push(this.finishImportSpecifier(s,"ImportDefaultSpecifier")),!0}else if(_t(this.state.type))return this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(t){if(this.match(55)){const e=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,e,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(t){let e=!0;for(this.expect(5);!this.eat(8);){if(e)e=!1;else{if(this.eat(14))throw this.raise(v.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const s=this.startNode(),r=this.match(133),n=this.isContextual(130);s.imported=this.parseModuleExportName();const a=this.parseImportSpecifier(s,r,t.importKind==="type"||t.importKind==="typeof",n,void 0);t.specifiers.push(a)}}parseImportSpecifier(t,e,s,r,n){if(this.eatContextual(93))t.local=this.parseIdentifier();else{const{imported:a}=t;if(e)throw this.raise(v.ImportBindingIsString,t,{importName:a.value});this.checkReservedWord(a.name,t.loc.start,!0,!0),t.local||(t.local=rs(a))}return this.finishImportSpecifier(t,"ImportSpecifier",n)}isThisParam(t){return t.type==="Identifier"&&t.name==="this"}}class nc extends Kp{constructor(t,e,s){t=Up(t),super(t,e),this.options=t,this.initializeScopes(),this.plugins=s,this.filename=t.sourceFilename}getScopeHandler(){return aa}parse(){this.enterInitialScopes();const t=this.startNode(),e=this.startNode();return this.nextToken(),t.errors=null,this.parseTopLevel(t,e),t.errors=this.state.errors,t.comments.length=this.state.commentsLen,t}}function qp(i,t){var e;if(((e=t)==null?void 0:e.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const s=ui(t,i),r=s.parse();if(s.sawUnambiguousESM)return r;if(s.ambiguousScriptDifferentAst)try{return t.sourceType="script",ui(t,i).parse()}catch{}else r.program.sourceType="script";return r}catch(s){try{return t.sourceType="script",ui(t,i).parse()}catch{}throw s}}else return ui(t,i).parse()}function zp(i,t){const e=ui(t,i);return e.options.strictMode&&(e.state.strict=!0),e.getExpression()}function Jp(i){const t={};for(const e of Object.keys(i))t[e]=qt(i[e]);return t}const Xp=Jp(Lf);function ui(i,t){let e=nc;const s=new Map;if(i!=null&&i.plugins){for(const r of i.plugins){let n,a;typeof r=="string"?n=r:[n,a]=r,s.has(n)||s.set(n,a||{})}$p(s),e=Yp(s)}return new e(i,t,s)}const So=new Map;function Yp(i){const t=[];for(const r of jp)i.has(r)&&t.push(r);const e=t.join("|");let s=So.get(e);if(!s){s=nc;for(const r of t)s=rc[r](s);So.set(e,s)}return s}var Zp=vr.parse=qp;vr.parseExpression=zp;vr.tokTypes=Xp;var Oi={},Ps={},kt={};Object.defineProperty(kt,"__esModule",{value:!0});function ac(i){return{type:"concat",parts:i}}kt.concat=ac;function Qp(i,t){const e=[];return t.forEach((s,r)=>{r>0&&e.push(i),e.push(s)}),ac(e)}kt.join=Qp;kt.line={type:"line",hard:!1,soft:!1};kt.hardline={type:"line",hard:!0,soft:!1};kt.softline={type:"line",hard:!1,soft:!0};function ed(i){return{type:"indent",content:i}}kt.indent=ed;function td(i){return{type:"lineSuffix",content:i}}kt.lineSuffix=td;function sd(i,t=!1){return{type:"group",content:i,willBreak:t}}kt.group=sd;kt.breakParent={type:"breakParent"};function id(i){return typeof i=="string"&&i.length===0}kt.isEmpty=id;var ct={};Object.defineProperty(ct,"__esModule",{value:!0});function rd(i){return i.range[0]}ct.locStart=rd;function nd(i){return i.range[1]}ct.locEnd=nd;function ad(i){if(!i||typeof i.type!="string")return!1;switch(i.type){case"LabelStatement":case"BreakStatement":case"GotoStatement":case"ReturnStatement":case"IfStatement":case"IfClause":case"ElseifClause":case"ElseClause":case"WhileStatement":case"DoStatement":case"RepeatStatement":case"LocalStatement":case"AssignmentStatement":case"CallStatement":case"FunctionDeclaration":case"ForNumericStatement":case"ForGenericStatement":case"Chunk":case"Identifier":case"BooleanLiteral":case"NilLiteral":case"NumericLiteral":case"StringLiteral":case"VarargLiteral":case"TableKey":case"TableKeyString":case"TableValue":case"TableConstructorExpression":case"BinaryExpression":case"LogicalExpression":case"UnaryExpression":case"MemberExpression":case"IndexExpression":case"CallExpression":case"TableCallExpression":case"StringCallExpression":case"Comment":return!0;default:return!1}}ct.isNode=ad;function ca(i,t,e,s={}){let r=0;return e.forEach(n=>{if((s.searchBackwards?i.substring(t-n.length,t):i.substring(t,t+n.length))===n){r=n.length;return}}),t+(s.searchBackwards?-r:r)}ct.skipOnce=ca;function ua(i,t,e,s={}){let r=null;for(;r!==t;)r=t,t=ca(i,t,e,s);return t}ct.skipMany=ua;function vi(i,t,e={}){return ca(i,t,[` +`,`\r +`],e)}ct.skipNewLine=vi;function Ys(i,t,e={}){return ua(i,t,[" "," "],e)}ct.skipSpaces=Ys;function oc(i,t,e={}){return ua(i,Ys(i,t),[";"],e)}ct.skipToLineEnd=oc;function lc(i,t,e={}){const s=Ys(i,t,e),r=vi(i,s,e);return s!==r}ct.hasNewLine=lc;function od(i,t,e){return i.substr(t,e-t).indexOf(` +`)!==-1}ct.hasNewLineInRange=od;function ld(i,t){t=Ys(i,t,{searchBackwards:!0}),t=vi(i,t,{searchBackwards:!0}),t=Ys(i,t,{searchBackwards:!0});const e=vi(i,t,{searchBackwards:!0});return t!==e}ct.isPreviousLineEmpty=ld;function cc(i,t){if(i.charAt(t)==="-"&&i.charAt(t+1)==="-")for(t+=2;t>=0&&t=0&&!(tt.locStart(e[n])<=tt.locStart(r)&&tt.locEnd(e[n])<=tt.locEnd(i));--n);e.splice(n+1,0,r)}}for(const r of t){const n=i[r];Array.isArray(n)?n.forEach(s):n&&s(n)}return e}function hd(i,t){for(const e of i.comments){uc(i,e);const s=e.precedingNode,r=e.enclosingNode,n=e.followingNode;tt.hasNewLine(t.sourceText,tt.locStart(e),{searchBackwards:!0})?Td(r,e)||bd(s,r,e)||xd(s,r,n,e)||(n?Po(n,e):s?Eo(s,e):ts(r||i,e)):Sd(s,r,e)||Pd(s,r,e)||(s?Eo(s,e):n?Po(n,e):ts(r||i,e))}}Ps.attachComments=hd;function fd(i,t){if(!t.sourceText.startsWith("#!"))return;const e=t.sourceText.indexOf(` +`),s=t.sourceText.slice(0,e),r=t.sourceText.slice(2,e);i.comments.push({type:"Comment",loc:{start:{line:1,column:0},end:{line:1,column:e}},range:[0,e],raw:s,value:r})}Ps.injectShebang=fd;function pd(i,t=!1){const e=i.getValue();if(!e||!e.attachedComments)return"";const s=[];return i.forEach(r=>{const n=r.getValue();n.commentType===Vt.Dangling&&s.push(n.raw)},"attachedComments"),s.length===0?"":t?st.join(st.hardline,s):st.indent(st.concat([st.hardline,st.join(st.hardline,s)]))}Ps.printDanglingComments=pd;function dd(i){const t=i.getValue();if(!t||!t.attachedComments)return"";const e=[];return i.forEach(s=>{const r=s.getValue();r.commentType===Vt.DanglingStatement&&(e.push(" "),e.push(r.raw))},"attachedComments"),e.length===0?"":st.concat(e)}Ps.printDanglingStatementComments=dd;function md(i,t){const e=i.getValue();if(e.raw.startsWith("--[["))return st.concat([e.raw,tt.hasNewLine(t.sourceText,tt.locEnd(e))?st.hardline:" "]);const r=[];return r.push(e.raw),r.push(st.hardline),tt.isNextLineEmpty(t.sourceText,tt.locEnd(e))&&r.push(st.hardline),st.concat(r)}function yd(i,t){const e=i.getValue();if(tt.hasNewLine(t.sourceText,tt.locStart(e),{searchBackwards:!0})){const r=tt.isPreviousLineEmpty(t.sourceText,tt.locStart(e));return st.concat([st.hardline,r?st.hardline:"",e.raw])}if(e.raw.startsWith("--[["))return st.concat([" ",e.raw]);const s=[];return tt.isNextLineEmpty(t.sourceText,tt.locStart(e),{searchBackwards:!0})&&s.push(st.hardline),s.push(" "),s.push(e.raw),s.push(st.breakParent),st.lineSuffix(st.concat(s))}function gd(i,t,e){const s=i.getValue(),r=e(i),n=s.attachedComments;if(!n||n.length===0)return r;const a=[],o=[r];return i.forEach(l=>{switch(l.getValue().commentType){case Vt.Leading:a.push(md(i,t));break;case Vt.Trailing:o.push(yd(i,t));break}},"attachedComments"),st.concat(a.concat(o))}Ps.printComments=gd;function uc(i,t){const e=ud(i);let s=null,r=null,n=0,a=e.length;for(;n0?!1:t.parameters.length>0&&t.parameters[t.parameters.length-1]===i||i&&i.type==="Identifier"?(ts(t,e),!0):!1}function xd(i,t,e,s){return!t||t.type!=="IfStatement"?!1:e&&(e.type==="ElseifClause"||e.type==="ElseClause")||i&&i.type==="ElseClause"?(ts(i,s),!0):!1}function Sd(i,t,e){if(e.raw.startsWith("--[[")||!t)return!1;switch(t.type){case"WhileStatement":if(i===t.condition)return fs(t,e),!0;break;case"DoStatement":case"RepeatStatement":if(i==null)return fs(t,e),!0;break;case"FunctionDeclaration":if(t.parameters.length&&i===t.parameters[t.parameters.length-1]||i===t.identifier)return fs(t,e),!0;break;case"ForNumericStatement":if(i===t.end||i===t.step)return fs(t,e),!0;break;case"ForGenericStatement":if(i===t.iterators[t.iterators.length-1])return fs(t,e),!0;break;case"IfClause":case"ElseifClause":if(i===t.condition&&e.loc.start.column>i.loc.start.column)return fs(t,e),!0;break;case"ElseClause":if(i==null)return fs(t,e),!0;break}return!1}function Pd(i,t,e){if(!i||!t||t.type!=="IfStatement")return!1;switch(i.type){case"IfClause":case"ElseifClause":case"ElseClause":if(i.body.length===0)return fs(i,e),!0;break}return!1}var ha={},fa={};Object.defineProperty(fa,"__esModule",{value:!0});const Ed=ct;class Ad{constructor(t){this.stack=[t]}getValue(){return this.stack[this.stack.length-1]}getNodeAtDepth(t){for(let e=this.stack.length-1;e>=0;e-=2){const s=this.stack[e];if(Ed.isNode(s)&&--t<0)return s}return null}getParent(t=0){return this.getNodeAtDepth(t+1)}call(t,e){const s=this.getValue(),r=this.stack.length;this.stack.push(e,s[e]);const n=t(this);return this.stack.length=r,n}forEach(t,e=null){let s=this.getValue();const r=this.stack.length;e&&(s=s[e],this.stack.push(s));for(let n=0;n{this.stack.push(o,a),r.push(t(this,o)),this.stack.length-=2}),this.stack.length=n,r}needsParens(){const t=this.getParent(),e=this.getValue();let s=!1;switch(e.type){case"FunctionDeclaration":case"Chunk":case"Identifier":case"BooleanLiteral":case"NilLiteral":case"NumericLiteral":case"StringLiteral":case"VarargLiteral":case"TableConstructorExpression":case"BinaryExpression":case"LogicalExpression":case"UnaryExpression":case"MemberExpression":case"IndexExpression":case"CallExpression":case"TableCallExpression":case"StringCallExpression":s=e.inParens||!1}return t&&e.type==="UnaryExpression"&&t.type==="UnaryExpression"&&(s=!0),s}}fa.FastPath=Ad;var Nr={};Object.defineProperty(Nr,"__esModule",{value:!0});function hc(i,t,e){let s=!1;const r=n=>{if(t(n)){s=!0;return}if(!s&&typeof n!="string"){switch(n.type){case"concat":n.parts.forEach(r);break;case"indent":case"group":case"lineSuffix":r(n.content);break}e&&e(n)}};r(i)}function wd(i,t){let e=!1;return hc(i,s=>t(s)?(e=!0,!0):!1),e}function Cd(i){return wd(i,t=>{if(typeof t=="string")return!1;switch(t.type){case"line":if(t.hard)return!0;break;case"group":if(t.willBreak)return!0}return!1})}Nr.willBreak=Cd;function Ao(i){i.length>0&&(i[i.length-1].willBreak=!0)}function kd(i){const t=[];hc(i,e=>{if(typeof e=="string")return!1;switch(e.type){case"breakParent":Ao(t);break;case"group":t.push(e);break}return!1},e=>{if(typeof e=="string")return!1;if(e.type==="group"){const s=t.pop();s&&s.willBreak&&Ao(t)}return!1})}Nr.propagateBreaks=kd;var _r={};(function(i){Object.defineProperty(i,"__esModule",{value:!0});var t;(function(r){r.StdOut="stdout",r.Replace="replace",r.Diff="diff"})(t=i.WriteMode||(i.WriteMode={})),i.defaultOptions={sourceText:"",lineWidth:120,indentCount:4,useTabs:!1,linebreakMultipleAssignments:!1,quotemark:"double",writeMode:t.StdOut};function e(r){return r==="single"?"'":'"'}i.getStringQuotemark=e;function s(r){return r==="single"?'"':"'"}i.getAlternativeStringQuotemark=s})(_r);Object.defineProperty(ha,"__esModule",{value:!0});const vd=fa,Q=kt,fc=Nr,fr=Ps,An=ct,wn=_r;function pc(i,t,e){const s=[];return i.forEach(r=>{const n=[e(r)];An.isNextLineEmpty(t.sourceText,An.locEnd(r.getValue()))&&!Nd(i)&&n.push(Q.hardline),s.push(Q.concat(n))}),Q.join(Q.hardline,s)}function Wt(i,t,e,s){const r=i.call(n=>pc(n,t,e),s);return Q.indent(Q.concat([Q.hardline,r]))}function Kt(i){return i.getValue().attachedComments?Q.concat([fr.printDanglingStatementComments(i),fr.printDanglingComments(i)]):""}function Ld(i,t){const e=wn.getStringQuotemark(t),s=wn.getAlternativeStringQuotemark(t==="single"?"single":"double"),r=i.replace(/\\([\s\S])|(['"])/g,(n,a,o)=>a===s?a:o===e?"\\"+o:n);return e+r+e}function Id(i,t){const e=i.getValue();if(e.type!=="StringLiteral")throw new Error("printStringLiteral: Expected StringLiteral, got "+e.type);if(e.raw.startsWith("[[")||e.raw.startsWith("[="))return e.raw;const s=e.raw.slice(1,-1);let r=t.quotemark;const n=wn.getStringQuotemark(r);return s.includes(n)&&(r=r==="single"?"double":"single"),Ld(s,r)}function Nd(i){const t=i.getParent(),e=i.getValue(),s=t.body;return s&&s[s.length-1]===e}function _d(i,t,e){const s=i.getValue();if(!s)return"";const r=[],n=s;switch(n.type){case"Chunk":return r.push(i.call(A=>pc(A,t,e),"body")),r.push(fr.printDanglingComments(i,!0)),(n.body.length||n.attachedComments)&&r.push(Q.hardline),Q.concat(r);case"LabelStatement":return Q.concat(["::",i.call(e,"label"),"::"]);case"GotoStatement":return Q.concat(["goto ",i.call(e,"label")]);case"BreakStatement":return"break";case"ReturnStatement":return r.push("return"),n.arguments.length>0&&(r.push(" "),r.push(Q.join(", ",i.map(e,"arguments")))),Q.concat(r);case"WhileStatement":return r.push("while "),r.push(i.call(e,"condition")),r.push(" do"),r.push(Kt(i)),n.body.length&&r.push(Wt(i,t,e,"body")),r.push(Q.concat([Q.hardline,"end"])),Q.concat(r);case"DoStatement":return r.push("do"),r.push(Kt(i)),n.body.length&&r.push(Wt(i,t,e,"body")),r.push(Q.concat([Q.hardline,"end"])),Q.concat(r);case"RepeatStatement":return r.push("repeat"),r.push(Kt(i)),n.body.length&&r.push(Wt(i,t,e,"body")),r.push(Q.concat([Q.hardline,"until "])),r.push(i.call(e,"condition")),Q.concat(r);case"LocalStatement":case"AssignmentStatement":{const A=[];n.type==="LocalStatement"&&A.push("local ");const j=t.linebreakMultipleAssignments;A.push(Q.indent(Q.join(Q.concat([",",j?Q.hardline:Q.line]),i.map(e,"variables"))));let V="";const D=[];n.init.length&&(V=" =",n.init.length>1?D.push(Q.indent(Q.join(Q.concat([",",Q.line]),i.map(e,"init")))):D.push(Q.join(Q.concat([",",Q.line]),i.map(e,"init"))));const B=n.init.some(se=>se!=null&&se.type!=="TableConstructorExpression"&&se.type!=="FunctionDeclaration");return Q.group(Q.concat([Q.group(Q.concat(A)),Q.group(Q.concat([V,B?Q.indent(Q.line):" ",Q.concat(D)]))]))}case"CallStatement":return i.call(e,"expression");case"FunctionDeclaration":return n.isLocal&&r.push("local "),r.push("function"),n.identifier&&r.push(" ",i.call(e,"identifier")),r.push(Q.concat(["(",Q.group(Q.indent(Q.concat([Q.softline,Q.join(Q.concat([",",Q.line]),i.map(e,"parameters"))]))),")"])),r.push(Kt(i)),n.body.length&&r.push(Wt(i,t,e,"body")),r.push(Q.hardline,"end"),Q.concat(r);case"ForNumericStatement":return r.push("for "),r.push(i.call(e,"variable")),r.push(" = "),r.push(i.call(e,"start")),r.push(", "),r.push(i.call(e,"end")),n.step&&(r.push(", "),r.push(i.call(e,"step"))),r.push(" do"),r.push(Kt(i)),n.body.length&&r.push(Wt(i,t,e,"body")),r.push(Q.concat([Q.hardline,"end"])),Q.concat(r);case"ForGenericStatement":return r.push("for "),r.push(Q.join(", ",i.map(e,"variables"))),r.push(" in "),r.push(Q.join(", ",i.map(e,"iterators"))),r.push(" do"),r.push(Kt(i)),n.body.length&&r.push(Wt(i,t,e,"body")),r.push(Q.concat([Q.hardline,"end"])),Q.concat(r);case"IfStatement":const a=[];return i.forEach(A=>{a.push(e(A))},"clauses"),r.push(Q.join(Q.hardline,a)),r.push(Q.concat([Q.hardline,"end"])),Q.concat(r);case"IfClause":return r.push(Q.concat(["if ",Q.group(Q.concat([Q.indent(Q.concat([Q.softline,i.call(e,"condition")])),Q.softline]))," then"])),r.push(Kt(i)),n.body.length&&r.push(Wt(i,t,e,"body")),Q.concat(r);case"ElseifClause":return r.push(Q.concat(["elseif ",Q.group(Q.concat([Q.indent(Q.concat([Q.softline,i.call(e,"condition")])),Q.softline]))," then"])),r.push(Kt(i)),n.body.length&&r.push(Wt(i,t,e,"body")),Q.concat(r);case"ElseClause":return r.push("else"),r.push(Kt(i)),n.body.length&&r.push(Wt(i,t,e,"body")),Q.concat(r);case"BooleanLiteral":return n.raw;case"NilLiteral":return"nil";case"NumericLiteral":return n.raw;case"StringLiteral":return Id(i,t);case"VarargLiteral":return"...";case"Identifier":return n.name;case"BinaryExpression":case"LogicalExpression":const l=i.getParent().type!==n.type&&n.left.type!==n.type&&n.right.type!==n.type,h=Q.concat([n.operator,Q.line,i.call(e,"right")]);return Q.group(Q.concat([i.call(e,"left"),Q.indent(Q.concat([" ",l?Q.group(h):h]))]));case"UnaryExpression":return r.push(n.operator),n.operator==="not"&&r.push(" "),r.push(i.call(e,"argument")),Q.concat(r);case"MemberExpression":return Q.concat([i.call(e,"base"),n.indexer,i.call(e,"identifier")]);case"IndexExpression":return Q.concat([i.call(e,"base"),"[",Q.group(Q.concat([Q.indent(Q.concat([Q.softline,i.call(e,"index")])),Q.softline])),"]"]);case"CallExpression":const u=i.map(e,"arguments");return Q.concat([i.call(e,"base"),Q.group(Q.concat(["(",Q.indent(Q.concat([Q.softline,Q.join(Q.concat([",",Q.line]),u)])),Q.softline,")"]),u.some(fc.willBreak))]);case"TableCallExpression":return r.push(i.call(e,"base")),r.push(" "),r.push(i.call(e,"arguments")),Q.concat(r);case"StringCallExpression":return r.push(i.call(e,"base")),r.push(" "),r.push(i.call(e,"argument")),Q.concat(r);case"TableConstructorExpression":if(n.fields.length===0)return"{}";const b=[];let P=[];i.forEach(A=>{b.push(Q.concat(P)),b.push(Q.group(e(A))),P=[",",Q.line]},"fields");const L=An.hasNewLineInRange(t.sourceText,n.range[0],n.range[1]);return Q.group(Q.concat(["{",Q.indent(Q.concat([Q.softline,Q.concat(b)])),Q.softline,"}"]),L);case"TableKeyString":return Q.concat([i.call(e,"key")," = ",i.call(e,"value")]);case"TableKey":return Q.concat(["[",i.call(e,"key"),"]"," = ",i.call(e,"value")]);case"TableValue":return i.call(e,"value")}throw new Error("Unhandled AST node: "+n.type)}function Md(i,t,e){const s=_d(i,t,e),r=[],n=i.needsParens();return n&&r.push("("),r.push(s),n&&r.push(")"),Q.concat(r)}function Od(i,t){const e=r=>fr.printComments(r,t,n=>Md(n,t,e)),s=e(new vd.FastPath(i));return fc.propagateBreaks(s),s}ha.buildDocFromAst=Od;var pa={};Object.defineProperty(pa,"__esModule",{value:!0});var ss;(function(i){i[i.Flat=0]="Flat",i[i.Break=1]="Break"})(ss||(ss={}));function Dd(i,t){const e={options:t,indentation:0,currentLineLength:0,mode:ss.Break,lineSuffixes:[],renderedText:""};return hi(i,e),e.renderedText}pa.printDocToString=Dd;function tr(i,t){function e(s){return t.currentLineLength+s.length<=t.options.lineWidth?(t.currentLineLength+=s.length,!0):!1}if(typeof i=="string")return e(i);switch(i.type){case"concat":return i.parts.every(s=>tr(s,t));case"indent":return t.indentation++,tr(i.content,t)?(t.indentation--,!0):(t.indentation--,!1);case"group":return i.willBreak&&(t.mode=ss.Break),tr(i.content,t);case"line":return t.mode===ss.Flat&&!i.hard?i.soft?!0:e(" "):(t.currentLineLength=t.indentation,!0);case"lineSuffix":return!0}return!1}function hi(i,t){if(typeof i=="string")t.renderedText+=i,t.currentLineLength+=i.length;else switch(i.type){case"concat":for(const n of i.parts)hi(n,t);break;case"line":if(t.mode===ss.Flat&&!i.hard){i.soft||(t.renderedText+=" ",t.currentLineLength+=1);break}if(t.lineSuffixes.length>0){const n=[...t.lineSuffixes];t.lineSuffixes.length=0;for(const a of n)hi(a.content,t)}t.renderedText.length>0&&(t.renderedText=t.renderedText.replace(/[^\S\n]*$/,""));const e=t.options.useTabs?" ".repeat(t.indentation):" ".repeat(t.indentation*t.options.indentCount);t.renderedText+=` +`+e,t.currentLineLength=e.length;break;case"indent":{t.indentation++,hi(i.content,t),t.indentation--;break}case"lineSuffix":t.lineSuffixes.push(i);break;case"group":const s=tr(i,Object.assign({},t,{mode:ss.Flat})),r=t.mode;!i.willBreak&&s?t.mode=ss.Flat:t.mode=ss.Break,hi(i.content,t),t.mode=r;break}}var Cn={exports:{}};(function(i,t){(function(e,s,r){var n=t&&!t.nodeType&&t,a=i&&!i.nodeType&&i,o=n&&a&&typeof Yt=="object"&&Yt,l=a&&a.exports===n&&n;o&&(o.global===o||o.window===o||o.self===o)&&(e=o),r(n&&a?l?a.exports:n:e[s]={})})(Yt,"luaparse",function(e){e.version="0.2.1";var s,r,n,a=e.defaultOptions={wait:!1,comments:!0,scope:!1,locations:!1,ranges:!1,onCreateNode:null,onCreateScope:null,onDestroyScope:null,onLocalDeclaration:null,luaVersion:"5.1"},o=1,l=2,h=4,u=8,b=16,P=32,L=64,A=128,j=256;e.tokenTypes={EOF:o,StringLiteral:l,Keyword:h,Identifier:u,NumericLiteral:b,Punctuator:P,BooleanLiteral:L,NilLiteral:A,VarargLiteral:j};var V=e.errors={unexpected:"unexpected %1 '%2' near '%3'",expected:"'%1' expected near '%2'",expectedToken:"%1 expected near '%2'",unfinishedString:"unfinished string near '%1'",malformedNumber:"malformed number near '%1'",invalidVar:"invalid left-hand side of assignment near '%1'",decimalEscapeTooLarge:"decimal escape too large near '%1'",invalidEscape:"invalid escape sequence near '%1'",hexadecimalDigitExpected:"hexadecimal digit expected near '%1'",braceExpected:"missing '%1' near '%2'",tooLargeCodepoint:"UTF-8 value too large near '%1'",unfinishedLongString:"unfinished long string (starting at line %1) near '%2'",unfinishedLongComment:"unfinished long comment (starting at line %1) near '%2'"},D=e.ast={labelStatement:function(m){return{type:"LabelStatement",label:m}},breakStatement:function(){return{type:"BreakStatement"}},gotoStatement:function(m){return{type:"GotoStatement",label:m}},returnStatement:function(m){return{type:"ReturnStatement",arguments:m}},ifStatement:function(m){return{type:"IfStatement",clauses:m}},ifClause:function(m,_){return{type:"IfClause",condition:m,body:_}},elseifClause:function(m,_){return{type:"ElseifClause",condition:m,body:_}},elseClause:function(m){return{type:"ElseClause",body:m}},whileStatement:function(m,_){return{type:"WhileStatement",condition:m,body:_}},doStatement:function(m){return{type:"DoStatement",body:m}},repeatStatement:function(m,_){return{type:"RepeatStatement",condition:m,body:_}},localStatement:function(m,_){return{type:"LocalStatement",variables:m,init:_}},assignmentStatement:function(m,_){return{type:"AssignmentStatement",variables:m,init:_}},callStatement:function(m){return{type:"CallStatement",expression:m}},functionStatement:function(m,_,Z,de){return{type:"FunctionDeclaration",identifier:m,isLocal:Z,parameters:_,body:de}},forNumericStatement:function(m,_,Z,de,_e){return{type:"ForNumericStatement",variable:m,start:_,end:Z,step:de,body:_e}},forGenericStatement:function(m,_,Z){return{type:"ForGenericStatement",variables:m,iterators:_,body:Z}},chunk:function(m){return{type:"Chunk",body:m}},identifier:function(m){return{type:"Identifier",name:m}},literal:function(m,_,Z){return m=m===l?"StringLiteral":m===b?"NumericLiteral":m===L?"BooleanLiteral":m===A?"NilLiteral":"VarargLiteral",{type:m,value:_,raw:Z}},tableKey:function(m,_){return{type:"TableKey",key:m,value:_}},tableKeyString:function(m,_){return{type:"TableKeyString",key:m,value:_}},tableValue:function(m){return{type:"TableValue",value:m}},tableConstructorExpression:function(m){return{type:"TableConstructorExpression",fields:m}},binaryExpression:function(m,_,Z){var de=m==="and"||m==="or"?"LogicalExpression":"BinaryExpression";return{type:de,operator:m,left:_,right:Z}},unaryExpression:function(m,_){return{type:"UnaryExpression",operator:m,argument:_}},memberExpression:function(m,_,Z){return{type:"MemberExpression",indexer:_,identifier:Z,base:m}},indexExpression:function(m,_){return{type:"IndexExpression",base:m,index:_}},callExpression:function(m,_){return{type:"CallExpression",base:m,arguments:_}},tableCallExpression:function(m,_){return{type:"TableCallExpression",base:m,arguments:_}},stringCallExpression:function(m,_){return{type:"StringCallExpression",base:m,argument:_}},comment:function(m,_){return{type:"Comment",value:m,raw:_}}};function B(m){if(Y){var _=Qe.pop();_.complete(),_.bless(m)}return r.onCreateNode&&r.onCreateNode(m),m}var se=Array.prototype.slice,W=function(_,Z){for(var de=0,_e=_.length;de<_e;++de)if(_[de]===Z)return de;return-1};function I(m,_,Z){for(var de=0,_e=m.length;de<_e;++de)if(m[de][_]===Z)return de;return-1}function me(m){var _=se.call(arguments,1);return m=m.replace(/%(\d)/g,function(Z,de){return""+_[de-1]||""}),m}function Oe(){for(var m=se.call(arguments),_={},Z,de,_e=0,Ue=m.length;_e=n)return{type:o,value:"",line:E,lineStart:k,range:[S,S]};var m=s.charCodeAt(S),_=s.charCodeAt(S+1);if(C=S,J(m))return De();switch(m){case 39:case 34:return M();case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return $();case 46:return X(_)?$():_===46?s.charCodeAt(S+2)===46?G():ee(".."):ee(".");case 61:return ee(_===61?"==":"=");case 62:return r.luaVersion==="5.3"&&_===62?ee(">>"):ee(_===61?">=":">");case 60:return r.luaVersion==="5.3"&&_===60?ee("<<"):ee(_===61?"<=":"<");case 126:if(_===61)return ee("~=");if(r.luaVersion==="5.1"||r.luaVersion==="5.2")break;return ee("~");case 58:return(r.luaVersion==="5.2"||r.luaVersion==="5.3")&&_===58?ee("::"):ee(":");case 91:return _===91||_===61?F():ee("[");case 47:return r.luaVersion==="5.3"&&_===47?ee("//"):ee("/");case 38:case 124:if(r.luaVersion==="5.1"||r.luaVersion==="5.2")break;case 42:case 94:case 37:case 44:case 123:case 125:case 93:case 40:case 41:case 59:case 35:case 45:case 43:return ee(s.charAt(S))}return fe(s.charAt(S))}function be(){var m=s.charCodeAt(S),_=s.charCodeAt(S+1);return w(m)?(m===10&&_===13&&++S,m===13&&_===10&&++S,++E,k=++S,!0):!1}function we(){for(;S=n||w(Ue))&&(_e+=s.slice(de,S-1),g({},V.unfinishedString,_e+String.fromCharCode(Ue)));return _e+=s.slice(de,S-1),{type:l,value:_e,line:_,lineStart:Z,lastLine:E,lastLineStart:k,range:[C,S]}}function F(){var m=E,_=k,Z=T(!1);return Z===!1&&g(N,V.expected,"[",N.value),{type:l,value:Z,line:m,lineStart:_,lastLine:E,lastLineStart:k,range:[C,S]}}function $(){var m=s.charAt(S),_=s.charAt(S+1),Z=m==="0"&&"xX".indexOf(_||null)>=0?H():f();return{type:b,value:Z,line:E,lineStart:k,range:[C,S]}}function H(){var m=0,_=1,Z=1,de,_e,Ue,yt;for(yt=S+=2,K(s.charCodeAt(S))||g({},V.malformedNumber,s.slice(C,S));K(s.charCodeAt(S));)++S;if(de=parseInt(s.slice(yt,S),16),s.charAt(S)==="."){for(_e=++S;K(s.charCodeAt(S));)++S;m=s.slice(_e,S),m=_e===S?0:parseInt(m,16)/Math.pow(16,S-_e)}if("pP".indexOf(s.charAt(S)||null)>=0){for(++S,"+-".indexOf(s.charAt(S)||null)>=0&&(Z=s.charAt(S++)==="+"?1:-1),Ue=S,X(s.charCodeAt(S))||g({},V.malformedNumber,s.slice(C,S));X(s.charCodeAt(S));)++S;_=s.slice(Ue,S),_=Math.pow(2,_*Z)}return(de+m)*_}function f(){for(;X(s.charCodeAt(S));)++S;if(s.charAt(S)===".")for(++S;X(s.charCodeAt(S));)++S;if("eE".indexOf(s.charAt(S)||null)>=0)for(++S,"+-".indexOf(s.charAt(S)||null)>=0&&++S,X(s.charCodeAt(S))||g({},V.malformedNumber,s.slice(C,S));X(s.charCodeAt(S));)++S;return parseFloat(s.slice(C,S))}function U(m){return m<128?String.fromCharCode(m):m<2048?String.fromCharCode(192|m>>6,128|m&63):m<65536?String.fromCharCode(224|m>>12,128|m>>6&63,128|m&63):m<1114112?String.fromCharCode(240|m>>18,128|m>>12&63,128|m>>6&63,128|m&63):null}function R(){var m=S++;for(s.charAt(S++)!=="{"&&g({},V.braceExpected,"{","\\"+s.slice(m,S)),K(s.charCodeAt(S))||g({},V.hexadecimalDigitExpected,"\\"+s.slice(m,S));s.charCodeAt(S)===48;)++S;for(var _=S;K(s.charCodeAt(S));)++S,S-_>6&&g({},V.tooLargeCodepoint,"\\"+s.slice(m,S));var Z=s.charAt(S++);Z!=="}"&&(Z==='"'||Z==="'"?g({},V.braceExpected,"}","\\"+s.slice(m,S--)):g({},V.hexadecimalDigitExpected,"\\"+s.slice(m,S)));var de=parseInt(s.slice(_,S-1),16);return de=U(de),de===null&&g({},V.tooLargeCodepoint,"\\"+s.slice(m,S)),de}function O(){var m=S;switch(s.charAt(S)){case"a":return++S,"\x07";case"n":return++S,` +`;case"r":return++S,"\r";case"t":return++S," ";case"v":return++S,"\v";case"b":return++S,"\b";case"f":return++S,"\f";case"\r":case` +`:return be(),` +`;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;X(s.charCodeAt(S))&&S-m<3;)++S;var _=parseInt(s.slice(m,S),10);return _>255&&g({},V.decimalEscapeTooLarge,"\\"+_),String.fromCharCode(_);case"z":if(r.luaVersion==="5.2"||r.luaVersion==="5.3")return++S,we(),"";case"x":if(r.luaVersion==="5.2"||r.luaVersion==="5.3"){if(K(s.charCodeAt(S+1))&&K(s.charCodeAt(S+2)))return S+=3,String.fromCharCode(parseInt(s.slice(m+1,S),16));g({},V.hexadecimalDigitExpected,"\\"+s.slice(m,S+2))}case"u":if(r.luaVersion==="5.3")return R();default:(r.luaVersion==="5.2"||r.luaVersion==="5.3")&&g({},V.invalidEscape,"\\"+s.slice(m,S+1));case"\\":case'"':case"'":return s.charAt(S++)}}function d(){C=S,S+=2;var m=s.charAt(S),_="",Z=!1,de=S,_e=k,Ue=E;if(m==="["&&(_=T(!0),_===!1?_=m:Z=!0),!Z){for(;S")}function c(){oe=N,N=ie,ie=z()}function p(m){return m===N.value?(c(),!0):!1}function y(m){m===N.value?c():g(N,V.expected,m,N.value)}function x(m){return m===9||m===32||m===11||m===12}function w(m){return m===10||m===13}function X(m){return m>=48&&m<=57}function K(m){return m>=48&&m<=57||m>=97&&m<=102||m>=65&&m<=70}function J(m){return m>=65&&m<=90||m>=97&&m<=122||m===95}function Se(m){return m>=65&&m<=90||m>=97&&m<=122||m===95||m>=48&&m<=57}function re(m){switch(m.length){case 2:return m==="do"||m==="if"||m==="in"||m==="or";case 3:return m==="and"||m==="end"||m==="for"||m==="not";case 4:return m==="else"||m==="then"?!0:r.luaVersion==="5.2"||r.luaVersion==="5.3"?m==="goto":!1;case 5:return m==="break"||m==="local"||m==="until"||m==="while";case 6:return m==="elseif"||m==="repeat"||m==="return";case 8:return m==="function"}return!1}function ae(m){return P===m.type?"#-~".indexOf(m.value)>=0:h===m.type?m.value==="not":!1}function xe(m){switch(m.type){case"CallExpression":case"TableCallExpression":case"StringCallExpression":return!0}return!1}function te(m){if(o===m.type)return!0;if(h!==m.type)return!1;switch(m.value){case"else":case"elseif":case"end":case"until":return!0;default:return!1}}var ue,ye,ve;function Ie(){var m=Array.apply(null,ue[ye++]);ue.push(m),r.onCreateScope&&r.onCreateScope()}function je(){ue.pop(),ye--,r.onDestroyScope&&r.onDestroyScope()}function it(m){r.onLocalDeclaration&&r.onLocalDeclaration(m),W(ue[ye],m)===-1&&ue[ye].push(m)}function dt(m){it(m.name),Ht(m,!0)}function Ht(m,_){!_&&I(ve,"name",m.name)===-1&&ve.push(m),m.isLocal=_}function nt(m){return W(ue[ye],m)!==-1}var Qe=[],Y;function le(){return new ne(N)}function ne(m){r.locations&&(this.loc={start:{line:m.line,column:m.range[0]-m.lineStart},end:{line:0,column:0}}),r.ranges&&(this.range=[m.range[0],0])}ne.prototype.complete=function(){r.locations&&(this.loc.end.line=oe.lastLine||oe.line,this.loc.end.column=oe.range[1]-(oe.lastLineStart||oe.lineStart)),r.ranges&&(this.range[1]=oe.range[1])},ne.prototype.bless=function(m){if(this.loc){var _=this.loc;m.loc={start:{line:_.start.line,column:_.start.column},end:{line:_.end.line,column:_.end.column}}}this.range&&(m.range=[this.range[0],this.range[1]])};function q(){Y&&Qe.push(le())}function ce(m){Y&&Qe.push(m)}function Pe(){c(),q(),r.scope&&Ie();var m=pe();return r.scope&&je(),o!==N.type&&fe(N),Y&&!m.length&&(oe=N),B(D.chunk(m))}function pe(m){for(var _=[],Z;!te(N);){if(N.value==="return"){_.push(Ee());break}Z=Ee(),p(";"),Z&&_.push(Z)}return _}function Ee(){if(q(),h===N.type)switch(N.value){case"local":return c(),mt();case"if":return c(),It();case"return":return c(),Ve();case"function":c();var m=Fc();return Or(m);case"while":return c(),as();case"for":return c(),os();case"repeat":return c(),Fs();case"break":return c(),et();case"do":return c(),qe();case"goto":return c(),ze()}if(P===N.type&&p("::"))return Ne();if(Y&&Qe.pop(),!((r.luaVersion==="5.2"||r.luaVersion==="5.3")&&p(";")))return Dc()}function Ne(){var m=N.value,_=St();return r.scope&&(it("::"+m+"::"),Ht(_,!0)),y("::"),B(D.labelStatement(_))}function et(){return B(D.breakStatement())}function ze(){N.value;var m=St();return B(D.gotoStatement(m))}function qe(){r.scope&&Ie();var m=pe();return r.scope&&je(),y("end"),B(D.doStatement(m))}function as(){var m=at();y("do"),r.scope&&Ie();var _=pe();return r.scope&&je(),y("end"),B(D.whileStatement(m,_))}function Fs(){r.scope&&Ie();var m=pe();y("until");var _=at();return r.scope&&je(),B(D.repeatStatement(_,m))}function Ve(){var m=[];if(N.value!=="end"){var _=Di();for(_!=null&&m.push(_);p(",");)_=at(),m.push(_);p(";")}return B(D.returnStatement(m))}function It(){var m=[],_,Z,de;for(Y&&(de=Qe[Qe.length-1],Qe.push(de)),_=at(),y("then"),r.scope&&Ie(),Z=pe(),r.scope&&je(),m.push(B(D.ifClause(_,Z))),Y&&(de=le());p("elseif");)ce(de),_=at(),y("then"),r.scope&&Ie(),Z=pe(),r.scope&&je(),m.push(B(D.elseifClause(_,Z))),Y&&(de=le());return p("else")&&(Y&&(de=new ne(oe),Qe.push(de)),r.scope&&Ie(),Z=pe(),r.scope&&je(),m.push(B(D.elseClause(Z)))),y("end"),B(D.ifStatement(m))}function os(){var m=St(),_;if(r.scope&&(Ie(),dt(m)),p("=")){var Z=at();y(",");var de=at(),_e=p(",")?at():null;return y("do"),_=pe(),y("end"),r.scope&&je(),B(D.forNumericStatement(m,Z,de,_e,_))}else{for(var Ue=[m];p(",");)m=St(),r.scope&&dt(m),Ue.push(m);y("in");var yt=[];do{var Qs=at();yt.push(Qs)}while(p(","));return y("do"),_=pe(),y("end"),r.scope&&je(),B(D.forGenericStatement(Ue,yt,_))}}function mt(){var m;if(u===N.type){var _=[],Z=[];do m=St(),_.push(m);while(p(","));if(p("="))do{var de=at();Z.push(de)}while(p(","));if(r.scope)for(var _e=0,Ue=_.length;_e",N)}function ba(m){(m.inParens||["Identifier","MemberExpression","IndexExpression"].indexOf(m.type)===-1)&&g(N,V.invalidVar,N.value)}function Dc(){var m=N,_,Z;if(Y&&(Z=le()),_=Fr(),_==null)return fe(N);if(",=".indexOf(N.value)>=0){var de=[_],_e=[],Ue;for(ba(_);p(",");)Ue=Fr(),Ue==null&&he("",N),ba(Ue),de.push(Ue);y("=");do Ue=at(),_e.push(Ue);while(p(","));return ce(Z),B(D.assignmentStatement(de,_e))}return xe(_)?(ce(Z),B(D.callStatement(_))):fe(m)}function St(){q();var m=N.value;return u!==N.type&&he("",N),c(),B(D.identifier(m))}function Or(m,_){var Z=[];if(y("("),!p(")"))for(;;)if(u===N.type){var de=St();if(r.scope&&dt(de),Z.push(de),p(","))continue;if(p(")"))break}else if(j===N.type){Z.push(Rr()),y(")");break}else he(" or '...'",N);var _e=pe();return y("end"),r.scope&&je(),_=_||!1,B(D.functionStatement(m,Z,_,_e))}function Fc(){var m,_,Z;for(Y&&(Z=le()),m=St(),r.scope&&(Ht(m,nt(m.name)),Ie());p(".");)ce(Z),_=St(),m=B(D.memberExpression(m,".",_));return p(":")&&(ce(Z),_=St(),m=B(D.memberExpression(m,":",_)),r.scope&&it("self")),m}function xa(){for(var m=[],_,Z;;){if(q(),P===N.type&&p("["))_=at(),y("]"),y("="),Z=at(),m.push(B(D.tableKey(_,Z)));else if(u===N.type)ie.value==="="?(_=St(),c(),Z=at(),m.push(B(D.tableKeyString(_,Z)))):(Z=at(),m.push(B(D.tableValue(Z))));else{if((Z=Di())==null){Qe.pop();break}m.push(B(D.tableValue(Z)))}if(",;".indexOf(N.value)>=0){c();continue}break}return y("}"),B(D.tableConstructorExpression(m))}function Di(){var m=Dr(0);return m}function at(){var m=Di();if(m==null)he("",N);else return m}function Bc(m){var _=m.charCodeAt(0),Z=m.length;if(Z===1)switch(_){case 94:return 12;case 42:case 47:case 37:return 10;case 43:case 45:return 9;case 38:return 6;case 126:return 5;case 124:return 4;case 60:case 62:return 3}else if(Z===2)switch(_){case 47:return 10;case 46:return 8;case 60:case 62:return m==="<<"||m===">>"?7:3;case 61:case 126:return 3;case 111:return 1}else if(_===97&&m==="and")return 2;return 0}function Dr(m){var _=N.value,Z,de;if(Y&&(de=le()),ae(N)){q(),c();var _e=Dr(10);_e==null&&he("",N),Z=B(D.unaryExpression(_,_e))}if(Z==null&&(Z=Rr(),Z==null&&(Z=Fr())),Z==null)return null;for(var Ue;_=N.value,Ue=P===N.type||h===N.type?Bc(_):0,!(Ue===0||Ue<=m);){(_==="^"||_==="..")&&Ue--,c();var yt=Dr(Ue);yt==null&&he("",N),Y&&Qe.push(de),Z=B(D.binaryExpression(_,Z,yt))}return Z}function Fr(){var m,_,Z;if(Y&&(Z=le()),u===N.type)_=N.value,m=St(),r.scope&&Ht(m,nt(_));else if(p("("))m=at(),y(")"),m.inParens=!0;else return null;for(var de,_e;;)if(P===N.type)switch(N.value){case"[":ce(Z),c(),de=at(),y("]"),m=B(D.indexExpression(m,de));break;case".":ce(Z),c(),_e=St(),m=B(D.memberExpression(m,".",_e));break;case":":ce(Z),c(),_e=St(),m=B(D.memberExpression(m,":",_e)),ce(Z),m=Br(m);break;case"(":case"{":ce(Z),m=Br(m);break;default:return m}else if(l===N.type)ce(Z),m=Br(m);else break;return m}function Br(m){if(P===N.type)switch(N.value){case"(":c();var _=[],Z=Di();for(Z!=null&&_.push(Z);p(",");)Z=at(),_.push(Z);return y(")"),B(D.callExpression(m,_));case"{":q(),c();var de=xa();return B(D.tableCallExpression(m,de))}else if(l===N.type)return B(D.stringCallExpression(m,Rr()));he("function arguments",N)}function Rr(){var m=l|b|L|A|j,_=N.value,Z=N.type,de;if(Y&&(de=le()),Z&m){ce(de);var _e=s.slice(N.range[0],N.range[1]);return c(),B(D.literal(Z,_,_e))}else{if(h===Z&&_==="function")return ce(de),c(),r.scope&&Ie(),Or(null);if(p("{"))return ce(de),xa()}}e.parse=Rc;function Rc(m,_){if(typeof _=="undefined"&&typeof m=="object"&&(_=m,m=void 0),_||(_={}),s=m||"",r=Oe(a,_),S=0,E=1,k=0,n=s.length,ue=[[]],ye=0,ve=[],Qe=[],!(r.luaVersion==="5.1"||r.luaVersion==="5.2"||r.luaVersion==="5.3"))throw new Error(me("Lua version '%1' not supported",r.luaVersion));return r.comments&&(Te=[]),r.wait?e:Pa()}e.write=Sa;function Sa(m){return s+=String(m),n=s.length,e}e.end=Pa;function Pa(m){typeof m!="undefined"&&Sa(m),s&&s.substr(0,2)==="#!"&&(s=s.replace(/^.*/,function(Z){return Z.replace(/./g," ")})),n=s.length,Y=r.locations||r.ranges,ie=z();var _=Pe();if(r.comments&&(_.comments=Te),r.scope&&(_.globals=ve),Qe.length>0)throw new Error("Location tracking failed. This is most likely a bug in luaparse");return _}})})(Cn,Cn.exports);var dc={exports:{}};/*! + + diff v3.5.0 + +Software License Agreement (BSD License) + +Copyright (c) 2009-2015, Kevin Decker + +All rights reserved. + +Redistribution and use of this software in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above + copyright notice, this list of conditions and the + following disclaimer. + +* Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the + following disclaimer in the documentation and/or other + materials provided with the distribution. + +* Neither the name of Kevin Decker nor the names of its + contributors may be used to endorse or promote products + derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +@license +*/(function(i,t){(function(s,r){i.exports=r()})(Yt,function(){return function(e){var s={};function r(n){if(s[n])return s[n].exports;var a=s[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}return r.m=e,r.c=s,r.p="",r(0)}([function(e,s,r){s.__esModule=!0,s.canonicalize=s.convertChangesToXML=s.convertChangesToDMP=s.merge=s.parsePatch=s.applyPatches=s.applyPatch=s.createPatch=s.createTwoFilesPatch=s.structuredPatch=s.diffArrays=s.diffJson=s.diffCss=s.diffSentences=s.diffTrimmedLines=s.diffLines=s.diffWordsWithSpace=s.diffWords=s.diffChars=s.Diff=void 0;var n=r(1),a=W(n),o=r(2),l=r(3),h=r(5),u=r(6),b=r(7),P=r(8),L=r(9),A=r(10),j=r(11),V=r(13),D=r(14),B=r(16),se=r(17);function W(I){return I&&I.__esModule?I:{default:I}}s.Diff=a.default,s.diffChars=o.diffChars,s.diffWords=l.diffWords,s.diffWordsWithSpace=l.diffWordsWithSpace,s.diffLines=h.diffLines,s.diffTrimmedLines=h.diffTrimmedLines,s.diffSentences=u.diffSentences,s.diffCss=b.diffCss,s.diffJson=P.diffJson,s.diffArrays=L.diffArrays,s.structuredPatch=D.structuredPatch,s.createTwoFilesPatch=D.createTwoFilesPatch,s.createPatch=D.createPatch,s.applyPatch=A.applyPatch,s.applyPatches=A.applyPatches,s.parsePatch=j.parsePatch,s.merge=V.merge,s.convertChangesToDMP=B.convertChangesToDMP,s.convertChangesToXML=se.convertChangesToXML,s.canonicalize=P.canonicalize},function(e,s){s.__esModule=!0,s.default=r;function r(){}r.prototype={diff:function(l,h){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=u.callback;typeof u=="function"&&(b=u,u={}),this.options=u;var P=this;function L(me){return b?(setTimeout(function(){b(void 0,me)},0),!0):me}l=this.castInput(l),h=this.castInput(h),l=this.removeEmpty(this.tokenize(l)),h=this.removeEmpty(this.tokenize(h));var A=h.length,j=l.length,V=1,D=A+j,B=[{newPos:-1,components:[]}],se=this.extractCommon(B[0],h,l,0);if(B[0].newPos+1>=A&&se+1>=j)return L([{value:this.join(h),count:h.length}]);function W(){for(var me=-1*V;me<=V;me+=2){var Oe=void 0,g=B[me-1],he=B[me+1],fe=(he?he.newPos:0)-me;g&&(B[me-1]=void 0);var S=g&&g.newPos+1=A&&fe+1>=j)return L(n(P,Oe.components,h,l,P.useLongestToken));B[me]=Oe}V++}if(b)(function me(){setTimeout(function(){if(V>D)return b();W()||me()},0)})();else for(;V<=D;){var I=W();if(I)return I}},pushComponent:function(l,h,u){var b=l[l.length-1];b&&b.added===h&&b.removed===u?l[l.length-1]={count:b.count+1,added:h,removed:u}:l.push({count:1,added:h,removed:u})},extractCommon:function(l,h,u,b){for(var P=h.length,L=u.length,A=l.newPos,j=A-b,V=0;A+1W.length?me:W}),V.value=o.join(D)}else V.value=o.join(h.slice(A,A+V.count));A+=V.count,V.added||(j+=V.count)}}var se=l[L-1];return L>1&&typeof se.value=="string"&&(se.added||se.removed)&&o.equals("",se.value)&&(l[L-2].value+=se.value,l.pop()),l}function a(o){return{newPos:o.newPos,components:o.components.slice(0)}}},function(e,s,r){s.__esModule=!0,s.characterDiff=void 0,s.diffChars=h;var n=r(1),a=o(n);function o(u){return u&&u.__esModule?u:{default:u}}var l=s.characterDiff=new a.default;function h(u,b,P){return l.diff(u,b,P)}},function(e,s,r){s.__esModule=!0,s.wordDiff=void 0,s.diffWords=P,s.diffWordsWithSpace=L;var n=r(1),a=l(n),o=r(4);function l(A){return A&&A.__esModule?A:{default:A}}var h=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,u=/\S/,b=s.wordDiff=new a.default;b.equals=function(A,j){return this.options.ignoreCase&&(A=A.toLowerCase(),j=j.toLowerCase()),A===j||this.options.ignoreWhitespace&&!u.test(A)&&!u.test(j)},b.tokenize=function(A){for(var j=A.split(/(\s+|\b)/),V=0;V2&&arguments[2]!==void 0?arguments[2]:{};if(typeof P=="string"&&(P=(0,n.parsePatch)(P)),Array.isArray(P)){if(P.length>1)throw new Error("applyPatch only works with a single input.");P=P[0]}var A=b.split(/\r\n|[\n\v\f\r\x85]/),j=b.match(/\r\n|[\n\v\f\r\x85]/g)||[],V=P.hunks,D=L.compareLine||function(F,$,H,f){return $===f},B=0,se=L.fuzzFactor||0,W=0,I=0,me=void 0,Oe=void 0;function g(F,$){for(var H=0;H0?f[0]:" ",R=f.length>0?f.substr(1):f;if(U===" "||U==="-"){if(!D($+1,A[$],U,R)&&(B++,B>se))return!1;$++}}return!0}for(var he=0;he0?be[0]:" ",De=be.length>0?be.substr(1):be,ee=E.linedelimiters[z];if(we===" ")k++;else if(we==="-")A.splice(k,1),j.splice(k,1);else if(we==="+")A.splice(k,0,De),j.splice(k,0,ee),k++;else if(we==="\\"){var G=E.lines[z-1]?E.lines[z-1][0]:null;G==="+"?me=!0:G==="-"&&(Oe=!0)}}}if(me)for(;!A[A.length-1];)A.pop(),j.pop();else Oe&&(A.push(""),j.push(` +`));for(var M=0;M1&&arguments[1]!==void 0?arguments[1]:{},o=n.split(/\r\n|[\n\v\f\r\x85]/),l=n.match(/\r\n|[\n\v\f\r\x85]/g)||[],h=[],u=0;function b(){var A={};for(h.push(A);u0?B(C.lines.slice(-V.context)):[],W-=me.length,I-=me.length)}(Te=me).push.apply(Te,a(ie.map(function(ee){return(oe.added?"+":"-")+ee}))),oe.added?g+=ie.length:Oe+=ie.length}else{if(W)if(ie.length<=V.context*2&&N=D.length-2&&ie.length<=V.context){var we=/\n$/.test(P),De=/\n$/.test(L);ie.length==0&&!we?me.splice(be.oldLines,0,"\\ No newline at end of file"):(!we||!De)&&me.push("\\ No newline at end of file")}se.push(be),W=0,I=0,me=[]}Oe+=ie.length,g+=ie.length}},fe=0;fea.length)return!1;for(var l=0;l"):h.removed&&o.push(""),o.push(n(h.value)),h.added?o.push(""):h.removed&&o.push("")}return o.join("")}function n(a){var o=a;return o=o.replace(/&/g,"&"),o=o.replace(//g,">"),o=o.replace(/"/g,"""),o}}])})})(dc);Object.defineProperty(Oi,"__esModule",{value:!0});const wo=Ps,Fd=ha,Bd=pa,Rd=_r,$d=Cn.exports,jd=dc.exports;var mc=_r;Oi.defaultOptions=mc.defaultOptions;Oi.WriteMode=mc.WriteMode;function Ud(i,t){const e=$d.parse(i,{comments:!0,locations:!0,ranges:!0,luaVersion:"5.3"});e.range[0]=0,e.range[1]=i.length;const s=Object.assign({},Rd.defaultOptions,t),r=Object.assign({},s,{sourceText:i});wo.injectShebang(e,r),wo.attachComments(e,r);const n=Fd.buildDocFromAst(e,r);return Bd.printDocToString(n,r)}var Vd=Oi.formatText=Ud;function Hd(i,t,e){return jd.createPatch(i,t,e,"original","formatted")}Oi.producePatch=Hd;var yc={exports:{}};(function(i){function t(ee){for(var G=0,M=ee.length;M--;)G+=ee.charCodeAt(M),G+=G<<10,G^=G>>6;return G+=G<<3,G^=G>>11,G+=G<<15,G}const e=console.log,s=function(ee,G){if(!ee)throw G};function r(ee,G){if(!ee)return 0;var M=ee.toString().split(".");return M.length>1?parseInt(M[0],G)+parseInt(M[1],G)/Math.pow(G,M[1].length):parseInt(M[0],G)}let n=[" ",` +`," ","\r"],a={r:"\r",n:` +`,t:" ",'"':'"',"'":"'","\\":"\\"};const o=new Proxy(a,{get(ee,G){return r(G)}});let l=["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","_","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"],h=["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","_","a","b","c","d","e","f","g","t","u","v","w","h","i","j","k","l","m","n","o","p","q","r","s","x","y","z"],u=["0","1","2","3","4","5","6","7","8","9"],b=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","A","B","C","D","E","F"],P=["0","1"],L=["+","-","*",")",";","/","^","%","#",",","{","}",":","[","]","(",".","`"],A=["~","=",">","<"],j=["+","-","*","/","^","..","%","//"],V=["+=","-=","*=","/=","^=","..=","%=","//="],D=["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while","continue"],B=["else","elseif","until","end"],se=["-","not","#","~"],W=["+","-","*","/","%","^","#","//","&","|","~","<<",">>","..",".",":",">","<","<=",">=","~=","==","+=","-=","*=","/=","%=","^=","..=","//=","and","or"],I=11,me={"^":[13,12],"%":[10,10],"//":[10,10],"/":[10,10],"*":[10,10],"+":[9,9],"-":[9,9],"..":[8,7],">>":[7,7],"<<":[7,7],"&":[6,6],"~":[5,5],"|":[4,4],"==":[3,3],"~=":[3,3],">=":[3,3],"<=":[3,3],">":[3,3],"<":[3,3],"+=":[3,3],"-=":[3,3],"*=":[3,3],"/=":[3,3],"^=":[3,3],"%=":[3,3],"..=":[3,3],"//=":[3,3],and:[2,2],or:[1,1]};function Oe(ee){let G=0,M=ee.length,F=[];function $(c){return c=c||0,G<=M?ee.substr(G+c,1):""}function H(){if(G<=M){let c=ee.substr(G,1);return G++,c}else return""}function f(c){let p=0,y=1,x=1;for(;p<=G;)ee.substr(p,1)==` +`?(y++,x=1):x++;let w;for(w=0;w`)}throw`file<${y}:${x}>: ${c}`}function U(c){for(;;){let p=H();if(p=="")f("Unfinished long string.");else if(p=="]"){let y=!0,x;for(x=1;x<=c;x++)if($()=="=")G++;else{y=!1;break}if(y&&H()=="]")return}}}function R(){let c=G;for(;$()=="=";)G++;if($()=="[")return G++,G-c-1;G=c}let O=0,d=0;function T(c){let p=ee.substr(d,G-d),y=null;c=="Number"&&(p.substr(0,2).toLowerCase()=="0x"?(y="hex",parseInt(p,16)<999999999999&&(p=parseInt(p,16))):p.substr(0,2).toLowerCase()=="0b"&&(y="bin",parseInt(p.substr(2),2)<999999999999&&(p=parseInt(p.substr(2),2))));let x={Type:c,LeadingWhite:ee.substr(O,d-O),Source:p};return y!==null&&(x.NType=y),F.push(x),O=G,d=G,x}for(;;){for(O=G;;){let p=$();if(p=="")break;if(p=="-")if($(1)=="-")if(G+=2,$()=="["){G++;let y=R();if(y!=null)U(y),O=G;else for(;;){let x=H();if(x==""||x==` +`)break}}else for(;;){let y=H();if(y==""||y==` +`)break}else break;else if(n.includes(p))G++;else break}ee.substr(O,G-O),d=G;let c=H();if(c==""){T("Eof");break}else if(c=="'"||c=='"'){for(;;){let p=H();if(p=="\\"){let y=H();if(o[y]==null)throw`Invalid Escape Sequence \`${y}\`.`}else{if(p==c)break;if(p=="")throw"Unfinished string!"}}T("String")}else if(c=="`"){for(;;){let p=H();if(p=="\\"){let y=H();if(o[y]==null)throw`Invalid Escape Sequence \`${y}\`.`}else{if(p==c)break;if(p=="")throw"Unfinished string!"}}T("Hash")}else if(l.includes(c)){for(;h.includes($());)G++;D.includes(ee.substr(d,G-d))?T("Keyword"):T("Ident")}else if(u.includes(c)||c=="."&&u.includes($())){if(c=="0"&&$().toLowerCase()=="x")for(G++;b.includes($())||$()==="_";)G++;else if(c=="0"&&$().toLowerCase()=="b")for(G++;P.includes($())||$()==="_";)G++;else{for(;u.includes($())||$()==="_";)G++;if($()==".")for(G++;u.includes($());)G++;if($()=="e"||$()=="E")for(G++,($()=="-"||$()=="+")&&G++;u.includes($());)G++}T("Number")}else if(c=="["){let p=R();p!=null?(U(p),T("String")):T("Symbol")}else if(c==".")$()=="."&&(H(),($()=="."||$()=="=")&&H()),T("Symbol");else if(c+$()=="//")H(),$()=="="&&H(),T("Symbol");else if(W.includes(c+$()))H(),T("Symbol");else if(A.includes(c))$()=="="&&G++,T("Symbol");else if(j.includes(c)&&$()=="=")H(),T("Symbol");else if(L.includes(c))T("Symbol");else throw`Bad symbol \`${c}\` in source. ${G}`}return F}function g(ee){let G=Oe(ee),M=0;function F(){let Y=G[M];return M at: ${H(Y)}`}function U(){let Y=$();return Y.Type=="Eof"||Y.Type=="Keyword"&&B.includes(Y.Source)}function R(){return se.includes($().Source)||!1}function O(){return W.includes($().Source)||!1}function d(Y,le){let ne=$();if(ne.Type==Y&&(le==null||ne.Source==le))return F();{let q;for(q=-3;q<=3;q++)e(`Tokens[${q}] = \`${$(q).Source}\``);throw le?`${H(ne)}: \`${le}\` expected.`:`${H(ne)}: ${Y} expected.`}}function T(Y){let le=Y.GetFirstToken,ne=Y.GetLastToken,q=Y;return Y.GetFirstToken=function(){let ce=le(q);return s(ce),ce},Y.GetLastToken=function(){let ce=ne(q);return s(ce),ce},Y}let c,p;function y(Y,le){let ne=[p(Y,le)],q=[];for(;$().Source==",";)q.push(F()),ne.push(p(Y,le));return[ne,q]}function x(Y,le){var q,ce,Pe,pe;let ne=$();if(ne.Source=="("){let Ee=F(),Ne=p(Y,le),et=d("Symbol",")"),ze;return ze=T({Type:"ParenExpr",Expression:Ne,Token_OpenParen:Ee,Token_CloseParen:et,GetFirstToken:()=>ze.Token_OpenParen,GetLastToken:()=>ze.Token_CloseParen}),ze}else if(ne.Type=="Ident"){let Ee;return Ee=T({Type:"VariableExpr",Token:F(),GetFirstToken:()=>Ee.Token,GetLastToken:()=>Ee.Token}),Y[Ee.Token.Source]!=null&&((ce=(q=Y[Ee.Token.Source])==null?void 0:q.Tokens)==null?void 0:ce.push)!=null?(Y[Ee.Token.Source].Tokens.push(Ee.Token),Y[Ee.Token.Source].UseCountIncrease()):le[Ee.Token.Source]!=null&&((pe=(Pe=le[Ee.Token.Source])==null?void 0:Pe.Tokens)==null?void 0:pe.push)!=null&&(le[Ee.Token.Source].Tokens.push(Ee.Token),le[Ee.Token.Source].UseCountIncrease()),Ee}else throw e(f()),`${H(ne)}: Unexpected symbol. ${ne.Type} ${ne.Source}`}function w(Y,le){let ne=d("Symbol","{"),q=[],ce=[];for(;$().Source!="}";){if($().Source=="["){let Ee=F(),Ne=p(Y,le),et=d("Symbol","]"),ze=d("Symbol","="),qe=p(Y,le);Ne.Token&&Ne.Token.Source,q.push({EntryType:"Index",Index:Ne,Value:qe,Token_OpenBracket:Ee,Token_CloseBracket:et,Token_Equals:ze})}else if($().Type=="Ident"&&$(1).Source=="="){let Ee=F(),Ne=F(),et=p(Y,le);q.push({EntryType:"Field",Field:Ee,Value:et,Token_Equals:Ne})}else{let Ee=p(Y,le);q.push({EntryType:"Value",Value:Ee})}if($().Source==","||$().Source==";")ce.push(F());else break}let Pe=d("Symbol","}"),pe;return pe=T({Type:"TableLiteral",EntryList:q,Token_SeperatorList:ce,Token_OpenBrace:ne,Token_CloseBrace:Pe,GetFirstToken:()=>pe.Token_OpenBrace,GetLastToken:()=>pe.Token_CloseBrace}),pe}function X(Y,le){let ne=[],q=[];if($().Type=="Ident"){let ce=F();if(le&&$().Source=="<"&&$(2).Source==">"){let Pe=$(1).Source;ce.Attribute={LeadingWhite:$().LeadingWhite,Source:`<${Pe}>`},F(),F(),F()}ne.push(ce)}else if($().Source=="..."&&Y)return[ne,q,F()];for(;$().Source==",";){if(q.push(F()),$().Source=="..."&&Y)return[ne,q,F()];{let ce=d("Ident");if(le&&$().Source=="<"&&$(2).Source==">"){let Pe=$(1).Source;ce.Attribute={LeadingWhite:$().LeadingWhite,Source:`<${Pe}>`},F(),F(),F()}ne.push(ce)}}return[ne,q]}function K(Y,le,ne){let q=c(le,ne),ce=$();if(ce.Type=="Keyword"&&ce.Source==Y)return F(),[q,ce];throw e(ce.Type,ce.Source),`${H(ce)}: ${Y} expected.`}function J(Y,le,ne,q){let ce=F(),Pe,pe;if(!Y){Pe=[],pe=[];let It=d("Ident");for(Pe.push(It);$().Source==".";)pe.push(F()),Pe.push(d("Ident"));$().Source==":"&&(pe.push(F()),Pe.push(d("Ident")))}let Ee=d("Symbol","("),[Ne,et,ze]=X(!0),qe=d("Symbol",")"),[as,Fs]=K("end",le,ne),Ve;return Ve=T({Type:Y==!0?"FunctionLiteral":"FunctionStat",NameChain:Pe,ArgList:Ne,Body:as,Token_Function:ce,Token_NameChainSeperator:pe,Token_OpenParen:Ee,Token_Varg:ze,Token_ArgCommaList:et,Token_CloseParen:qe,Token_End:Fs,GetFirstToken:()=>Ve.Token_Function,GetLastToken:()=>Ve.Token_End}),Ve}function Se(Y,le){let ne=$();if(ne.Source=="("){let q=F(),ce=[],Pe=[];for(;$().Source!=")"&&(ce.push(p(Y,le)),$().Source==",");)Pe.push(F());let pe=d("Symbol",")"),Ee;return Ee=T({CallType:"ArgCall",ArgList:ce,Token_CommaList:Pe,Token_OpenParen:q,Token_CloseParen:pe,GetFirstToken:()=>Ee.Token_OpenParen,GetLastToken:()=>Ee.Token_CloseParen}),Ee}else if(ne.Source=="{"){let q;return q=T({CallType:"TableCall",TableExpr:p(Y,le),GetFirstToken:()=>q.TableExpr.GetFirstToken(),GetLastToken:()=>q.TableExpr.GetLastToken()}),q}else if(ne.Type=="String"){let q;return q=T({CallType:"StringCall",Token:F(),GetFirstToken:()=>q.Token,GetLastToken:()=>q.Token}),q}else throw"Function arguments expected."}function re(Y,le){let ne=x(Y,le);for(s(ne,"nil prefixexpr");;){let q=$();if(q.Source=="."){let ce=F(),Pe=d("Ident"),pe;pe=T({Type:"FieldExpr",Base:ne,Field:Pe,Token_Dot:ce,GetFirstToken:()=>pe.Base.GetFirstToken(),GetLastToken:()=>pe.Field}),ne=pe}else if(q.Source==":"){let ce=F(),Pe=d("Ident"),pe=Se(Y,le),Ee;Ee=T({Type:"MethodExpr",Base:ne,Method:Pe,FunctionArguments:pe,Token_Colon:ce,GetFirstToken:()=>Ee.Base.GetFirstToken(),GetLastToken:()=>Ee.FunctionArguments.GetLastToken()}),ne=Ee}else if(q.Source=="["){let ce=F(),Pe=p(Y,le),pe=d("Symbol","]"),Ee;Ee=T({Type:"IndexExpr",Base:ne,Index:Pe,Token_OpenBracket:ce,Token_CloseBracket:pe,GetFirstToken:()=>Ee.Base.GetFirstToken(),GetLastToken:()=>Ee.Token_CloseBracket}),ne=Ee}else if(q.Source=="{"||q.Source=="("||q.Type=="String"){let ce;ce=T({Type:"CallExpr",Base:ne,FunctionArguments:Se(Y,le),GetFirstToken:()=>ce.Base.GetFirstToken(),GetLastToken:()=>ce.FunctionArguments.GetLastToken()}),ne=ce}else if(V.includes(q.Source)){let ce=F(),Pe=p(Y,le),pe;pe=T({Type:"CompoundStat",Base:ne,Token_Compound:ce,Rhs:Pe,Lhs:ne,GetFirstToken:()=>pe.Base.GetFirstToken(),GetLastToken:()=>pe.Rhs.GetLastToken()}),ne=pe}else return ne}}function ae(Y,le){let ne=$();if(ne.Type=="Number"){let q;return q=T({Type:"NumberLiteral",Token:F(),GetFirstToken:()=>q.Token,GetLastToken:()=>q.Token}),q}else if(ne.Type=="String"){let q;return q=T({Type:"StringLiteral",Token:F(),GetFirstToken:()=>q.Token,GetLastToken:()=>q.Token}),q}else if(ne.Type=="Hash"){let q;return q=T({Type:"HashLiteral",Token:F(),GetFirstToken:()=>q.Token,GetLastToken:()=>q.Token}),q}else if(ne.Source=="nil"){let q;return q=T({Type:"NilLiteral",Token:F(),GetFirstToken:()=>q.Token,GetLastToken:()=>q.Token}),q}else if(ne.Source=="true"||ne.Source=="false"){let q;return q=T({Type:"BooleanLiteral",Token:F(),GetFirstToken:()=>q.Token,GetLastToken:()=>q.Token}),q}else if(ne.Source=="..."){let q;return q=T({Type:"VargLiteral",Token:F(),GetFirstToken:()=>q.Token,GetLastToken:()=>q.Token}),q}else return ne.Source=="{"?w(Y,le):ne.Source=="function"?J(!0,Y,le):re(Y,le)}function xe(Y,le,ne){let q;if(R()){let ce=F(),Pe=xe(I,le,ne),pe;pe=T({Type:"UnopExpr",Token_Op:ce,Rhs:Pe,GetFirstToken:()=>pe.Token_Op,GetLastToken:()=>pe.Rhs.GetLastToken()}),q=pe}else q=ae(le,ne),s(q,"nil sipleexpr");for(;O()&&me[$().Source]!=null&&me[$().Source][0]>Y;){let ce=F(),Pe=xe(me[ce.Source][1],le,ne);s(Pe,"RhsNeeded");let pe;pe=T({Type:"BinopExpr",Lhs:q,Rhs:Pe,Token_Op:ce,GetFirstToken:()=>pe.Lhs.GetFirstToken(),GetLastToken:()=>pe.Rhs.GetLastToken()}),q=pe}return q}p=(Y,le)=>xe(0,Y,le);function te(Y,le){let ne=re(Y,le);if(ne.Type=="MethodExpr"||ne.Type=="CallExpr"){let q;return q=T({Type:"CallExprStat",Expression:ne,GetFirstToken:()=>q.Expression.GetFirstToken(),GetLastToken:()=>q.Expression.GetLastToken()}),q}else{if(ne.Type=="CompoundStat")return ne;{let q=[ne],ce=[];for(;$().Source==",";){ce.push(F());let et=re(Y,le);if(et.Type=="MethodExpr"||et.Type=="CallExpr")throw"Bad left hand side of asignment";q.push(et)}let Pe=d("Symbol","="),pe=[p(Y,le)],Ee=[];for(;$().Source==",";)Ee.push(F()),pe.push(p(Y,le));let Ne;return Ne=T({Type:"AssignmentStat",Rhs:pe,Lhs:q,Token_Equals:Pe,Token_LhsSeperatorList:ce,Token_RhsSeperatorList:Ee,GetFirstToken:()=>Ne.Lhs[0].GetFirstToken(),GetLastToken:()=>Ne.Rhs[Ne.Rhs.length-1].GetLastToken()}),Ne}}}function ue(Y,le){let ne=F(),q=p(Y,le),ce=d("Keyword","then"),Pe=c(Y,le),pe=[];for(;$().Source=="elseif"||$().Source=="else";){let et=F(),ze,qe;et.Source=="elseif"&&(ze=p(Y,le),qe=d("Keyword","then"));let as=c(Y,le);if(pe.push({Condition:ze,Body:as,ClauseType:et.Source,Token:et,Token_Then:qe}),et.Source=="else")break}let Ee=d("Keyword","end"),Ne;return Ne=T({Type:"IfStat",Condition:q,Body:Pe,ElseClauseList:pe,Token_If:ne,Token_Then:ce,Token_End:Ee,GetFirstToken:()=>Ne.Token_If,GetLastToken:()=>Ne.Token_End}),Ne}function ye(Y,le){let ne=F(),[q,ce]=K("end",Y,le),Pe;return Pe=T({Type:"DoStat",Body:q,Token_Do:ne,Token_End:ce,GetFirstToken:()=>Pe.Token_Do,GetLastToken:()=>Pe.Token_End}),Pe}function ve(Y,le){let ne=F(),q=p(Y,le),ce=d("Keyword","do"),[Pe,pe]=K("end",Y,le),Ee;return Ee=T({Type:"WhileStat",Condition:q,Body:Pe,Token_While:ne,Token_Do:ce,Token_End:pe,GetFirstToken:()=>Ee.Token_While,GetLastToken:()=>Ee.Token_End}),Ee}function Ie(Y,le){let ne=F(),[q,ce]=X();if($().Source=="="){let Pe=F(),[pe,Ee]=y(Y,le);if(pe.length<2||pe.length>3)throw"Expected 2 or 3 values for range bounds";let Ne=d("Keyword","do"),[et,ze]=K("end",Y,le),qe;return qe=T({Type:"NumericForStat",VarList:q,RangeList:pe,Body:et,Token_For:ne,Token_VarCommaList:ce,Token_Equals:Pe,Token_RangeCommaList:Ee,Token_Do:Ne,Token_End:ze,GetFirstToken:()=>qe.Token_For,GetLastToken:()=>qe.Token_End}),qe}else if($().Source=="in"){let Pe=F(),[pe,Ee]=y(Y,le),Ne=d("Keyword","do"),[et,ze]=K("end",Y,le),qe;return qe=T({Type:"GenericForStat",VarList:q,GeneratorList:pe,Body:et,Token_For:ne,Token_VarCommaList:ce,Token_In:Pe,Token_GeneratorCommaList:Ee,Token_Do:Ne,Token_End:ze,GetFirstToken:()=>qe.Token_For,GetLastToken:()=>qe.Token_End}),qe}}function je(Y,le){let ne=F(),[q,ce]=K("until",Y),Pe=p(Y,le),pe;return pe=T({Type:"RepeatStat",Body:q,Condition:Pe,Token_Repeat:ne,Token_Until:ce,GetFirstToken:()=>pe.Token_Repeat,GetLastToken:()=>pe.Condition.GetLastToken()}),pe}function it(Y,le){let ne=F();if($().Source=="function"){let q=J(!1,Y,le);if(q.NameChain.length>1)throw H(q.Token_NameChainSeperator[0])+": `(` expected.";let ce;return ce=T({Type:"LocalFunctionStat",FunctionStat:q,Token_Local:ne,GetFirstToken:()=>ce.Token_Local,GetLastToken:()=>ce.FunctionStat.GetLastToken()}),ce}else if($().Type=="Ident"){let[q,ce]=X(!1,!0),Pe=[],pe=[],Ee;if($().Source=="="){Ee=F();let[et,ze]=y(Y,le);Pe=et,pe=ze}let Ne;return Ne=T({Type:"LocalVarStat",VarList:q,ExprList:Pe,Token_Local:ne,Token_Equals:Ee,Token_VarCommaList:ce,Token_ExprCommaList:pe,GetFirstToken:()=>Ne.Token_Local,GetLastToken:function(){return Ne.ExprList.length>0?Ne.ExprList[Ne.ExprList.length-1].GetLastToken():Ne.VarList[Ne.VarList.length-1]}}),Ne}else throw"`function` or ident expected"}function dt(Y,le){let ne=F(),q,ce;U()||$().Source==";"?(q=[],ce=[]):[q,ce]=y(Y,le);let Pe;return Pe={Type:"ReturnStat",ExprList:q,Token_Return:ne,Token_CommaList:ce,GetFirstToken:()=>Pe.Token_Return,GetLastToken:function(){return Pe.ExprList.length>0?Pe.ExprList[Pe.ExprList.length-1].GetLastToken():Pe.Token_Return}},Pe}function Ht(Y,le){let ne=F(),q;return q={Type:"BreakStat",Token_Break:ne,GetFirstToken:()=>q.Token_Break,GetLastToken:()=>q.Token_Break},q}function nt(Y,le){let ne=F(),q;return q={Type:"ContinueStat",Token_Continue:ne,GetFirstToken:()=>q.Token_Continue,GetLastToken:()=>q.Token_Continue},q}function Qe(Y,le){let ne=$();return ne.Source=="if"?[!1,ue(Y,le)]:ne.Source=="while"?[!1,ve(Y,le)]:ne.Source=="do"?[!1,ye(Y,le)]:ne.Source=="for"?[!1,Ie(Y,le)]:ne.Source=="repeat"?[!1,je(Y,le)]:ne.Source=="function"?[!1,J(!1,Y,le)]:ne.Source=="local"?[!1,it(Y,le)]:ne.Source=="return"?[!0,dt(Y,le)]:ne.Source=="break"?[!0,Ht()]:ne.Source=="continue"?[!0,nt()]:[!1,te(Y,le)]}return c=function(Y,le){let ne=[],q=[],ce={},Pe={};if(le!=null)for(let[ze,qe]of Object.entries(le))Pe[ze]=qe;if(Y!=null)for(let[ze,qe]of Object.entries(Y))Pe[ze]=qe;let pe,Ee=0;for(;!U();){pe&&pe==$()&&e(`INFINITE LOOP POSSIBLE ON STATEMENT ${pe.Source} :`,pe),pe=$();let[ze,qe]=Qe(ce,Pe);if(qe)switch(ne.push(qe),qe.Type){case"LocalVarStat":qe.VarList.forEach(Ve=>{Ve.UseCount=0,Ve.Number=Ee++,ce[Ve.Source]=Ve;let It=[];function os(){Ve.UseCount++,It.forEach(mt=>{mt.UseCount=Ve.UseCount})}Ve.Tokens={},Ve.Tokens.push=mt=>{mt.UseCountIncrease=os,mt.UseCount=Ve.UseCount,mt.Tokens=Ve.Tokens,It.push(mt)},Ve.Tokens.get=()=>It,Ve.UseCountIncrease=os});break;case"LocalFunctionStat":let Fs=qe.FunctionStat.NameChain;if(Fs.length===1){let os=function(){Ve.UseCount++,It.forEach(mt=>{mt.UseCount=Ve.UseCount})};var et=os;let Ve=Fs[0];Ve.UseCount=0,Ve.Number=Ee++,ce[Ve.Source]=Ve;let It=[];Ve.Tokens={},Ve.Tokens.push=mt=>{mt.UseCountIncrease=os,mt.UseCount=Ve.UseCount,mt.Tokens=Ve.Tokens,It.push(mt)},Ve.Tokens.get=()=>It,Ve.UseCountIncrease=os}break}let as=$();as.Type=="Symbol"&&as.Source==";"&&(q[ne.length-1]=F())}let Ne;return Ne={Type:"StatList",StatementList:ne,SemicolonList:q,GetFirstToken:function(){var ze;if(Ne.StatementList.length!=0)return(ze=Ne.StatementList[0])==null?void 0:ze.GetFirstToken()},GetLastToken:function(){if(Ne.StatementList.length!=0)return Ne.SemicolonList[Ne.StatementList.length-1]?Ne.SemicolonList[Ne.StatementList.length-1]:Ne.StatementList[Ne.StatementList.length-1].GetLastToken()}},Ne},c([],[])}function he(ee,G){let M={BinopExpr:!0,UnopExpr:!0,NumberLiteral:!0,StringLiteral:!0,NilLiteral:!0,BooleanLiteral:!0,VargLiteral:!0,HashLiteral:!0,FieldExpr:!0,IndexExpr:!0,MethodExpr:!0,CallExpr:!0,FunctionLiteral:!0,VariableExpr:!0,ParenExpr:!0,TableLiteral:!0},F={StatList:!0,BreakStat:!0,ContinueStat:!0,ReturnStat:!0,LocalVarStat:!0,LocalFunctionStat:!0,FunctionStat:!0,RepeatStat:!0,GenericForStat:!0,NumericForStat:!0,WhileStat:!0,DoStat:!0,IfStat:!0,CallExprStat:!0,AssignmentStat:!0,CompoundStat:!0};for(var[$,H]of Object.entries(G))if(!F[$]&&!M[$])throw`Invalid visitor target: \`${$}\``;function f(d){if(d!=null){let T=G[d.Type];if(typeof T=="function")return T(d);if(T&&T.Pre)return T.Pre(d)}}function U(d){let T=G[d.Type];if(T&&typeof T=="object"&&T.Post)return T.Post(d)}let R,O;R=function(d){if(!f(d)){if(d.Type=="BinopExpr")R(d.Lhs),R(d.Rhs);else if(d.Type=="UnopExpr")R(d.Rhs);else if(!(d.Type=="NumberLiteral"||d.Type=="StringLiteral"||d.Type=="NilLiteral"||d.Type=="BooleanLiteral"||d.Type=="VargLiteral"||d.Type=="HashLiteral")){if(d.Type=="FieldExpr")R(d.Base);else if(d.Type=="IndexExpr")R(d.Base),R(d.Index);else if(d.Type=="MethodExpr"||d.Type=="CallExpr")R(d.Base),d.FunctionArguments.CallType=="ArgCall"?d.FunctionArguments.ArgList.forEach((T,c)=>{R(T)}):d.FunctionArguments.CallType=="TableCall"&&R(d.FunctionArguments.TableExpr);else if(d.Type=="FunctionLiteral")O(d.Body);else if(d.Type!="VariableExpr")if(d.Type=="ParenExpr")R(d.Expression);else if(d.Type=="TableLiteral")d.EntryList.forEach((T,c)=>{if(T.EntryType=="Field")R(T.Value);else if(T.EntryType=="Index")R(T.Index),R(T.Value);else if(T.EntryType=="Value")R(T.Value);else throw"unreachable"});else if(d.Type=="CompoundStat")R(d.Lhs),R(d.Rhs);else throw`unreachable, type: ${d.Type}: ${d}`}U(d)}},O=function(d){if(!f(d)){if(d.Type=="StatList")d.StatementList.forEach((T,c)=>{if(T!=null){if(T===null||T.Type===null)return;T.Remove=()=>{d.StatementList[c]=null},O(T)}});else if(d.Type!="BreakStat"){if(d.Type!="ContinueStat")if(d.Type=="ReturnStat")d.ExprList.forEach((T,c)=>{R(T)});else if(d.Type=="LocalVarStat")d.Token_Equals&&d.ExprList.forEach((T,c)=>{R(T)});else if(d.Type=="LocalFunctionStat")O(d.FunctionStat.Body);else if(d.Type=="FunctionStat")O(d.Body);else if(d.Type=="RepeatStat")O(d.Body),R(d.Condition);else if(d.Type=="GenericForStat")d.GeneratorList.forEach((T,c)=>{R(T)}),O(d.Body);else if(d.Type=="NumericForStat")d.RangeList.forEach((T,c)=>{R(T)}),O(d.Body);else if(d.Type=="WhileStat")R(d.Condition),O(d.Body);else if(d.Type=="DoStat")O(d.Body);else if(d.Type=="IfStat")R(d.Condition),O(d.Body),d.ElseClauseList.forEach(T=>{T.Condition!=null&&R(T.Condition),O(T.Body)});else if(d.Type=="CallExprStat")R(d.Expression);else if(d.Type=="CompoundStat")R(d.Lhs),R(d.Rhs);else if(d.Type=="AssignmentStat")d.Lhs.forEach(T=>{R(T)}),d.Rhs.forEach(T=>{R(T)});else throw"unreachable"}U(d)}},F[ee.Type]?O(ee):R(ee)}function fe(ee){let G=[],M,F=0;function $(){return F++,F}function H(){M={ParentScope:M,ChildScopeList:[],VariableList:[],BeginLocation:$(),Depth:null,GetVar:null},M.ParentScope?(M.Depth=M.ParentScope.Depth+1,M.ParentScope.ChildScopeList.push(M)):M.Depth=1;let p=M;M.GetVar=function(y){for(const x of p.VariableList)if(x.Name==y)return x;if(p.ParentScope)return p.ParentScope.GetVar(y);for(const x of G)if(x.Name==y)return x}}function f(){let p=M;return p.EndLocation=$(),p.VariableList.forEach(y=>{y.ScopeEndLocation=p.EndLocation}),M=p.ParentScope,p}H();function U(p,y,x){s(x,"MIssing localInfo"),s(p,"Missing local var name");let w={Type:"Local",Name:p,RenameList:[y],AssignedTo:!1,Info:x,Scope:M,BeginLocation:$(),EndLocation:$(),ReferenceLocationList:[$()]};return w.Rename=function(X){w.Name=X,w.RenameList.forEach(K=>{K(X)})},M.VariableList.push(w),w}function R(p){for(const x of G)if(x.Name==p)return x;let y={Type:"Global",Name:p,RenameList:[],AssignedTo:!1,Scope:null,BeginLocation:$(),EndLocation:$(),ReferenceLocationList:[]};return y.Rename=function(x){y.Name=x,y.RenameList.forEach(w=>{w(x)})},G.push(y),y}function O(p,y){s(p,"Missing var name");let x=R(p);return x.RenameList.push(y),x}function d(p,y){let x;for(x=p.VariableList.length-1;x>=0;x--)if(p.VariableList[x].Name==y)return p.VariableList[x];if(p.ParentScope){let w=d(p.ParentScope,y);if(w)return w}}function T(p,y){s(p,"Missing var name");let x=d(M,p);x?x.RenameList.push(y):x=O(p,y);let w=$();return x.EndLocation=w,x.ReferenceLocationList.push(x.EndLocation),x}let c={};return c.FunctionLiteral={Pre:function(p){H(),p.ArgList.forEach((y,x)=>{let w=U(y.Source,function(X,K){K||(y.Source=X)},{Type:"Argument",Index:x});y.var=w})},Post:function(p){f()}},c.VariableExpr=function(p){p.Variable=T(p.Token.Source,function(y){p.Token.Source=y})},c.StatList={Pre:function(p){H()},Post:function(p){p.SkipPop||f()}},c.LocalVarStat={Post:function(p){p.VarList.forEach((y,x)=>{U(y.Source,function(w){p.VarList[x].Source=w},{Type:"Local"})})}},c.LocalFunctionStat={Pre:function(p){U(p.FunctionStat.NameChain[0].Source,function(y){p.FunctionStat.NameChain[0].Source=y},{Type:"LocalFunction"}),H(),p.FunctionStat.ArgList.forEach((y,x)=>{U(y.Source,function(w){y.Source=w},{Type:"Argument",Index:x})})},Post:function(){f()}},c.FunctionStat={Pre:function(p){let y=p.NameChain,x;y.length==1?d(M,y[0].Source)?x=T(y[0].Source,function(w){y[0].Source=w}):x=O(y[0].Source,function(w){y[0].Source=w}):x=T(y[0].Source,function(w){y[0].Source=w}),x.AssignedTo=!0,H(),p.ArgList.forEach((w,X)=>{U(w.Source,function(K){w.Source=K},{Type:"Argument",Index:X})})},Post:function(){f()}},c.GenericForStat={Pre:function(p){return p.GeneratorList.forEach(y=>{he(y,c)}),H(),p.VarList.forEach((y,x)=>{U(y.Source,function(w){y.Source=w},{Type:"ForRange",Index:x})}),he(p.Body,c),f(),!0}},c.NumericForStat={Pre:function(p){return p.RangeList.forEach(y=>{he(y,c)}),H(),p.VarList.forEach((y,x)=>{U(y.Source,function(w){y.Source=w},{Type:"ForRange",Index:x})}),he(p.Body,c),f(),!0}},c.RepeatStat={Pre:function(p){p.Body.SkipPop=!0},Post:function(p){f()}},c.AssignmentStat={Post:function(p){p.Lhs.forEach(y=>{y.Variable!=null&&(y.Variable.AssignedTo=!0)})}},he(ee,c),[G,f()]}function S(ee){let G,M,F="",$=f=>typeof(f==null?void 0:f.LeadingWhite)!="string"?" ":f.LeadingWhite;function H(f){if(f.LeadingWhite==null||f.Source==null)throw`Bad token: tk=${f} | lwhite=${f.LeadingWhite} | source=${f.Source}`;F=`${F}${f.LeadingWhite}${f.Source}`}return M=function(f){if(f.Type=="BinopExpr")M(f.Lhs),H(f.Token_Op),M(f.Rhs);else if(f.Type=="UnopExpr")H(f.Token_Op),M(f.Rhs);else if(f.Type=="NumberLiteral"||f.Type=="StringLiteral"||f.Type=="NilLiteral"||f.Type=="BooleanLiteral"||f.Type=="VargLiteral"||f.Type=="HashLiteral")H(f.Token);else if(f.Type=="FieldExpr")M(f.Base),H(f.Token_Dot),H(f.Field);else if(f.Type=="IndexExpr")M(f.Base),H(f.Token_OpenBracket),M(f.Index),H(f.Token_CloseBracket);else if(f.Type=="MethodExpr"||f.Type=="CallExpr")M(f.Base),f.Type=="MethodExpr"&&(H(f.Token_Colon),H(f.Method)),f.FunctionArguments.CallType=="StringCall"?H(f.FunctionArguments.Token):f.FunctionArguments.CallType=="ArgCall"?(H(f.FunctionArguments.Token_OpenParen),f.FunctionArguments.ArgList.forEach((U,R)=>{M(U);let O=f.FunctionArguments.Token_CommaList[R];O!=null&&H(O)}),H(f.FunctionArguments.Token_CloseParen)):f.FunctionArguments.CallType=="TableCall"&&M(f.FunctionArguments.TableExpr);else if(f.Type=="FunctionLiteral")H(f.Token_Function),H(f.Token_OpenParen),f.ArgList.forEach((U,R)=>{H(U);let O=f.Token_ArgCommaList[R];O!=null&&H(O)}),f.Token_Varg!=null&&H(f.Token_Varg),H(f.Token_CloseParen),G(f.Body),H(f.Token_End);else if(f.Type=="VariableExpr")H(f.Token);else if(f.Type=="ParenExpr")H(f.Token_OpenParen),M(f.Expression),H(f.Token_CloseParen);else if(f.Type=="TableLiteral")H(f.Token_OpenBrace),f.EntryList.forEach((U,R)=>{if(U.EntryType=="Field")H(U.Field),H(U.Token_Equals),M(U.Value);else if(U.EntryType=="Index")H(U.Token_OpenBracket),M(U.Index),H(U.Token_CloseBracket),H(U.Token_Equals),M(U.Value);else if(U.EntryType=="Value")M(U.Value);else throw"unreachable";let O=f.Token_SeperatorList[R];O!=null&&H(O)}),H(f.Token_CloseBrace);else if(f.Type=="CompoundStat")G(f);else throw`unreachable, type: ${f.Type}: ${f}`},G=function(f){if(f==null)throw`STAT IS NIL! ${f}`;if(!(f.Type==="StatList"&&f.StatementList.length===0)){if(f.WrapInDo){let U=$(f.GetFirstToken());f.GetFirstToken().LeadingWhite="",F+=`${U}do `}f.Type=="StatList"?f.StatementList.forEach((U,R)=>{U===null||U.Type===null||(U.Remove=()=>{f.StatementList[R]=null},G(U),f.SemicolonList[R]&&H(f.SemicolonList[R]))}):f.Type=="BreakStat"?H(f.Token_Break):f.Type=="ContinueStat"?H(f.Token_Continue):f.Type=="ReturnStat"?(H(f.Token_Return),f.ExprList.forEach((U,R)=>{M(U),f.Token_CommaList[R]&&H(f.Token_CommaList[R])})):f.Type=="LocalVarStat"?(H(f.Token_Local),f.VarList.forEach((U,R)=>{H(U),U.Attribute!=null&&H(U.Attribute);let O=f.Token_VarCommaList[R];O!=null&&H(O)}),f.Token_Equals!=null&&(H(f.Token_Equals),f.ExprList.forEach((U,R)=>{M(U);let O=f.Token_ExprCommaList[R];O!=null&&H(O)}))):f.Type=="LocalFunctionStat"?(H(f.Token_Local),H(f.FunctionStat.Token_Function),H(f.FunctionStat.NameChain[0]),H(f.FunctionStat.Token_OpenParen),f.FunctionStat.ArgList.forEach((U,R)=>{H(U);let O=f.FunctionStat.Token_ArgCommaList[R];O!=null&&H(O)}),f.FunctionStat.Token_Varg&&H(f.FunctionStat.Token_Varg),H(f.FunctionStat.Token_CloseParen),G(f.FunctionStat.Body),H(f.FunctionStat.Token_End)):f.Type=="FunctionStat"?(H(f.Token_Function),f.NameChain.forEach((U,R)=>{H(U);let O=f.Token_NameChainSeperator[R];O!=null&&H(O)}),H(f.Token_OpenParen),f.ArgList.forEach((U,R)=>{H(U);let O=f.Token_ArgCommaList[R];O!=null&&H(O)}),f.Token_Varg&&H(f.Token_Varg),H(f.Token_CloseParen),G(f.Body),H(f.Token_End)):f.Type=="RepeatStat"?(H(f.Token_Repeat),G(f.Body),H(f.Token_Until),M(f.Condition)):f.Type=="GenericForStat"?(H(f.Token_For),f.VarList.forEach((U,R)=>{H(U);let O=f.Token_VarCommaList[R];O!=null&&H(O)}),H(f.Token_In),f.GeneratorList.forEach((U,R)=>{M(U);let O=f.Token_GeneratorCommaList[R];O!=null&&H(O)}),H(f.Token_Do),G(f.Body),H(f.Token_End)):f.Type=="NumericForStat"?(H(f.Token_For),f.VarList.forEach((U,R)=>{H(U);let O=f.Token_VarCommaList[R];O!=null&&H(O)}),H(f.Token_Equals),f.RangeList.forEach((U,R)=>{M(U);let O=f.Token_RangeCommaList[R];O!=null&&H(O)}),H(f.Token_Do),G(f.Body),H(f.Token_End)):f.Type=="WhileStat"?(H(f.Token_While),M(f.Condition),H(f.Token_Do),G(f.Body),H(f.Token_End)):f.Type=="DoStat"?(H(f.Token_Do),G(f.Body),H(f.Token_End)):f.Type=="IfStat"?(H(f.Token_If),M(f.Condition),H(f.Token_Then),G(f.Body),f.ElseClauseList.forEach(U=>{H(U.Token),U.Condition!=null&&(M(U.Condition),H(U.Token_Then)),G(U.Body)}),H(f.Token_End)):f.Type=="CallExprStat"?M(f.Expression):f.Type=="CompoundStat"?(M(f.Lhs),H(f.Token_Compound),M(f.Rhs),f.Type="CompoundStat"):f.Type=="AssignmentStat"?(f.Lhs.forEach((U,R)=>{M(U);let O=f.Token_LhsSeperatorList[R];O!=null&&H(O)}),H(f.Token_Equals),f.Rhs.forEach((U,R)=>{M(U);let O=f.Token_RhsSeperatorList[R];O!=null&&H(O)})):s(!1,"unreachable"),f.WrapInDo&&(F+=" end ")}},G(ee),F}function N(ee){let G,M,F=0;function $(c){if(c===void 0)return;let p=` +${" ".repeat(F)}`;if(c.LeadingWhite==""||c.LeadingWhite.substr(-p.length,p.length)!=p){let y="",x;for(x=c.LeadingWhite.length;x>=0;x--){let w=c.LeadingWhite.substr(x,1);if(!(w==""||w.match(/\s/g))){y=c.LeadingWhite.substr(0,x+1);break}}c.LeadingWhite=`${y}${p}`}}function H(){F++}function f(){F--,s(F>=0,"Undented too far")}function U(c){return c.LeadingWhite.length>0?c.LeadingWhite.substr(0,1):c.Source.toString().substr(0,1)}function R(c){c.LeadingWhite=c.LeadingWhite.trim()}function O(c){R(c),n.includes(U(c))||(c.LeadingWhite=" "+c.LeadingWhite)}function d(c){O(c.GetFirstToken())}function T(c,p,y){H(),G(p),f(),$(y)}M=function(c){if(c.Type=="BinopExpr")M(c.Lhs),M(c.Rhs),d(c.Rhs),O(c.Token_Op);else if(c.Type=="UnopExpr")R(c.Token_Op),M(c.Rhs),c.Token_Op.Source[0]&&O(c.Rhs.GetFirstToken());else if(c.Type=="NumberLiteral"||c.Type=="StringLiteral"||c.Type=="NilLiteral"||c.Type=="BooleanLiteral"||c.Type=="VargLiteral"||c.Type=="HashLiteral")R(c.Token),c.Type=="HashLiteral"&&(c.Token.Source='"'+t(`${c.Token.Source.substring(1,c.Token.Source.length-1)}`)+'"',c.Type="StringLiteral",c.Token.Type="String");else if(c.Type=="FieldExpr")M(c.Base);else if(c.Type=="IndexExpr")M(c.Base),M(c.Index);else if(c.Type=="MethodExpr"||c.Type=="CallExpr")M(c.Base),R(c.FunctionArguments.GetFirstToken()),R(c.FunctionArguments.GetLastToken()),c.Type=="MethodExpr",c.FunctionArguments.CallType=="StringCall"||(c.FunctionArguments.CallType=="ArgCall"?c.FunctionArguments.ArgList.forEach((p,y)=>{M(p),y>0&&d(p);let x=c.FunctionArguments.Token_CommaList[y];x!=null&&R(x)}):c.FunctionArguments.CallType=="TableCall"&&M(c.FunctionArguments.TableExpr));else if(c.Type=="FunctionLiteral")c.ArgList.forEach((p,y)=>{y>0&&O(p),c.Token_ArgCommaList[y]}),c.ArgList.length>0&&c.Token_Varg!=null&&O(c.Token_Varg),T(c.Token_CloseParen,c.Body,c.Token_End);else if(c.Type!="VariableExpr")if(c.Type=="ParenExpr")R(c.Token_OpenParen),R(c.Token_CloseParen),M(c.Expression);else if(c.Type=="TableLiteral"){if(c.EntryList.length!=0){H();let p=100;c.EntryList.forEach((y,x)=>{y.EntryType=="Field"?(c.EntryList.length>p?oe(y.Value):$(y.Field),O(y.Token_Equals),M(y.Value),d(y.Value)):y.EntryType=="Index"?(c.EntryList.length>p?R(y.Token_OpenBracket):$(y.Token_OpenBracket),M(y.Index),O(y.Token_Equals),M(y.Value),d(y.Value)):y.EntryType=="Value"?(M(y.Value),c.EntryList.length>p?oe(y.Value):$(y.Value.GetFirstToken())):s(!1,"unreachable");let w=c.Token_SeperatorList[x];w!=null&&(c.EntryList.length>p?w.LeadingWhite="":R(w))}),f(),c.EntryList.length>p?c.Token_CloseBrace.LeadingWhite="":$(c.Token_CloseBrace)}}else if(c.Type=="CompoundStat")G(c);else throw e(c),`unreachable, type: ${c.Type}:`+c},G=function(c){if(c.Type=="StatList")c.StatementList.forEach((p,y)=>{p===null||p.Type===null||p.Type==="StatList"&&p.StatementList.length===0||(p.Remove=()=>{p.StatementList[y]=null},G(p),$(p.GetFirstToken()))});else if(c.Type!="BreakStat"){if(c.Type!="ContinueStat")if(c.Type=="ReturnStat")c.ExprList.forEach((p,y)=>{M(p),d(p),c.Token_CommaList[y]});else if(c.Type=="LocalVarStat"){if(c.VarList.forEach((p,y)=>{O(p),p.Attribute&&(p.Attribute.LeadingWhite=" "),c.Token_VarCommaList[y]}),c.Token_Equals){R(c.Token_Equals),O(c.Token_Equals);let p=[],y=[];c.ExprList.forEach((x,w)=>{x!=null&&(w{x!=null&&(M(x),d(x),c.Token_ExprCommaList[w]!=null&&c.ExprList.length-1==w&&(c.Token_ExprCommaList[w]=null))})}}else if(c.Type=="LocalFunctionStat")O(c.FunctionStat.Token_Function),O(c.FunctionStat.NameChain[0]),c.FunctionStat.ArgList.forEach((p,y)=>{y>0?O(p):R(p);let x=c.FunctionStat.Token_ArgCommaList[y];x&&R(x)}),c.FunctionStat.ArgList.length>0&&c.FunctionStat.Token_Varg?(R(c.FunctionStat.Token_Varg),O(c.FunctionStat.Token_Varg)):c.FunctionStat.Token_Varg&&R(c.FunctionStat.Token_Varg),R(c.FunctionStat.Token_OpenParen),R(c.FunctionStat.Token_CloseParen),T(c.FunctionStat.Token_CloseParen,c.FunctionStat.Body,c.FunctionStat.Token_End);else if(c.Type=="FunctionStat")c.NameChain.forEach((p,y)=>{y==0&&O(p),c.Token_NameChainSeperator[y]}),c.ArgList.forEach((p,y)=>{y>0&&O(p),c.Token_ArgCommaList[y]}),c.ArgList.length>0&&c.Token_Varg&&O(c.Token_Varg),T(c.Token_CloseParen,c.Body,c.Token_End);else if(c.Type=="RepeatStat")T(c.Token_Repeat,c.Body,c.Token_Until),M(c.Condition),d(c.Condition);else if(c.Type=="GenericForStat")c.VarList.forEach((p,y)=>{O(p),c.Token_VarCommaList[y]}),O(c.Token_In),c.GeneratorList.forEach((p,y)=>{M(p),d(p),c.Token_GeneratorCommaList[y]}),O(c.Token_Do),T(c.Token_Do,c.Body,c.Token_End);else if(c.Type=="NumericForStat")c.VarList.forEach((p,y)=>{O(p),c.Token_VarCommaList[y]}),O(c.Token_Equals),c.RangeList.forEach((p,y)=>{M(p),d(p),c.Token_RangeCommaList[y]}),O(c.Token_Do),T(c.Token_Do,c.Body,c.Token_End);else if(c.Type=="WhileStat")M(c.Condition),d(c.Condition),O(c.Token_Do),T(c.Token_Do,c.Body,c.Token_End);else if(c.Type=="DoStat")T(c.Token_Do,c.Body,c.Token_End);else if(c.Type=="IfStat"){M(c.Condition),d(c.Condition),O(c.Token_Then);let p=c.Token_Then,y=c.Body;c.ElseClauseList.forEach(x=>{T(p,y,x.Token),p=x.Token,x.Condition!=null&&(M(x.Condition),d(x.Condition),O(x.Token_Then),p=x.Token_Then),y=x.Body}),T(p,y,c.Token_End)}else c.Type=="CallExprStat"?M(c.Expression):c.Type=="CompoundStat"?(M(c.Lhs),M(c.Rhs),d(c.Lhs),d(c.Rhs),O(c.Token_Compound)):c.Type=="AssignmentStat"?(c.Lhs.forEach((p,y)=>{M(p),y>0&&d(p),c.Token_LhsSeperatorList[y]}),O(c.Token_Equals),c.Rhs.forEach((p,y)=>{M(p),d(p),c.Token_RhsSeperatorList[y]})):s(!1,"Unreachable")}},G(ee)}function oe(ee){let G,M;function F(f){f&&(f.LeadingWhite="")}function $(f,U,R=!1){F(U);let O=(typeof f.Source=="string"?f.Source:f.Source.toString()).substr(f.Source.length-1,1),d=(typeof U.Source=="string"?U.Source:U.Source.toString()).substr(0,1);O=="-"&&d=="-"||h.includes(O)&&h.includes(d)||R&&O==")"&&d=="("?U.LeadingWhite=R?";":" ":U.LeadingWhite=""}function H(f,U,R){G(U),F(R);let O=U.GetFirstToken(),d=U.GetLastToken();O!=null?($(f,O),$(d,R)):$(f,R)}M=function(f){if(f.Type==="BinopExpr")M(f.Lhs),M(f.Rhs),f.Lhs.Type=="NumberLiteral"&&f.Token_Op.Source==".."?f.Token_Op.LeadingWhite=" ":(F(f.Token_Op),$(f.Lhs.GetLastToken(),f.Token_Op)),$(f.Token_Op,f.Rhs.GetFirstToken());else if(f.Type==="UnopExpr")F(f.Token_Op),M(f.Rhs),$(f.Token_Op,f.Rhs.GetFirstToken());else if(f.Type==="NumberLiteral"||f.Type==="StringLiteral"||f.Type==="NilLiteral"||f.Type==="BooleanLiteral"||f.Type==="VargLiteral"||f.Type==="HashLiteral")F(f.Token);else if(f.Type=="FieldExpr")M(f.Base),F(f.Token_Dot),F(f.Field);else if(f.Type=="IndexExpr")M(f.Base),F(f.Token_OpenBracket),M(f.Index),F(f.Token_CloseBracket);else if(f.Type=="MethodExpr"||f.Type=="CallExpr")M(f.Base),f.Type=="MethodExpr"&&(F(f.Token_Colon),F(f.Method)),f.FunctionArguments.CallType=="StringCall"?F(f.FunctionArguments.Token):f.FunctionArguments.CallType=="ArgCall"?(F(f.FunctionArguments.Token_OpenParen),f.FunctionArguments.ArgList.forEach((U,R)=>{M(U);let O=f.FunctionArguments.Token_CommaList[R];O!=null&&F(O)}),F(f.FunctionArguments.Token_CloseParen)):f.FunctionArguments.CallType=="TableCall"&&M(f.FunctionArguments.TableExpr);else if(f.Type=="FunctionLiteral")F(f.Token_Function),F(f.Token_OpenParen),f.ArgList.forEach((U,R)=>{F(U);let O=f.Token_ArgCommaList[R];O!=null&&F(O)}),f.Token_Varg!=null&&F(f.Token_Varg),F(f.Token_CloseParen),H(f.Token_CloseParen,f.Body,f.Token_End);else if(f.Type=="VariableExpr")F(f.Token);else if(f.Type=="ParenExpr")F(f.Token_OpenParen),M(f.Expression),F(f.Token_CloseParen);else if(f.Type=="TableLiteral")F(f.Token_OpenBrace),f.EntryList.forEach((U,R)=>{U.EntryType=="Field"?(F(U.Field),F(U.Token_Equals),M(U.Value)):U.EntryType=="Index"?(F(U.Token_OpenBracket),M(U.Index),F(U.Token_CloseBracket),F(U.Token_Equals),M(U.Value)):U.EntryType=="Value"?M(U.Value):s(!1,"unreachable");let O=f.Token_SeperatorList[R];O!=null&&F(O)}),f.Token_SeperatorList[f.EntryList.length-1]=null,F(f.Token_CloseBrace);else throw`unreachable, type: ${f.Type}:${f} ${console.trace()}`},G=function(f){if(f.Type=="StatList"){let U;for(U=0;U<=f.StatementList.length;U++){let R=f.StatementList[U];if(R==null)continue;G(R),F(R.GetFirstToken());let O=f.StatementList[U-1];if(O!=null){let d={")":["(","["],"]":["(","["]};if(f.SemicolonList[U-1]){let T=O.GetLastToken().Source,c=R.GetFirstToken().Source;(d[T]===null||d[T]===void 0||!d[T].includes(c))&&(f.SemicolonList[U-1]=null)}f.SemicolonList[U-1]||$(O.GetLastToken(),R.GetFirstToken(),!0)}}f.SemicolonList[f.StatementList.length-1]=null,f.StatementList.length>0&&F(f.StatementList[0].GetFirstToken())}else if(f.Type=="BreakStat")F(f.Token_Break);else if(f.Type=="ContinueStat")F(f.Token_Continue);else if(f.Type=="ReturnStat")F(f.Token_Return),f.ExprList.forEach((U,R)=>{M(U),f.Token_CommaList[R]!=null&&F(f.Token_CommaList[R])}),f.ExprList.length>0&&$(f.Token_Return,f.ExprList[0].GetFirstToken());else if(f.Type=="LocalVarStat"){F(f.Token_Local);let U=!1;f.VarList.forEach((R,O)=>{O==0?$(f.Token_Local,R):F(R),R.Attribute&&(F(R.Attribute),O+1==f.VarList.length&&(U=!0));let d=f.Token_VarCommaList[O];d!=null&&F(d)}),f.Token_Equals!=null&&(U||F(f.Token_Equals),f.ExprList.forEach((R,O)=>{M(R);let d=f.Token_ExprCommaList[O];d!=null&&F(d)}))}else if(f.Type=="LocalFunctionStat")F(f.Token_Local),$(f.Token_Local,f.FunctionStat.Token_Function),$(f.FunctionStat.Token_Function,f.FunctionStat.NameChain[0]),$(f.FunctionStat.NameChain[0],f.FunctionStat.Token_OpenParen),f.FunctionStat.ArgList.forEach((U,R)=>{F(U);let O=f.FunctionStat.Token_ArgCommaList[R];O!=null&&F(O)}),f.FunctionStat.Token_Varg&&F(f.FunctionStat.Token_Varg),F(f.FunctionStat.Token_CloseParen),H(f.FunctionStat.Token_CloseParen,f.FunctionStat.Body,f.FunctionStat.Token_End);else if(f.Type=="FunctionStat")F(f.Token_Function),f.NameChain.forEach((U,R)=>{R==0?$(f.Token_Function,U):F(U);let O=f.Token_NameChainSeperator[R];O!=null&&F(O)}),F(f.Token_OpenParen),f.ArgList.forEach((U,R)=>{F(U);let O=f.Token_ArgCommaList[R];O!=null&&F(O)}),f.Token_Varg&&F(f.Token_Varg),F(f.Token_CloseParen),H(f.Token_CloseParen,f.Body,f.Token_End);else if(f.Type=="RepeatStat")F(f.Token_Repeat),H(f.Token_Repeat,f.Body,f.Token_Until),M(f.Condition),$(f.Token_Until,f.Condition.GetFirstToken());else if(f.Type=="GenericForStat")F(f.Token_For),f.VarList.forEach((U,R)=>{R==0?$(f.Token_For,U):F(U);let O=f.Token_VarCommaList[R];O!=null&&F(O)}),$(f.VarList[f.VarList.length-1],f.Token_In),f.GeneratorList.forEach((U,R)=>{M(U),R==0&&$(f.Token_In,U.GetFirstToken());let O=f.Token_GeneratorCommaList[R];O!=null&&F(O)}),$(f.GeneratorList[f.GeneratorList.length-1].GetLastToken(),f.Token_Do),H(f.Token_Do,f.Body,f.Token_End);else if(f.Type=="NumericForStat")F(f.Token_For),f.VarList.forEach((U,R)=>{R==0?$(f.Token_For,U):F(U);let O=f.Token_VarCommaList[R];O!=null&&F(O)}),$(f.VarList[f.VarList.length-1],f.Token_Equals),f.RangeList.forEach((U,R)=>{M(U),R==0&&$(f.Token_Equals,U.GetFirstToken());let O=f.Token_RangeCommaList[R];O!=null&&F(O)}),$(f.RangeList[f.RangeList.length-1].GetLastToken(),f.Token_Do),H(f.Token_Do,f.Body,f.Token_End);else if(f.Type=="WhileStat")F(f.Token_While),M(f.Condition),F(f.Token_Do),$(f.Token_While,f.Condition.GetFirstToken()),$(f.Condition.GetLastToken(),f.Token_Do),H(f.Token_Do,f.Body,f.Token_End);else if(f.Type=="DoStat")F(f.Token_Do),F(f.Token_End),H(f.Token_Do,f.Body,f.Token_End);else if(f.Type=="IfStat"){F(f.Token_If),M(f.Condition),$(f.Token_If,f.Condition.GetFirstToken()),$(f.Condition.GetLastToken(),f.Token_Then);let U=f.Token_Then,R=f.Body;f.ElseClauseList.forEach((O,d)=>{H(U,R,O.Token),U=O.Token,O.Condition!=null&&(M(O.Condition),$(O.Token,O.Condition.GetFirstToken()),$(O.Condition.GetLastToken(),O.Token_Then),U=O.Token_Then),G(O.Body),R=O.Body}),H(U,R,f.Token_End)}else if(f.Type=="CallExprStat")M(f.Expression);else if(f.Type=="CompoundStat")M(f.Lhs),F(f.Token_Compound),M(f.Rhs),$(f.Lhs.GetLastToken(),f.Token_Compound),$(f.Token_Compound,f.Rhs.GetFirstToken());else if(f.Type=="AssignmentStat")f.Lhs.forEach((U,R)=>{M(U);let O=f.Token_LhsSeperatorList[R];O!=null&&F(O)}),F(f.Token_Equals),f.Rhs.forEach((U,R)=>{M(U);let O=f.Token_RhsSeperatorList[R];O!=null&&F(O)});else return M(f)},G(ee)}function ie(ee){let G,M,F={NumberLiteral:!0,BooleanLiteral:!0,StringLiteral:!0,HashLiteral:!0,NilLiteral:!0,TableLiteral:!0,ParenExpr:!0,BinopExpr:!0};function $(c,p,y=null){let x;return x={Type:c,Token:{Type:y==null?"Number":y,LeadingWhite:"",Source:p},GetFirstToken:()=>x.Token,GetLastToken:()=>x.Token},x}function H(c,p,y){let x;return x={Type:"BinopExpr",Token_Op:{Type:"Symbol",LeadingWhite:"",Source:c},Lhs:p,Rhs:y,GetFirstToken:()=>x.Lhs.GetFirstToken(),GetLastToken:()=>x.Rhs.GetLastToken()},x}function f(c,p){let y;return y={Type:"UnopExpr",Token_Op:{Type:"Symbol",LeadingWhite:"",Source:c},Rhs:p,GetFirstToken:()=>y.Token_Op,GetLastToken:()=>y.Rhs.GetLastToken()},y}function U(c,p){if(p!=null)for(var[y,x]of Object.entries(p))c[y]=x}function R(c){if(c==null||c.substr==null)return;let p=c.substr(0,1),y;if((p=='"'||p=="'")&&(y=c.substr(1,c.length-2)),p=="["){let X=0,K=1;for(;c.substr(K,1)=="=";)X++,K++;y=c.substr(2+X,c.length-4-X-2)}if(y==null)return"";let x="",w;for(w=0;w<=y.length;w++){let X=y.substr(w,1);X=="'"||X=='"'?x+=`\\${X}`:x+=X}return x}function O(c){if(typeof c=="object"&&c.Type=="ParenExpr")return U(c,c.Expression)}function d(c,p,y){let x=p,w=y;if(p&&p.Type=="ParenExpr"&&(x=p.Expression),y&&y.Type=="ParenExpr"&&(w=y.Expression),x==null||w==null||x.Type==null||w.Type==null||x.Type=="VariableExpr"||x.Type=="CallExpr"||x.Type=="BinopExpr"||w.Type=="CallExpr"||w.Type=="BinopExpr"||w.Type=="VariableExpr")return;let X=x.Token||x.Expression!=null&&x.Expression.Token||null,K=w.Token||w.Expression!=null&&w.Expression.Token||null,J=X!=null?X.Source:null,Se=K!=null?K.Source:null,re,ae;if(x.Type=="BooleanLiteral"&&(re=J=="true"),w.Type=="BooleanLiteral"&&(ae=Se=="true"),!(x.Type=="NumberLiteral"&&(re=r(J),re==null))&&!(w.Type=="NumberLiteral"&&(ae=r(Se),ae==null))&&((x.Type=="StringLiteral"||x.Type=="HashLiteral")&&(re=J.toString()),(w.Type=="StringLiteral"||w.Type=="HashLiteral")&&(ae=Se.toString()),re!=null&&ae!=null)){if(c=="==")return re==ae;if(c=="~=")return re!=ae;if(c=="and")return re&&ae;if(c=="or")return re||ae;if(c==".."&&x.Type=="StringLiteral"&&w.Type=="StringLiteral")return`"${R(J)+R(Se)}"`;if(x.Type=="StringLiteral"&&(re=r(R(re))),w.Type=="StringLiteral"&&(ae=r(R(ae))),re==null||ae==null)return;let xe;if(c=="+"&&(xe=re+ae),c=="-"&&(xe=re-ae),c=="*"&&(xe=re*ae),c=="/"&&(xe=re/ae),c=="^"&&(xe=re**ae),c=="%"&&(xe=re%ae),c==">"&&(xe=re>ae),c=="<"&&(xe=re="&&(xe=re>=ae),c=="<="&&(xe=re<=ae),xe==!1||xe==!0||isFinite(xe)&&xe>-(10**6)&&xe<10**6)return xe}}function T(c,p){let y=p.Token||p.Expression||p.EntryList||p;if(y==null||y.Source==null&&p.Type!="TableLiteral"||p.Type=="VariableExpr"||p.Type=="CallExpr"||p.Type=="BinopExpr")return;let x=y.Source,w;if(p.Type=="TableLiteral"&&y!=null){let X=[],K=0,J=!1,Se=!1,re=0;if(y.forEach((ae,xe)=>{if(J)X.push(ae);else if(ae.EntryType=="Value"||ae.EntryType=="Index")if((ae.Index==null||ae.Index.Type=="NumberLiteral")&&ae.Value){if((ae.Index!=null&&ae.Index.Token!=null&&ae.Index.Token.Source!==null?ae.Index.Token.Source:re+1).toString()!==(++re).toString())return J=!0,Se=!0,X.push(ae);ae.Value.Type!="CallExpr"?K++:(J=!0,X.push(ae))}else X.push(ae)}),Se)return;if(c=="#")return p.EntryList=X,p.EntryList.length<=0?$("NumberLiteral",K!==null?K:p.EntryList.length):K<=0?f("#",p):H("+",$("NumberLiteral",K),f("#",p))}if(p.Type=="BooleanLiteral"&&(w=x=="true"),!(p.Type=="NumberLiteral"&&(w=r(x),w===null))){if(p.Type=="StringLiteral"&&(w=x.substr(1,x.length-2)),c=="not"&&p.Type!==null)return p.Type=="NilLiteral"||p.Type=="BooleanLiteral"&&w===!1;if(w!=null){if(c=="#")return w.length;if(c=="-")return-w}}}M=function(c){if(c.Type=="BinopExpr"){if(M(c.Lhs),M(c.Rhs),c.Lhs!=null&&c.Rhs!=null){let p=c.Token_Op;if(p!=null&&p.Source!=null){let y=d(p.Source,c.Lhs,c.Rhs);if(y!=null){if(typeof y=="boolean"){let x=$("BooleanLiteral",y.toString(),"Keyword");U(c,x);return}else if(typeof y=="number"){if(isFinite(y)==!0){let x=$("NumberLiteral",y.toString(),"Number");U(c,x);return}}else if(typeof y=="string"){let x=$("StringLiteral",y,"String");U(c,x);return}else if(typeof y=="object"){U(c,y);return}return}}if(c.Lhs.Type=="ParenExpr"){let x=c.Lhs.Expression;x.Type=="NumberLiteral"||x.Type=="StringLiteral"||x.Type=="NilLiteral"||x.Type=="BooleanLiteral"||x.Type=="HashLiteral"}if(c.Rhs.Type=="ParenExpr"){let x=c.Rhs.Expression;x.Type=="NumberLiteral"||x.Type=="StringLiteral"||x.Type=="NilLiteral"||x.Type=="BooleanLiteral"||x.Type=="HashLiteral"}}}else if(c.Type=="UnopExpr"){if(M(c.Rhs),c.Rhs!=null&&F[c.Rhs.Type]==!0){let p=c.Token_Op;if(p!=null&&p.Source!=null){let y=c.Rhs.Expression!=null?c.Rhs.Expression:c.Rhs,x=T(p.Source,y);if(x!=null){if(typeof x=="boolean"){let w=$("BooleanLiteral",x.toString(),"Keyword");U(c,w);return}else if(typeof x=="number"){if(isFinite(x)==!0){let w=$("NumberLiteral",x,"Number");U(c,w);return}}else if(typeof x=="string"){let w=$("StringLiteral",x,"String");U(c,w);return}else if(typeof x=="object"){U(c,x);return}return}}}}else if(c.Type=="NumberLiteral"||c.Type=="StringLiteral"||c.Type=="NilLiteral"||c.Type=="BooleanLiteral"||c.Type=="VargLiteral"||c.Type=="HashLiteral"){let p=c.Token;if(p!=null){if(p.Type=="Number"){let y=p.Source.toString().split("e");if(y.length===2){let x=r(y[0]),w=r(y[1]);isFinite(x)&&isFinite(w)&&x**w<999999999&&!p.Source.includes("+")&&!!p.Source.includes(".")&&!p.Source.includes("-")&&(p.Source=(x**w).toString())}}p.Type=="String"&&(p.Source=p.Source.replace(/\\\d+/gi,y=>{let x=r(y.substr(1,y.length-1));return x&&isFinite(x)&&(x>=97&&x<=122||x>=65&&x<=90||x>=33&&x<=47||x>=58&&x<=64||x>=91&&x<=96||x>=123&&x<=126)&&x!==34&&x!==39&&x!==92?String.fromCharCode(x):y}))}}else if(c.Type=="FieldExpr")M(c.Base);else if(c.Type=="IndexExpr")M(c.Base),M(c.Index);else if(c.Type=="MethodExpr"||c.Type=="CallExpr"){if(M(c.Base),c.FunctionArguments.CallType=="ArgCall"?c.FunctionArguments.ArgList.forEach((p,y)=>{M(p)}):c.FunctionArguments.CallType=="TableCall"&&M(c.FunctionArguments.TableExpr),c.Base.Type==="ParenExpr"&&c.Base.Expression.Type==="FunctionLiteral"&&c.FunctionArguments.CallType==="ArgCall"){let p=c.Base.Expression;c.FunctionArguments.ArgList.forEach((y,x)=>{let w=c.FunctionArguments.ArgList[x];if(w!==void 0&&(w.Type=="NumberLiteral"||w.Type=="StringLiteral"||w.Type=="NilLiteral"||w.Type=="BooleanLiteral"||w.Type=="HashLiteral")){let X=p.ArgList[x];X&&X.var.RenameList.forEach(K=>{K(w.Token.Source,!0)})}})}}else if(c.Type=="FunctionLiteral")G(c.Body);else if(c.Type!="VariableExpr")if(c.Type=="ParenExpr"){let p=c.Expression;p!=null&&p.Type=="ParenExpr"&&(c.Expression=p.Expression),M(c.Expression),(c.Type=="NumberLiteral"||c.Type=="StringLiteral"||c.Type=="NilLiteral"||c.Type=="BooleanLiteral"||c.Type=="VargLiteral"||c.Type=="HashLiteral")&&O(c)}else c.Type=="TableLiteral"&&c.EntryList.forEach((p,y)=>{p.EntryType=="Field"?M(p.Value):p.EntryType=="Index"?(M(p.Index),M(p.Value)):p.EntryType=="Value"?M(p.Value):s(!1,"unreachable")})},G=function(c){if(c.Type=="StatList")c.StatementList.forEach((p,y)=>{p===null||p.Type===null||(p.Remove=()=>{c.StatementList[y]=null},G(p))});else if(c.Type!="BreakStat"){if(c.Type!="ContinueStat")if(c.Type=="ReturnStat")c.ExprList.forEach((p,y)=>{M(p)});else if(c.Type=="LocalVarStat")c.Token_Equals!=null&&c.ExprList.forEach((p,y)=>{M(p)});else if(c.Type=="LocalFunctionStat")G(c.FunctionStat.Body),c.FunctionStat.NameChain.length===1&&c.FunctionStat.NameChain[0].UseCount;else if(c.Type=="FunctionStat")G(c.Body);else if(c.Type=="RepeatStat")G(c.Body),M(c.Condition),c.Body.Type=="StatList"&&c.Body.StatementList.length;else if(c.Type=="GenericForStat")c.GeneratorList.forEach((p,y)=>{M(p)}),G(c.Body);else if(c.Type=="NumericForStat"){c.RangeList.forEach((ae,xe)=>{M(ae)}),G(c.Body);let p=c.RangeList[0],y=c.RangeList[1],x=c.RangeList[2];if(p==null||y==null)return c.Remove();if(O(p),O(y),O(x),p.Type!="NumberLiteral"||y.Type!="NumberLiteral"||x!=null&&x.Type!="NumberLiteral"||x==null)return;let w=r(p.Token.Source),X=r(y.Token.Source),K=x!=null&&r(x.Token.Source)||1,J=K>0&&w<=X||K<0&&w>=X,Se=(X-w+K)/K;if(!(J&&Se>=0)||c.Body.Type=="StatList"&&c.Body.StatementList.length===0)return c.Remove()}else if(c.Type=="WhileStat"){M(c.Condition),G(c.Body);let p=c.Condition;switch(p.Type){case"ParenExpr":p=p.Expression;case"BooleanLiteral":if(p==null||p.Token==null||p.Token.Source!=="false")break;case"NilLiteral":c.Remove();break}}else if(c.Type=="DoStat"){if(G(c.Body),c.Body===null||c.Body.Type=="StatList"&&c.Body.StatementList.length===0)return c.Remove();if(c.Body.StatementList.length===1){let p=c.Body.StatementList[0];p.Type!=="ContinueStat"&&p.Type!=="BreakStat"&&p.Type!=="ReturnStat"&&U(c,p)}}else if(c.Type=="IfStat"){M(c.Condition),G(c.Body),c.ElseClauseList.forEach((y,x)=>{y.Condition!=null&&M(y.Condition),G(y.Body)});let p=c.Condition;switch(p.Type){case"ParenExpr":p=p.Expression;case"BooleanLiteral":if(c.ElseClauseList.length>=1||p==null||p.Token==null||p.Token.Source!=="false")break;case"NilLiteral":c.Remove();break}}else c.Type=="CallExprStat"?M(c.Expression):c.Type=="CompoundStat"?(M(c.Lhs),M(c.Rhs)):c.Type=="AssignmentStat"&&(c.Lhs.forEach((p,y)=>{M(p)}),c.Rhs.forEach((p,y)=>{M(p)}))}},G(ee)}let Te=[],C;for(C="a".charCodeAt();C<="z".charCodeAt();C++)Te.push(String.fromCharCode(C));for(C="A".charCodeAt();C<="Z".charCodeAt();C++)Te.push(String.fromCharCode(C));for(C="0".charCodeAt();C<="9".charCodeAt();C++)Te.push(String.fromCharCode(C));Te.push("_");let E=[];for(C="a".charCodeAt();C<="z".charCodeAt();C++)E.push(String.fromCharCode(C));for(C="A".charCodeAt();C<="Z".charCodeAt();C++)E.push(String.fromCharCode(C));function k(ee){let G="",M=ee%E.length;for(ee=(ee-M)/E.length,G=`${G}${E[M]}`;ee>0;){let F=ee%Te.length;ee=(ee-F)/Te.length,G=`${G}${Te[F]}`}return G}function z(ee,G,M){let F=[];for(var[$,H]of Object.entries(D))F[$]=!0;let f=[];ee.forEach(T=>{T.AssignedTo&&M?f.push(T):F[T.Name]=!0});function U(T){T.VariableList.forEach(c=>{f.push(c)}),T.ChildScopeList.forEach(c=>{U(c)})}U(G),f.forEach(T=>{T.UsedNameArray=[]}),f.sort((T,c)=>T-c);let R=0,O=[];function d(T){let c=O[T];if(c==null){for(c=k(R),R++;F[c];)c=k(R),R++;O[T]=c}return c}f.forEach((T,c)=>{T.Renamed=!0;let p=0;for(;T.UsedNameArray[p];)p++;T.Rename(d(p)),T.Scope?f.forEach(y=>{y.Renamed||(!y.Scope||y.Scope.Depthx>=T.BeginLocation&&x<=T.ScopeEndLocation?(y.UsedNameArray[p]=!0,!0):!1):y.Scope.Depth>T.Scope.Depth?T.ReferenceLocationList.some(x=>x>=y.BeginLocation&&x<=y.ScopeEndLocation?(y.UsedNameArray[p]=!0,!0):!1):T.BeginLocationy.BeginLocation&&(y.UsedNameArray[p]=!0))}):f.forEach(y=>{if(!y.Renamed)if(y.Type=="Global")y.UsedNameArray[p]=!0;else if(y.Type=="Local")T.ReferenceLocationList.some(x=>x>=y.BeginLocation&&x<=y.ScopeEndLocation?(y.UsedNameArray[p]=!0,!0):!1);else throw"Unreachable"})})}function be(ee,G,M){let F=[];ee.forEach(R=>{(!R.AssignedTo||!M)&&(F[R.Name]=!0)});let $=1,H=1;function f(R,O){R.Name=O,R.RenameList.forEach(d=>{d(O)})}if(M){let R={};ee.forEach(O=>{O.AssignedTo&&!O.ChangedName&&(R[O.Name]=R[O.Name]||`G_${H}_`,O.ChangedName=!0,f(O,R[O.Name]),H++)})}function U(R){R.VariableList.forEach(O=>{let d=`L_${$}_`;O.Info.Type=="Argument"?d=`${d}arg${O.Info.Index}`:O.Info.Type=="LocalFunction"?d=`${d}func`:O.Info.Type=="ForRange"&&(d=`${d}forvar${O.Info.Index}`),f(O,d),$++}),R.ChildScopeList.forEach(O=>{U(O)})}U(G)}let we=`--[[ + Code generated using github.com/Herrtt/luamin.js + An open source Lua beautifier and minifier. +--]] + +`,De={};De.Minify=function(ee,G){let M=g(ee),[F,$]=fe(M);G.RenameVariables==!0&&z(F,$,G.RenameGlobals),G.SolveMath==!0&&ie(M),oe(M);let H=S(M);return H=`${we} + +${H}`,H},De.Beautify=function(ee,G){let M=g(ee),[F,$]=fe(M);G.RenameVariables&&be(F,$,G.RenameGlobals),G.SolveMath==!0&&ie(M),N(M);let H=S(M);return H=`${we} + +${H}`,H};try{i!=null&&i.exports!=null&&(i.exports.Beautify=De.Beautify,i.exports.Minify=De.Minify)}catch{}})(yc);const da=yc.exports;da.Beautify;da.Minify;da.Uglify;const Cs="_M",Xe="__tmp",Co="esPairs",ko="caseExp",kn={debug:!0,tagArrayExpression:!0,importStatementHoisting:!0,transform$SymbolToDollar:!0,transformToString:!0,transformString:!0,transformJSONStringify:!0,transformJSONParse:!0,transformParseFloat:!0,transformParseInt:!0,transformNumber:!0,transformIsArray:!0,transformConsoleLog:!0,moduleExportsToReturn:!0,index0To1:!0,tryTranslateClass:!0,disableUpdateExpressionCallback:!0,renameCatchErrorIfNeeded:!0,disableClassCall:!0};function vn(){console.log.apply(this,arguments)}function Gd(i){return i.split(` +`).filter(t=>t.trim()!=="").join(` +`)}function Ln(i){return Zp(i,{plugins:["typescript"],sourceType:"module"})}const Wd={and:"_and",break:"_break",do:"_do",else:"_else",elseif:"_elseif",end:"_end",false:"_false",for:"_for",function:"_function",if:"_if",in:"_in",local:"_local",nil:"_nil",not:"_not",or:"_or",repeat:"_repeat",return:"_return",then:"_then",true:"_true",until:"_until",while:"_while"},Bt=i=>Object.prototype.hasOwnProperty.call(Wd,i),nn={"!":"not","&&":"and","||":"or","===":"==","==":"==","!==":"~=","!=":"~="},an=i=>i.length>0?"self,":"self",Kd=i=>i&&typeof i=="object"&&i.type;function bs(i,t,e){const s=e===void 0?void 0:e-1,r=e>0||e===void 0;if(Array.isArray(i)){if(r)for(const n of i)bs(n,t,s)}else if(Kd(i)){const n=t(i);if(n)return n;if(r)for(const a of Object.values(i))bs(a,t,s)}else return}function qd(i,t,e,s){bs(i,r=>{r.type=="Identifier"&&r.name==t&&(r.name=e)},s)}function oi(i,t,e){let s;return bs(i,r=>{if(r.type=="Identifier"&&r.name==t)return s=r,!0},e),s}function vo(i){bs(i,t=>{t.type=="ThisExpression"&&(t.type="Identifier",t.name="cls")})}function gc(i,t,e){let s;return bs(i,n=>{if(t(n))return s=n,!0},e),s}function Gi(i){return xi(i,"ContinueStatement")?"::continue::":""}function xi(i,t,e){return gc(i,s=>s.type===t,e)}const on=i=>i=="ArrayPattern"||i=="ObjectPattern";function zd(i){const t=xi(i,"RestElement");return t?`local ${t.argument.name} = {...};`:""}function Jd(i){const t=[];let e=[];for(const[n,a]of i.cases.entries())a.test?(e.push(a),a.consequent.length>0&&(t.push(e),e=[])):t.push([a]);e.length>0&&t.push(e);const s=[];for(const n of t)if(n.length===1)s.push(n[0]);else{const a=n[n.length-1];a.testGroup=n.map(o=>o.test),s.push(a)}const r=s.findIndex(n=>!n.test);r!==-1&&r!==s.length-1?i.cases=[...s.slice(0,r),...s.slice(r+1),s[r]]:i.cases=s}function Xd(i,t={}){var Oe;t={...kn,...t},t.debug&&vn((Oe=i==null?void 0:i.program)==null?void 0:Oe.body);const e=[],s=[],r=[];let n="",a="",o=!1,l=!1,h=!1,u=!1;const b=g=>g.filter(he=>he.type=="AssignmentPattern").map(he=>`if ${I(he.left)} == nil then ${I(he.left)} = ${I(he.right)} end`).join(";"),P=g=>{const he=[];for(const[N,oe]of g.entries())on(oe.type)&&(he.push("local "+I(oe)({type:"Identifier",name:`__tmp${N}`})),g[N]={type:"Identifier",name:`__tmp${N}`});const fe=zd(g),S=b(g);return`${he.join(";")} + ${S} + ${fe}`},L=(g,he)=>(g=I(g),Bt(g)?`["${g}"]`:he?`.${g}`:g),A=(g,he)=>{const fe=I(g.key);return g.computed||g.key.type=="StringLiteral"?`[${fe}]`:Bt(fe)?`["${fe}"]`:he?`.${fe}`:fe},j=g=>{if(g.specifiers.length===1){const he=g.specifiers[0],fe=`require(${I(g.source)})`;return he.type=="ImportDefaultSpecifier"?`local ${I(he.local)} = ${fe}.default`:he.type=="ImportNamespaceSpecifier"?`local ${I(he.local)} = ${fe}`:`local ${I(he.local)} = ${fe}.${I(he.imported)}`}else{const he=g.specifiers.map(S=>I(S.local)).join(", "),fe=g.specifiers.map(S=>S.type=="ImportDefaultSpecifier"?`${I(S.local)} = _esModule.default`:S.type=="ImportNamespaceSpecifier"?`${I(S.local)} = _esModule`:`${I(S.local)} = _esModule.${I(S.imported)}`);return`local ${he}; + do + local _esModule = require(${I(g.source)}) + ${fe.join(";")} + end`}},V=g=>he=>{const fe=g.elements.map(N=>N.type=="RestElement"?I(N.argument):`${I(N)}`);if(!he)return fe.join(", ");const S=g.elements.map((N,oe)=>{if(N.type=="RestElement"){const ie=I(N.argument);return`${ie} = {}; + for __i=${fe.length}, #${Xe} do + ${ie}[#${ie}+1] = ${Xe}[__i] + end`}else return`${I(N)} = ${Xe}[${oe+1}]`}).join(";");return`${fe.join(", ")};do local ${Xe} = ${I(he)}; ${S} end`},D=g=>he=>{const fe=g.properties.map(N=>N.type=="RestElement"?I(N.argument):`${I(N.value)}`),S=g.properties.map(N=>{if(N.type=="RestElement"){const oe=I(N.argument),ie=g.properties.slice(0,-1).map(Te=>`k ~= "${I(Te.key)}"`).join(" and ");return`${oe} = {}; + for k, v in pairs(${Xe}) do + if ${ie} then + ${oe}[k] = v + end + end`}else{const oe=I(N.key),ie=Bt(oe)?`${Xe}["${oe}"]`:`${Xe}.${oe}`;return`${I(N.value)} = ${ie}`}}).join(";");return`${fe.join(", ")};do local ${Xe} = ${I(he)}; ${S} end`},B=g=>{const he=I(g.callee),fe=W(g.arguments);if(g.callee.type=="MemberExpression"){const S=I(g.callee.object),N=I(g.callee.property);if(g.callee.object.type=="Super")return[`${S}.${N}`,`${an(g.arguments)}${fe}`];if(N=="call")return[S,fe];if(N=="apply"){const[oe,ie]=g.arguments;return ie?[S,`${I(oe)}, unpack(${I(ie)})`]:[S,I(oe)]}else return Bt(N)?[`${S}["${N}"]`,`${S}${g.arguments.length>0?",":""}${fe}`]:t.transformConsoleLog&&S=="console"&&N=="log"?["print",fe]:t.transformToString&&N=="toString"?["tostring",S]:t.transformIsArray&&S=="Array"&&N=="isArray"?(h=!0,["isarray",fe]):t.transformJSONParse&&S=="JSON"&&N=="parse"?(o=!0,["cjson.decode",fe]):t.transformJSONStringify&&S=="JSON"&&N=="stringify"?(o=!0,["cjson.encode",fe]):g.callee.computed?[`${S}[${N}]`,`${S}${g.arguments.length>0?",":""}${fe}`]:[`${S}:${N}`,fe]}else return t.transformParseInt&&he=="parseInt"?["math.floor",fe]:t.transformParseFloat&&he=="parseFloat"?["tonumber",fe]:t.transformNumber&&he=="Number"?["tonumber",fe]:t.transformString&&he=="String"?["tostring",fe]:[he,fe]},se=g=>{const he=[];let fe=g;for(;;){const{type:Te,object:C}=fe;if(Te=="OptionalMemberExpression")he.push(fe);else if(Te=="MemberExpression")he.push(fe);else{he.push(fe);break}fe=C}let S=!1,N="";const oe=[];for(let Te=he.length-1;Te>-1;Te--){const C=he[Te];if(N)if(he[Te].computed)N=`${N}[${I(C.property)}]`;else{const E=L(C.property,!0);N=`${N}${E}`}else N=I(C);Te==0?oe.push(`else return ${N} end`):he[Te-1].optional&&(S?oe.push(`elseif ${N} == nil then return nil`):(S=!0,oe.push(`if ${N} == nil then return nil`)))}return[`(function() ${oe.join(` +`)} end)()`,N]},W=(g,he=",")=>g.map(I).filter(fe=>fe).join(he);function I(g){var he,fe,S,N,oe,ie,Te;switch(g.type){case"File":return W(g.program.body,`; +`);case"VariableDeclaration":{const C=g.noPrefix?"":"local ";return g.declarations.map(I).filter(E=>E).map(E=>`${C}${E}`).join(`; +`)}case"VariableDeclarator":if(g.init)if(g.init.type=="AssignmentExpression"){const C=[`${I(g.id)} = ${I(g.init.left)}`];let E=g.init;for(;E.type=="AssignmentExpression";){E.right.type=="AssignmentExpression"?C.unshift(`${I(E.left)} = ${I(E.right.left)}`):C.unshift(`${I(E.left)} = ${I(E.right)}`);E=E.right}return C.join(`; +local `)}else return g.id.type=="ArrayPattern"||g.id.type=="ObjectPattern"?I(g.id)(g.init):`${I(g.id)} = ${I(g.init)}`;else return on(g.id.type)?`${I(g.id)()}`:`${I(g.id)}`;case"Identifier":{const C=g.name;return C=="undefined"?"nil":C.startsWith("$")&&t.transform$SymbolToDollar?C.replace("$","_DOLLAR_"):C}case"NumericLiteral":return`${g.value}`;case"StringLiteral":return(he=g.extra)==null?void 0:he.raw;case"IfStatement":return`if ${I(g.test)} then ${I(g.consequent)} ${g.alternate?` else ${I(g.alternate)}`:""} end`;case"BlockStatement":return`${W(g.body,";")}`;case"CallExpression":if(g.callee.type=="MemberExpression"&&g.callee.object.type!=="MemberExpression"&&g.callee.object.type!=="Identifier"&&g.callee.object.type!=="Super"){const C=I(g.callee.object);return g.callee.object={type:"Identifier",name:Xe},`(function() + local ${Xe} = ${C} + return ${I(g)} + end)()`}else{const[C,E]=B(g);return g.callee.type=="ArrowFunctionExpression"||g.callee.type=="FunctionExpression"?`(${C})(${E})`:`${C}(${E})`}case"BinaryExpression":{const C=nn[g.operator]||g.operator,E=I(g.left),k=I(g.right);return g.operator=="instanceof"?`getmetatable(${E}) == ${k}`:g.operator==">>"?(l=!0,`bit.rshift(${E}, ${k})`):g.operator=="<<"?(l=!0,`bit.lshift(${E}, ${k})`):g.operator=="&"?(l=!0,`bit.band(${E}, ${k})`):g.operator=="|"?(l=!0,`bit.bor(${E}, ${k})`):g.operator=="^"?(l=!0,`bit.bxor(${E}, ${k})`):g.operator=="**"?`math.pow(${E}, ${k})`:`${E} ${C} ${I(g.right)}`}case"UnaryExpression":{const C=nn[g.operator]||g.operator,E=I(g.argument);return g.operator=="typeof"?`type(${E})`:g.operator=="delete"?`${E} = nil`:g.operator=="~"?(l=!0,`bit.bnot(${E})`):`${C} ${E}`}case"ThisExpression":return"self";case"BooleanLiteral":return`${g.value}`;case"ObjectExpression":return xi(g.properties,"SpreadElement",1)?`(function() local ${Xe} = {}; ${g.properties.map(C=>C.type=="SpreadElement"?`for k, v in pairs(${I(C.argument)}) do ${Xe}[k] = v end`:C.type=="ObjectMethod"?(C.asMember=!0,`${Xe}${I(C)}`):`${Xe}${A(C,!0)} = ${I(C.value)}`).join(";")} return ${Xe} end)()`:`{${W(g.properties)}}`;case"ObjectProperty":return`${A(g)} = ${I(g.value)}`;case"ArrayExpression":{const C=t.tagArrayExpression?"array":"";return xi(g.elements,"SpreadElement",1)?`(function() local ${Xe} = ${C}{}; ${g.elements.map(k=>k.type=="SpreadElement"?`for _, v in ipairs(${I(k.argument)}) do ${Xe}[#${Xe} + 1] = v end`:`${Xe}[#${Xe} + 1] = ${I(k)}`).join(";")} return ${Xe} end)()`:`${C}{${W(g.elements)}}`}case"ForOfStatement":{const C=Gi(g);if(g.left.noPrefix=!0,((fe=g.left.declarations[0])==null?void 0:fe.id.type)=="ArrayPattern"){const E=oi(g.body,Co)?Xe:Co;return`for _, ${E} in ipairs(${I(g.right)}) do + local ${I(g.left)} = unpack(${E}); + ${I(g.body)} + ${C} end`}else return`for _, ${I(g.left)} in ipairs(${I(g.right)}) do + ${I(g.body)} + ${C} end`}case"ForInStatement":{const C=Gi(g);return g.left.noPrefix=!0,`for ${I(g.left)}, __ in pairs(${I(g.right)}) + do ${I(g.body)} + ${C} end`}case"LogicalExpression":{const C=nn[g.operator]||g.operator,E=I(g.left),k=I(g.right);let z;return C=="??"?z=`(function() + if ${E} == nil then + return ${k} + else + return ${E} + end + end)()`:z=`${E} ${C} ${k}`,(S=g.extra)!=null&&S.parenthesized?`(${z})`:`${z}`}case"ObjectMethod":{const C=A(g,g.asMember),E=P(g.params),k=I(g.body),z=W(g.params);return` ${C} = function (${z}) ${E} ${k} end`}case"FunctionDeclaration":{const C=I(g.id),E=P(g.params),k=I(g.body),z=W(g.params),be=g.params.length>0?", "+z:z;return t.tryTranslateClass&&C.match(/^[A-Z]/)&&xi(g.body,"ThisExpression")?`local ${C} = setmetatable({}, { + __call = function(t${be}) + local self = t:new(); + self:constructor(${z}); + return self; + end}) +${C}.__index = ${C} +function ${C}.new(cls) return setmetatable({}, cls) end +function ${C}:constructor(${z}) + ${E} + ${k} +end`:`local function ${C}(${z}) ${E} ${k} end`}case"ReturnStatement":return g.argument?`return ${I(g.argument)}`:"return;";case"ArrayPattern":return V(g);case"ObjectPattern":return D(g);case"ClassDeclaration":{const C=I(g.id),E=g.body.body.filter(ee=>ee.type==="ClassMethod"&&ee.kind!=="constructor");g.superClass&&bs(E,ee=>{ee.type==="MemberExpression"&&ee.object.type=="Super"&&(ee.object.superClass=g.superClass)});const k=E.map(ee=>{const G=I(ee.key),M=P(ee.params),F=Bt(G)?`${C}["${G}"] = function`:`function ${C}:${G}`,$=Bt(G)?an(ee.params):"";return`${F}(${$}${W(ee.params)}) + ${M} + ${I(ee.body)} + end`}).join(";"),z=g.body.body.filter(ee=>ee.type==="ClassProperty"&&ee.static).map(ee=>{const G=I(ee.key);return Bt(G)?`${C}["${G}"] = ${I(ee.value)}`:`${C}.${G} = ${I(ee.value)}`}).join(";"),be=g.body.body.filter(ee=>ee.type==="ClassProperty"&&!ee.static).map(ee=>{const G=I(ee.key);return Bt(G)?`["${G}"] = ${I(ee.value)}`:`${G} = ${I(ee.value)}`}).join(","),we=gc(g.body,ee=>ee.kind=="constructor"),De=g.superClass?`__index = ${I(g.superClass)},`:"";if(we){g.superClass&&bs(we.body,$=>{$.type==="MemberExpression"&&$.object.type=="Super"&&($.object.superClass=g.superClass),$.type=="CallExpression"&&$.callee.type=="Super"&&($.callee={type:"MemberExpression",object:{type:"Super",superClass:g.superClass},property:{type:"Identifier",name:"constructor"}})});const ee=P(we.params),G=I(we.body),M=W(we.params),F=we.params.length>0?", "+M:M;return` local ${C} = setmetatable({}, { + ${De} + __call = function(t${F}) + local self = t:new(); + self:constructor(${M}); + return self; + end}) + ${C}.__index = ${C} + ${z} + function ${C}.new(cls) return setmetatable({${be}}, cls) end + function ${C}:constructor(${M}) + ${ee} + ${G} + end + ${k}`}else return` local ${C} = setmetatable({}, { + ${De} + __call = function(t) + local self = t:new(); + self:constructor(); + return self; + end}) + ${C}.__index = ${C} + ${z} + function ${C}.new(cls) return setmetatable({${be}}, cls) end + function ${C}:constructor() end + ${k}`}case"ClassBody":return`${W(g.body,`, +`)}`;case"ClassProperty":return`${L(g.key)} = ${I(g.value)}`;case"ClassMethod":{const C=P(g.params);return g.params.unshift({type:"ThisExpression"}),g.static&&!oi(g.body,"cls")&&!oi(g.params,"cls")&&(vo(g.body),vo(g.params)),`${L(g.key)} = function(${W(g.params)}) + ${C} ${I(g.body)} end`}case"OptionalCallExpression":{let C,E,k,z;return g.callee.type=="OptionalMemberExpression"?([k,z]=B(g),[C,E]=se(g.callee),k=E):([k,z]=B(g),C=I(g.callee),E=C),C[0]=="#"&&(C=C.slice(1)+".length"),`(function() + local ${Xe} = ${C} + if ${Xe} == nil then + return nil + elseif type(${Xe}) ~= 'function' then + error('${E} is not a function') + else + return ${k}(${z}) + end + end)()`}case"MemberExpression":{const C=I(g.object),E=I(g.property);return g.object.type=="Super"?`${C}.${E}`:E=="length"?"#"+C:Bt(E)?`${C}["${E}"]`:g.computed?t.index0To1&&((N=g.property)==null?void 0:N.type)=="NumericLiteral"&&g.property.value===0?`${C}[1]`:`${C}[${E}]`:`${C}.${E}`}case"OptionalMemberExpression":return se(g)[0];case"ExpressionStatement":return g.expression.ExpressionStatement=!0,`${I(g.expression)}`;case"AssignmentExpression":{if(g.right.type=="FunctionExpression"&&g.left.type=="MemberExpression"&&g.left.object.type=="MemberExpression"&&((oe=g.left.object.property)==null?void 0:oe.name)=="prototype"){const E=P(g.right.params),k=I(g.left.property);if(Bt(k)){const z=`${I(g.left.object.object)}["${k}"]`,be=an(g.right.params);return`${z} = function(${be}${W(g.right.params)}) + ${E} ${I(g.right.body)} end`}else return`function ${`${I(g.left.object.object)}:${k}`}(${W(g.right.params)}) + ${E} ${I(g.right.body)} end`}const C=I(g.left);if(t.moduleExportsToReturn&&g.left.type=="MemberExpression"&&(C=="module.exports"||C.startsWith("module.exports.")||C.startsWith("module.exports[")))return C=="module.exports"?a=`return ${I(g.right)}`:(u=!0,s.push(`${Cs}${C.slice(14)} = ${I(g.right)}`)),"";if(g.right.type=="AssignmentExpression"){const E=I(g.left);return`${I(g.right)}; + local ${E} = ${I(g.right.left)}`}else{const E=g.operator;let k,z;return on(g.left.type)?(k=I(g.left)(),z=`unpack(${I(g.right)})`):(k=I(g.left),z=I(g.right)),E=="+="?`${k} = ${k} + ${z}`:E=="-="?`${k} = ${k} - ${z}`:E=="*="?`${k} = ${k} * ${z}`:E=="/="?`${k} = ${k} / ${z}`:E=="%="?`${k} = ${k} % ${z}`:E=="&&="?`${k} = ${k} and ${z}`:E=="||="?`${k} = ${k} or ${z}`:E=="&="?(l=!0,`${k} = bit.band(${k}, ${z})`):E=="|="?(l=!0,`${k} = bit.bor(${k}, ${z})`):E=="^="?(l=!0,`${k} = bit.bxor(${k}, ${z})`):E=="**="?`${k} = math.pow(${k}, ${z})`:E=="??="?`${k} = (function() + if ${k} == nil then + return ${z} + else + return ${k} + end + end)()`:`${k} ${E} ${z}`}}case"BreakStatement":return"break";case"ContinueStatement":return"goto continue";case"ThrowStatement":return g.argument.type=="NewExpression"?`error(${W(g.argument.arguments)})`:`error(${I(g.argument)})`;case"NewExpression":return`${I(g.callee)}(${W(g.arguments)})`;case"FunctionExpression":{const C=P(g.params);return`function(${W(g.params)}) ${C} ${I(g.body)} end`}case"TryStatement":return t.renameCatchErrorIfNeeded&&g.handler.param&&I(g.handler.param)==="error"&&(oi(g.handler,"_err")||qd(g.handler,"error","_err")),`local ok ${g.handler.param?" ,"+I(g.handler.param):""} = + pcall(function() ${I(g.block)} end); + if not ok then ${I(g.handler.body)} end`;case"UpdateExpression":{const C=I(g.argument),E=g.operator=="++"?"+":"-";return t.disableUpdateExpressionCallback&&g.ExpressionStatement?`${C} = ${C} ${E} 1`:`(function () ${C} = ${C} ${E} 1; return ${C} end)()`}case"WhileStatement":{const C=Gi(g);return`while ${I(g.test)} do + ${I(g.body)} + ${C} end`}case"ArrowFunctionExpression":{const C=P(g.params);return`function(${W(g.params)}) ${C} ${g.body.type=="BlockStatement"?"":"return"} ${I(g.body)} end`}case"RestElement":return"...";case"ConditionalExpression":return`(function() + if ${I(g.test)} then return ${I(g.consequent)}; + else return ${I(g.alternate)}; end end)()`;case"RegExpLiteral":return`[=[${g.pattern}]=]`;case"NullLiteral":return"nil";case"TemplateLiteral":return`string.format([=[${g.quasis.map(I).join("%s")}]=], ${W(g.expressions)})`;case"TemplateElement":return`${g.value.cooked}`;case"ForStatement":{const C=Gi(g);return((ie=g.update)==null?void 0:ie.type)=="UpdateExpression"&&(g.update.ExpressionStatement=!0),Gd(`do + ${g.init?I(g.init):""} + while ${g.test?I(g.test):"1"} do + ${I(g.body)} + ${C} + ${g.update?I(g.update):""} + end +end`)}case"AssignmentPattern":return`${I(g.left)}`;case"SpreadElement":return`unpack(${I(g.argument)})`;case"Super":return g.superClass?I(g.superClass):"super";case"SequenceExpression":return`{${W(g.expressions,";")}}`;case"SwitchStatement":{Jd(g);const C=oi(g,ko)?Xe:ko;return`repeat + local ${C} = ${I(g.discriminant)} + ${g.cases.map((E,k)=>{const z=W(E.consequent,";");if(E.test){const be=E.testGroup?`${E.testGroup.map(we=>`${C} == ${I(we)}`).join(" or ")}`:`${C} == ${I(E.test)}`;return k===0?`if ${be} then ${z}`:`elseif ${be} then ${z}`}else return`else ${z}`}).join(` +`)} + end + until (false)`}case"ExportDefaultDeclaration":return u=!0,s.push(`${Cs}.default = ${I(g.declaration)}`),"";case"ExportNamedDeclaration":if(u=!0,g.declaration)if(g.declaration.type=="VariableDeclaration"){const C=g.declaration.declarations.map(I).filter(k=>k).map(k=>`local ${k}`).join(`; +`),E=g.declaration.declarations.map(k=>{const z=I(k.id);return`${Cs}.${z} = ${z}`});return s.push(...E),`${C}`}else if(((Te=g.declaration)==null?void 0:Te.type)=="FunctionDeclaration"){const C=I(g.declaration.id);return s.push(`${Cs}.${C} = ${C}`),`${I(g.declaration)}`}else return"";else if(g.specifiers.length>0){const C=E=>`${Cs}.${I(E.exported)} = ${I(E.local)}`;return s.push(...g.specifiers.map(C)),""}else return"";case"ImportDeclaration":{const C=j(g);return t.importStatementHoisting?(r.push(C),""):C}case"AwaitExpression":return`${I(g.argument)}`;default:return t.debug&&vn("unknow node",g.type,g),""}}const me=I(i);return u&&(n=`local ${Cs} = {}`,a=`return ${Cs}`),o&&r.unshift('local cjson = require("cjson")'),h&&r.unshift('local isarray = require("table.isarray")'),l&&r.unshift('local bit = require("bit")'),`${r.join(";")} + +${n} +${e.join(";")} +${me} +${s.join(";")} +${a}`}function Yd(i,t){let e="";return e=Xd(Ln(i),t),t.debug&&vn(e),Vd(e)}var Tc={exports:{}};(function(i,t){(function(e,s){s()})(Yt,function(){function e(h,u){return typeof u=="undefined"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(h.type)?new Blob(["\uFEFF",h],{type:h.type}):h}function s(h,u,b){var P=new XMLHttpRequest;P.open("GET",h),P.responseType="blob",P.onload=function(){l(P.response,u,b)},P.onerror=function(){console.error("could not download file")},P.send()}function r(h){var u=new XMLHttpRequest;u.open("HEAD",h,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function n(h){try{h.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),h.dispatchEvent(u)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Yt=="object"&&Yt.global===Yt?Yt:void 0,o=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(h,u,b){var P=a.URL||a.webkitURL,L=document.createElement("a");u=u||h.name||"download",L.download=u,L.rel="noopener",typeof h=="string"?(L.href=h,L.origin===location.origin?n(L):r(L.href)?s(h,u,b):n(L,L.target="_blank")):(L.href=P.createObjectURL(h),setTimeout(function(){P.revokeObjectURL(L.href)},4e4),setTimeout(function(){n(L)},0))}:"msSaveOrOpenBlob"in navigator?function(h,u,b){if(u=u||h.name||"download",typeof h!="string")navigator.msSaveOrOpenBlob(e(h,b),u);else if(r(h))s(h,u,b);else{var P=document.createElement("a");P.href=h,P.target="_blank",setTimeout(function(){n(P)})}}:function(h,u,b,P){if(P=P||open("","_blank"),P&&(P.document.title=P.document.body.innerText="downloading..."),typeof h=="string")return s(h,u,b);var L=h.type==="application/octet-stream",A=/constructor/i.test(a.HTMLElement)||a.safari,j=/CriOS\/[\d]+/.test(navigator.userAgent);if((j||L&&A||o)&&typeof FileReader!="undefined"){var V=new FileReader;V.onloadend=function(){var se=V.result;se=j?se:se.replace(/^data:[^;]*;/,"data:attachment/file;"),P?P.location.href=se:location=se,P=null},V.readAsDataURL(h)}else{var D=a.URL||a.webkitURL,B=D.createObjectURL(h);P?P.location=B:location.href=B,P=null,setTimeout(function(){D.revokeObjectURL(B)},4e4)}});a.saveAs=l.saveAs=l,i.exports=l})})(Tc);var Zd=Tc.exports;const Qd="@xiangnanscu/js2lua",em="0.42.0",tm="module",sm="Writing LuaJIT with the expressiveness of JavaScript.",im="src/js2lua.mjs",rm={js2lua:"bin/js2lua.js"},nm={type:"git",url:"git+https://github.com/xiangnanscu/js2lua.git"},am="Nan Xiang",om="MIT",lm={url:"https://github.com/xiangnanscu/js2lua/issues"},cm="https://github.xnscu.com/js2lua/",um={dev:"vite",build:"vite build",preview:"vite preview",commit:"git add . && git commit -am ",push:"yarn commit",postpush:"while true; do git push && { echo 'Git push succeeded'; break; } || echo 'Git push failed, retrying in 1 seconds'; sleep 1; done",pull:"while true; do git pull && { echo 'Git pull succeeded'; break; } || echo 'Git pull failed, retrying in 1 seconds'; sleep 1; done",prerelease:"npm --no-git-tag-version version minor",docs:"node makeDocs.js",release:"npm run docs && push_option=release npm run push",rc:"yarn release",replace:"find . -type d \\( -name .git -o -name node_modules \\) -prune -o -type f -exec sed -i s/js2lua/field/g {} \\;",test:"node test.mjs"},hm={"@babel/parser":"^7.22.14","lua-fmt":"^2.6.0","lua-format":"^1.5.1","yargs-parser":"^21.1.1"},fm={"@highlightjs/vue-plugin":"^2.1.0","@prettier/plugin-lua":"^0.0.3","@rushstack/eslint-patch":"^1.3.3","@vitejs/plugin-vue":"^2.3.3",bootstrap:"^5.1.3",eslint:"^8.47.0","eslint-plugin-vue":"^9.17.0","file-saver":"^2.0.5","highlight.js":"^11.5.1",prettier:"^2.8.8",sass:"^1.52.1","source-map-support":"^0.5.21",vite:"^2.9.9","vite-plugin-require-transform":"^1.0.21",vue:"^3.2.25","vue-eslint-parser":"^9.3.1",yargs:"^17.7.2"};var Lo={name:Qd,version:em,type:tm,description:sm,main:im,bin:rm,repository:nm,author:am,license:om,bugs:lm,homepage:cm,scripts:um,dependencies:hm,devDependencies:fm},pm=`for (i = 0; i < 10; i = i + 2) { + if (i % 2) { + continue; + } + print(1); +} +// class +class Child extends Parent { + static myMethod(msg) { + super.myMethod(msg); + } + constructor(x, y) { + super(x); + this.y = y; + } + myMethod(msg) { + super.myMethod(msg); + } +} +// calling a function expression +(() => print(1))(); + +`;const dm={style:{"margin-bottom":"1em","text-align":"center"}},mm=["title"],ym={class:"row"},gm={class:"col-2"},Tm={class:"form-check"},bm={class:"form-check"},xm=["id","value"],Sm=["for"],Pm={class:"col-3"},Em={key:0,class:"col"},Am={class:"form-check-inline"},wm={class:"form-check-label"},Cm=["value"],km={key:0},vm={key:1},Lm={class:"col"},Im={class:"table table-bordered"},Nm={colspan:"3"},_m=["href"],Mm={colspan:"3"},Om=["id"],Dm={class:"td-wrap"},Fm=["onUpdate:modelValue"],Bm={__name:"App",setup(i){const t=ks(!1),e=ks(!1);function s(D,B){try{return Yd(D,B)}catch(se){return console.error(se),`-- ERROR: ${se.message}`}}function r(D,B){try{return Ln(D,B)}catch(se){return console.error(se),Ln(`throw new Error("ERROR: ${se.message}")`)}}const n=ks(pm),a=Object.keys(kn),o=ks(Object.entries(kn).filter(([D,B])=>B).map(([D,B])=>D)),l=Qt(()=>Object.fromEntries(a.map(D=>[D,!!o.value.includes(D)]))),h={"../test/assignment.mjs":`let u, v; +[u, v] = [1, 2] +const foo = 1 +const object = { o1: 'o1', o2: 'o2' }, array = [1, 2] +// eslint-disable-next-line no-undef +const h1 = h2 = h3 = 'title' +const { a, b: bAlias, ...rest } = { a: 1, b: 2, c: 3, d: 4 } +const [x, y, ...others] = [1, 2, 3, 4] +const e = 1, f = 'a', { o1, o2: o22 } = object, [a1, a2] = array`,"../test/class.mjs":`class BasePosition { + say(word = 'base haha') { + console.log(\`Base say: \${word}\`) + } +} +class Position extends BasePosition { + static insCount = 0 + start = 0 + end = 1; + constructor(name, x = 1, y = 2, ...numbers) { + super() + Position.insCount++ + this.name = name + this.x = x + this.y = y + this.numbers = numbers + } + static echoInsCount() { + console.log(this.insCount) + } + echoPosition() { + console.log(this.name, this.x, this.y) + } + echoNumbersLength() { + console.log('numbers length:', this.name, this.numbers.length) + } + say(word = 'haha') { + super.say(word) + console.log(\`\${this.name} say: \${word}, first number is \${this.numbers[0]}\`) + } +} + +const p1 = new Position('p1', 1, 2, 3, 4) +Position.echoInsCount() +const p2 = new Position('p2', 10, 20, 30, 40) +Position.echoInsCount() +p1.echoPosition() +p2.echoPosition() +p1.say('hello') +p1.say.call(p2) +p1.echoNumbersLength('a', 'b', 'c') +p1.echoNumbersLength.apply(p2, [1, 2])`,"../test/export.mjs":`module.exports.a = {} +module.exports['b'] = {} + +const c = 1 +const d = 2 +const e = 3 + +export default { c } +export { d } +export { e as f } +export const g = 1, h = 2; +export function foo() { }`,"../test/function.mjs":`const foo = { bar() { } } +const bar = 'bar' +// translate foo.bar() => foo:bar() +foo.bar() +foo[bar]() +foo[1]() +foo['bar']() +foo['bar' || 'foo'](); +[].concat([1, 2, 3]); +/a/.exec(); +foo.map(e => { return e.name }) +foo.map(e => e.name) +foo.map(function (e) { return e.name }) +const func1 = (x = 1, y = 2, ...args) => [x, y, ...args] + +function func2(x = [], y = {}, ...args) { + return { x, y, ...args } +} + +// first uppercase is treated as class +function Echo(x = 1, y = 2, ...args) { + this.x = x + this.y = y + this.args = args +} +// xx.prototype.yy => xx:yy +Echo.prototype.echoX = function () { + console.log(this.x) +} +Echo.prototype.echoY = function () { + console.log(this.y) +}`,"../test/if.mjs":`const a = 1 +if (a === 1) { + print(a) +} +if (a) { + print(a) +} +if (!a) { + print(a) +} +if (a === 1) { + print(a) +} else { + print(2) +} + +if (a === 1) { + print(a) +} else if (a == 2) { + print(2) +} else { + print(3) +}`,"../test/import.mjs":`import g from "bar" +import { foo } from "bar" +import { a as b } from "bar" +import * as c from "bar" +import d, { e as eAlias, f } from "bar"`,"../test/index0To1.mjs":`const a = [] +const i = a[0]`,"../test/keywords.mjs":`// lua keywords +const Obj = { and: 'real' } + +Obj.prototype.f1 = function () { } +Obj.prototype.end = function () { } +print(Obj.end) + +const arr = [true, false]`,"../test/loop.mjs":`const arr = []; +for (let i = 0; i <= arr.length; i++) { + print(i); +} +for (i = 0; i < 10; i = i + 2) { + print(1); +} +for (const e of arr) { + print(e); + break; +} +for (const [a, b] of arr) { + if (b === 1) { + continue; + } + print(a); +} + +for (const key in arr) { + print(key); +} + +while (1) { + print("a"); +} + +for(;;) { + +}`,"../test/object.mjs":`const foo = 'bar' +const d1 = { + foo: 1, + [foo]: 2, + "k3": 3, + [5]: 5, + // "true":7, + [true]: 6 +} +const d2 = { end: 1, end1: 2 } +const d3 = { end: 1, end1: 2, ...d2, and: 3 } +const a = { ["true"]: 1, [true]: 2 } +const d = { + ...d3, + foo: 1, + end() { }, + end2() { }, +}; + +// local a = { ["true"] = 1, [true] = 2 } +// print(a['true'], a[true])`,"../test/operator.mjs":`const obj = {} +let a = 1 +typeof a +print(a instanceof obj) +const x = a ? 1 : 2 +a = !!a +const k = obj?.b; +const o = a?.[k]?.['c']?.e; +obj.func?.(1, ...[1, 2, 3]); +a.b?.c?.(); +a ?? 'hello'; +obj.n ??= 100; +print(a && x || k) +print(a && (x || k)) +a += 1 +a -= 1 +a *= 1 +a /= 1 +a %= 1 +a &&= k +a ||= k +a >> 2 +2 << a +a & 2 +a &= 2 +a | 2 +a |= 2 +a ^ 2 +a ^= 2 +a ** 2 +a **= 2 +~a`,"../test/optionalNullish.mjs":` +// optional +const a = 1, b = 'foo', obj = {}, args = [] + +// basic +const m = a?.b; + +//chain +const o = a?.[b]['c']?.e; + +// optional call +obj.func?.(1, ...args); + +// chain optional call +a.b?.c.d?.(); + +// nullish +a ?? 'hello'; +const d = {} +d.n ??= 100;`,"../test/others.mjs":`const foo = {} +delete foo.bar +print(foo.length) +const URL_PATTERN = /^https?:\\/\\/.*?\\// + +const constraints = { + 'foo': 'baz', + foo: 'bar', + ...route.opts.constraints, + [httpMethodStrategy.name]: route.method +}`,"../test/spread.mjs":`const a = [1, 2, 3] +const d = { x: 1, y: 2, z: 3 } +const [v1, v2, ...v] = [4, 5, ...a] +const { x: k1, y: k2, ...k } = { ...d, foo: 'bar' }`,"../test/stringTemplate.mjs":"const foo = 5\nconst s = `1.${2}.3.${'4'}.${foo}`","../test/switch.mjs":`const c = 'v2' + +switch (c) { + case 'v1': + print(1) + break; + default: + break; +} + +switch (c) { + case 'v1': + print(1) + break + case 'v2': + case 'v3': + print(2) + break + default: + break; +}`,"../test/throw.mjs":`const test = '' +if (test) { + throw new Error('!') +} +if (test) { + throw new CustomError({ message: "custom error" }) +} +if (test) { + throw '!!' +} +if (test) { + throw { message: 'bare object error' } +}`,"../test/transform.mjs":`const a = { b: '' } +String(1) +a.b.toString() +JSON.stringify({}) +JSON.parse('{}') +Number('2') +parseInt('2') +parseFloat('1') +Array.isArray(1)`,"../test/trycatch.mjs":`try { + const res = parseInt('fooo') + print(res) +} catch (error) { + // rename error to _err to prevent shadow lua's error function name + console.log(error) +} + +try { + const res = parseInt('fooo') + print(res) +} catch (error1) { + console.log(error1) +} +`,"../test/updateExpression.mjs":`// NOTE: both i++ and ++i means ++i to lua, don't use i++ in expression context! +// in statement context, use i = i ? 1 +i++; +--i; +// otherwise use a callback +let a = --i +let b = i++ +if (--i) { + print(i) +} + +`};for(const[D,B]of Object.entries(h))h[D]=ks(B);const u=Sr([]);for(const D in h){const B=h[D],se=Qt(()=>s(B.value,l.value)),W=D.match(/\/(\w+)\.mjs$/)[1];u.push({name:W,jscode:B,luacode:se})}const b=Qt(()=>s(n.value,l.value)),P=Qt(()=>r(n.value,l.value));function L(){j("luacode")}function A(){Zd.saveAs(new Blob([b.value]),"test11.lua")}function j(D){if(window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),document.selection){const B=document.body.createTextRange();B.moveToElementText(document.getElementById(D)),B.select().createTextRange(),document.execCommand("copy")}else if(window.getSelection){const B=document.createRange();B.selectNode(document.getElementById(D)),window.getSelection().addRange(B),document.execCommand("copy")}}const V=ks(!1);return gi(V,D=>{D?o.value=[...a]:o.value=[]}),(D,B)=>{const se=Xu("highlightjs");return Nt(),Dt("div",null,[Re("h1",dm,[Re("a",{href:"https://github.com/xiangnanscu/js2lua",title:qi(Lo).version},$s(qi(Lo).name),9,mm),B[6]||(B[6]=Tn(" - Writing LuaJIT with the expressiveness of JavaScript. "))]),Re("div",ym,[Re("div",gm,[Re("div",{class:Pi({"error-wrapper":D.error})},[Re("div",Tm,[ti(Re("input",{class:"form-check-input",type:"checkbox",id:"label-all","onUpdate:modelValue":B[0]||(B[0]=W=>e.value=W)},null,512),[[Yr,e.value]]),B[7]||(B[7]=Re("label",{class:"form-check-label",for:"label-all",style:{color:"red"}}," show Js code ",-1))]),Re("div",bm,[ti(Re("input",{class:"form-check-input",type:"checkbox",id:"label-all","onUpdate:modelValue":B[1]||(B[1]=W=>V.value=W)},null,512),[[Yr,V.value]]),B[8]||(B[8]=Re("label",{class:"form-check-label",for:"label-all",style:{color:"red"}}," all ",-1))]),(Nt(!0),Dt(At,null,Gr(qi(a),(W,I)=>(Nt(),Dt("div",{key:I,class:Pi({"form-check":!0})},[ti(Re("input",{class:"form-check-input",type:"checkbox",id:"label"+I,"onUpdate:modelValue":B[2]||(B[2]=me=>o.value=me),value:W},null,8,xm),[[Yr,o.value]]),Re("label",{class:"form-check-label",for:"label"+I},$s(W),9,Sm)]))),128))],2)]),Re("div",Pm,[Re("button",{onClick:B[3]||(B[3]=W=>n.value="")},"clear textarea"),ti(Re("textarea",{rows:"10",style:{height:"500px"},class:"form-control","onUpdate:modelValue":B[4]||(B[4]=W=>n.value=W)},null,512),[[io,n.value]])]),e.value?(Nt(),Dt("div",Em,[Re("div",Am,[Re("label",wm,[Re("input",{onInput:B[5]||(B[5]=W=>t.value=!t.value),value:t.value,type:"checkbox",class:"form-check-input"},null,40,Cm),B[9]||(B[9]=Tn("show js ast"))])]),t.value?(Nt(),Dt("div",km,[Re("pre",null,$s(P.value),1)])):(Nt(),Dt("div",vm,[ot(se,{language:"javascript",code:n.value},null,8,["code"])]))])):Mh("",!0),Re("div",Lm,[Re("button",{onClick:L},"copy lua"),Re("button",{onClick:A},"save as"),ot(se,{id:"luacode",language:"lua",code:b.value},null,8,["code"])])]),Re("table",Im,[Re("thead",null,[Re("tr",null,[Re("th",Nm,[B[10]||(B[10]=Re("h1",null,"take a look at features:",-1)),(Nt(!0),Dt(At,null,Gr(u,(W,I)=>(Nt(),Dt("a",{key:I,class:"link-block",href:`#${W.name}`},$s(W.name),9,_m))),128))])])]),Re("tbody",null,[(Nt(!0),Dt(At,null,Gr(u,(W,I)=>(Nt(),Dt(At,{key:I},[Re("tr",null,[Re("td",Mm,[Re("h3",{id:W.name},$s(W.name),9,Om)])]),Re("tr",null,[Re("td",Dm,[ti(Re("textarea",{class:"td-textarea form-control","onUpdate:modelValue":me=>W.jscode=me},null,8,Fm),[[io,W.jscode]])]),Re("td",null,[ot(se,{language:"javascript",code:W.jscode},null,8,["code"])]),Re("td",null,[ot(se,{language:"lua",code:W.luacode},null,8,["code"])])])],64))),128))])])])}}};function bc(i){return i instanceof Map?i.clear=i.delete=i.set=function(){throw new Error("map is read-only")}:i instanceof Set&&(i.add=i.clear=i.delete=function(){throw new Error("set is read-only")}),Object.freeze(i),Object.getOwnPropertyNames(i).forEach(t=>{const e=i[t],s=typeof e;(s==="object"||s==="function")&&!Object.isFrozen(e)&&bc(e)}),i}class Io{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function xc(i){return i.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function ms(i,...t){const e=Object.create(null);for(const s in i)e[s]=i[s];return t.forEach(function(s){for(const r in s)e[r]=s[r]}),e}const Rm="",No=i=>!!i.scope,$m=(i,{prefix:t})=>{if(i.startsWith("language:"))return i.replace("language:","language-");if(i.includes(".")){const e=i.split(".");return[`${t}${e.shift()}`,...e.map((s,r)=>`${s}${"_".repeat(r+1)}`)].join(" ")}return`${t}${i}`};class jm{constructor(t,e){this.buffer="",this.classPrefix=e.classPrefix,t.walk(this)}addText(t){this.buffer+=xc(t)}openNode(t){if(!No(t))return;const e=$m(t.scope,{prefix:this.classPrefix});this.span(e)}closeNode(t){!No(t)||(this.buffer+=Rm)}value(){return this.buffer}span(t){this.buffer+=``}}const _o=(i={})=>{const t={children:[]};return Object.assign(t,i),t};class ma{constructor(){this.rootNode=_o(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const e=_o({scope:t});this.add(e),this.stack.push(e)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,e){return typeof e=="string"?t.addText(e):e.children&&(t.openNode(e),e.children.forEach(s=>this._walk(t,s)),t.closeNode(e)),t}static _collapse(t){typeof t!="string"&&(!t.children||(t.children.every(e=>typeof e=="string")?t.children=[t.children.join("")]:t.children.forEach(e=>{ma._collapse(e)})))}}class Um extends ma{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,e){const s=t.root;e&&(s.scope=`language:${e}`),this.add(s)}toHTML(){return new jm(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Li(i){return i?typeof i=="string"?i:i.source:null}function Sc(i){return Ds("(?=",i,")")}function Vm(i){return Ds("(?:",i,")*")}function Hm(i){return Ds("(?:",i,")?")}function Ds(...i){return i.map(e=>Li(e)).join("")}function Gm(i){const t=i[i.length-1];return typeof t=="object"&&t.constructor===Object?(i.splice(i.length-1,1),t):{}}function ya(...i){const t=Gm(i);return"("+(t.capture?"":"?:")+i.map(s=>Li(s)).join("|")+")"}function Pc(i){return new RegExp(i.toString()+"|").exec("").length-1}function Wm(i,t){const e=i&&i.exec(t);return e&&e.index===0}const Km=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ga(i,{joinWith:t}){let e=0;return i.map(s=>{e+=1;const r=e;let n=Li(s),a="";for(;n.length>0;){const o=Km.exec(n);if(!o){a+=n;break}a+=n.substring(0,o.index),n=n.substring(o.index+o[0].length),o[0][0]==="\\"&&o[1]?a+="\\"+String(Number(o[1])+r):(a+=o[0],o[0]==="("&&e++)}return a}).map(s=>`(${s})`).join(t)}const qm=/\b\B/,Ec="[a-zA-Z]\\w*",Ta="[a-zA-Z_]\\w*",Ac="\\b\\d+(\\.\\d+)?",wc="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Cc="\\b(0b[01]+)",zm="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Jm=(i={})=>{const t=/^#![ ]*\//;return i.binary&&(i.begin=Ds(t,/.*\b/,i.binary,/\b.*/)),ms({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,s)=>{e.index!==0&&s.ignoreMatch()}},i)},Ii={begin:"\\\\[\\s\\S]",relevance:0},Xm={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Ii]},Ym={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Ii]},Zm={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Mr=function(i,t,e={}){const s=ms({scope:"comment",begin:i,end:t,contains:[]},e);s.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const r=ya("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return s.contains.push({begin:Ds(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},Qm=Mr("//","$"),ey=Mr("/\\*","\\*/"),ty=Mr("#","$"),sy={scope:"number",begin:Ac,relevance:0},iy={scope:"number",begin:wc,relevance:0},ry={scope:"number",begin:Cc,relevance:0},ny={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Ii,{begin:/\[/,end:/\]/,relevance:0,contains:[Ii]}]},ay={scope:"title",begin:Ec,relevance:0},oy={scope:"title",begin:Ta,relevance:0},ly={begin:"\\.\\s*"+Ta,relevance:0},cy=function(i){return Object.assign(i,{"on:begin":(t,e)=>{e.data._beginMatch=t[1]},"on:end":(t,e)=>{e.data._beginMatch!==t[1]&&e.ignoreMatch()}})};var Wi=Object.freeze({__proto__:null,APOS_STRING_MODE:Xm,BACKSLASH_ESCAPE:Ii,BINARY_NUMBER_MODE:ry,BINARY_NUMBER_RE:Cc,COMMENT:Mr,C_BLOCK_COMMENT_MODE:ey,C_LINE_COMMENT_MODE:Qm,C_NUMBER_MODE:iy,C_NUMBER_RE:wc,END_SAME_AS_BEGIN:cy,HASH_COMMENT_MODE:ty,IDENT_RE:Ec,MATCH_NOTHING_RE:qm,METHOD_GUARD:ly,NUMBER_MODE:sy,NUMBER_RE:Ac,PHRASAL_WORDS_MODE:Zm,QUOTE_STRING_MODE:Ym,REGEXP_MODE:ny,RE_STARTERS_RE:zm,SHEBANG:Jm,TITLE_MODE:ay,UNDERSCORE_IDENT_RE:Ta,UNDERSCORE_TITLE_MODE:oy});function uy(i,t){i.input[i.index-1]==="."&&t.ignoreMatch()}function hy(i,t){i.className!==void 0&&(i.scope=i.className,delete i.className)}function fy(i,t){!t||!i.beginKeywords||(i.begin="\\b("+i.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",i.__beforeBegin=uy,i.keywords=i.keywords||i.beginKeywords,delete i.beginKeywords,i.relevance===void 0&&(i.relevance=0))}function py(i,t){!Array.isArray(i.illegal)||(i.illegal=ya(...i.illegal))}function dy(i,t){if(!!i.match){if(i.begin||i.end)throw new Error("begin & end are not supported with match");i.begin=i.match,delete i.match}}function my(i,t){i.relevance===void 0&&(i.relevance=1)}const yy=(i,t)=>{if(!i.beforeMatch)return;if(i.starts)throw new Error("beforeMatch cannot be used with starts");const e=Object.assign({},i);Object.keys(i).forEach(s=>{delete i[s]}),i.keywords=e.keywords,i.begin=Ds(e.beforeMatch,Sc(e.begin)),i.starts={relevance:0,contains:[Object.assign(e,{endsParent:!0})]},i.relevance=0,delete e.beforeMatch},gy=["of","and","for","in","not","or","if","then","parent","list","value"],Ty="keyword";function kc(i,t,e=Ty){const s=Object.create(null);return typeof i=="string"?r(e,i.split(" ")):Array.isArray(i)?r(e,i):Object.keys(i).forEach(function(n){Object.assign(s,kc(i[n],t,n))}),s;function r(n,a){t&&(a=a.map(o=>o.toLowerCase())),a.forEach(function(o){const l=o.split("|");s[l[0]]=[n,by(l[0],l[1])]})}}function by(i,t){return t?Number(t):xy(i)?0:1}function xy(i){return gy.includes(i.toLowerCase())}const Mo={},Ns=i=>{console.error(i)},Oo=(i,...t)=>{console.log(`WARN: ${i}`,...t)},Rs=(i,t)=>{Mo[`${i}/${t}`]||(console.log(`Deprecated as of ${i}. ${t}`),Mo[`${i}/${t}`]=!0)},pr=new Error;function vc(i,t,{key:e}){let s=0;const r=i[e],n={},a={};for(let o=1;o<=t.length;o++)a[o+s]=r[o],n[o+s]=!0,s+=Pc(t[o-1]);i[e]=a,i[e]._emit=n,i[e]._multi=!0}function Sy(i){if(!!Array.isArray(i.begin)){if(i.skip||i.excludeBegin||i.returnBegin)throw Ns("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),pr;if(typeof i.beginScope!="object"||i.beginScope===null)throw Ns("beginScope must be object"),pr;vc(i,i.begin,{key:"beginScope"}),i.begin=ga(i.begin,{joinWith:""})}}function Py(i){if(!!Array.isArray(i.end)){if(i.skip||i.excludeEnd||i.returnEnd)throw Ns("skip, excludeEnd, returnEnd not compatible with endScope: {}"),pr;if(typeof i.endScope!="object"||i.endScope===null)throw Ns("endScope must be object"),pr;vc(i,i.end,{key:"endScope"}),i.end=ga(i.end,{joinWith:""})}}function Ey(i){i.scope&&typeof i.scope=="object"&&i.scope!==null&&(i.beginScope=i.scope,delete i.scope)}function Ay(i){Ey(i),typeof i.beginScope=="string"&&(i.beginScope={_wrap:i.beginScope}),typeof i.endScope=="string"&&(i.endScope={_wrap:i.endScope}),Sy(i),Py(i)}function wy(i){function t(a,o){return new RegExp(Li(a),"m"+(i.case_insensitive?"i":"")+(i.unicodeRegex?"u":"")+(o?"g":""))}class e{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(o,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,o]),this.matchAt+=Pc(o)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const o=this.regexes.map(l=>l[1]);this.matcherRe=t(ga(o,{joinWith:"|"}),!0),this.lastIndex=0}exec(o){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(o);if(!l)return null;const h=l.findIndex((b,P)=>P>0&&b!==void 0),u=this.matchIndexes[h];return l.splice(0,h),Object.assign(l,u)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(o){if(this.multiRegexes[o])return this.multiRegexes[o];const l=new e;return this.rules.slice(o).forEach(([h,u])=>l.addRule(h,u)),l.compile(),this.multiRegexes[o]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(o,l){this.rules.push([o,l]),l.type==="begin"&&this.count++}exec(o){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let h=l.exec(o);if(this.resumingScanAtSamePosition()&&!(h&&h.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,h=u.exec(o)}return h&&(this.regexIndex+=h.position+1,this.regexIndex===this.count&&this.considerAll()),h}}function r(a){const o=new s;return a.contains.forEach(l=>o.addRule(l.begin,{rule:l,type:"begin"})),a.terminatorEnd&&o.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&o.addRule(a.illegal,{type:"illegal"}),o}function n(a,o){const l=a;if(a.isCompiled)return l;[hy,dy,Ay,yy].forEach(u=>u(a,o)),i.compilerExtensions.forEach(u=>u(a,o)),a.__beforeBegin=null,[fy,py,my].forEach(u=>u(a,o)),a.isCompiled=!0;let h=null;return typeof a.keywords=="object"&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),h=a.keywords.$pattern,delete a.keywords.$pattern),h=h||/\w+/,a.keywords&&(a.keywords=kc(a.keywords,i.case_insensitive)),l.keywordPatternRe=t(h,!0),o&&(a.begin||(a.begin=/\B|\b/),l.beginRe=t(l.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(l.endRe=t(l.end)),l.terminatorEnd=Li(l.end)||"",a.endsWithParent&&o.terminatorEnd&&(l.terminatorEnd+=(a.end?"|":"")+o.terminatorEnd)),a.illegal&&(l.illegalRe=t(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(u){return Cy(u==="self"?a:u)})),a.contains.forEach(function(u){n(u,l)}),a.starts&&n(a.starts,o),l.matcher=r(l),l}if(i.compilerExtensions||(i.compilerExtensions=[]),i.contains&&i.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return i.classNameAliases=ms(i.classNameAliases||{}),n(i)}function Lc(i){return i?i.endsWithParent||Lc(i.starts):!1}function Cy(i){return i.variants&&!i.cachedVariants&&(i.cachedVariants=i.variants.map(function(t){return ms(i,{variants:null},t)})),i.cachedVariants?i.cachedVariants:Lc(i)?ms(i,{starts:i.starts?ms(i.starts):null}):Object.isFrozen(i)?ms(i):i}var ky="11.10.0";class vy extends Error{constructor(t,e){super(t),this.name="HTMLInjectionError",this.html=e}}const ln=xc,Do=ms,Fo=Symbol("nomatch"),Ly=7,Ic=function(i){const t=Object.create(null),e=Object.create(null),s=[];let r=!0;const n="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let o={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Um};function l(E){return o.noHighlightRe.test(E)}function h(E){let k=E.className+" ";k+=E.parentNode?E.parentNode.className:"";const z=o.languageDetectRe.exec(k);if(z){const be=he(z[1]);return be||(Oo(n.replace("{}",z[1])),Oo("Falling back to no-highlight mode for this block.",E)),be?z[1]:"no-highlight"}return k.split(/\s+/).find(be=>l(be)||he(be))}function u(E,k,z){let be="",we="";typeof k=="object"?(be=E,z=k.ignoreIllegals,we=k.language):(Rs("10.7.0","highlight(lang, code, ...args) has been deprecated."),Rs("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),we=E,be=k),z===void 0&&(z=!0);const De={code:be,language:we};Te("before:highlight",De);const ee=De.result?De.result:b(De.language,De.code,z);return ee.code=De.code,Te("after:highlight",ee),ee}function b(E,k,z,be){const we=Object.create(null);function De(te,ue){return te.keywords[ue]}function ee(){if(!w.keywords){K.addText(J);return}let te=0;w.keywordPatternRe.lastIndex=0;let ue=w.keywordPatternRe.exec(J),ye="";for(;ue;){ye+=J.substring(te,ue.index);const ve=p.case_insensitive?ue[0].toLowerCase():ue[0],Ie=De(w,ve);if(Ie){const[je,it]=Ie;if(K.addText(ye),ye="",we[ve]=(we[ve]||0)+1,we[ve]<=Ly&&(Se+=it),je.startsWith("_"))ye+=ue[0];else{const dt=p.classNameAliases[je]||je;F(ue[0],dt)}}else ye+=ue[0];te=w.keywordPatternRe.lastIndex,ue=w.keywordPatternRe.exec(J)}ye+=J.substring(te),K.addText(ye)}function G(){if(J==="")return;let te=null;if(typeof w.subLanguage=="string"){if(!t[w.subLanguage]){K.addText(J);return}te=b(w.subLanguage,J,!0,X[w.subLanguage]),X[w.subLanguage]=te._top}else te=L(J,w.subLanguage.length?w.subLanguage:null);w.relevance>0&&(Se+=te.relevance),K.__addSublanguage(te._emitter,te.language)}function M(){w.subLanguage!=null?G():ee(),J=""}function F(te,ue){te!==""&&(K.startScope(ue),K.addText(te),K.endScope())}function $(te,ue){let ye=1;const ve=ue.length-1;for(;ye<=ve;){if(!te._emit[ye]){ye++;continue}const Ie=p.classNameAliases[te[ye]]||te[ye],je=ue[ye];Ie?F(je,Ie):(J=je,ee(),J=""),ye++}}function H(te,ue){return te.scope&&typeof te.scope=="string"&&K.openNode(p.classNameAliases[te.scope]||te.scope),te.beginScope&&(te.beginScope._wrap?(F(J,p.classNameAliases[te.beginScope._wrap]||te.beginScope._wrap),J=""):te.beginScope._multi&&($(te.beginScope,ue),J="")),w=Object.create(te,{parent:{value:w}}),w}function f(te,ue,ye){let ve=Wm(te.endRe,ye);if(ve){if(te["on:end"]){const Ie=new Io(te);te["on:end"](ue,Ie),Ie.isMatchIgnored&&(ve=!1)}if(ve){for(;te.endsParent&&te.parent;)te=te.parent;return te}}if(te.endsWithParent)return f(te.parent,ue,ye)}function U(te){return w.matcher.regexIndex===0?(J+=te[0],1):(xe=!0,0)}function R(te){const ue=te[0],ye=te.rule,ve=new Io(ye),Ie=[ye.__beforeBegin,ye["on:begin"]];for(const je of Ie)if(!!je&&(je(te,ve),ve.isMatchIgnored))return U(ue);return ye.skip?J+=ue:(ye.excludeBegin&&(J+=ue),M(),!ye.returnBegin&&!ye.excludeBegin&&(J=ue)),H(ye,te),ye.returnBegin?0:ue.length}function O(te){const ue=te[0],ye=k.substring(te.index),ve=f(w,te,ye);if(!ve)return Fo;const Ie=w;w.endScope&&w.endScope._wrap?(M(),F(ue,w.endScope._wrap)):w.endScope&&w.endScope._multi?(M(),$(w.endScope,te)):Ie.skip?J+=ue:(Ie.returnEnd||Ie.excludeEnd||(J+=ue),M(),Ie.excludeEnd&&(J=ue));do w.scope&&K.closeNode(),!w.skip&&!w.subLanguage&&(Se+=w.relevance),w=w.parent;while(w!==ve.parent);return ve.starts&&H(ve.starts,te),Ie.returnEnd?0:ue.length}function d(){const te=[];for(let ue=w;ue!==p;ue=ue.parent)ue.scope&&te.unshift(ue.scope);te.forEach(ue=>K.openNode(ue))}let T={};function c(te,ue){const ye=ue&&ue[0];if(J+=te,ye==null)return M(),0;if(T.type==="begin"&&ue.type==="end"&&T.index===ue.index&&ye===""){if(J+=k.slice(ue.index,ue.index+1),!r){const ve=new Error(`0 width match regex (${E})`);throw ve.languageName=E,ve.badRule=T.rule,ve}return 1}if(T=ue,ue.type==="begin")return R(ue);if(ue.type==="illegal"&&!z){const ve=new Error('Illegal lexeme "'+ye+'" for mode "'+(w.scope||"")+'"');throw ve.mode=w,ve}else if(ue.type==="end"){const ve=O(ue);if(ve!==Fo)return ve}if(ue.type==="illegal"&&ye==="")return 1;if(ae>1e5&&ae>ue.index*3)throw new Error("potential infinite loop, way more iterations than matches");return J+=ye,ye.length}const p=he(E);if(!p)throw Ns(n.replace("{}",E)),new Error('Unknown language: "'+E+'"');const y=wy(p);let x="",w=be||y;const X={},K=new o.__emitter(o);d();let J="",Se=0,re=0,ae=0,xe=!1;try{if(p.__emitTokens)p.__emitTokens(k,K);else{for(w.matcher.considerAll();;){ae++,xe?xe=!1:w.matcher.considerAll(),w.matcher.lastIndex=re;const te=w.matcher.exec(k);if(!te)break;const ue=k.substring(re,te.index),ye=c(ue,te);re=te.index+ye}c(k.substring(re))}return K.finalize(),x=K.toHTML(),{language:E,value:x,relevance:Se,illegal:!1,_emitter:K,_top:w}}catch(te){if(te.message&&te.message.includes("Illegal"))return{language:E,value:ln(k),illegal:!0,relevance:0,_illegalBy:{message:te.message,index:re,context:k.slice(re-100,re+100),mode:te.mode,resultSoFar:x},_emitter:K};if(r)return{language:E,value:ln(k),illegal:!1,relevance:0,errorRaised:te,_emitter:K,_top:w};throw te}}function P(E){const k={value:ln(E),illegal:!1,relevance:0,_top:a,_emitter:new o.__emitter(o)};return k._emitter.addText(E),k}function L(E,k){k=k||o.languages||Object.keys(t);const z=P(E),be=k.filter(he).filter(S).map(M=>b(M,E,!1));be.unshift(z);const we=be.sort((M,F)=>{if(M.relevance!==F.relevance)return F.relevance-M.relevance;if(M.language&&F.language){if(he(M.language).supersetOf===F.language)return 1;if(he(F.language).supersetOf===M.language)return-1}return 0}),[De,ee]=we,G=De;return G.secondBest=ee,G}function A(E,k,z){const be=k&&e[k]||z;E.classList.add("hljs"),E.classList.add(`language-${be}`)}function j(E){let k=null;const z=h(E);if(l(z))return;if(Te("before:highlightElement",{el:E,language:z}),E.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",E);return}if(E.children.length>0&&(o.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(E)),o.throwUnescapedHTML))throw new vy("One of your code blocks includes unescaped HTML.",E.innerHTML);k=E;const be=k.textContent,we=z?u(be,{language:z,ignoreIllegals:!0}):L(be);E.innerHTML=we.value,E.dataset.highlighted="yes",A(E,z,we.language),E.result={language:we.language,re:we.relevance,relevance:we.relevance},we.secondBest&&(E.secondBest={language:we.secondBest.language,relevance:we.secondBest.relevance}),Te("after:highlightElement",{el:E,result:we,text:be})}function V(E){o=Do(o,E)}const D=()=>{W(),Rs("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function B(){W(),Rs("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let se=!1;function W(){if(document.readyState==="loading"){se=!0;return}document.querySelectorAll(o.cssSelector).forEach(j)}function I(){se&&W()}typeof window!="undefined"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",I,!1);function me(E,k){let z=null;try{z=k(i)}catch(be){if(Ns("Language definition for '{}' could not be registered.".replace("{}",E)),r)Ns(be);else throw be;z=a}z.name||(z.name=E),t[E]=z,z.rawDefinition=k.bind(null,i),z.aliases&&fe(z.aliases,{languageName:E})}function Oe(E){delete t[E];for(const k of Object.keys(e))e[k]===E&&delete e[k]}function g(){return Object.keys(t)}function he(E){return E=(E||"").toLowerCase(),t[E]||t[e[E]]}function fe(E,{languageName:k}){typeof E=="string"&&(E=[E]),E.forEach(z=>{e[z.toLowerCase()]=k})}function S(E){const k=he(E);return k&&!k.disableAutodetect}function N(E){E["before:highlightBlock"]&&!E["before:highlightElement"]&&(E["before:highlightElement"]=k=>{E["before:highlightBlock"](Object.assign({block:k.el},k))}),E["after:highlightBlock"]&&!E["after:highlightElement"]&&(E["after:highlightElement"]=k=>{E["after:highlightBlock"](Object.assign({block:k.el},k))})}function oe(E){N(E),s.push(E)}function ie(E){const k=s.indexOf(E);k!==-1&&s.splice(k,1)}function Te(E,k){const z=E;s.forEach(function(be){be[z]&&be[z](k)})}function C(E){return Rs("10.7.0","highlightBlock will be removed entirely in v12.0"),Rs("10.7.0","Please use highlightElement now."),j(E)}Object.assign(i,{highlight:u,highlightAuto:L,highlightAll:W,highlightElement:j,highlightBlock:C,configure:V,initHighlighting:D,initHighlightingOnLoad:B,registerLanguage:me,unregisterLanguage:Oe,listLanguages:g,getLanguage:he,registerAliases:fe,autoDetection:S,inherit:Do,addPlugin:oe,removePlugin:ie}),i.debugMode=function(){r=!1},i.safeMode=function(){r=!0},i.versionString=ky,i.regex={concat:Ds,lookahead:Sc,either:ya,optional:Hm,anyNumberOfTimes:Vm};for(const E in Wi)typeof Wi[E]=="object"&&bc(Wi[E]);return Object.assign(i,Wi),i},Zs=Ic({});Zs.newInstance=()=>Ic({});var Iy=Zs;Zs.HighlightJS=Zs;Zs.default=Zs;var Si=Iy;const Bo="[A-Za-z$_][0-9A-Za-z$_]*",Ny=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],_y=["true","false","null","undefined","NaN","Infinity"],Nc=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],_c=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Mc=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],My=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Oy=[].concat(Mc,Nc,_c);function Dy(i){const t=i.regex,e=(k,{after:z})=>{const be="",end:""},n=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(k,z)=>{const be=k[0].length+k.index,we=k.input[be];if(we==="<"||we===","){z.ignoreMatch();return}we===">"&&(e(k,{after:be})||z.ignoreMatch());let De;const ee=k.input.substring(be);if(De=ee.match(/^\s*=/)){z.ignoreMatch();return}if((De=ee.match(/^\s+extends\s+/))&&De.index===0){z.ignoreMatch();return}}},o={$pattern:Bo,keyword:Ny,literal:_y,built_in:Oy,"variable.language":My},l="[0-9](_?[0-9])*",h=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",b={className:"number",variants:[{begin:`(\\b(${u})((${h})|\\.)?|(${h}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},P={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},L={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[i.BACKSLASH_ESCAPE,P],subLanguage:"xml"}},A={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[i.BACKSLASH_ESCAPE,P],subLanguage:"css"}},j={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[i.BACKSLASH_ESCAPE,P],subLanguage:"graphql"}},V={className:"string",begin:"`",end:"`",contains:[i.BACKSLASH_ESCAPE,P]},D=i.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:s+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),B={className:"comment",variants:[D,i.C_BLOCK_COMMENT_MODE,i.C_LINE_COMMENT_MODE]},se=[i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,L,A,j,V,{match:/\$\d+/},b];P.contains=se.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(se)});const W=[].concat(B,P.contains),I=W.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:["self"].concat(W)}]),me={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:I},Oe={variants:[{match:[/class/,/\s+/,s,/\s+/,/extends/,/\s+/,t.concat(s,"(",t.concat(/\./,s),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,s],scope:{1:"keyword",3:"title.class"}}]},g={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Nc,..._c]}},he={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},fe={variants:[{match:[/function/,/\s+/,s,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[me],illegal:/%/},S={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function N(k){return t.concat("(?!",k.join("|"),")")}const oe={match:t.concat(/\b/,N([...Mc,"super","import"].map(k=>`${k}\\s*\\(`)),s,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},ie={begin:t.concat(/\./,t.lookahead(t.concat(s,/(?![0-9A-Za-z$_(])/))),end:s,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Te={match:[/get|set/,/\s+/,s,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},me]},C="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+i.UNDERSCORE_IDENT_RE+")\\s*=>",E={match:[/const|var|let/,/\s+/,s,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(C)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[me]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:I,CLASS_REFERENCE:g},illegal:/#(?![$_A-z])/,contains:[i.SHEBANG({label:"shebang",binary:"node",relevance:5}),he,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,L,A,j,V,B,{match:/\$\d+/},b,g,{className:"attr",begin:s+t.lookahead(":"),relevance:0},E,{begin:"("+i.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[B,i.REGEXP_MODE,{className:"function",begin:C,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:i.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:I}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:n},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},fe,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+i.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[me,i.inherit(i.TITLE_MODE,{begin:s,className:"title.function"})]},{match:/\.\.\./,relevance:0},ie,{match:"\\$"+s,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[me]},oe,S,Oe,Te,{match:/\$[(.]/}]}}function Fy(i){const t="\\[=*\\[",e="\\]=*\\]",s={begin:t,end:e,contains:["self"]},r=[i.COMMENT("--(?!"+t+")","$"),i.COMMENT("--"+t,e,{contains:[s],relevance:10})];return{name:"Lua",keywords:{$pattern:i.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[i.inherit(i.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},i.C_NUMBER_MODE,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{className:"string",begin:t,end:e,contains:[s],relevance:5}])}}var Ro=Bu({props:{code:{type:String,required:!0},language:{type:String,default:""},autodetect:{type:Boolean,default:!0},ignoreIllegals:{type:Boolean,default:!0}},setup:function(i){var t=ks(i.language);gi(function(){return i.language},function(r){t.value=r});var e=Qt(function(){return i.autodetect||!t.value}),s=Qt(function(){return!e.value&&!Si.getLanguage(t.value)});return{className:Qt(function(){return s.value?"":"hljs "+t.value}),highlightedCode:Qt(function(){var r;if(s.value)return console.warn('The language "'+t.value+'" you specified could not be found.'),i.code.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");if(e.value){var n=Si.highlightAuto(i.code);return t.value=(r=n.language)!==null&&r!==void 0?r:"",n.value}return(n=Si.highlight(i.code,{language:t.value,ignoreIllegals:i.ignoreIllegals})).value})}},render:function(){return Ga("pre",{},[Ga("code",{class:this.className,innerHTML:this.highlightedCode})])}}),By={install:function(i){i.component("highlightjs",Ro)},component:Ro};const Oc=mf(Bm);Si.registerLanguage("javascript",Dy);Si.registerLanguage("lua",Fy);Oc.use(By);Oc.mount("#app"); diff --git a/assets/index.fd60622c.css b/assets/index.fd60622c.css deleted file mode 100644 index bdd5396..0000000 --- a/assets/index.fd60622c.css +++ /dev/null @@ -1,14 +0,0 @@ -@charset "UTF-8";/*! - * 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]{text-decoration:underline dotted;cursor:help;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}::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:"\2014\a0"}.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(even){--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);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::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.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::file-selector-button{transition:none}}.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::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.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::file-selector-button{padding:.5rem 1rem;margin:-.5rem -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);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;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);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;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;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;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{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;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;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{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::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.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: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: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;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;top:0;right:0;bottom:0;left: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;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: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%;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{mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-underline-offset:.25em;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:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{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;top:0;right:0;bottom:0;left: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{object-fit:contain!important}.object-fit-cover{object-fit:cover!important}.object-fit-fill{object-fit:fill!important}.object-fit-scale{object-fit:scale-down!important}.object-fit-none{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: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{column-gap:0!important}.column-gap-1{column-gap:.25rem!important}.column-gap-2{column-gap:.5rem!important}.column-gap-3{column-gap:1rem!important}.column-gap-4{column-gap:1.5rem!important}.column-gap-5{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;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity: 1;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{user-select:all!important}.user-select-auto{user-select:auto!important}.user-select-none{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{object-fit:contain!important}.object-fit-sm-cover{object-fit:cover!important}.object-fit-sm-fill{object-fit:fill!important}.object-fit-sm-scale{object-fit:scale-down!important}.object-fit-sm-none{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{column-gap:0!important}.column-gap-sm-1{column-gap:.25rem!important}.column-gap-sm-2{column-gap:.5rem!important}.column-gap-sm-3{column-gap:1rem!important}.column-gap-sm-4{column-gap:1.5rem!important}.column-gap-sm-5{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{object-fit:contain!important}.object-fit-md-cover{object-fit:cover!important}.object-fit-md-fill{object-fit:fill!important}.object-fit-md-scale{object-fit:scale-down!important}.object-fit-md-none{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{column-gap:0!important}.column-gap-md-1{column-gap:.25rem!important}.column-gap-md-2{column-gap:.5rem!important}.column-gap-md-3{column-gap:1rem!important}.column-gap-md-4{column-gap:1.5rem!important}.column-gap-md-5{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{object-fit:contain!important}.object-fit-lg-cover{object-fit:cover!important}.object-fit-lg-fill{object-fit:fill!important}.object-fit-lg-scale{object-fit:scale-down!important}.object-fit-lg-none{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{column-gap:0!important}.column-gap-lg-1{column-gap:.25rem!important}.column-gap-lg-2{column-gap:.5rem!important}.column-gap-lg-3{column-gap:1rem!important}.column-gap-lg-4{column-gap:1.5rem!important}.column-gap-lg-5{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{object-fit:contain!important}.object-fit-xl-cover{object-fit:cover!important}.object-fit-xl-fill{object-fit:fill!important}.object-fit-xl-scale{object-fit:scale-down!important}.object-fit-xl-none{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{column-gap:0!important}.column-gap-xl-1{column-gap:.25rem!important}.column-gap-xl-2{column-gap:.5rem!important}.column-gap-xl-3{column-gap:1rem!important}.column-gap-xl-4{column-gap:1.5rem!important}.column-gap-xl-5{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{object-fit:contain!important}.object-fit-xxl-cover{object-fit:cover!important}.object-fit-xxl-fill{object-fit:fill!important}.object-fit-xxl-scale{object-fit:scale-down!important}.object-fit-xxl-none{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{column-gap:0!important}.column-gap-xxl-1{column-gap:.25rem!important}.column-gap-xxl-2{column-gap:.5rem!important}.column-gap-xxl-3{column-gap:1rem!important}.column-gap-xxl-4{column-gap:1.5rem!important}.column-gap-xxl-5{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}}h2,.h2,h3,.h3{text-align:center}.link-block{margin:1em}.td-wrap{padding:0;height:10em;width:90em}.td-textarea{display:block;height:100%;width:100%;border:0;box-sizing:border-box}span.hljs-string{color:#22863a}.col{overflow:scroll}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*! - Theme: GitHub - Description: Light theme as seen on github.com - Author: github.com - Maintainer: @Hirse - Updated: 2021-05-15 - - Outdated base version: https://github.com/primer/github-syntax-light - Current colors taken from GitHub's CSS -*/.hljs{color:#24292e;background:#ffffff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0} diff --git a/index.html b/index.html index 5ad0775..0f8e055 100644 --- a/index.html +++ b/index.html @@ -15,8 +15,8 @@ gtag('config', 'G-FEYV3C3QK5'); - - + +